PowerPC: sync hwcap.h capabilities
[glibc.git] / ChangeLog
blob39d09d7dfd10f949f762cb6f1981a096ea5832d7
1 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4         macro: hardware supports Vector Crypto instructions.
6 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8         [BZ #17031]
9         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10         double, adjusted for any remainder from the high double.
11         * math/libm-test.inc (nearbyint): Add tests.
12         (rint): Likewise.
14 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
17         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18         multiarch strcmp for PPC64.
19         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
20         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
21         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
22         multiarch optimizations.
23         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24         (__libc_ifunc_impl_list): Likewise.
26 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
29         strlen for non SHARED builds.
31         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
34         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35         imply folder.
36         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
39         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40         correct imply path.
41         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42         strlen symbol for non multi-arch builds.
43         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
44         missing hidden_def and weak_alias.
46 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
49         by insrwi.
50         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
52         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
53         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
54         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
55         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
56         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
58 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
61         libc_hidden_builtin_def to ifunc.
62         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
63         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
65 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
68         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
70 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
72         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
73         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
74         multiarch strncpy for PPC64.
75         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
76         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
77         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
78         multiarch optimizations.
79         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
80         (__libc_ifunc_impl_list): Likewise.
81         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
82         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
83         multiarch stpncpy for PPC64.
84         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
85         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
87 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
90         [libc_hidden_builtin_def]: Define to empty value.
91         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
92         [libc_hidden_builtin_def]: Likewise.
93         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
94         [libc_hidden_builtin_def]: Likewise.
95         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
96         [libc_hidden_builtin_def]: Likewise.
97         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
98         __redirect_memcpy and define ifunc as default hidden symbol.
99         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
100         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
102 2014-04-16  Alan Modra  <amodra@gmail.com>
104         [BZ #16740]
105         [BZ #16619]
106         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
107         * math/libm-test.inc (frexp_test_data): Add tests.
109 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
111         [BZ #16815]
112         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
113         result for FE_DOWNWARD rounding mode.
114         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
115         Likewise.
116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
118 2014-04-02  Alan Modra  <amodra@gmail.com>
120         [BZ #16739]
121         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
122         output when value is near a power of two.  Use int64_t for lx and
123         remove casts.  Use decimal rather than hex exponent constants.
124         Don't use long double multiplication when double will suffice.
125         * math/libm-test.inc (nextafter_test_data): Add tests.
126         * NEWS: Add 16739 and 16786 to bug list.
128 2014-04-02  Alan Modra  <amodra@gmail.com>
130         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
132 2014-04-02  Alan Modra  <amodra@gmail.com>
134         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
136 2014-04-01  Alan Modra  <amodra@gmail.com>
138         [BZ #16786]
139         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
141 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
143         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
144         Encode instruction correctly in little endian.
145         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
146         Likewise.
147         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
148         Likewise.
149         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
150         Likewise.
151         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
152         Likewise.
154 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
155             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
157         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
159         and strpbrk-ppc64 objects.
160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
161         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
162         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
163         multiarch strpbrk for POWER7.
164         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
165         multiarch strpbrk for PPC64.
166         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
167         ifunc selector.
168         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
169         strpbrk for POWER7.
171 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
173         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
175         and strcspn-ppc64 objects.
176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
177         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
178         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
179         multiarch strcspn for POWER7.
180         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
181         multiarch strcspn for PPC64.
182         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
183         ifunc selector.
184         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
185         strcspn for POWER7.
187 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
189         [BZ #16707]
190         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
191         implementation.
192         * math/libm-test.inc (round_test_data): Add more tests.
194 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
196         [BZ #16706]
197         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
198         implementation.
199         * math/libm-test.inc (nearbyint_test_data): Add more tests.
201 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
203         [BZ #16701]
204         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
205         implementation.
206         * math/libm-test.inc (ceil_test_data): Add more tests.
208 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
210         * math/libm-test.inc (trunc_test_data): Add more tests related to
211         BZ#16414.
213 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
215         [BZ #16689]
216         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
217         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
218         static build.
219         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
220         selector for static builds.
222 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
224         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
225         selector for static builds.
227 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
229         [BZ #16683]
230         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
231         Define it for static builds as well.
232         (NO_BZERO_IMPL): Likewise.
234 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
236         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
237         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
238         multiarch strspn for PPC64.
239         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
240         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
242         (__libc_ifunc_impl_list): Likewise.
243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
244         multiarch optimizations
245         * string/strspn.c (strspn): Using macro to redefine symbol name.
247 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
248             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
250         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
251         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
252         multiarch strncat for PPC64.
253         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
254         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
256         (__libc_ifunc_impl_list): Likewise.
257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
258         multiarch optimizations
260 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
262         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
264         implementation.
265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
266         (__libc_ifunc_impl_list): Likewise.
267         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
268         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
269         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
270         * string/strrchr.c: Define STRRCHR.
272 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
274         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
275         implementation.
276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
277         POWER8 llround ifunc implementation.
278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
279         POWER8 implementation.
280         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
281         POWER8 llround implementation.
283 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
286         implementation.
287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
288         POWER8 llrint ifunc implementation.
289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
290         POWER8 implementation.
291         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
292         POWER8 llrint implementation.
294 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
297         implementation.
298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
299         POWER8 finite ifunc implementation.
300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
301         POWER8 implementation.
302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
303         Likewise.
304         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
305         POWER8 finite implementation.
306         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
308 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
310         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
311         implementation.
312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
313         POWER8 isinf ifunc implementation.
314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
315         POWER8 implementation.
316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
317         Likewise.
318         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
319         POWER8 isinf implementation.
320         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
322 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
324         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
325         Add hwcap2 initialization.
326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
327         implementation.
328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
329         POWER8 isnan ifunc implementation.
330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
331         POWER8 implementation.
332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
333         Likewise.
334         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
335         POWER8 isnan implementation.
336         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
338 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
340         [BZ #16545]
341         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
342         model 1.
344 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
346         [BZ #16529]
347         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
349 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
351         * manual/contrib.texi: Update entry for Carlos O'Donell,
352         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
354 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
356         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
358         * sysdeps/unix/sysv/linux/kernel-features.h
359         [__LINUX_KERNEL_VERSION >= 0x020621]
360         (__ASSUME_PROC_PID_TASK_COMM): Define.
362 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
364         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
365         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
366         Leonard and Allan McRae.
368 2014-02-04  David S. Miller  <davem@davemloft.net>
370         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
371         32-bit.
373 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
376         file
377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
378         New file
379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
380         file.
381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
382         file.
383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
384         New file.
385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
386         file.
387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
388         file.
389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
390         New file.
391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
392         New file.
393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
394         New file.
395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
396         New file.
397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
398         New file.
399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
400         New file.
402 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
404         * nptl/shlib-versions: Change powerpc*le start to 2.17.
405         * shlib-versions: Likewise.
407 2014-02-04  Roland McGrath  <roland@hack.frob.com>
408             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
410         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
411         (abilist-pattern): New variable, set to %-le.abilist.
413         * Makerules (abilist-pattern): New variable.
414         (vpath): Use $(abilist-pattern) in place of %.abilist.
415         (check-abi-% pattern rule): Likewise.
416         (check-abi, update-abi): Likewise.
418 2014-02-04  Eric Wong  <normalperson@yhbt.net>
420         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
422 2014-02-04  Eric Wong  <normalperson@yhbt.net>
424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
426 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
428         * manual/startup.texi: Add next, previous, and top entries for
429         the `Program Arguments' and `Environment Variables' nodes.
431 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
433         * manual/macros.texi: Add comments before MTASC-safety macros.
435         * manual/users.texi: Document MTASC-safety properties.
437         * manual/threads.texi (pthread_key_create, pthread_key_delete,
438         pthread_getspecific, pthread_setspecific): Format with
439         @deftypefun, and add @safety note.
440         * manual/signal.texi: Move comments that analyze the above
441         functions to their home place.
443 2014-02-03  Allan McRae  <allan@archlinux.org>
445         * po/sl.po: Update Slovenian translation from translation project.
447 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
449         * manual/time.texi (timegm): Add missing blank after @c.
450         Reported by Joseph Myers <joseph@codesourcery.com>.
452 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
454         * manual/check-safety.sh: New.
455         * manual/Makefile ($(objpfx)stamp-summary): Run it.
457         * manual/terminal.texi: Document MTASC-safety properties.
459         * manual/filesys.texi: Document MTASC-safety properties.
461         * manual/errno.texi: Document MTASC-safety properties.
463         * manual/intro.texi: Document safety identifiers and
464         conditionals.
466         * manual/string.texi (wcstok): Fix prototype.
467         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
469         * manual/time.texi: Document MTASC-safety properties.
471         * manual/string.texi: Document MTASC-safety properties.
473         * manual/threads.texi: Document MTASC-safety properties.
475         * manual/stdio.texi: Document MTASC-safety properties.
477         * manual/syslog.texi: Document MTASC-safety properties.
479         * manual/sysinfo.texi: Document MTASC-safety properties.
481         * manual/startup.texi: Document MTASC-safety properties.
483         * manual/socket.texi: Document MTASC-safety properties.
485         * manual/signal.texi: Document MTASC-safety properties.
487 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
489         * manual/setjmp.texi: Document MTASC-safety properties.
491         * manual/search.texi: Document MTASC-safety properties.
493         * manual/resource.texi: Document MTASC-safety properties.
495         * manual/process.texi: Document MTASC-safety properties.
497         * manual/platform.texi: Document MTASC-safety properties.
499         * manual/pipe.texi: Document MTASC-safety properties.
501         * manual/pattern.texi: Document MTASC-safety properties.
503         * manual/message.texi: Document MTASC-safety properties.
505         [BZ #12751]
506         * manual/memory.texi: Document MTASC-safety properties.
508         * manual/math.texi: Document MTASC-safety properties.
510         * manual/locale.texi: Document MTASC-safety properties.
512         * manual/llio.texi: Document MTASC-safety properties.
514         * manual/libdl.texi: New.
516         * manual/lang.texi: Document MTASC-safety properties.
518         * manual/job.texi: Document MTASC-safety properties.
520         * manual/getopt.texi: Document MTASC-safety properties.
522         * manual/ctype.texi: Document MTASC-safety properties.
524 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
526         [BZ #16046]
527         * csu/libc-tls.c (static_map): Remove variable.
528         (__libc_setup_tls): Use main executable's link map for TLS data.
529         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
530         casing for LM_ID_BASE and GL(dl_nns).
531         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
532         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
533         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
534         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
535         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
536         member.
537         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
538         l_phnum members.
540 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
542         * manual/debug.texi: Document MTASC-safety properties.
544 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
546         [BZ #16510]
547         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
548         of __x86_64__ when disabling x87 inline functions.
550 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
552         * manual/charset.texi: Document MTASC-safety properties.
554         * manual/crypt.texi: Document MTASC-safety properties.
556         * manual/conf.texi: Document MTASC-safety properties.
558         * manual/arith.texi: Document MTASC-safety properties.
560         * manual/argp.texi: Document MTASC-safety properties.
562         * manual/macros.texi: Introduce macros to document multi
563         thread, asynchronous signal and asynchronous cancellation
564         safety properties.
565         * manual/intro.texi: Introduce the properties themselves.
567 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
569         * sysdeps/sh/sh4/Makefile: New file.
571 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
573         * math/gen-libm-test.pl ($srcdir): New variable.
574         ($auto_input): Use it.
576 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
578         [BZ #16506]
579         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
580         access beyond array bounds when parsing netgroups file.
582         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
583         the old buffer before realloc.
585 2014-01-27  Allan McRae  <allan@archlinux.org>
587         * po/fr.po: Update French translation from translation project.
589 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
591         * sysdeps/sh/libm-test-ulps: Regenerate.
593 2014-01-24  David S. Miller  <davem@davemloft.net>
595         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
597 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
599         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
600         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
602 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
604         [BZ #16474]
605         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
606         string pointers after reallocation.
608 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
610         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
611         __SH4A__ instead of __SH_FPU_ANY__.
613 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
615         * sysdeps/sh/fpu_control.h: New file.
616         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
617         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
618         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
619         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
620         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
621         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
622         * sysdeps/sh/sys/ucontext.h: Remove.
623         * sysdeps/sh/sys: Remove directory.
625 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
627         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
628         s390/sys/ucontext.h.
629         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
630         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
632 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
634         [BZ #15605]
635         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
637 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
639         [BZ#16431]
640         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
641         Adjust the vDSO correctly for internal calls.
642         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
644 2014-01-20  Allan McRae  <allan@archlinux.org>
646         * po/ca.po: Update Catalan translation from translation project.
648 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
650         * sysdeps/s390/sotruss-lib.c: New file.
652 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
654         [BZ#16430]
655         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
656         (__GI___gettimeofday): Alias for a different internal symbol to avoid
657         local calls issues by not having a PLT stub required for IFUNC calls.
658         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
660 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
662         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
663         * math/test-fpucw-static.c: Likewise.
665 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
667         [BZ #16453]
668         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
670 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
672         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
673         implementation for powerpc.
675 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
677         [BZ #14782]
678         * sysdeps/posix/system.c (__libc_system): Do not enable
679         asynchronous cancellation.
681 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
683         [BZ #16427]
684         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
685         handling only for numbers special also in the IEEE case.
687 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
689         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
691 2014-01-11  Allan McRae  <allan@archlinux.org>
693         * po/bg.po: Update Bulgarian translation from translation project.
695         * po/de.po: Update German translation from translation project.
697 2014-01-10  Roland McGrath  <roland@hack.frob.com>
699         * sysdeps/generic/gcc-compat.h: New file.
701 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
703         * benchtests/asin-inputs: Correct slow inputs.
704         * benchtests/acos-inputs: Likewise.
706 2014-01-10  Allan McRae  <allan@archlinux.org>
708         * po:sv.po: Update Swedish translation from translation project.
710         * po/vi.po: Update Vietnamese translation from translation project.
712         * po/eo.po: Update Esperanto translation from translation project.
714         * po/cs.po: Update Czech translation from translation project.
716         * po/nl.po: Update Dutch translation from translation project.
718         * po/pl.po: Update Polish translation from translation project.
720         * po/ru.po: Update Russian translation from translation project.
722         * po/uk.po: Update Ukrainian translation from translation project.
724 2014-01-08  Brooks Moses  <bmoses@google.com>
726         * elf/dl-load.c: Fix comment typo.
728 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
730         * po/header.pot: Rename to...
731         * po/pot.header: ... this.
732         * po/Makefile: Use pot.header.
734 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
735             Maxim Kuvyrkov  <maxim@kugelworks.com>
737         [BZ #16394]
738         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
739         SRC and DEST against LEN.
741 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
743         [BZ #16414]
744         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
745         implementation.
746         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
748 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
752 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
754         [BZ #16408]
755         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
756         for large positive arguments.
758 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
760         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
762         * math/auto-libm-test-in: Mark various tests with
763         xfail-rounding:ldbl-128ibm.
764         * math/auto-libm-test-out: Regenerated.
766         [BZ #16407]
767         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
768         Increase overflow threshold.
770 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
772         [BZ #14286]
773         * stdio-common/vfprintf.c: Check for integer overflow.
775 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
777         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
778         the first argument and return value of __tls_get_addr_internal.
780 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
782         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
783         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
785 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
787         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
788         * sysdeps/s390/rtld-global-offsets.sym: New file.
789         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
790         GLIBC_2.19 symbol.
791         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
792         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
793         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
794         ... this.
795         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
796         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
797         ... this.
798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
799         Regenerate.
800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
801         Regenerate.
802         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
803         halfs of GPRs for high_gprs contexts.
804         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
805         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
806         field.
807         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
808         uc_flags field.
809         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
810         64 bit versions:
811         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
812         for high GPRs (uc_high_gprs) and for future extensions
813         (__reserved).
814         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
815         for future extensions (__reserved).
816         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
817         64 bit versions:
818         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
819         SC_HIGHGPRS offset definition.
820         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
821         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
823 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
825         * Versions.def: Add GLIBC_2.19 for libpthread.
826         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
827         siglongjmp for libpthread with GLIBC_2.19 symver.
828         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
829         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
830         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
831         * sysdeps/s390/__longjmp.c: New file.
832         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
833         * sysdeps/s390/longjmp.c: New file.
834         * sysdeps/s390/setjmp.S: New file.
835         * sysdeps/s390/sigjmp.S: New file.
836         * sysdeps/s390/v1-longjmp.c: New file.
837         * sysdeps/s390/v1-setjmp.h: New file.
838         * sysdeps/s390/v1-sigjmp.c: New file.
839         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
840         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
841         GLIBC_2.19 version.
842         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
843         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
844         versioned symbols for ____longjmp_chk.
845         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
846         Likewise.
847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
848         Regenerate.
849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
850         Regenerate.
851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
852         Regenerate.
853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
854         Regenerate.
855         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
856         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
857         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
858         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
859         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
860         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
861         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
862         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
863         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
864         * sysdeps/s390/rtld-__longjmp.c: New file.
865         * sysdeps/s390/rtld-setjmp.S: New file.
867 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
869         [BZ #16400]
870         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
871         Return -__logl (x) for small positive arguments without evaluating
872         a polynomial.
874 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
876         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
877         Rename to ...
878         (__ptrace_peeksiginfo_args): ... this.
879         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
880         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
881         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
883 2014-01-06  Allan McRae  <allan@archlinux.org>
885         * inet/netinet/in.h: Fix typo in comment.
887 2014-01-05  Andreas Jaeger  <aj@suse.de>
889         * sysdeps/i386/fpu/libm-test-ulps: Update.
891 2014-01-05  Allan McRae  <allan@archlinux.org>
893         * po/libc.pot: Regenerated.
895         * malloc/memusagestat.c: Fix gettext call formatting.
897 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
899         * nscd/nscd.c: Improve usage() output.
901 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
903         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
904         * sysdeps/unix/sysv/linux/configure: Regenerated.
905         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
906         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
908 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
910         [BZ #16390]
911         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
912         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
914 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
916         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
917         extra tokens at end of #undef directive.
918         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
919         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
920         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
922 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
924         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
926         * math/auto-libm-test-in: Mark various tests with
927         xfail-rounding:ldbl-128ibm.
928         * math/auto-libm-test-out: Regenerated.
930 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
932         [BZ #16386]
933         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
934         numbers with subnormal high part when calculating exponent.
936         [BZ #16385]
937         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
938         fabs.
940         [BZ #16384]
941         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
942         M_LN2l.
943         (__ieee754_acoshl): Use __log1pl not __log1p.
945 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
947         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
948         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
949         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
950         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
951         Convert to GNU style.
952         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
953         mem2mem_check, mem2chunk_check, top_check, realloc_check,
954         memalign_check, __malloc_set_state): Likewise.
955         * malloc/mallocbug.c (main): Likewise.
956         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
957         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
958         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
959         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
960         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
961         * malloc/malloc.h: Likewise.
962         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
963         memalignhook, reallochook, mabort): Likewise.
964         * malloc/mcheck.h: Likewise.
965         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
966         mmap64, mremap, munmap, dest): Likewise.
967         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
968         * malloc/morecore.c (__default_morecore): Likewise.
969         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
970         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
971         _obstack_allocated_p, obstack_free, _obstack_memory_used,
972         print_and_abort): Likewise.
973         * malloc/obstack.h: Likewise.
974         * malloc/set-freeres.c (__libc_freeres): Likewise.
975         * malloc/tst-mallocstate.c (main): Likewise.
976         * malloc/tst-mtrace.c (main): Likewise.
977         * malloc/tst-realloc.c (do_test): Likewise.
979 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
981         [BZ #16366]
982         * nscd/netgroupcache.c (do_notfound): New function.
983         (addgetnetgrentX): Use it.
985         [BZ # 16365]
986         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
987         NSS_STATUS_NOTFOUND.
989 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
991         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
994 2014-01-01  Allan McRae  <allan@archlinux.org>
996         * scripts/update-copyrights: Update configure input file suffix.
998         * NEWS: Update copyright year.
999         * catgets/gencat.c: Likewise.
1000         * csu/version.c: Likewise.
1001         * debug/catchsegv.sh: Likewise.
1002         * debug/pcprofiledump.c: Likewise.
1003         * debug/xtrace.sh: Likewise.
1004         * elf/ldconfig.c: Likewise.
1005         * elf/ldd.bash.in: Likewise.
1006         * elf/pldd.c: Likewise.
1007         * elf/sotruss.ksh: Likewise.
1008         * elf/sprof.c: Likewise.
1009         * iconv/iconv_prog.c: Likewise.
1010         * iconv/iconvconfig.c: Likewise.
1011         * locale/programs/locale.c: Likewise.
1012         * locale/programs/localedef.c: Likewise.
1013         * login/programs/pt_chown.c: Likewise.
1014         * malloc/memusage.sh: Likewise.
1015         * malloc/memusagestat.c: Likewise.
1016         * malloc/mtrace.pl: Likewise.
1017         * manual/libc.texinfo: Likewise.
1018         * nscd/nscd.c: Likewise.
1019         * nss/getent.c: Likewise.
1020         * nss/makedb.c: Likewise.
1021         * posix/getconf.c: Likewise.
1022         * scripts/test-installation.pl: Likewise.
1024         * All files with FSF copyright notices: Update copyright dates
1025         using scripts/update-copyrights.
1026         * intl/plural.c: Regenerated.
1027         * locale/programs/charmap-kw.h: Likewise.
1028         * locale/programs/locfile-kw.h: Likewise.
1030 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
1032         * sysdeps/unix/sysv/linux/configure: Regenerated.
1033         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1034         the linux/fanotify.h header.
1035         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1036         HAVE_LINUX_FANOTIFY_H is defined.
1038 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1040         * benchtests/cos-inputs: New inputs.
1041         * benchtests/sin-inputs: Likewise.
1043         * benchtests/atan-inputs: New inputs. Fix name of multiple
1044         precision fallback inputs.
1046         * benchtests/atanh-inputs: New inputs.
1047         * benchtests/tanh-inputs: Likewise.
1049         * benchtests/acosh-inputs: New inputs.
1050         * benchtests/asinh-inputs: Likewise.
1052         * benchtests/cosh-inputs: New inputs.
1053         * benchtests/sinh-inputs: Likewise.
1055         * benchtests/acos-inputs: Add more inputs.
1056         * benchtests/asin-inputs: Likewise.
1058 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
1060         [BZ #16375]
1061         * manual/arith.texi: Fix spelling.
1062         * manual/charset.texi: Likewise.
1063         * manual/errno.texi: Likewise.
1064         * manual/filesys.texi: Likewise.
1065         * manual/lang.texi: Likewise.
1066         * manual/llio.texi: Likewise.
1067         * manual/locale.texi: Likewise.
1068         * manual/message.texi: Likewise.
1069         * manual/resource.texi: Likewise.
1070         * manual/search.texi: Likewise.
1071         * manual/setjmp.texi: Likewise.
1072         * manual/stdio.texi: Likewise.
1073         * manual/string.texi: Likewise.
1074         * manual/sysinfo.texi: Likewise.
1075         * manual/time.texi: Likewise.
1077 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
1079         * po/sl.po: New file.
1081 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
1083         * .gitignore: Add core/.gdbinit/.gdb_history.
1085 2013-12-27  Allan McRae  <allan@archlinux.org>
1087         [BZ #16369]
1088         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1089         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1091 2013-12-24  Brooks Moses  <bmoses@google.com>
1093         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1094         all compilers that claim C++98 compliance, not just GCC.
1095         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1096         Likewise.
1098 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1100         * NEWS: Restore accidentally deleted bug-fix entries.
1102 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1103             Ondřej Bílka  <neleai@seznam.cz>
1105         [BZ #15073]
1106         * malloc/malloc.c (_int_free): Perform sanity check only if we
1107         have_lock.
1109 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
1111         [BZ #12986]
1112         * manual/stdio.texi (String Input Conversions): Clarify that character
1113         classes are not supported.
1115 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1119 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
1121         [BZ #16337]
1122         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1123         Calculate results for small negative arguments directly rather
1124         than using reflection formula with special underflow handling.
1126         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1127         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1128         sysdeps/unix/bsd/bsd4.4/syscalls.list.
1129         (fchflags): Likewise.
1130         (revoke): Likewise.
1131         (setlogin): Likewise.
1132         (sigaltstack): Likewise.
1133         (wait4): Likewise.
1134         (sigblock): Remove.
1135         (sigsetmask): Likewise.
1136         (wait3): Likewise.
1137         (waitpid): Likewise.
1138         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1139         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1140         file.
1141         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1142         * sysdeps/unix/bsd/Makefile: ... here.
1143         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1144         * sysdeps/unix/bsd/Versions: ... here.
1145         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1146         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1147         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1148         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1149         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1150         * sysdeps/unix/bsd/sigblock.c: ... here.
1151         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1152         * sysdeps/unix/bsd/sigsetmask.c: ... here.
1153         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1154         * sysdeps/unix/bsd/sigvec.c: ... here.
1155         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1156         * sysdeps/unix/bsd/tcdrain.c: ... here.
1157         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1158         * sysdeps/unix/bsd/tcgetattr.c: ... here.
1159         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1160         * sysdeps/unix/bsd/tcsetattr.c: ... here.
1161         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1162         * sysdeps/unix/bsd/wait.c: ... here.
1163         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1164         * sysdeps/unix/bsd/wait3.c: ... here.
1165         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1166         * sysdeps/unix/bsd/waitpid.c: ... here.
1168 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
1170         [BZ #16356]
1171         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1172         round-to-nearest for [!USE_AS_EXPM1L].
1173         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1174         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
1175         more tests of exp and exp10.  Expect some exp10 tests to miss
1176         exceptions or fail in directed rounding modes.
1177         * math/auto-libm-test-out: Regenerated.
1178         * math/libm-test.inc (exp10_tonearest_test_data): New array.
1179         (exp10_test_tonearest): New function.
1180         (exp10_towardzero_test_data): New array.
1181         (exp10_test_towardzero): New function.
1182         (exp10_downward_test_data): New array.
1183         (exp10_test_downward): New function.
1184         (exp10_upward_test_data): New array.
1185         (exp10_test_upward): New function.
1186         (main): Call the new functions.
1187         * sysdeps/i386/fpu/libm-test-ulps: Update.
1188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1190 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
1192         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1193         asinh, atan, atan2, atanh, cbrt, cos and cosh.
1194         * math/auto-libm-test-out: Regenerated.
1195         * math/libm-test.inc (acosh_test_data): Add more tests.
1196         (atanh_test_data): Likewise.
1197         (ceil_test_data): Likewise.
1198         (copysign_test_data): Likewise.
1199         * sysdeps/i386/fpu/libm-test-ulps: Update.
1200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1202         * timezone/checktab.awk: Update from tzcode 2013i.
1203         * timezone/private.h: Likewise.
1204         * timezone/scheck.c: Likewise.
1205         * timezone/tzfile.h: Likewise.
1206         * timezone/tzselect.ksh: Likewise.
1207         * timezone/zdump.c: Likewise.
1208         * timezone/zic.c: Likewise.
1210         * math/auto-libm-test-in: Add tests of cpow.
1211         * math/auto-libm-test-out: Regenerated.
1212         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1213         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1214         mpc_cc_c.
1215         (func_calc_desc): Add mpc_cc_c union field.
1216         (test_functions): Add cpow.
1217         (special_fill_2pi): New function.
1218         (special_real_inputs): Add 2pi.
1219         (calc_generic_results): Handle mpc_cc_c.
1220         * sysdeps/i386/fpu/libm-test-ulps: Update.
1221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1223         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1224         csqrt, ctan and ctanh.
1225         * math/auto-libm-test-out: Regenerated.
1226         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1227         (TEST_COND_x86): Likewise.
1228         (ccos_test_data): Use AUTO_TESTS_c_c.
1229         (ccosh_test_data): Likewise.
1230         (cexp_test_data): Likewise.
1231         (clog_test_data): Likewise.
1232         (csqrt_test_data): Likewise.
1233         (ctan_test_data): Likewise.
1234         (ctan_tonearest_test_data): Likewise.
1235         (ctan_towardzero_test_data): Likewise.
1236         (ctan_downward_test_data): Likewise.
1237         (ctan_upward_test_data): Likewise.
1238         (ctanh_test_data): Likewise.
1239         (ctanh_tonearest_test_data): Likewise.
1240         (ctanh_towardzero_test_data): Likewise.
1241         (ctanh_downward_test_data): Likewise.
1242         (ctanh_upward_test_data): Likewise.
1243         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1244         mpc_c_c.
1245         (func_calc_desc): Add mpc_c_c union field.
1246         (FUNC_mpc_c_c): New macro.
1247         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1248         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1249         ctanh.
1250         (special_fill_min_subnorm_p120): New function.
1251         (special_real_inputs): Add min_subnorm_p120.
1252         (calc_generic_results): Handle mpc_c_c.
1253         * sysdeps/i386/fpu/libm-test-ulps: Update.
1254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1256 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1258         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1259         do_sin_slow): New functions.
1260         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1261         cslow2, csloww1, csloww2): Use the new functions.
1263         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1264         Use M to change sign of result instead of X.  Assume X is
1265         positive.
1266         (csloww1): Likewise.
1267         (__sin): Adjust.
1268         (__cos): Adjust.
1270         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1271         arguments A and DA.
1272         (__sin): Adjust.
1273         (__cos): Likewise.
1275         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1276         (__cos): Likewise.
1277         (sloww1): Don't adjust sign of DX.
1278         (csloww1): Likewise.
1279         (sloww2): Use X directly and don't adjust sign of DX.
1280         (csloww2): Likewise.
1282 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1284         * math/auto-libm-test-in: Add tests of cabs and carg.
1285         * math/auto-libm-test-out: Regenerated.
1286         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1287         (carg_test_data): Likewise.
1288         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1289         mpc_c_f.
1290         (func_calc_desc): Add mpc_c_f union field.
1291         (test_functions): Add cabs and carg.
1292         (calc_generic_results): Handle mpc_c_f.
1294         * sysdeps/powerpc/powerpc32/libgcc-compat.S
1295         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1296         as a macro and a compat symbol.
1297         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1298         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1299         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1300         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1301         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1302         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1303         not use .hidden.
1304         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1305         Likewise.
1306         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1307         Likewise.
1308         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1309         Likewise.
1310         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1311         Likewise.
1312         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1313         Likewise.
1314         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1315         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1316         from GLIBC_2.3.2.
1318 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1322 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1324         * manual/texinfo.tex: Update to version 2013-11-26.10 with
1325         trailing whitespace removed.
1326         * scripts/config.guess: Update to version 2013-11-29.
1327         * scripts/config.sub: Update to version 2013-10-01.
1329         * math/auto-libm-test-in: Add tests of sincos.
1330         * math/auto-libm-test-out: Regenerated.
1331         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1332         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1333         mpfr_f_11.
1334         (func_calc_desc): Add mpfr_f_11 union field.
1335         (test_functions): Add sincos.
1336         (calc_generic_results): Handle mpfr_f_11.
1337         * sysdeps/i386/fpu/libm-test-ulps: Update.
1338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1340 2013-12-19  Andreas Schwab  <schwab@suse.de>
1342         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1343         CALL_MCOUNT.
1344         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1345         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1346         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1348 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1350         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1351         * sysdeps/i386/fpu/libm-test-ulps: Update.
1352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1354         [BZ #16293]
1355         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1356         round-to-nearest mode when using frndint.
1357         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1358         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1359         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1360         Likewise.
1361         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1362         sinh test to fail.
1363         * math/auto-libm-test-out: Regenerated.
1364         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1365         (TEST_COND_x86): Likewise.
1366         (expm1_tonearest_test_data): New array.
1367         (expm1_test_tonearest): New function.
1368         (expm1_towardzero_test_data): New array.
1369         (expm1_test_towardzero): New function.
1370         (expm1_downward_test_data): New array.
1371         (expm1_test_downward): New function.
1372         (expm1_upward_test_data): New array.
1373         (expm1_test_upward): New function.
1374         (main): Run the new test functions.
1375         * sysdeps/i386/fpu/libm-test-ulps: Update.
1376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1378         * include/features.h: Update comment documenting feature test
1379         macros.  Mention _DEFAULT_SOURCE in comment.
1380         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1381         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1382         _BSD_SOURCE and _SVID_SOURCE.
1383         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1384         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1385         !_SVID_SOURCE]: Likewise.
1386         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1387         (__USE_POSIX_IMPLICITLY): Define.
1388         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1389         (_POSIX_SOURCE): Undefine and redefine.
1390         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1391         (_POSIX_C_SOURCE): Likewise.
1392         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1393         (Feature Test Macros): Update documentation of default features.
1395 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1397         * benchtests/Makefile: Add bench-strtok.
1398         * benchtests/bench-strtok.c: New file: strtok benchtest.
1400 2013-12-19  Allan McRae  <allan@archlinux.org>
1402         * manual/install.texi: Suppress menu for plain text output.
1403         * INSTALL: Regenerated.
1405 2013-12-18  Brooks Moses  <bmoses@google.com>
1407         [BZ #15846]
1408         * misc/getauxval.c: Include errno.h.
1409         (__getauxval): Set errno to ENOENT if the requested type is not
1410         found.
1411         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1412         don't declare with __attribute_const__.
1413         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1414         * manual/startup.texi: Document that getauxval sets errno.
1416 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1418         * math/auto-libm-test-in: Add tests of jn and yn.
1419         * math/auto-libm-test-out: Regenerated.
1420         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1421         (yn_test_data): Likewise.
1422         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1423         mpfr_if_f.
1424         (func_calc_desc): Add mpfr_if_f union field.
1425         (FUNC_mpfr_if_f): New macro.
1426         (test_functions): Add jn and yn.
1427         (calc_generic_results): Assert type of second input for
1428         mpfr_ff_f.  Handle mpfr_if_f.
1429         (output_for_one_input_case): Disable all checking for arguments
1430         fitting floating-point types in case of an integer argument.
1431         * sysdeps/i386/fpu/libm-test-ulps: Update.
1432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1435         Don't expect fegetround reference in libm.so.
1437 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1439         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1440         $(config-cflags-nofma).
1442 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1444         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1445         * math/auto-libm-test-out: Regenerated.
1447         [BZ #16338]
1448         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1449         to determine exponent and adjust argument to have exponent of -1.
1450         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1451         log2.
1452         * math/auto-libm-test-out: Regenerated.
1453         * sysdeps/i386/fpu/libm-test-ulps: Update.
1454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1456 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1458         * manual/probes.texi: Remove cases when per-thread arenas are
1459         disabled.
1461 2013-12-18  Andreas Schwab  <schwab@suse.de>
1463         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1464         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1465         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1466         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1467         * sysdeps/i386/i686/multiarch/Makefile: Update.
1468         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1470 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1472         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1473         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1475 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1477         [BZ #15968]
1478         Support TZ transition times < 00:00:00.
1479         This is needed for version-3 tz-format files; it supports time
1480         stamps past 2037 for America/Godthab (the only entry in the tz
1481         database for which this change is relevant).
1482         * manual/time.texi (TZ Variable): Document transition times
1483         from -167:59:59 through -00:00:01.
1484         * time/tzset.c (tz_rule): Time of day is now signed.
1485         (__tzset_parse_tz): Parse negative time of day.
1487         Document TZ transition times >= 25:00:00.
1488         * manual/time.texi (TZ Variable): Document transition times from
1489         25:00:00 through 167:59:59.  These are already supported, and this
1490         support will help with version-3 tz-format files.
1492         * manual/time.texi (TZ Variable): Modernize North America example
1493         to reflect current (i.e., 2007-and-later) daylight saving rules.
1495         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1497 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1499         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1500         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1501         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1502         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1503         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1504         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1505         * sysdeps/unix/bsd/clock.c: Likewise.
1506         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1507         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1508         * sysdeps/unix/bsd/init-posix.c: Likewise.
1509         * sysdeps/unix/bsd/poll.c: Likewise.
1510         * sysdeps/unix/bsd/ptsname.c: Likewise.
1511         * sysdeps/unix/bsd/seekdir.c: Likewise.
1512         * sysdeps/unix/bsd/setegid.c: Likewise.
1513         * sysdeps/unix/bsd/seteuid.c: Likewise.
1514         * sysdeps/unix/bsd/setgid.c: Likewise.
1515         * sysdeps/unix/bsd/setrgid.c: Likewise.
1516         * sysdeps/unix/bsd/setruid.c: Likewise.
1517         * sysdeps/unix/bsd/setsid.c: Likewise.
1518         * sysdeps/unix/bsd/setuid.c: Likewise.
1519         * sysdeps/unix/bsd/sigaction.c: Likewise.
1520         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1521         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1522         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1523         * sysdeps/unix/bsd/telldir.c: Likewise.
1524         * sysdeps/unix/bsd/times.c: Likewise.
1525         * sysdeps/unix/bsd/usleep.c: Likewise.
1527         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1528         ($(objpfx)libbsd-compat.a): Remove rule.
1530         * include/features.h (__FAVOR_BSD): Do not define.
1531         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1532         features conflicting with POSIX.
1533         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1534         (_BSD_SOURCE): Remove description of not being a subset of other
1535         feature test macros.
1536         * manual/job.texi (getpgrp): Do not document BSD version.
1537         (getpgid): Do not document by reference to BSD getpgrp.
1538         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1539         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1540         * signal/signal.h [__FAVOR_BSD]: Likewise.
1541         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1542         instead of making contents conditional on [__FAVOR_BSD].
1543         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1545 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1549 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1551         [BZ #16314]
1552         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1553         values below 2**-450, not 2**-500.
1554         * math/auto-libm-test-in: Don't allow spurious underflow from
1555         hypot.
1556         * math/auto-libm-test-out: Regenerated.
1558         [BZ #16316]
1559         [BZ #16330]
1560         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1561         values of ha and hb and sort them after adjusting subnormal
1562         arguments.
1563         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1564         Likewise.
1565         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1566         values of ea and eb and sort them after adjusting subnormal
1567         arguments.
1568         * math/auto-libm-test-in: Do not expect some hypot tests of
1569         subnormals to fail.  Add more hypot tests.
1570         * math/auto-libm-test-out: Regenerated.
1572 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1574         [BZ #13304]
1575         * sysdeps/sh/s_fma.c: New file.
1576         * sysdeps/sh/s_fmaf.c: New file.
1577         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1578         version.
1579         * sysdeps/sh/Implies: Add sh/soft-fp.
1581 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1583         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1584         level of indirection to members `objname', `errstring', `malloced'.
1585         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1586         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1587         it as the __longjmp argument (just pass 1 instead).
1588         (_dl_catch_error): Initialize C with argument pointers and address of
1589         volatile local ERRCODE rather than copying values out of C at return.
1591 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1593         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1594         * math/auto-libm-test-out: Regenerated.
1595         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1596         (hypot_test_data): Likewise.
1597         (pow_test_data): Likewise.
1598         (pow_tonearest_test_data): Likewise.
1599         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1600         mpfr_ff_f.
1601         (func_calc_desc): Add mpfr_ff_f union field.
1602         (FUNC_mpfr_ff_f): New macro.
1603         (test_functions): Add atan2, hypot and pow.
1604         (special_fill_min): New function.
1605         (special_fill_minus_min): Likewise.
1606         (special_fill_min_subnorm): Likewise.
1607         (special_fill_minus_min_subnorm): Likewise.
1608         (special_real_inputs): Add min, -min, min_subnorm and
1609         -min_subnorm.
1610         (calc_generic_results): Handle mpfr_ff_f.
1611         * sysdeps/i386/fpu/libm-test-ulps: Update.
1612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1614 2013-12-16  Will Newton  <will.newton@linaro.org>
1616         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1617         (Aligned Memory Blocks): Add documentation for aligned_alloc
1618         and suggest it as an alternative to posix_memalign.
1619         (Hooks for Malloc): Document __memalign_hook is also called
1620         for aligned_alloc.  (Summary of Malloc): Add summary for
1621         aligned alloc.  Document __memalign_hook is also called
1622         for aligned_alloc.
1624 2013-12-16  Will Newton  <will.newton@linaro.org>
1626         * manual/memory.texi (Malloc Examples): Clarify default
1627         alignment documentation.  Suggest posix_memalign rather
1628         than memalign or valloc.
1629         (Aligned Memory Blocks): Remove suggestion to use memalign
1630         or valloc.  Remove obsolete comment about BSD.
1631         Document memalign errno values and mark the function obsolete.
1632         Document posix_memalign returned error codes.  Mark valloc
1633         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1634         called for posix_memalign and valloc.
1635         (Summary of Malloc): Add posix_memalign to function summary.
1636         __memalign_hook is also called for posix_memalign and valloc.
1638 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1640         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1641         TAYLOR_SIN.
1642         (__sin): Adjust.
1643         (__cos): Likewise.
1644         (sloww): Use mynumber union.  Expand ternary operator into
1645         if-else statements.
1646         (cslow): use mynumber union.
1648 2013-12-16  Allan McRae  <allan@archlinux.org>
1650         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1651         * configure: Regenerated.
1653         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1655         [BZ #14120]
1656         * configure.ac: Added --enable-maintainer-mode. Check for
1657         autoconf when enabled.
1658         * configure: Regenerated.
1660         * nscd/nscd.service: New file.
1661         * nscd/nscd.tmpfiles: New file.
1663 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1665         [BZ #12100]
1666         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1667         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1668         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1669         (strstr): Add __strstr_sse2_unaligned ifunc.
1670         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1671         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1672         (strcasestr): Remove __strcasestr_sse42 ifunc.
1673         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1674         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1675         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1677 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1679         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1680         * sysdeps/sh/bits/fenv.h: ... here.
1681         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1683 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1685         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1687 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1689         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1690         hypotf multiarch implementations.
1691         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1692         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1693         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1694         multiarch hypot for PPC64.
1695         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1696         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1697         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1698         multiarch hypotf for PPC64.
1700 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1703         modff multiarch implementations.
1704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1707         multiarch modf for PPC64.
1708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1711         multiarch modff for PPC64.
1713 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1716         and logl multiarch implementations.
1717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1720         multiarch logb for PPC64.
1721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1724         multiarch logb for PPC64.
1725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1728         multiarch logb for PPC64.
1730 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1732         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1733         isinff multiarch implementation.
1734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1735         file.
1736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1738         multiarch isinf for PPC64.
1739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1740         file.
1741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1742         multiarch isinff for PPC64.
1744 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1746         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1747         finitef multiarch implementation.
1748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1749         file.
1750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1752         multiarch finite for PPC64.
1753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1754         file.
1755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1756         multiarch finitef for PPC64.
1758 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1760         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1761         lrint multiarch implementation.
1762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1763         file.
1764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1766         multiarch llrint for PPC64.
1767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1768         multiarch lrint for PPC64.
1770 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1772         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1773         copysignf multiarch implementation.
1774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1775         file.
1776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1777         file.
1778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1779         multiarch copysign for PPC64.
1780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1781         multiarch copysignf for PPC64.
1783 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1785         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1786         multiarch implementation.
1787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1788         file.
1789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1790         file.
1791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1792         file.
1793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1794         file.
1795         multiarch llround for PPC64.
1796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1797         multiarch trunc for PPC64.
1798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1799         multiarch truncf for PPC64.
1801 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1804         multiarch implementation.
1805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1806         file.
1807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1808         file.
1809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1810         file.
1811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1812         file.
1813         multiarch llround for PPC64.
1814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1815         multiarch round for PPC64.
1816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1817         multiarch roundf for PPC64.
1819 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1821         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1822         multiarch implementation.
1823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1824         file.
1825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1826         file.
1827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1828         file.
1829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1830         file.
1831         multiarch llround for PPC64.
1832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1833         multiarch floor for PPC64.
1834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1835         multiarch floorf for PPC64.
1837 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1840         multiarch implementation.
1841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1842         file.
1843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1844         file.
1845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1846         file.
1847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1848         file.
1849         multiarch llround for PPC64.
1850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1851         multiarch ceil for PPC64.
1852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1853         multiarch ceilf for PPC64.
1855 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1858         multiarch implementation.
1859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1860         file.
1861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1862         file.
1863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1864         file.
1865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1866         multiarch llround for PPC64.
1867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1868         multiarch lround for PPC64.
1870 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1873         multiarch implementation.
1874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1877         file.
1878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1881         multiarch isnan for PPC64.
1882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1883         multiarch isnanf for PPC64.
1885 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1887         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1888         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1889         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1890         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1891         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1894 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1896         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1897         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1898         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1899         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1901 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1904         multiarch implementations.
1905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1906         (__libc_ifunc_impl_list): Likewise.
1907         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1908         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1909         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1910         multiarch stpcpy for PPC64.
1912 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1915         multiarch implementations.
1916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1917         (__libc_ifunc_impl_list): Likewise.
1918         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1919         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1920         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1921         multiarch strcpy for PPC64.
1923 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1925         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1926         redefine function name.
1927         (_wordcopy_fwd_dest_aligned): Likewise.
1928         (_wordcopy_bwd_aligned): Likewise.
1929         (_wordcopy_bwd_dest_aligned): Likewise.
1930         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1931         multiarch implementations.
1932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1933         (__libc_ifunc_impl_list): Likewise.
1934         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1935         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1936         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1937         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1938         multiarch wcscpy for PPC64.
1940 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1943         multiarch implementations.
1944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1945         (__libc_ifunc_impl_list): Likewise.
1946         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1947         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1948         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1949         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1950         multiarch wcscpy for PPC64.
1952 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1955         multiarch implementations.
1956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1957         (__libc_ifunc_impl_list): Likewise.
1958         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1959         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1960         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1961         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1962         multiarch wcsrchr for PPC64.
1964 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1966         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1967         multiarch implementations.
1968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1969         (__libc_ifunc_impl_list): Likewise.
1970         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1971         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1972         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1973         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1974         multiarch wcschr for PPC64.
1976 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1979         multiarch implementations.
1980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1981         (__libc_ifunc_impl_list): Likewise.
1982         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1983         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1984         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1985         multiarch strchrnul for PPC64.
1987 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1990         implementations.
1991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1992         (__libc_ifunc_impl_list): Likewise.
1993         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1994         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1995         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1996         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1997         strchr for PPC64.
1999 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2002         implementations.
2003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2004         (__libc_ifunc_impl_list): Likewise.
2005         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2006         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2007         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2008         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2009         strncmp for PPC64.
2011 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2013         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2014         multiarch implementations.
2015         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2016         (__libc_ifunc_impl_list): Likewise.
2017         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2018         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2019         strncasecmp for PPC64.
2020         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2021         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2022         multiarch strncasecmp_l for PPC64.
2024 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2027         multiarch implementations.
2028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2029         (__libc_ifunc_impl_list): Likewise.
2030         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2031         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2032         multiarch strcasecmp for PPC64.
2033         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2034         file.
2035         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2036         multiarch strcasecmp_l for PPC64.
2038 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2041         implementations.
2042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2043         (__libc_ifunc_impl_list): Likewise.
2044         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2045         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2046         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2047         strnlen for PPC64.
2049 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2052         implementations.
2053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2054         (__libc_ifunc_impl_list): Likewise.
2055         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2056         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2057         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2058         strlen for PPC64.
2060 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2063         implementations.
2064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2065         (__libc_ifunc_impl_list): Likewise.
2066         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2067         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2068         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2069         rawmemrchr for PPC64.
2071 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2074         implementation.
2075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2076         (__libc_ifunc_impl_list): Likewise.
2077         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2078         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2079         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2080         memrchr for PPC64.
2082 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2084         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2085         implementation.
2086         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2087         (__libc_ifunc_impl_list): Likewise.
2088         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2089         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2090         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2091         memchr for PPC64.
2093 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2096         implementation.
2097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2098         (__libc_ifunc_impl_list): Likewise.
2099         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2100         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2101         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2102         mempcpy for PPC64.
2104 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2106         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2107         avoid cretion of __bzero symbol.
2108         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2109         Likewise.
2110         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2111         Likewise.
2112         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2113         Likewise.
2114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2115         multiarch implementations.
2116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2117         (__libc_ifunc_impl_list): Likewise.
2118         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2119         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2120         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2121         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2122         bzero for PPC32.
2123         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2124         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2125         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2126         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2127         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2128         memset for PPC64.
2129         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2131 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2133         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2135         implementations.
2136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2137         (__libc_ifunc_impl_list): Likewise.
2138         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2139         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2140         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2141         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2142         memcmp for PPC64.
2144 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2147         multiarch for POWER/PPC64.
2148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2149         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2150         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2151         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2152         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2153         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2154         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2155         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2156         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2157         memcpy for PPC64.
2159 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2161         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2162         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2163         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2164         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2165         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2166         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2167         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2168         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2169         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2170         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2171         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2172         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2173         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2174         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2175         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2184 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2186         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2188 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2190         * benchtests/Makefile (bench): Add exp2 and log2.
2191         (LDLIBS-bench-exp2): Add -lm.
2192         (LDLIBS-bench-log2): Likewise.
2193         * benchtests/exp2-inputs: New inputs file.
2194         * benchtests/log2-inputs: New inputs file.
2195         * benchtests/log-inputs: Add new inputs.
2196         * benchtests/tan-inputs: Likewise.
2198 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2200         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2201         definition...
2202         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2203         csloww1, csloww2): ... from here.
2205         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2206         instead of structures.
2207         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2208         (POLYNOMIAL): Likewise.
2209         (TAYLOR_SLOW): Likewise.
2210         (__sin): Likewise.
2211         (__cos): Likewise.
2212         (slow1): Likewise.
2213         (slow2): Likewise.
2214         (sloww): Likewise.
2215         (sloww1); Likewise.
2216         (sloww2): Likewise.
2217         (bsloww1): Likewise.
2218         (bsloww2): Likewise.
2219         (cslow2): Likewise.
2220         (csloww): Likewise.
2221         (csloww1): Likewise.
2222         (csloww2): Likewise.
2224 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2226         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2227         (__malloc_assert, __libc_realloc, __libc_calloc,
2228         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2229         memcpy and memset.
2230         * malloc/hooks.c (realloc_check): Likewise.
2232 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2234         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2235         * malloc/arena.c: Remove PER_THREAD conditional.
2236         [!PER_THREAD]: Remove code.
2237         (ptmalloc_unlock_all2): Likewise.
2238         (ptmalloc_init): Likewise.
2239         (_int_new_arena): Likewise.
2240         (arena_get2): Likewise.
2241         * malloc/hooks.c (__malloc_get_state): Likewise.
2242         (__malloc_set_state): Likewise.
2243         * malloc/malloc.c: Likewise.
2244         (struct malloc_state): Likewise.
2245         (struct malloc_par): Likewise.
2246         (__libc_realloc): Likewise.
2247         (__libc_mallopt): Likewise.
2249 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2251         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2253 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2255         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2256         macro to a function.  Check for zero perturb_byte.
2257         (_int_malloc, _int_free): Remove zero perturb_byte checks.
2259 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2261         * malloc/malloc.c: (force_reg): Remove.
2262         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2263         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2264         force_reg by atomic_forced_read.
2265         * malloc/arena.c (ptmalloc_init): Likewise.
2266         * malloc/hooks.c (top_check): Likewise.
2268 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2272 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
2274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2276 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
2278         * math/auto-libm-test-in: Add tests of lgamma.
2279         * math/auto-libm-test-out: Regenerated.
2280         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2281         (M_LOG_2_SQRT_PIl): Likewise.
2282         (lgamma_test_data): Use AUTO_TESTS_f_f1.
2283         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2284         mpfr_f_f1.
2285         (func_calc_desc): Add mpfr_f_f1 union field.
2286         (ARGS1): New macro.
2287         (ARGS2): Likewise.
2288         (ARGS3): Likewise.
2289         (ARGS4): Likewise.
2290         (RET1): Likewise.
2291         (RET2): Likewise.
2292         (CALC): Likewise.
2293         (FUNC): Likewise.
2294         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2295         (test_functions): Add lgamma.
2296         (calc_generic_results): Handle mpfr_f_f1.
2297         * sysdeps/i386/fpu/libm-test-ulps: Update.
2298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2300 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2302         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2303         __mpn_add_n for PowerPC64/POWER7.
2304         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2305         __mpn_sub_n for PowerPC64/POWER7.
2307 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2309         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2310         __mpn_addmul_1 for PowerPC64.
2311         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2312         __mpn_submul_1 for PowerPC64.
2313         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2314         for PowerPC64.
2315         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2316         for PowerPC64.
2318 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
2320         [BZ #15089]
2321         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2323 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2325         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2327 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2329         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2330         add multiarch folders.
2331         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2332         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2333         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2334         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2335         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2336         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2337         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2338         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2339         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2340         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2341         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2349 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2352         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2354         New file.
2355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2356         New file.
2357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2358         multiarch __ieee754_hypot for PowerPC32.
2359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2360         New file.
2361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2362         New file.
2363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2364         multiarch __ieee754_hypotf for PowerPC32.
2366 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2368         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2369         long_double_symbol only if __logbl is defined.
2370         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2371         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2372         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2373         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2374         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2375         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2376         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2377         path for implementation.
2378         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2379         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2381         logb, and logbl multiarch implementations for PowerPC32.
2382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2383         file.
2384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2385         file.
2386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2387         multiarch logb for PowerPC32.
2388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2389         file.
2390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2391         file.
2392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2393         multiarch logbf for PowerPC32.
2394         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2396         file.
2397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2398         multiarch logbl implementation for PowerPC32.
2400 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2403         and modff multiarch implementations.
2404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2405         New file.
2406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2407         New file.
2408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2409         multiarch modf for PowerPC32.
2410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2411         New file.
2412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2413         New file.
2414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2415         multiarch modff for PowerPC32.
2417 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2420         and lrintf multiarch implementations.
2421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2422         New file.
2423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2424         New file.
2425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2426         multiarch lrint for PowerPC32.
2427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2428         file: multiarch lrintf for PowerPC32.
2430 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2433         and lroundf multiarch implementations.
2434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2435         New file.
2436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2437         New file.
2438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2439         New file.
2440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2441         multiarch lround for PowerPC32.
2442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2443         file: multiarch lroundf for PowerPC32.
2445 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2448         copysign and copysignf multiarch implementations.
2449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2450         New file.
2451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2452         New file.
2453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2454         file: multiarch copysign for PowerPC32.
2455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2456         file: multiarch copysignf for PowerPC32.
2458 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2461         and truncf multiarch implementations.
2462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2463         New file.
2464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2465         file.
2466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2467         multiarch trunc for PowerPC32.
2468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2469         New file.
2470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2471         New file.
2472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2473         multiarch truncf for PowerPC32.
2475 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2478         and roundf multiarch implementations.
2479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2480         New file.
2481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2482         file.
2483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2484         multiarch round for PowerPC32.
2485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2486         New file.
2487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2488         New file.
2489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2490         multiarch roundf for PowerPC32.
2492 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2495         and floorf multiarch implementations.
2496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2497         New file.
2498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2499         file.
2500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2501         multiarch floor for PowerPC32.
2502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2503         New file.
2504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2505         New file.
2506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2507         multiarch floorf for PowerPC32.
2509 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2512         and ceilf multiarch implementations.
2513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2514         New file.
2515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2516         file.
2517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2518         multiarch ceil for PowerPC32.
2519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2520         New file.
2521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2522         file.
2523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2524         multiarch ceilf for PowerPC32.
2526 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2528         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2529         is defined.
2530         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2531         FINITEF is defined.
2532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2533         and finitef multiarch implementations.
2534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2535         New file.
2536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2537         file.
2538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2539         multiarch finite for PowerPC32.
2540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2541         New file.
2542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2543         file: multiarch finitef for PowerPC32.
2545 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2548         and isinff multiarch implementations.
2549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2550         file.
2551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2552         file.
2553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2554         multiarch isinf for PowerPC32.
2555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2556         New file.
2557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2558         multiarch isinff for PowerPC32.
2560 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2562         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2563         alias when __isnan is defined.
2564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2565         and isnanf multiarch implementations.
2566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2567         file.
2568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2569         file.
2570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2571         file.
2572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2573         file.
2574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2575         multiarch isnan for PowerPC32.
2576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2577         New file.
2578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2579         New file.
2580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2581         multiarch isnanf for PowerPC32.
2583 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2586         and sqrtf multiarch implementations.
2587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2588         file.
2589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2590         file.
2591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2592         multiarch sqrt for PowerPC32.
2593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2594         file.
2595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2596         file.
2597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2598         multiarch sqrtf for PowerPC32.
2600 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2603         and llroundf multiarch implementations.
2604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2605         New file.
2606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2607         New file.
2608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2609         New file.
2610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2611         file: multiarch llround for PowerPC32.
2612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2613         file: multiarch llroundf for PowerPC32.
2615 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2618         multiarch PowerPC32 fpu implementations.
2619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2620         New file.
2621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2622         New file.
2623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2624         multiarch llrint for PowerPC32.
2625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2626         New file.
2627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2628         New file.
2629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2630         file.
2632 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2636 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2638         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2639         file.
2640         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2641         file.
2642         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2643         file.
2644         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2645         multiarch wordcopy for PPC32.
2646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2647         wordcopy objects.
2648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2649         (__libc_ifunc_impl_list): Likewise.
2650         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2651         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2652         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2653         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2654         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2655         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2657 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2659         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2661         file.
2662         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2663         file.
2664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2665         file.
2666         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2667         multiarch wcscpy for PPC32.
2668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2669         multiarch objects.
2670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2671         (__libc_ifunc_impl_list): Likewise.
2672         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2673         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2674         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2675         sysdeps/powerpc/power6/wcscpy.c.
2677 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2679         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2680         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2681         file.
2682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2683         file.
2684         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2685         file.
2686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2687         multiarch wcsrchr for PPC32.
2688         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2689         multiarch objects.
2690         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2691         (__libc_ifunc_impl_list): Likewise.
2692         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2693         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2694         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2695         sysdeps/powerpc/power6/wcsrchr.c.
2697 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2700         file.
2701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2702         file.
2703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2704         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2705         multiarch wcschr for PPc32.
2706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2707         multiarch objects.
2708         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2709         (__libc_ifunc_impl_list): Likewise.
2710         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2711         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2712         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2713         sysdeps/powerpc/power6/wcschr.c.
2715 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2717         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2718         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2719         file.
2720         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2721         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2722         file: multiarch strchr for PPC32.
2723         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2724         multiarch objects.
2725         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2726         (__libc_ifunc_impl_list): Likewise.
2728 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2730         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2731         name.
2732         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2733         file.
2734         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2735         file.
2736         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2737         multiarch strchrnul for PPC32.
2738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2739         multiarch objects.
2740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2741         (__libc_ifunc_impl_list): Likewise.
2743 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2745         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2746         file.
2747         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2748         multiarch strncasecmp for PPC32.
2749         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2750         file.
2751         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2752         multiarch strncasecmp_l for PPC32.
2753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2754         strncasecmp multiarch objects.
2755         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2756         (__libc_ifunc_impl_list): Likewise.
2758 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2760         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2761         file.
2762         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2763         multiarch strncasecmp for PPC32.
2764         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2765         New file.
2766         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2767         multiarch strcasecmp_l for PPC32.
2768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2769         multiarch objects.
2770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2771         (__libc_ifunc_impl_list): Likewise.
2773 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2775         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2776         file.
2777         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2778         file.
2779         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2780         multiarch strncmp for PPC32.
2781         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2782         multiarch objects.
2783         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2784         (__libc_ifunc_impl_list): Likewise.
2786 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2788         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2789         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2790         file.
2791         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2792         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2794         multiarch objects.
2795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2796         (__libc_ifunc_impl_list): Likewise.
2798 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2800         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2801         file.
2802         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2803         file.
2804         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2806         multiarch objects.
2807         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2808         (__libc_ifunc_impl_list): Likewise.
2810 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2812         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2813         file.
2814         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2815         file.
2816         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2817         multiarch rawmemchr for PPC32.
2818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2819         multiarch objects.
2820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2821         (__libc_ifunc_impl_list): Likewise.
2823 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2825         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2826         file.
2827         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2828         file.
2829         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2830         file: memrchr multiarch for PPC32.
2831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2832         multiarch objects.
2833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2834         (__libc_ifunc_impl_list): Likewise.
2836 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2838         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2839         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2840         file.
2841         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2842         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2843         multiarch memchr for PPC32.
2844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2845         multiarch objects.
2846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2847         (__libc_ifunc_impl_list): Likewise.
2849 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2851         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2852         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2853         file.
2854         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2855         file.
2856         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2857         file: multiarch mempcpy for PPC32.
2858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2859         multiarch objects.
2860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2861         (__libc_ifunc_impl_list): Likewise.
2863 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2865         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2866         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2867         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2868         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2869         multiarch bzero for PPC32.
2870         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2871         file.
2872         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2873         file.
2874         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2875         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2876         file: multiarch memset for PPC32.
2877         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2879         memset multiarch objects.
2880         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2881         (__libc_ifunc_impl_list): Likewise.
2883 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2885         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2886         file.
2887         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2888         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2889         memcmp for PPC32.
2890         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2892         multiarch objects.
2893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2894         (__libc_ifunc_impl_list): Likewise.
2896 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2898         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2899         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2900         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2901         file.
2902         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2903         file.
2904         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2905         file.
2906         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2907         multiarch memcpy for PPC32.
2908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2909         multiarch objects.
2910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2911         (__libc_ifunc_impl_list): Likewise.
2913 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2916         support multiarch for POWER/PPC32.
2917         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2918         Likewise.
2919         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2921         Implies file to make multiarch folder appers before the fpu and
2922         default folder for power4 configuration.
2924 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2926         * scripts/bench.pl: Append volatile keyword to type.
2928 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2930         * sysdeps/sh/sotruss-lib.c: New file.
2931         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2933 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2937 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2939         [BZ #6810]
2940         * math/w_tgamma.c: Include <errno.h>.
2941         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2942         * math/w_tgammaf.c: Include <errno.h>.
2943         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2944         * math/w_tgammal.c: Include <errno.h>.
2945         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2946         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2947         underflow.  Add more tgamma tests.
2948         * math/auto-libm-test-out: Regenerated.
2949         * sysdeps/i386/fpu/libm-test-ulps: Update.
2950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2952         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2953         sin, sinh, tan, tanh, tgamma, y0 and y1.
2954         * math/auto-libm-test-out: Regenerated.
2955         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2956         (TEST_COND_x86): Likewise.
2957         (M_E2l): Remove macro.
2958         (M_E3l): Likewise.
2959         (M_2_SQRT_PIl): Likewise.
2960         (M_SQRT_PIl): Likewise.
2961         (M_1_DIV_El): Likewise.
2962         (log_test_data): Use AUTO_TESTS_f_f.
2963         (log10_test_data): Likewise.
2964         (log1p_test_data): Likewise.
2965         (log2_test_data): Likewise.
2966         (sin_test_data): Likewise.
2967         (sin_tonearest_test_data): Likewise.
2968         (sin_towardzero_test_data): Likewise.
2969         (sin_downward_test_data): Likewise.
2970         (sin_upward_test_data): Likewise.
2971         (sinh_test_data): Likewise.
2972         (sinh_tonearest_test_data): Likewise.
2973         (sinh_towardzero_test_data): Likewise.
2974         (sinh_downward_test_data): Likewise.
2975         (sinh_upward_test_data): Likewise.
2976         (tan_test_data): Likewise.
2977         (tan_tonearest_test_data): Likewise.
2978         (tan_towardzero_test_data): Likewise.
2979         (tan_downward_test_data): Likewise.
2980         (tan_upward_test_data): Likewise.
2981         (tanh_test_data): Likewise.
2982         (tgamma_test_data): Likewise.
2983         (y0_test_data): Likewise.
2984         (y1_test_data): Likewise.
2985         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2986         (special_real_inputs): Add pi/4.
2987         * sysdeps/i386/fpu/libm-test-ulps: Update.
2988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2990 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2992         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2993         "longjmp_target" static probes.
2994         (__longjmp): Rename to __longjmp_symbol.
2995         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2996         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2997         on which longjmp to generate.
2998         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2999         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3000         probe.
3001         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3002         (__sigjmp_save): Rename to __sigjmp_save_symbol.
3003         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3004         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3005         and __sigjmp_save_symbol based on which sigsetjmp to generated.
3006         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3008         __longjmp_symbol based on which __longjmp to generate.
3009         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3010         probe.
3011         (setjmp): Rename to setjmp_symbol.
3012         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3013         (_setjmp): Rename to _setjmp_symbol.
3014         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3015         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3016         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3017         which setjmp to generate.
3018         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3019         "longjmp_target" static probes.
3021 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3023         * benchtests/README: Add note about output arguments.
3024         * benchtests/bench-sincos.c: Remove file.
3025         * benchtests/sincos-inputs: New file.
3026         * scripts/bench.pl: Identify output arguments and define
3027         static variables for them.
3029         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3031         [BZ #15941]
3032         * Makefile (INSTALL): Add install-plain.texi as the primary
3033         dependency.
3034         * manual/install-plain.texi: New file.
3035         * manual/install.texi: Include node directive only for
3036         non-plaintext output.
3038 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
3040         * stdlib/longlong.h: Update from GCC.
3042         [BZ #6807]
3043         [BZ #15901]
3044         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3045         * math/w_j0f.c (y0f): Likewise.
3046         * math/w_j0l.c (__y0l): Likewise.
3047         * math/w_j1.c (y1): Likewise.
3048         * math/w_j1f.c (y1f): Likewise.
3049         * math/w_j1l.c (__y1l): Likewise
3050         * math/w_jn.c (yn): Likewise.
3051         * math/w_jnf.c (ynf): Likewise.
3052         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3053         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
3054         value for Bessel function domain errors outside _SVID_ mode.
3055         Adjust sign of return value for yn (negative integer, 0).
3056         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3057         by zero in return for negative x and set sign appropriately for
3058         negative n.
3059         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3060         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3061         * math/libm-test.inc (y0_test_data): Add more tests and adjust
3062         expectations in error cases.
3063         (y1_test_data): Likewise.
3064         (yn_test_data): Likewise.
3065         * sysdeps/i386/fpu/libm-test-ulps: Update.
3066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3068 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3070         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3071         "64" to "64-v1".  Add "64-v2".
3072         (abi-64-options): Rename to ...
3073         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
3074         (abi-64-condition): Rename to ...
3075         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
3076         (abi-64-ld-soname): Rename to ...
3077         (abi-64-v1-ld-soname): ... this.
3078         (abi-64-v2-options): Define.
3079         (abi-64-v2-condition): Likewise.
3080         (abi-64-v2-ld-soname): Likewise.
3081         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3082         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3087 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3088             Alan Modra  <amodra@gmail.com>
3090         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3091         New versions for use with the ELFv2 ABI.
3092         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3093         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3094         declaration.
3095         (struct La_ppc64v2_retval): Likewise.
3096         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3097         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3098         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3099         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3100         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3101         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3102         Do not save or restore CR.
3103         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3104         (_dl_profile_resolve): Do no save or restore CR.  Support extended
3105         return values for ELFv2 ABI.  Fix location of FPR return registers.
3106         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3107         updated values for _CALL_ELF == 2.
3108         (La_regs, La_retval, int_retval): Likewise.
3110 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3112         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3113         (FRAME_MIN_SIZE_PARM): Likewise.
3114         (FRAME_BACKCHAIN): Likewise.
3115         (FRAME_CR_SAVE): Likewise.
3116         (FRAME_LR_SAVE): Likewise.
3117         (FRAME_TOC_SAVE): Likewise.
3118         (FRAME_PARM_SAVE): Likewise.
3119         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3120         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3121         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3122         (call_mcount_parm_offset): New macro.
3123         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3124         (PROF): Use symbolic stack frame offsets.
3125         (TAIL_CALL_SYSCALL_ERROR): Likewise.
3126         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3127         Redefine in terms of FRAME_MIN_SIZE.
3128         (_dl_runtime_resolve): Use symbolic stack frame offsets.
3129         (_dl_profile_resolve): Likewise.  Update comment.
3130         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3131         symbols stack frame offsets.
3132         (__sigsetjmp): Likewise.
3133         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3134         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3135         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3136         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3139         (FRAME_BACKCHAIN): Remove.
3140         (FRAME_CR_SAVE): Likewise.
3141         (FRAME_LR_SAVE): Likewise.
3142         (FRAME_COMPILER_DW): Likewise.
3143         (FRAME_LINKER_DW): Likewise.
3144         (FRAME_TOC_SAVE): Likewise.
3145         (FRAME_PARM_SAVE): Likewise.
3146         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3147         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3148         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3150         (CHECK_SP): Use symbolic stack frame offsets.
3151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3152         zone" instead of caller's parameter save area for temp storage.
3153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3154         Likewise.  Also, use symbolic stack frame offsets.
3155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3156         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3157         our own stack frame instead of the caller's.
3158         (__socket): Use symbolic stack frame offsets.
3160 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3161             Alan Modra  <amodra@gmail.com>
3163         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3164         Define.
3165         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3166         PPC64_LOCAL_ENTRY_OFFSET): Define.
3167         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3168         New function.
3169         (elf_machine_fixup_plt): Call it.
3170         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
3171         reloc arguments.
3172         (elf_machine_rela): Update call to elf_machine_plt_conflict.
3173         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3174         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3175         r2 before calling target.
3177 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3178             Alan Modra  <amodra@gmail.com>
3180         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3181         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3182         versions of macros to support ELFv2 ABI.
3183         (LOCALENTRY): New macro.
3184         (ENTRY, EALIGN): Use it.
3185         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3186         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3187         fall through into ENTRY entry point.
3188         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3189         Only define if _CALL_ELF != 2.
3191         (elf_machine_matches_host): Verify ABI version matches.
3192         (RTLD_START): Use LOCALENTRY.
3193         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3194         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3195         (PLT_ENTRY_WORDS): New macro.
3196         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3197         (elf_machine_runtime_setup): Support ELFv2 ABI.
3198         (elf_machine_fixup_plt): Likewise.
3199         (elf_machine_plt_conflict): Likewise.
3200         (resolve_ifunc): Likewise.
3201         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3202         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3203         Likewise.
3204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3205         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3207         (makecontext): Support ELFv2 ABI.
3208         * elf/elf.h (EF_PPC64_ABI): Define.
3210 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3212         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3213         New assembler macro.
3214         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3215         [ASSEMBLER] (ENTRY): ... but instead here ...
3216         [ASSEMBLER] (EALIGN): ... and here.
3217         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3218         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3219         [!ASSEMBLER] (ENTRY_2): Use it.
3220         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3221         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
3222         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3223         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3224         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3226         Use PPC64_LOAD_FUNCPTR.
3228 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3230         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3232 2013-12-04  Alan Modra  <amodra@gmail.com>
3234         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3235         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3236         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3237         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3239         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3240         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3241         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3242         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3243         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3244         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3246 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3249         (__makecontext): Fix incorrect CFI when backtracing out of
3250         context created via makecontext.
3251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3252         (__setcontext): Fix incorrect CFI during switch to new context.
3253         (__novec_setcontext): Likewise.
3255 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3257         [BZ #4772]
3258         * time/strptime_l.c (__strptime_internal): Allow modifiers
3259         in strptime.
3260         * time/tst-strptime.c (day_tests): Add testcase.
3263 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3265         * scripts/bench.pl: Skip over blank lines.
3267 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3269         [BZ #926]
3270         * manual/time.texi (Calendar Time): Clarify what timezone functions
3271         use.
3273 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3277 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3279         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3280         implementation.
3281         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3282         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3283         * debug/memset_chk.c (__memset_chk): Likewise.
3284         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3285         * debug/strncpy_chk.c: Likewise.
3287 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3289         [BZ #15268]
3290         [BZ #15425]
3291         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3292         (__ieee754_exp): For possibly underflowing results, check size of
3293         result and force underflow exception if required.
3294         * math/auto-libm-test-in: Add more tests of exp.
3295         * math/auto-libm-test-out: Regenerated.
3296         * sysdeps/i386/fpu/libm-test-ulps: Update.
3297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3299         [BZ #16283]
3300         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3301         * math/w_exp2f.c (__exp2f): Likewise.
3302         * math/w_exp2l.c (__exp2l): Likewise.
3303         * math/auto-libm-test-in: Do not allow missing errno on exp2
3304         underflow.
3305         * math/auto-libm-test-out: Regenerated.
3307 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
3309         [BZ #16274]
3310         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3311         handle filename validation.
3312         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3313         (do_open): Delete.
3315 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3317         [BZ #6786]
3318         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3319         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3320         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3321         <float.h>.
3322         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3323         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3324         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3325         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3326         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3327         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3328         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3329         * math/auto-libm-test-in: Don't allow missing errno from erfc.
3330         Add more erfc tests.
3331         * math/auto-libm-test-out: Regenerated.
3332         * sysdeps/i386/fpu/libm-test-ulps: Update.
3333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3335         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3336         exp2, expm1, j0 and j1.
3337         * math/auto-libm-test-out: Regenerated.
3338         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3339         (erfc_test_data): Likewise.
3340         (exp_test_data): Likewise.
3341         (exp_tonearest_test_data): Likewise.
3342         (exp_towardzero_test_data): Likewise.
3343         (exp_downward_test_data): Likewise.
3344         (exp_upward_test_data): Likewise.
3345         (exp10_test_data): Likewise.
3346         (exp2_test_data): Likewise.
3347         (expm1_test_data): Likewise.
3348         (j0_test_data): Likewise.
3349         (j1_test_data): Likewise.
3350         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3351         (input_flag_type): Add flag_xfail_rounding.
3352         (input_flags): Add xfail-rounding.
3353         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3354         (output_for_one_input_case): Handle flag_xfail_rounding.
3355         * sysdeps/i386/fpu/libm-test-ulps: Update.
3356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3358 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3360         [BZ #16289]
3361         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3362         division by 0.
3364 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3366         [BZ #16195]
3367         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3368         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3369         (STAP_PROBE0): New macro.
3370         (STAP_PROBE1): Likewise.
3371         (STAP_PROBE2): Likewise.
3372         (STAP_PROBE3): Likewise.
3373         (STAP_PROBE4): Likewise.
3375 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3377         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3379 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3381         * benchtests/Makefile (bench): Add sqrt.
3382         (LDLIBS-bench-sqrt): New.
3383         * benchtests/sqrt-input: New.
3385 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3387         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3388         (GAIH_EAI): Likewise.
3389         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3390         (gaih_inet): Likewise.
3391         (getaddrinfo): Don't use GAIH_EAI.
3393         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3394         (struct gaih): Remove definition.
3396 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3398         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3399         Use HERRNOP directly.
3401 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3405 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3407         * math/gen-auto-libm-tests.c (test_functions): Add more
3408         single-argument functions.
3409         (special_fill_pi_2): New function.
3410         (special_fill_minus_pi_2): Likewise.
3411         (special_fill_pi_6): Likewise.
3412         (special_fill_minus_pi_6): Likewise.
3413         (special_fill_pi_3): Likewise.
3414         (special_fill_2pi_3): Likewise.
3415         (special_fill_e): Likewise.
3416         (special_fill_1_e): Likewise.
3417         (special_fill_e_minus_1): Likewise.
3418         (special_real_inputs): Add more special inputs.
3419         (output_for_one_input_case): Do not require ERANGE on underflow to
3420         zero if round-to-nearest result does not underflow to zero, unless
3421         exact results required.
3422         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3423         atan, atanh, cbrt, cos and cosh.
3424         * math/auto-libm-test-out: Regenerated.
3425         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3426         (acos_tonearest_test_data): Likewise.
3427         (acos_towardzero_test_data): Likewise.
3428         (acos_downward_test_data): Likewise.
3429         (acos_upward_test_data): Likewise.
3430         (acosh_test_data): Likewise.
3431         (asin_test_data): Likewise.
3432         (asin_tonearest_test_data): Likewise.
3433         (asin_towardzero_test_data): Likewise.
3434         (asin_upward_test_data): Likewise.
3435         (asinh_test_data): Likewise.
3436         (atan_test_data): Likewise.
3437         (atanh_test_data): Likewise.
3438         (cbrt_test_data): Likewise.
3439         (cos_test_data): Likewise.
3440         (cos_tonearest_test_data): Likewise.
3441         (cos_towardzero_test_data): Likewise.
3442         (cos_downward_test_data): Likewise.
3443         (cos_upward_test_data): Likewise.
3444         (cosh_test_data): Likewise.
3445         (cosh_tonearest_test_data): Likewise.
3446         (cosh_towardzero_test_data): Likewise.
3447         (cosh_downward_test_data): Likewise.
3448         (cosh_upward_test_data): Likewise.
3449         * sysdeps/i386/fpu/libm-test-ulps: Update.
3450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3452 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3454         [BZ #6787]
3455         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3456         * math/w_exp10f.c (__exp10f): Likewise.
3457         * math/w_exp10l.c (__exp10l): Likewise.
3458         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3459         errno settings in existing tests.
3461         [BZ #14032]
3462         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3463         precision control set to double precision.
3464         * sysdeps/i386/fpu/w_sqrt.c: New file.
3465         * math/auto-libm-test-in: Add more tests.
3466         * math/auto-libm-test-out: Update.
3468         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3469         (sqrt_test_tonearest): New function.
3470         (sqrt_towardzero_test_data): New variable.
3471         (sqrt_test_towardzero): New function.
3472         (sqrt_downward_test_data): New variable.
3473         (sqrt_test_downward): New function.
3474         (sqrt_upward_test_data): New variable.
3475         (sqrt_test_upward): New function.
3476         (main): Call the new functions.
3478         * math/gen-auto-libm-tests.c: New file.
3479         * math/auto-libm-test-in: Likewise.
3480         * math/auto-libm-test-out: New generated file.
3481         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3482         variables.
3483         (%beautify): Add generated representations of zero.
3484         (top level): Set $auto_input and call parse_auto_input.
3485         (beautify): Remove trailing "f" from hex float constants.
3486         (parse_args): Handle XFAIL_TEST.
3487         (convert_condition): New function.
3488         (or_value): Likewise.
3489         (or_cond_value): Likewise.
3490         (generate_testfile): Handle AUTO_TESTS_* lines.
3491         (parse_auto_input): New function.
3492         * math/libm-test.inc (XFAIL_TEST): New macro.
3493         (ERRNO_UNCHANGED): Update value.
3494         (ERRNO_EDOM): Likewise.
3495         (ERRNO_ERANGE): Likewise.
3496         (IGNORE_RESULT): Likewise.
3497         (TEST_COND_flt_32): New macro.
3498         (TEST_COND_dbl_64): Likewise.
3499         (TEST_COND_ldbl_96_intel): Likewise.
3500         (TEST_COND_ldbl_96_m68k): Likewise.
3501         (TEST_COND_ldbl_128): Likewise.
3502         (TEST_COND_ldbl_128ibm): Likewise.
3503         (TEST_COND_long32): Likewise.
3504         (TEST_COND_long64): Likewise.
3505         (TEST_COND_before_rounding): Likewise.
3506         (TEST_COND_after_rounding): Likewise.
3507         (enable_test): Handle XFAIL_TEST flag.
3508         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3509         with finite results.
3510         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3511         auto-libm-test-out.
3513 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3514             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3516         [BZ #16214]
3517         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3518         __tls_get_addr_internal instead of __tls_get_offset in order to
3519         avoid GOT pointer dependency.  Make rtld export
3520         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3521         __tls_get_addr since we are a __tls_get_offset platform.
3522         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3523         GOT pointer being set up before.
3524         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3526 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3528         * manual/math.texi (Errors in Math Functions): Document accuracy
3529         goals.
3531         [BZ #15004]
3532         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3533         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3534         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3535         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3536         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3537         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3538         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3539         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3540         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3541         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3542         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3543         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3544         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3545         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3546         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3547         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3549         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3550         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3551         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3552         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3553         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3554         Likewise.
3555         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3556         Likewise.
3557         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3558         Likewise.
3559         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3560         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3561         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3562         atomic-feupdateenv and flt-rounds.
3563         * sysdeps/powerpc/nofpu/Versions (libc): Add
3564         __atomic_feholdexcept, __atomic_feclearexcept,
3565         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3566         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3567         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3568         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3569         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3570         here.
3571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3572         Update.
3574         * manual/arith.texi (FP Exceptions): Document that exceptions may
3575         not be raised when matherr is used.
3576         (Math Error Reporting): Document overflow in directed rounding
3577         modes.  Document that errno may not be set when finite values are
3578         returned on overflow.  Document intent to set errno on underflow
3579         only for underflow to zero.
3581         [BZ #16271]
3582         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3583         round-to-nearest then adjust result for other rounding modes.
3584         * include/fenv.h (fegetround): Use libm_hidden_proto.
3585         * math/fegetround.c (fegetround): Use libm_hidden_def.
3586         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3587         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3588         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3589         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3590         Likewise.
3591         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3592         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3593         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3594         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3596 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3598         [BZ #16077]
3599         * nss/Versions (libnss_files): Add
3600         _nss_files_gethostbyname3_r.
3601         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3602         New function.
3603         (HOST_DB_LOOKUP): Remove macro.
3604         (_nss_files_gethostbyname_r): Implement function without the
3605         HOST_DB_LOOKUP macro.
3606         (_nss_files_gethostbyname2_r): Likewise.
3608 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3610         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3612 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3614         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3615         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3616         warning.
3618 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3620         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3621         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3622         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3623         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3624         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3625         __fe_nomask_env_priv and attribute_hidden.
3626         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3627         (libc_feupdateenv_test_ppc): Likewise.
3628         (libc_feresetround_ppc): Likewise.
3629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3630         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3631         compat_symbol macro.
3632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3633         (__fe_nomask_env): Likewise.
3634         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3636 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3638         * string/Makefile: Remove ifunc tests.
3639         * string/test-string.h: Define TEST_IFUNC.
3640         * string/test-bcopy-ifunc.c: Remove.
3641         * string/test-bzero-ifunc.c: Likewise.
3642         * string/test-memccpy-ifunc.c: Likewise.
3643         * string/test-memchr-ifunc.c: Likewise.
3644         * string/test-memcmp-ifunc.c: Likewise.
3645         * string/test-memcpy-ifunc.c: Likewise.
3646         * string/test-memmem-ifunc.c: Likewise.
3647         * string/test-memmove-ifunc.c: Likewise.
3648         * string/test-mempcpy-ifunc.c: Likewise.
3649         * string/test-memrchr-ifunc.c: Likewise.
3650         * string/test-memset-ifunc.c: Likewise.
3651         * string/test-rawmemchr-ifunc.c: Likewise.
3652         * string/test-stpcpy-ifunc.c: Likewise.
3653         * string/test-stpncpy-ifunc.c: Likewise.
3654         * string/test-strcasecmp-ifunc.c: Likewise.
3655         * string/test-strcasestr-ifunc.c: Likewise.
3656         * string/test-strcat-ifunc.c: Likewise.
3657         * string/test-strchr-ifunc.c: Likewise.
3658         * string/test-strchrnul-ifunc.c: Likewise.
3659         * string/test-strcmp-ifunc.c: Likewise.
3660         * string/test-strcpy-ifunc.c: Likewise.
3661         * string/test-strcspn-ifunc.c: Likewise.
3662         * string/test-strlen-ifunc.c: Likewise.
3663         * string/test-strncasecmp-ifunc.c: Likewise.
3664         * string/test-strncat-ifunc.c: Likewise.
3665         * string/test-strncmp-ifunc.c: Likewise.
3666         * string/test-strncpy-ifunc.c: Likewise.
3667         * string/test-strnlen-ifunc.c: Likewise.
3668         * string/test-strpbrk-ifunc.c: Likewise.
3669         * string/test-strrchr-ifunc.c: Likewise.
3670         * string/test-strspn-ifunc.c: Likewise.
3671         * string/test-strstr-ifunc.c: Likewise.
3673 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3675         * benchtests/Makefile: Remove ifunc tests.
3676         * benchtests/bench-string.h: Define TEST_IFUNC.
3677         * benchtests/bench-bcopy-ifunc.c: Remove.
3678         * benchtests/bench-bzero-ifunc.c: Likewise.
3679         * benchtests/bench-memccpy-ifunc.c: Likewise.
3680         * benchtests/bench-memchr-ifunc.c: Likewise.
3681         * benchtests/bench-memcmp-ifunc.c: Likewise.
3682         * benchtests/bench-memcpy-ifunc.c: Likewise.
3683         * benchtests/bench-memmem-ifunc.c: Likewise.
3684         * benchtests/bench-memmove-ifunc.c: Likewise.
3685         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3686         * benchtests/bench-memrchr-ifunc.c: Likewise.
3687         * benchtests/bench-memset-ifunc.c: Likewise.
3688         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3689         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3690         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3691         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3692         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3693         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3694         * benchtests/bench-strcat-ifunc.c: Likewise.
3695         * benchtests/bench-strchr-ifunc.c: Likewise.
3696         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3697         * benchtests/bench-strcmp-ifunc.c: Likewise.
3698         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3699         * benchtests/bench-strcpy-ifunc.c: Likewise.
3700         * benchtests/bench-strcspn-ifunc.c: Likewise.
3701         * benchtests/bench-strlen-ifunc.c: Likewise.
3702         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3703         * benchtests/bench-strncat-ifunc.c: Likewise.
3704         * benchtests/bench-strncmp-ifunc.c: Likewise.
3705         * benchtests/bench-strncpy-ifunc.c: Likewise.
3706         * benchtests/bench-strnlen-ifunc.c: Likewise.
3707         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3708         * benchtests/bench-strrchr-ifunc.c: Likewise.
3709         * benchtests/bench-strsep-ifunc.c: Likewise.
3710         * benchtests/bench-strspn-ifunc.c: Likewise.
3711         * benchtests/bench-strstr-ifunc.c: Likewise.
3713 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3715         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3717 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3719         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3720         * rt/aio.h: Likewise.
3721         * sysdeps/gnu/bits/utmp.h: Likewise.
3722         * sysdeps/gnu/bits/utmpx.h: Likewise.
3723         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3724         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3725         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3726         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3727         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3728         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3729         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3730         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3731         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3732         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3733         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3734         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3735         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3737         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3738         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3739         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3740         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3741         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3742         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3743         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3744         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3745         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3746         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3747         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3748         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3749         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3750         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3751         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3752         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3753         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3754         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3755         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3756         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3757         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3758         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3759         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3760         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3761         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3762         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3763         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3764         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3766 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3768         [BZ #16245]
3769         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3770         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3772 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3774         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3775         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3776         Likewise.
3778 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3780         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3781         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3782         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3783         (__fesetround): Remove define.
3784         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3785         rounding and exceptions handling.
3786         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3787         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3788         (__fe_nomask_env): Likewise.
3789         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3790         __fegetround instead of fegetround.
3791         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3792         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3794 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3796         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3797         it's there.
3799         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3801 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3803         [BZ #11157]
3804         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3805         (encrypt_r): Likewise.
3806         * malloc/obstack.h (obstack_free): Likewise.
3807         * posix/unistd.h (encrypt): Likewise.
3809 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3811         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3812         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3813         DL_CALL_DT_FINI() that call the functions directly.
3814         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3815         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3816         * elf/dl-fini.c: Likewise.
3818 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3820         * malloc/hooks.c (memalign_check): Add alignment rounding.
3821         * malloc/malloc.c (_mid_memalign): New function.
3822         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3823         Implement by calling _mid_memalign.
3824         * manual/probes.texi (Memory Allocation Probes): Remove
3825         memory_valloc_retry and memory_pvalloc_retry.
3827 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3829         * locale/programs/locarchive.c (open_archive): Add const
3830         qualifier to ARCHIVEFNAME and copy default fname to
3831         DEFAULT_FNAME.
3833         [BZ #15601]
3834         * libio/tst-widetext.input: Rename Oriya to Odia.
3835         * locale/iso-639.def: Likewise.
3837         * manual/probes.texi (Mathematical Function Probes): Add
3838         documentation for sin, cos, asin and acos probes.
3839         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3840         (__sin32): Add slowasin probe.
3841         (__cos32): Add slowacos probe.
3842         (__mpsin): Add slowsin probe.
3843         (__mpcos): Add slowcos probe.
3845 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3847         [BZ #15483]
3848         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3849         thread-local __sim_exceptions_thread and global
3850         __sim_exceptions_global.
3851         (__sim_disabled_exceptions): Change to thread-local
3852         __sim_disabled_exceptions_thread and global
3853         __sim_disabled_exceptions_global.
3854         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3855         and global __sim_round_mode_global.
3856         (__simulate_exceptions): Use thread-local floating-point state and
3857         set global state from it as needed.
3858         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3859         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3860         __sim_round_mode_thread.
3861         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3862         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3863         and global __sim_exceptions_global.
3864         (__sim_disabled_exceptions): Change to thread-local
3865         __sim_disabled_exceptions_thread and global
3866         __sim_disabled_exceptions_global.
3867         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3868         and global __sim_round_mode_global.
3869         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3870         (SIM_SET_GLOBAL): Likewise.
3871         * sysdeps/powerpc/soft-fp/sfp-machine.h
3872         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3873         __sim_round_mode_thread.
3874         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3875         __sim_disabled_exceptions_thread.
3876         (__sim_exceptions): Change to __sim_exceptions_thread.
3877         (__sim_disabled_exceptions): Change to
3878         __sim_disabled_exceptions_thread.
3879         (__sim_round_mode): Change to __sim_round_mode_thread.
3880         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3881         thread-local floating-point state and set global state from it as
3882         needed.
3883         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3884         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3885         (__sim_disabled_exceptions): Remove extern declaration.
3886         (feenableexcept): Use thread-local floating-point state and set
3887         global state from it as needed.
3888         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3889         extern declaration.
3890         (__sim_disabled_exceptions): Likewise.
3891         (__sim_round_mode): Likewise.
3892         (__fegetenv): Use thread-local floating-point state.
3893         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3894         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3895         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3896         floating-point state and set global state from it as needed.
3897         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3898         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3899         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3900         Likewise.
3901         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3902         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3903         Likewise.
3904         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3905         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3906         Use __sim_round_mode_thread.
3907         * math/test-fenv-tls.c: New file.
3908         * math/Makefile (tests): Add test-fenv-tls.
3909         ($(objpfx)test-fenv-tls): Depend on
3910         $(common-objpfx)nptl/libpthread.so.
3912 2013-11-19  Andreas Schwab  <schwab@suse.de>
3914         * locale/programs/locale.c (show_info): Decode wordarray elements.
3915         * locale/categories.def (LC_MONETARY): Add element for
3916         _NL_MONETARY_CRNCYSTR.
3917         * locale/C-monetary.c (conversion_rate): New variable.
3918         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3919         element.
3921 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3923         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3924         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3926 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3928         * elf/Makefile (tst-auxv): New test.
3929         * elf/tst-auxv.c: New
3930         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3932 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3934         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3935         (hidden_proto): Caller changed.
3936         (hidden_tls_proto): New macro.
3937         (libc_hidden_tls_proto): Likewise.
3938         (rtld_hidden_tls_proto): Likewise.
3939         (libm_hidden_tls_proto): Likewise.
3940         (libresolv_hidden_tls_proto): Likewise.
3941         (librt_hidden_tls_proto): Likewise.
3942         (libdl_hidden_tls_proto): Likewise.
3943         (libnss_files_hidden_tls_proto): Likewise.
3944         (libnsl_hidden_tls_proto): Likewise.
3945         (libnss_nisplus_hidden_tls_proto): Likewise.
3946         (libutil_hidden_tls_proto): Likewise.
3948 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3950         [BZ #10253]
3951         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3952         (decompose_rpath): Defer expansion to fillin_rpath.
3953         (_dl_init_paths): Pass linkmap to fillin_rpath.
3955 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3957         * benchtests/Makefile: Add strsep.
3958         * benchtests/bench-strsep.c: New file: strsep benchtest.
3959         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3961 2013-11-18  Andreas Schwab  <schwab@suse.de>
3963         * locale/programs/locale.c (show_info) [case byte]: Check for
3964         '\377' instead of '\177'.
3965         * locale/C-monetary.c (not_available): Always use "\377".
3966         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3967         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3968         detect unavailable sign_posn locale elements.
3969         * locale/localeconv.c (__localeconv): For grouping and
3970         mon_grouping handle "\177" and "\377" like no grouping.
3971         (INT_ELEM): New macro.  Use it to set all numeric members.
3972         * locale/programs/ld-monetary.c (monetary_read)
3973         <tok_mon_grouping>: Normalize single -1 to the empty string.
3974         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3975         Likewise.
3977 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3979         [BZ #16055]
3980         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3981         when we match (nil).
3982         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3984 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3986         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3987         (NO_TEST_INLINE): Update value.
3988         (ERRNO_UNCHANGED): Likewise.
3989         (ERRNO_EDOM): Likewise.
3990         (ERRNO_ERANGE): Likewise.
3991         (IGNORE_RESULT): Likewise.
3992         (check_float_internal): Check signs of NaN results if
3993         TEST_NAN_SIGN used.
3994         (check_complex): Pass TEST_NAN_SIGN flag through to second
3995         check_float_internal call.
3996         (copysign_test_data): Add tests with quiet NaNs as second
3997         argument.  Use TEST_NAN_SIGN.
3998         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3999         TEST_NAN_SIGN.
4000         (signbit_test_data): Add tests of quiet NaN argument.
4001         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4003         * math/gen-libm-test.pl (show_exceptions): Take extra argument
4004         $ignore_result.
4005         (parse_args): Handle function results specified as IGNORE.
4006         * math/libm-test.inc (IGNORE_RESULT): New macro.
4007         (check_float_internal): Do not check numerical result if flag
4008         IGNORE_RESULT set.
4009         (check_complex): Pass through IGNORE_RESULT to second
4010         check_float_internal call.
4011         (check_int): Do not check numerical result if flag IGNORE_RESULT
4012         set.
4013         (check_long): Likewise.
4014         (check_bool): Likewise.
4015         (check_longlong): Likewise.
4016         (lrint_test_data): Add tests of infinite and NaN arguments.
4017         (lrint_tonearest_test_data): Likewise.
4018         (lrint_towardzero_test_data): Likewise.
4019         (lrint_downward_test_data): Likewise.
4020         (lrint_upward_test_data): Likewise.
4021         (llrint_test_data): Likewise.
4022         (llrint_tonearest_test_data): Likewise.
4023         (llrint_towardzero_test_data): Likewise.
4024         (llrint_downward_test_data): Likewise.
4025         (llrint_upward_test_data): Likewise.
4026         (lround_test_data): Likewise.
4027         (llround_test_data): Likewise.
4029         * math/libm-test.inc (NO_TEST_INLINE): New macro.
4030         (ERRNO_UNCHANGED): Update value.
4031         (ERRNO_EDOM): Likewise.
4032         (ERRNO_ERANGE): Likewise.
4033         (NO_TEST_INLINE_FLOAT): New macro.
4034         (NO_TEST_INLINE_DOUBLE): Likewise.
4035         (enable_test): New function.
4036         (RUN_TEST_f_f): Check enable_test before running test.
4037         (RUN_TEST_2_f): Likewise.
4038         (RUN_TEST_fff_f): Likewise.
4039         (RUN_TEST_c_f): Likewise.
4040         (RUN_TEST_f_f1): Likewise.
4041         (RUN_TEST_fF_f1): Likewise.
4042         (RUN_TEST_fI_f1): Likewise.
4043         (RUN_TEST_ffI_f1): Likewise.
4044         (RUN_TEST_c_c): Likewise.
4045         (RUN_TEST_cc_c): Likewise.
4046         (RUN_TEST_f_i): Likewise.
4047         (RUN_TEST_f_i_tg): Likewise.
4048         (RUN_TEST_ff_i_tg): Likewise.
4049         (RUN_TEST_f_b): Likewise.
4050         (RUN_TEST_f_b_tg): Likewise.
4051         (RUN_TEST_f_l): Likewise.
4052         (RUN_TEST_f_L): Likewise.
4053         (RUN_TEST_fFF_11): Likewise.
4054         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4055         conditionals.
4056         (cosh_test_data): Likewise.
4057         (exp_test_data): Likewise.
4058         (expm1_test_data): Likewise.
4059         (hypot_test_data): Likewise.
4060         (pow_test_data): Likewise.
4061         (sinh_test_data): Likewise.
4062         (tanh_test_data): Likewise.
4063         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4064         flags argument.
4066         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4067         tests with quiet NaN input and output.
4068         (acosh_test_data): Likewise.
4069         (asin_test_data): Likewise.
4070         (asinh_test_data): Likewise.
4071         (atan_test_data): Likewise.
4072         (atanh_test_data): Likewise.
4073         (atan2_test_data): Likewise.
4074         (cbrt_test_data): Likewise.
4075         (cos_test_data): Likewise.
4076         (cosh_test_data): Likewise.
4077         (erf_test_data): Likewise.
4078         (erfc_test_data): Likewise.
4079         (exp_test_data): Likewise.
4080         (exp10_test_data): Likewise.
4081         (exp2_test_data): Likewise.
4082         (expm1_test_data): Likewise.
4083         (hypot_test_data): Likewise.
4084         (j0_test_data): Likewise.
4085         (j1_test_data): Likewise.
4086         (jn_test_data): Likewise.
4087         (lgamma_test_data): Likewise.
4088         (log_test_data): Likewise.
4089         (log10_test_data): Likewise.
4090         (log1p_test_data): Likewise.
4091         (log2_test_data): Likewise.
4092         (pow_test_data): Likewise.
4093         (scalb_test_data): Likewise.
4094         (sin_test_data): Likewise.
4095         (sincos_test_data): Likewise.
4096         (sinh_test_data): Likewise.
4097         (tan_test_data): Likewise.
4098         (tanh_test_data): Likewise.
4099         (tgamma_test_data): Likewise.
4100         (y0_test_data): Likewise.
4101         (y1_test_data): Likewise.
4102         (yn_test_data): Likewise.
4104         [BZ #16167]
4105         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4106         argument being NaN and avoid computations with second argument in
4107         that case.
4108         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4109         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4110         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4112 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
4114         * locale/iso-639.def: Add Chitwani Tharu (the).
4116 2013-11-14  Andreas Schwab  <schwab@suse.de>
4118         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4119         word instead of empty string.
4121 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4124         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4126         (__fe_nomask_env): Likewise.
4128 2013-11-13  Steve Ellcey  <sellcey@mips.com>
4130         * benchtests/bench-timing.h: Include time.h.
4132 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
4134         [BZ #15997]
4135         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4136         to 3.4.0 for x32.
4137         * sysdeps/unix/sysv/linux/configure: Regenerated.
4139 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
4141         [BZ #16151]
4142         * stdlib/strtod_l.c (round_and_return): Do not consider
4143         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4144         exponent one less than half the least subnormal exponent.
4145         * stdlib/test-strtod-round-data: Add more tests.
4146         * stdlib/tst-strtod-round.c (tests): Regenerated.
4148 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4150         [BZ #14143]
4151         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4152         (__fe_mask_env): Likewise.
4153         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4154         libm_hidden_proto and add function prototype.
4155         (__fe_mask_env): Add function prototype.
4156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4157         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4159         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4161         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4163 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4165         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4166         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4168 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4170         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4171         of htab_find_slot().
4173 2013-11-11  David S. Miller  <davem@davemloft.net>
4175         [BZ #16150]
4176         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4177         symbol in the non-vis3 case in static builds.
4178         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4179         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4180         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4181         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4183 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4185         [BZ #387]
4186         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4187         it is empty.
4189 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4191         * benchtests/Makefile: Add bench-strtod.
4192         * benchtests/bench-strtod.c: New file: strtod benchtest
4194 2013-11-11  Andreas Schwab  <schwab@suse.de>
4196         [BZ #16153]
4197         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4198         terminating NUL in key length.
4200 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4202         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4203         Add artificial ODP entry for vDSO symbol for PPC64.
4204         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4205         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4207 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4209         [BZ #15374]
4210         * nss/getent.c (services_keys): Recognize services starting with digit.
4212 2013-11-06  David S. Miller  <davem@davemloft.net>
4214         [BZ #15985]
4215         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4216         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4218 2013-11-06  Will Newton  <will.newton@linaro.org>
4220         * manual/memory.texi (Malloc Examples): Remove register
4221         keyword from examples.
4223 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
4225         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4227 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
4229         [BZ #6981]
4230         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4231         depending on [__GCC_IEC_559 > 0].
4232         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4233         depending on [__GCC_IEC_559_COMPLEX > 0].
4235 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
4237         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4238         to iso-639.def.
4240 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
4242         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4244 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
4246         [BZ #16112]
4247         * malloc/malloc (malloc_info): Do not handle first bin as
4248         special case.
4250 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
4252         * locale/iso-639.def: Add Central Nahuatl (nhn).
4254 2013-11-01  Bruno Haible  <bruno@clisp.org>
4256         [BZ #7003]
4257         * manual/math.texi (BSD Random): Specify range upper bound as
4258         in POSIX.
4260 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
4262         * locale/iso-639.def: Add Meadow Mari (mhr).
4264 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
4266         [BZ #14752], [BZ #15763]
4267         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4268         Validate name.
4269         * rt/tst_shm.c: Add test for escaping directory.
4271 2013-10-31  Andreas Schwab  <schwab@suse.de>
4273         [BZ #15917]
4274         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4275         followed by 'x' as part of digit sequence.
4276         * stdio-common/tst-sscanf.c (double_tests2): New tests.
4278 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4280         [BZ #16037]
4281         * configure.ac: allow GNU Make 4.0 and greater.
4282         * configure: Regenerated.
4284 2013-10-30  Will Newton  <will.newton@linaro.org>
4286         [BZ #16038]
4287         * malloc/hooks.c (memalign_check): Limit alignment to the
4288         maximum representable power of two.
4289         * malloc/malloc.c (__libc_memalign): Likewise.
4290         * malloc/tst-memalign.c (do_test): Add test for very
4291         large alignment values.
4292         * malloc/tst-posix_memalign.c (do_test): Likewise.
4294 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4296         [BZ #11087]
4297         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4298         (munmap_chunk): Likewise.
4299         (mremap_chunk): Likewise.
4301 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4303         [BZ #15799]
4304         * stdlib/div.c (div): Remove obsolete code.
4305         * stdlib/ldiv.c (ldiv): Likewise.
4306         * stdlib/lldiv.c (lldiv): Likewise.
4308 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4310         [BZ #16071]
4311         * nss/nss_files/files-XXX.c (get_contents_ret): New
4312         enumerator.
4313         (get_contents): New function.
4314         (internal_getent): Use it.  Expand size of LINEBUFLEN.
4316 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
4318         * configure.in: Moved to ...
4319         * configure.ac: ... here. Change reference to configure.in
4320         to configure.ac.
4321         * sysdeps/arm/preconfigure.ac: ... here.
4322         configure.in to configure.ac.
4323         * sysdeps/gnu/configure.in: Moved to ...
4324         * sysdeps/gnu/configure.ac: ... here.
4325         * sysdeps/i386/configure.in: Moved to ...
4326         * sysdeps/i386/configure.ac: ... here.
4327         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4328         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4329         * sysdeps/mach/configure.in: Moved to ...
4330         * sysdeps/mach/configure.ac: ... here.
4331         * sysdeps/mach/hurd/configure.in: Moved to ...
4332         * sysdeps/mach/hurd/configure.ac: ... here.
4333         * sysdeps/powerpc/configure.in: Moved to ...
4334         * sysdeps/powerpc/configure.ac: ... here.
4335         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4336         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4337         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4338         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4339         * sysdeps/s390/s390-32/configure.in: Moved to ...
4340         * sysdeps/s390/s390-32/configure.ac: ... here.
4341         * sysdeps/s390/s390-64/configure.in: Moved to ...
4342         * sysdeps/s390/s390-64/configure.ac: ... here.
4343         * sysdeps/sh/configure.in: Moved to ...
4344         * sysdeps/sh/configure.ac: ... here.
4345         * sysdeps/sparc/configure.in: Moved to ...
4346         * sysdeps/sparc/configure.ac: ... here.
4347         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4348         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4349         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4350         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4351         * sysdeps/x86_64/configure.in: Moved to ...
4352         * sysdeps/x86_64/configure.ac: ... here.
4353         * sysdeps/x86_64/preconfigure.in: Moved to ...
4354         * sysdeps/x86_64/preconfigure.ac: ... here.
4355         * aclocal.m4: Change reference to configure.in to configure.ac.
4356         * config.h.in: Likewise.
4357         * manual/install.texi: Likewise.
4358         * manual/maint.texi: Likewise.
4359         * Makefile: Likewise.
4360         * malloc/Makefile: Likewise.
4361         * nscd/Makefile: Likewise.
4362         * Makeconfig: Change reference to configure.in and
4363         preconfigure.in to configure.ac and preconfigure.ac
4364         respectively.
4365         * INSTALL: Regenerated.
4366         * configure: Likewise.
4367         * sysdeps/gnu/configure: Likewise.
4368         * sysdeps/i386/configure: Likewise.
4369         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4370         * sysdeps/mach/configure: Likewise.
4371         * sysdeps/mach/hurd/configure: Likewise.
4372         * sysdeps/powerpc/configure: Likewise.
4373         * sysdeps/powerpc/powerpc32/configure: Likewise.
4374         * sysdeps/powerpc/powerpc64/configure: Likewise.
4375         * sysdeps/s390/s390-32/configure: Likewise.
4376         * sysdeps/s390/s390-64/configure: Likewise.
4377         * sysdeps/sh/configure: Likewise.
4378         * sysdeps/sparc/configure: Likewise.
4379         * sysdeps/unix/sysv/linux/configure: Likewise.
4380         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4381         * sysdeps/x86_64/configure: Likewise.
4382         * sysdeps/x86_64/preconfigure: Likewise.
4384 2013-10-29  Andreas Schwab  <schwab@suse.de>
4386         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4388 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4390         * benchtests/pow-inputs: Add new inputs.
4392         * benchtests/exp-inputs: Add new inputs.
4394         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4395         conditional check for return value.
4396         (__cos32): Likewise.
4398 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4400         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4401         to provide a boost for large inputs with word alignment.
4402         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4403         implementation based on optimized PPC64 strcpy.
4404         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4405         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4406         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4407         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4409 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4411         [BZ #2801]
4412         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4414 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4416         [BZ #14876]
4417         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4418         * time/tst-strptime.c (day_tests): Add testcase.
4420 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4422         [BZ #14029]
4423         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4425 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4427         [BZ #16074]
4428         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4429         MAP_FAILED on error.
4431 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4433         [BZ #16072]
4434         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4435         heap for large requests.
4437 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4439         [BZ #9954]
4440         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4441         result if the result has no associated interface.
4442         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4443         interface for all 127.X.Y.Z addresses.
4445 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4447         * locale/iso-639.def: Add Ligurian (lij)
4449 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4451         [BZ #15825]
4452         * sunrpc/rpc_main.c: Document rpcgen -5.
4454 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4456         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4458 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4460         [BZ #10278]
4461         * posix/glob.c: Match only directories when trailing slash is present.
4462         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4463         (main): Add testcase.
4465 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4467         [BZ #15670]
4468         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4470 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4472         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4473         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4474         AUTH_DES and cindex for FIPS 140-2.
4475         (DES Encryption): Add cindex FIPS 46-3.
4477         * locale/locarchive.h (struct locarhandle): Add fname.
4478         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4479         if an optional argument was specified to --list-archive,
4480         otherwise NULL.
4481         * locale/programs/locarchive.c (show_archive_content): Take new
4482         argument fname and pass it via ah.fname to open_archive.
4483         * locale/programs/localedef.h: Update decl.
4484         (open_archive): If AH->fname is non-null, open that file
4485         rather than the default file name, and don't ignore ENOENT.
4486         (create_archive): Set AH.fname to NULL.
4487         (delete_locales_from_archive): Likewise.
4488         (add_locales_to_archive): Likewise.
4489         * locale/programs/locfile.c (write_all_categories): Likewise.
4491 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4492             Aldy Hernandez  <aldyh@redhat.com>
4494         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4495         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4496         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4497         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4498         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4499         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4500         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4501         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4502         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4503         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4504         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4505         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4506         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4507         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4508         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4509         Likewise.
4510         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4511         Likewise.
4512         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4513         Likewise.
4514         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4515         Likewise.
4516         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4517         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4518         Likewise.
4519         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4520         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4521         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4522         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4523         Likewise.
4524         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4525         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4526         * sysdeps/powerpc/preconfigure: Likewise.
4527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4528         Likewise.
4529         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4530         Replace contents of file by #include of <fenv_libc.h>.
4531         * sysdeps/powerpc/soft-fp/sfp-machine.h
4532         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4533         and <sys/prctl.h>.
4534         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4535         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4536         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4537         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4538         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4539         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4540         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4541         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4542         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4543         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4544         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4545         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4547         Allow copysignl PLT reference to be missing.
4549 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4550             Joseph Myers  <joseph@codesourcery.com
4552         [BZ #15948]
4553         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4554         single character.
4555         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4557 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4559         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4560         * elf/tst-tls1.c: Likewise.
4561         * elf/tst-tls10.h: Likewise.
4562         * elf/tst-tls14.c: Likewise.
4563         * elf/tst-tls2.c: Likewise.
4564         * elf/tst-tls3.c: Likewise.
4565         * elf/tst-tls4.c: Likewise.
4566         * elf/tst-tls5.c: Likewise.
4567         * elf/tst-tls6.c: Likewise.
4568         * elf/tst-tls7.c: Likewise.
4569         * elf/tst-tls8.c: Likewise.
4570         * elf/tst-tls9.c: Likewise.
4571         * elf/tst-tlsmod1.c: Likewise.
4572         * elf/tst-tlsmod13.c: Likewise.
4573         * elf/tst-tlsmod13a.c: Likewise.
4574         * elf/tst-tlsmod14a.c: Likewise.
4575         * elf/tst-tlsmod16a.c: Likewise.
4576         * elf/tst-tlsmod16b.c: Likewise.
4577         * elf/tst-tlsmod2.c: Likewise.
4578         * elf/tst-tlsmod3.c: Likewise.
4579         * elf/tst-tlsmod4.c: Likewise.
4580         * elf/tst-tlsmod5.c: Likewise.
4581         * elf/tst-tlsmod6.c: Likewise.
4583 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4585         [BZ #12486]
4586         * malloc/malloc.c: remove checks for statistics.
4588 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4590         [BZ #15277]
4591         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4592         * inet/tst-network.c: Add testcase.
4594 2013-10-17  Andreas Schwab  <schwab@suse.de>
4596         [BZ #15218]
4597         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4598         to determine canonical name.
4600 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4602         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4603         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4604         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4605         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4606         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4607         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4608         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4609         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4610         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4611         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4612         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4613         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4614         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4615         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4616         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4617         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4618         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4619         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4620         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4621         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4622         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4623         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4624         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4625         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4626         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4627         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4628         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4629         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4630         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4631         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4632         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4633         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4634         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4635         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4636         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4637         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4638         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4639         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4640         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4641         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4642         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4643         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4644         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4645         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4646         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4647         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4648         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4649         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4650         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4651         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4652         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4653         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4654         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4655         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4656         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4657         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4658         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4659         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4661 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4663         [BZ #16041]
4664         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4665         make result into a quiet NaN.
4667 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4669         * soft-fp/adddf3.c: Fix horizontal whitespace.
4670         * soft-fp/addsf3.c: Likewise.
4671         * soft-fp/addtf3.c: Likewise.
4672         * soft-fp/divdf3.c: Likewise.
4673         * soft-fp/divsf3.c: Likewise.
4674         * soft-fp/divtf3.c: Likewise.
4675         * soft-fp/double.h: Likewise.
4676         * soft-fp/eqdf2.c: Likewise.
4677         * soft-fp/eqsf2.c: Likewise.
4678         * soft-fp/eqtf2.c: Likewise.
4679         * soft-fp/extenddftf2.c: Likewise.
4680         * soft-fp/extended.h: Likewise.
4681         * soft-fp/extendsfdf2.c: Likewise.
4682         * soft-fp/extendsftf2.c: Likewise.
4683         * soft-fp/extendxftf2.c: Likewise.
4684         * soft-fp/fixdfdi.c: Likewise.
4685         * soft-fp/fixdfsi.c: Likewise.
4686         * soft-fp/fixdfti.c: Likewise.
4687         * soft-fp/fixsfdi.c: Likewise.
4688         * soft-fp/fixsfsi.c: Likewise.
4689         * soft-fp/fixsfti.c: Likewise.
4690         * soft-fp/fixtfdi.c: Likewise.
4691         * soft-fp/fixtfsi.c: Likewise.
4692         * soft-fp/fixtfti.c: Likewise.
4693         * soft-fp/fixunsdfdi.c: Likewise.
4694         * soft-fp/fixunsdfsi.c: Likewise.
4695         * soft-fp/fixunsdfti.c: Likewise.
4696         * soft-fp/fixunssfdi.c: Likewise.
4697         * soft-fp/fixunssfsi.c: Likewise.
4698         * soft-fp/fixunssfti.c: Likewise.
4699         * soft-fp/fixunstfdi.c: Likewise.
4700         * soft-fp/fixunstfsi.c: Likewise.
4701         * soft-fp/fixunstfti.c: Likewise.
4702         * soft-fp/floatdidf.c: Likewise.
4703         * soft-fp/floatdisf.c: Likewise.
4704         * soft-fp/floatditf.c: Likewise.
4705         * soft-fp/floatsidf.c: Likewise.
4706         * soft-fp/floatsisf.c: Likewise.
4707         * soft-fp/floatsitf.c: Likewise.
4708         * soft-fp/floattidf.c: Likewise.
4709         * soft-fp/floattisf.c: Likewise.
4710         * soft-fp/floattitf.c: Likewise.
4711         * soft-fp/floatundidf.c: Likewise.
4712         * soft-fp/floatundisf.c: Likewise.
4713         * soft-fp/floatunditf.c: Likewise.
4714         * soft-fp/floatunsidf.c: Likewise.
4715         * soft-fp/floatunsisf.c: Likewise.
4716         * soft-fp/floatunsitf.c: Likewise.
4717         * soft-fp/floatuntidf.c: Likewise.
4718         * soft-fp/floatuntisf.c: Likewise.
4719         * soft-fp/floatuntitf.c: Likewise.
4720         * soft-fp/fmadf4.c: Likewise.
4721         * soft-fp/fmasf4.c: Likewise.
4722         * soft-fp/fmatf4.c: Likewise.
4723         * soft-fp/gedf2.c: Likewise.
4724         * soft-fp/gesf2.c: Likewise.
4725         * soft-fp/getf2.c: Likewise.
4726         * soft-fp/ledf2.c: Likewise.
4727         * soft-fp/lesf2.c: Likewise.
4728         * soft-fp/letf2.c: Likewise.
4729         * soft-fp/muldf3.c: Likewise.
4730         * soft-fp/mulsf3.c: Likewise.
4731         * soft-fp/multf3.c: Likewise.
4732         * soft-fp/negdf2.c: Likewise.
4733         * soft-fp/negsf2.c: Likewise.
4734         * soft-fp/negtf2.c: Likewise.
4735         * soft-fp/op-1.h: Likewise.
4736         * soft-fp/op-2.h: Likewise.
4737         * soft-fp/op-4.h: Likewise.
4738         * soft-fp/op-8.h: Likewise.
4739         * soft-fp/op-common.h: Likewise.
4740         * soft-fp/quad.h: Likewise.
4741         * soft-fp/single.h: Likewise.
4742         * soft-fp/soft-fp.h: Likewise.
4743         * soft-fp/sqrtdf2.c: Likewise.
4744         * soft-fp/sqrtsf2.c: Likewise.
4745         * soft-fp/sqrttf2.c: Likewise.
4746         * soft-fp/subdf3.c: Likewise.
4747         * soft-fp/subsf3.c: Likewise.
4748         * soft-fp/subtf3.c: Likewise.
4749         * soft-fp/truncdfsf2.c: Likewise.
4750         * soft-fp/trunctfdf2.c: Likewise.
4751         * soft-fp/trunctfsf2.c: Likewise.
4752         * soft-fp/trunctfxf2.c: Likewise.
4753         * soft-fp/unorddf2.c: Likewise.
4754         * soft-fp/unordsf2.c: Likewise.
4755         * soft-fp/unordtf2.c: Likewise.
4757 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4759         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4760         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4762 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4764         * elf/dl-libc.c: Clear initfini list after freeing.
4766 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4768         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4769         * soft-fp/addsf3.c: Likewise.
4770         * soft-fp/addtf3.c: Likewise.
4771         * soft-fp/divdf3.c: Likewise.
4772         * soft-fp/divsf3.c: Likewise.
4773         * soft-fp/divtf3.c: Likewise.
4774         * soft-fp/double.h: Likewise.
4775         * soft-fp/eqdf2.c: Likewise.
4776         * soft-fp/eqsf2.c: Likewise.
4777         * soft-fp/eqtf2.c: Likewise.
4778         * soft-fp/extenddftf2.c: Likewise.
4779         * soft-fp/extended.h: Likewise.
4780         * soft-fp/extendsfdf2.c: Likewise.
4781         * soft-fp/extendsftf2.c: Likewise.
4782         * soft-fp/extendxftf2.c: Likewise.
4783         * soft-fp/fixdfdi.c: Likewise.
4784         * soft-fp/fixdfsi.c: Likewise.
4785         * soft-fp/fixdfti.c: Likewise.
4786         * soft-fp/fixsfdi.c: Likewise.
4787         * soft-fp/fixsfsi.c: Likewise.
4788         * soft-fp/fixsfti.c: Likewise.
4789         * soft-fp/fixtfdi.c: Likewise.
4790         * soft-fp/fixtfsi.c: Likewise.
4791         * soft-fp/fixtfti.c: Likewise.
4792         * soft-fp/fixunsdfdi.c: Likewise.
4793         * soft-fp/fixunsdfsi.c: Likewise.
4794         * soft-fp/fixunsdfti.c: Likewise.
4795         * soft-fp/fixunssfdi.c: Likewise.
4796         * soft-fp/fixunssfsi.c: Likewise.
4797         * soft-fp/fixunssfti.c: Likewise.
4798         * soft-fp/fixunstfdi.c: Likewise.
4799         * soft-fp/fixunstfsi.c: Likewise.
4800         * soft-fp/fixunstfti.c: Likewise.
4801         * soft-fp/floatdidf.c: Likewise.
4802         * soft-fp/floatdisf.c: Likewise.
4803         * soft-fp/floatditf.c: Likewise.
4804         * soft-fp/floatsidf.c: Likewise.
4805         * soft-fp/floatsisf.c: Likewise.
4806         * soft-fp/floatsitf.c: Likewise.
4807         * soft-fp/floattidf.c: Likewise.
4808         * soft-fp/floattisf.c: Likewise.
4809         * soft-fp/floattitf.c: Likewise.
4810         * soft-fp/floatundidf.c: Likewise.
4811         * soft-fp/floatundisf.c: Likewise.
4812         * soft-fp/floatunsidf.c: Likewise.
4813         * soft-fp/floatunsisf.c: Likewise.
4814         * soft-fp/floatuntidf.c: Likewise.
4815         * soft-fp/floatuntisf.c: Likewise.
4816         * soft-fp/floatuntitf.c: Likewise.
4817         * soft-fp/fmadf4.c: Likewise.
4818         * soft-fp/fmasf4.c: Likewise.
4819         * soft-fp/fmatf4.c: Likewise.
4820         * soft-fp/gedf2.c: Likewise.
4821         * soft-fp/gesf2.c: Likewise.
4822         * soft-fp/getf2.c: Likewise.
4823         * soft-fp/ledf2.c: Likewise.
4824         * soft-fp/lesf2.c: Likewise.
4825         * soft-fp/letf2.c: Likewise.
4826         * soft-fp/muldf3.c: Likewise.
4827         * soft-fp/mulsf3.c: Likewise.
4828         * soft-fp/multf3.c: Likewise.
4829         * soft-fp/negdf2.c: Likewise.
4830         * soft-fp/negsf2.c: Likewise.
4831         * soft-fp/negtf2.c: Likewise.
4832         * soft-fp/op-1.h: Likewise.
4833         * soft-fp/op-2.h: Likewise.
4834         * soft-fp/op-4.h: Likewise.
4835         * soft-fp/op-8.h: Likewise.
4836         * soft-fp/op-common.h: Likewise.
4837         * soft-fp/quad.h: Likewise.
4838         * soft-fp/single.h: Likewise.
4839         * soft-fp/soft-fp.h: Likewise.
4840         * soft-fp/sqrtdf2.c: Likewise.
4841         * soft-fp/sqrtsf2.c: Likewise.
4842         * soft-fp/sqrttf2.c: Likewise.
4843         * soft-fp/subdf3.c: Likewise.
4844         * soft-fp/subsf3.c: Likewise.
4845         * soft-fp/subtf3.c: Likewise.
4846         * soft-fp/truncdfsf2.c: Likewise.
4847         * soft-fp/trunctfdf2.c: Likewise.
4848         * soft-fp/trunctfsf2.c: Likewise.
4849         * soft-fp/trunctfxf2.c: Likewise.
4850         * soft-fp/unorddf2.c: Likewise.
4851         * soft-fp/unordsf2.c: Likewise.
4852         * soft-fp/unordtf2.c: Likewise.
4854 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4856         [BZ #15672]
4857         * misc/error.c (error_tail): Fix possible buffer overflow.
4859 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4861         [BZ #13028]
4862         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4863         address.
4865 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4867         [BZ #832]
4868         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4869         testing pipefail option.
4871 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4873         * soft-fp/double.h: Indent preprocessor directives inside #if.
4874         * soft-fp/extended.h: Likewise.
4875         * soft-fp/op-2.h: Likewise.
4876         * soft-fp/op-4.h: Likewise.
4877         * soft-fp/op-common.h: Likewise.
4878         * soft-fp/quad.h: Likewise.
4879         * soft-fp/single.h: Likewise.
4880         * soft-fp/soft-fp.h: Likewise.
4882 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4884         * iconv/iconv_prog.c: Fix typos.
4885         * stdio-common/psiginfo-data.h: Likewise.
4887 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4889         [BZ #15764]
4890         * locale/setlocale.c: Fix typo.
4892 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4894         [BZ #16036]
4895         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4896         signaling NaN arguments.
4897         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4898         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4900         [BZ #14910]
4901         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4902         unordered operands.
4903         * soft-fp/gesf2.c (__gesf2): Likewise.
4904         * soft-fp/getf2.c (__getf2): Likewise.
4905         * soft-fp/ledf2.c (__ledf2): Likewise.
4906         * soft-fp/lesf2.c (__lesf2): Likewise.
4907         * soft-fp/letf2.c (__letf2): Likewise.
4909         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4910         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4911         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4912         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4913         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4914         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4915         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4916         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4917         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4918         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4919         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4920         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4921         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4922         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4923         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4924         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4925         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4926         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4927         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4928         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4929         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4930         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4931         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4932         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4933         * soft-fp/floattidf.c (__floattidf): Likewise.
4934         * soft-fp/floattisf.c (__floattisf): Likewise.
4935         * soft-fp/floattitf.c (__floattitf): Likewise.
4936         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4937         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4938         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4939         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4940         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4941         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4942         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4943         * soft-fp/gesf2.c (__gesf2): Likewise.
4944         * soft-fp/getf2.c (__getf2): Likewise.
4945         * soft-fp/ledf2.c (__ledf2): Likewise.
4946         * soft-fp/lesf2.c (__lesf2): Likewise.
4947         * soft-fp/letf2.c (__letf2): Likewise.
4949         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4950         Undefine and redefine.
4951         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4952         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4953         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4954         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4955         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4956         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4957         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4958         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4959         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4960         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4961         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4962         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4963         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4964         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4965         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4967         [BZ #16032]
4968         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4969         without decrementing exponent if mantissa >= that for the
4970         denominator, not >.
4971         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4972         denominator, not >.  Decrement exponent in < case instead of
4973         incrementing in >= case.
4974         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4975         without decrementing exponent if mantissa >= that for the
4976         denominator, not >.
4978         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4979         computing saturated result for unsigned overflow.
4981 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4982             Jeff Law  <law@redhat.com>
4984         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4985         (atan2Mp): Add systemtap probe marker.
4986         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4987         (__ieee754_log): Add systemtap probe marker.
4988         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4989         (atanMp): Add systemtap probe marker.
4990         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4991         (tanMp): Add systemtap probe marker.
4992         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4993         (__slowexp): Add systemtap probe marker.
4994         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4995         (__slowpow): Add systemtap probe marker.
4996         * manual/probes.texi: Document probes.
4998 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
5000         [BZ #15362]
5001         * libio/fileops.c (_IO_new_file_write): Return count of bytes
5002         written.
5003         (_IO_new_file_xsputn): Don't return EOF if nothing has been
5004         written.
5005         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5006         written to buffer but not flushed.
5007         * libio/iofwrite_u.c:  Likewise.
5008         * libio/iopadn.c:  Return bytes returned even if EOF was
5009         encountered.
5010         * libio/iowpadn.c:  Likewise.
5011         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5012         if _IO_padn does not write the whole buffer.
5013         [!COMPILE_WPRINTF] (PAD): Likewise.
5015 2013-10-10  David S. Miller  <davem@davemloft.net>
5017         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5018         directory block.
5020 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5022         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
5023         instead of FSF address.
5024         * soft-fp/fixdfti.c: Likewise.
5025         * soft-fp/fixsfti.c: Likewise.
5026         * soft-fp/fixtfti.c: Likewise.
5027         * soft-fp/fixunsdfti.c: Likewise.
5028         * soft-fp/fixunssfti.c: Likewise.
5029         * soft-fp/fixunstfti.c: Likewise.
5030         * soft-fp/floattidf.c: Likewise.
5031         * soft-fp/floattisf.c: Likewise.
5032         * soft-fp/floattitf.c: Likewise.
5033         * soft-fp/floatuntidf.c: Likewise.
5034         * soft-fp/floatuntisf.c: Likewise.
5035         * soft-fp/floatuntitf.c: Likewise.
5036         * soft-fp/trunctfxf2.c: Likewise.
5038         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
5039         * soft-fp/fixdfti.c: Likewise.
5040         * soft-fp/fixsfti.c: Likewise.
5041         * soft-fp/fixtfti.c: Likewise.
5042         * soft-fp/fixunsdfti.c: Likewise.
5043         * soft-fp/fixunssfti.c: Likewise.
5044         * soft-fp/fixunstfti.c: Likewise.
5045         * soft-fp/floattidf.c: Likewise.
5046         * soft-fp/floattisf.c: Likewise.
5047         * soft-fp/floattitf.c: Likewise.
5048         * soft-fp/floatuntidf.c: Likewise.
5049         * soft-fp/floatuntisf.c: Likewise.
5050         * soft-fp/floatuntitf.c: Likewise.
5051         * soft-fp/trunctfxf2.c: Likewise.
5053 2013-10-10  David S. Miller  <davem@davemloft.net>
5055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5057 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
5059         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5060         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5061         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5062         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5063         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5064         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5065         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5067         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5068         for NaNs before doing comparisons on argument.
5069         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5070         Likewise.
5072 2013-10-10  Will Newton  <will.newton@linaro.org>
5074         * malloc/hooks.c (memalign_check): Ensure the value of bytes
5075         passed to _int_memalign does not overflow.
5077 2013-10-10  Torvald Riegel  <triegel@redhat.com>
5079         * scripts/bench.pl: Add include-sources directive.
5080         * benchtests/README: Update documentation.
5082 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5084         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5085         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5086         instead of FP_INIT_ROUNDMODE.
5087         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5088         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5090         [BZ #16034]
5091         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
5092         copy class of input value.
5093         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
5094         not handle exceptions.
5095         * soft-fp/negsf2.c (__negsf2): Likewise.
5096         * soft-fp/negtf2.c (__negtf2): Likewise.
5097         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5099 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
5101         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5102         semicolon.  From Linux kernel.
5104 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
5106         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5108 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
5110         [BZ #156]
5111         * manual/socket.texi: Added statement about buffer
5112         for gethostbyname2_r.
5114 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
5116         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5117         Use .p2align directive instead, throughout.
5118         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5119         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5120         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5121         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5122         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5123         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5124         * sysdeps/x86_64/strchr.S: Likewise.
5125         * sysdeps/x86_64/strrchr.S: Likewise.
5127 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5129         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5131         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5133         * sysdeps/generic/math_private.h (__mpsin1): Remove
5134         declaration.
5135         (__mpcos1): Likewise.
5136         (__mpsin): New argument __range_reduce.
5137         (__mpcos): Likewise.
5138         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5139         (slow): Use __mpsin and __mpcos.
5140         (slow1): Likewise.
5141         (slow2): Likewise.
5142         (sloww): Likewise.
5143         (sloww1): Likewise.
5144         (sloww2): Likewise.
5145         (bsloww): Likewise.
5146         (bsloww1): Likewise.
5147         (bsloww2): Likewise.
5148         (cslow2): Likewise.
5149         (csloww): Likewise.
5150         (csloww1): Likewise.
5151         (csloww2): Likewise.
5152         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5153         range_reduce.  Merge in __mpsin1.
5154         (__mpcos): Likewise.
5155         (__mpsin1): Remove.
5156         (__mpcos1): Likewise.
5158 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
5160         * locale/loadlocale.c (_nl_intern_locale_data): Use
5161         LOCFILE_ALIGNED_P.
5162         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5163         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5164         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5165         obstack data is appropriately aligned.
5166         (obstack_int32_grow_fast): Likewise.
5167         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5168         * locale/programs/locfile.c (add_locale_uint32): Likewise.
5169         (add_locale_uint32_array): Likewise.
5171 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5173         * benchtests/Makefile: Remove ARGLIST and RET variables.
5174         ($(objpfx)bench-%.c): Pass only function name to the script.
5175         * benchtests/README: Update documentation.
5176         * benchtests/acos-inputs: Add new directives.
5177         * benchtests/acosh-inputs: Likewise.
5178         * benchtests/asin-inputs: Likewise.
5179         * benchtests/asinh-inputs: Likewise.
5180         * benchtests/atan-inputs: Likewise.
5181         * benchtests/atanh-inputs: Likewise.
5182         * benchtests/cos-inputs: Likewise.
5183         * benchtests/cosh-inputs: Likewise.
5184         * benchtests/exp-inputs: Likewise.
5185         * benchtests/log-inputs: Likewise.
5186         * benchtests/pow-inputs: Likewise.
5187         * benchtests/rint-inputs: Likewise.
5188         * benchtests/sin-inputs: Likewise.
5189         * benchtests/sinh-inputs: Likewise.
5190         * benchtests/tan-inputs: Likewise.
5191         * benchtests/tanh-inputs: Likewise.
5192         * scripts/bench.pl: Add support for new directives.
5194 2013-10-07  Alan Modra  <amodra@gmail.com>
5196         * README: Fix careless merge.
5198 2013-10-05  Alan Modra  <amodra@gmail.com>
5200         * NEWS: Mention powerpc64le support and bugs fixed.
5201         * README: Both big-endian and little-endian powerpc64 supported.
5203 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5205         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5206         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5207         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5208         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5210 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
5212         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5213         match prototype.
5215 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
5217         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5218         Move -mhard-float appending from
5219         ports/sysdeps/powerpc/powerpc32/Makefile.
5220         [$(with-fp) = yes] (ASFLAGS): Likewise.
5221         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5222         * sysdeps/powerpc/nofpu: Move directory from
5223         ports/sysdeps/powerpc/nofpu.
5224         * sysdeps/powerpc/soft-fp: Move directory from
5225         ports/sysdeps/powerpc/soft-fp.
5226         * sysdeps/powerpc/powerpc32/405: Move directory from
5227         ports/sysdeps/powerpc/powerpc32/405.
5228         * sysdeps/powerpc/powerpc32/440: Move directory from
5229         ports/sysdeps/powerpc/powerpc32/440.
5230         * sysdeps/powerpc/powerpc32/464: Move directory from
5231         ports/sysdeps/powerpc/powerpc32/464.
5232         * sysdeps/powerpc/powerpc32/476: Move directory from
5233         ports/sysdeps/powerpc/powerpc32/476.
5234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5235         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5237         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5239         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5241         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5243         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5244         * README: Update for powerpc-*-linux-gnu software floating point
5245         support in libc.
5247         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5248         case to powerpc/powerpc32*.
5249         * sysdeps/unix/sysv/linux/configure: Regenerated.
5251         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5252         (_FPU_MASK_OM): Define as 0x04.
5253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5254         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5255         0x00c10080.
5256         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5257         0x0000003c.
5258         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5261         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5262         getcontext_e500.
5263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5264         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5265         setcontext_e500.
5266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5267         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5268         and setcontext_e500.
5270 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
5272         * locale/iso-3166.def: Update iso-1366.def and related occurrences
5274 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5276         * manual/threads.texi (Default Thread Attributes): Fix typo.
5278 2013-10-04  Will Newton  <will.newton@linaro.org>
5280         * malloc/Makefile: Add tst-memalign.
5281         * malloc/tst-memalign.c: New file.
5283         * malloc/tst-posix_memalign.c: Add comments.
5284         (do_test): Add comments and call free on all potentially
5285         allocated pointers. Add space after cast.
5287         * malloc/tst-pvalloc.c: Add comments.
5288         (do_test): Add comments and call free on all potentially
5289         allocated pointers. Remove duplicate check for NULL pointer.
5290         Add space after cast.
5292         * malloc/tst-valloc.c: Add comments.
5293         (do_test): Add comments and call free on all potentially
5294         allocated pointers. Remove duplicate check for NULL pointer.
5295         Add space after cast.
5297 2013-10-04  Alan Modra  <amodra@gmail.com>
5299         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5300         Use stdint types in rather than __attribute__((mode())).
5301         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5303 2013-10-04  Alan Modra  <amodra@gmail.com>
5305         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5306         Correct handling of unaligned relocs for little-endian.
5307         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5309 2013-10-04  Alan Modra  <amodra@gmail.com>
5311         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5312         * configure: Regenerate.
5313         * nptl/shlib-versions: Powerpc*le starts at 2.18.
5314         * shlib-versions: Likewise.
5316 2013-10-04  Alan Modra  <amodra@gmail.com>
5318         * string/tester.c (test_memrchr): Increment reported test cycle.
5320 2013-10-04  Alan Modra  <amodra@gmail.com>
5322         * string/test-memcpy.c (do_one_test): When reporting errors, print
5323         string address and don't overrun end of string.
5325 2013-10-04  Alan Modra  <amodra@gmail.com>
5327         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5328         insrdi.  Make better use of reg selection to speed exit slightly.
5329         Schedule entry path a little better.  Remove useless "are we done"
5330         checks on entry to main loop.  Handle wrapping around zero address.
5331         Correct main loop count.  Handle single left-over word from main
5332         loop inline rather than by using loop_small.  Remove extra word
5333         case in loop_small caused by wrong loop count.  Add little-endian
5334         support.
5335         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5336         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
5337         cache hint.
5338         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5339         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5340         support.  Avoid rlwimi.
5341         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5343 2013-10-04  Alan Modra  <amodra@gmail.com>
5345         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5346         insrdi.  Formatting.
5347         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5348         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5349         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5350         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5351         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5352         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5354 2013-10-04  Alan Modra  <amodra@gmail.com>
5356         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5357         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5358         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5359         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5360         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5361         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5362         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5363         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5364         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5365         use of regs.  Use power7 mtocrf.  Tidy function tails.
5367 2013-10-04  Alan Modra  <amodra@gmail.com>
5369         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5370         Formatting.  Consistently use rXXX register defines or rN defines.
5371         Use early exit labels that avoid restoring unused non-volatile regs.
5372         Make cr field use more consistent with rWORDn compares.  Rename
5373         regs used as shift registers for unaligned loop, using rN defines
5374         for short lifetime/multiple use regs.
5375         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5376         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5377         addi 1,1,64 to pop stack frame.  Simplify return value code.
5378         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5380 2013-10-04  Alan Modra  <amodra@gmail.com>
5382         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5383         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5384         rather than rlwimi.
5385         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5386         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5387         little-endian support.  Correct typos.
5388         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5389         rather than rlwimi.
5390         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5391         in loop and entry code to keep "and." results.
5392         (strchr): Add little-endian support.  Comment.  Move cntlzd
5393         earlier in tail.
5394         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5396 2013-10-04  Alan Modra  <amodra@gmail.com>
5398         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5399         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5400         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5401         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5403 2013-10-04  Alan Modra  <amodra@gmail.com>
5405         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5406         (rTMP): Define as r11.
5407         (strcmp): Add little-endian support.  Optimise tail.
5408         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5409         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5410         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5411         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5412         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5413         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5414         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5416 2013-10-04  Alan Modra  <amodra@gmail.com>
5418         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5419         little-endian support.  Remove unnecessary "are we done" tests.
5420         Handle "s" wrapping around zero and extremely large "size".
5421         Correct main loop count.  Handle single left-over word from main
5422         loop inline rather than by using small_loop.  Correct comments.
5423         Delete "zero" tail, use "end_max" instead.
5424         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5426 2013-10-04  Alan Modra  <amodra@gmail.com>
5428         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5429         support.  Don't branch over align.
5430         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5431         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5432         support.  Rearrange tmp reg use to suit.  Comment.
5433         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5435 2013-10-04  Alan Modra  <amodra@gmail.com>
5437         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5439 2013-10-04  Alan Modra  <amodra@gmail.com>
5441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5442         conditional form of branch and link when obtaining pc.
5443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5445 2013-10-04  Alan Modra  <amodra@gmail.com>
5447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5448         HIWORD/LOWORD.
5449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5452 2013-10-04  Alan Modra  <amodra@gmail.com>
5454         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5455         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5456         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5457         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5458         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5459         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5460         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5461         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5462         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5463         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5465 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5466             Alistair Popple <alistair@ozlabs.au.ibm.com>
5467             Alan Modra <amodra@gmail.com>
5469         [BZ #15723]
5470         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5471         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5472         _dl_hwcap access for little-endian.
5473         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5474         destroy vmx regs when saving unaligned.
5475         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5476         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5477         destroy vmx regs when saving unaligned.
5479 2013-10-04  Alan Modra  <amodra@gmail.com>
5481         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5482         Don't use a union to pack hi/low value.
5484 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5486         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5487         for little-endian.
5488         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5489         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5490         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5491         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5492         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5494 2013-10-04  Alan Modra  <amodra@gmail.com>
5496         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5497         constants to usual value for .cst8 section, and remove redundant
5498         high address load.
5499         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5500         constant for 0x1p52.  Load little-endian words of double from
5501         correct stack offsets.
5503 2013-10-04  Alan Modra  <amodra@gmail.com>
5505         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5506         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5507         words of double from correct stack offsets.
5508         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5509         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5510         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5511         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5512         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5513         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5514         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5515         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5516         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5517         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5518         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5519         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5520         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5521         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5522         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5523         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5524         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5526 2013-10-04  Alan Modra  <amodra@gmail.com>
5528         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5529         64-bit int/double union.
5530         (_FPU_SETCW): Likewise.
5531         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5532         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5534 2013-10-04  Alan Modra  <amodra@gmail.com>
5536         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5537         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5539 2013-10-04  Alan Modra  <amodra@gmail.com>
5541         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5542         use vector int constants.
5543         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5545 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5547         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5548         array with long long.
5549         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5550         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5551         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5552         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5553         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5554         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5555         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5556         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5557         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5558         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5559         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5560         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5561         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5563 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5565         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5566         (__signbit): Likewise.  Correct for little-endian.
5567         (__signbitl): Call __signbit.
5568         (lrint): Correct for little-endian.
5569         (lrintf): Call lrint.
5571 2013-10-04  Alan Modra  <amodra@gmail.com>
5573         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5574         union 32-bit int array member with 64-bit int array.
5575         (t515, tm256): Double rather than long double.
5576         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5578 2013-10-04  Alan Modra  <amodra@gmail.com>
5580         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5581         Delete.
5582         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5583         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5584         version of math_ldbl.h.
5586 2013-10-04  Alan Modra  <amodra@gmail.com>
5588         [BZ #15734], [BZ #15735]
5589         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5590         all uses of ieee875 long double macros and unions.  Simplify test
5591         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5592         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5593         normalize after ldbl_extract_mantissa, and don't add hidden bit
5594         already handled.  Don't treat low word of ieee854 mantissa like
5595         low word of IBM long double and mask off bit when testing for
5596         zero.
5597         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5598         all uses of ieee875 long double macros and unions.  Simplify tests
5599         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5600         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5601         two1022, instead use their values.  Recognise that tests for large
5602         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5603         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5604         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5605         test for 0.0L and nan.  Correct negation.
5606         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5607         ieee875 long double macros and unions.  Correct output for large
5608         magnitude x.  Correct absolute value calculation.
5609         (__erfcl): Likewise.
5610         * math/libm-test.inc: Add tests for errors discovered in IBM long
5611         double versions of fmodl, remainderl, erfl and erfcl.
5613 2013-10-04  Alan Modra  <amodra@gmail.com>
5615         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5616         all uses of ieee854 long double macros and unions.  Simplify tests
5617         for long doubles that are fully specified by the high double.
5618         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5619         Likewise.
5620         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5621         Remove dead code too.
5622         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5623         (__ieee754_ynl): Likewise.
5624         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5625         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5626         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5627         Remove dead code too.
5628         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5629         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5630         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5631         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5632         Simplify.
5633         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5634         Simplify.
5635         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5636         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5637         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5638         Comment on variable precision.
5639         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5640         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5641         Likewise.
5642         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5643         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5644         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5645         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5646         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5648 2013-10-04  Alan Modra  <amodra@gmail.com>
5650         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5651         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5652         all uses of ieee854 long double macros and unions.
5653         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5654         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5655         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5656         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5657         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5658         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5659         Likewise.
5660         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5661         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5662         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5663         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5664         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5665         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5666         Simplify sign and nan test too.
5667         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5668         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5669         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5670         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5671         Likewise.
5672         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5673         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5674         Likewise.
5675         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5676         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5677         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5678         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5679         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5680         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5682 2013-10-04  Alan Modra  <amodra@gmail.com>
5684         * stdio-common/printf_size.c (__printf_size): Don't use
5685         union ieee854_long_double in fpnum union.
5686         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5687         signbit macro to retrieve sign from long double.
5688         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5689         retrieve sign from long double.
5690         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5691         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5692         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5693         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5694         * math/test-misc.c (main): Don't use union ieee854_long_double.
5696 2013-10-04  Alan Modra  <amodra@gmail.com>
5698         [BZ #15680]
5699         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5700         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5701         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5702         calculation.  Remove unnecessary test for denormal exponent.
5703         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5704         Correct handling of denormals.  Avoid undefined shift behaviour.
5705         Correct normalisation of low mantissa when low double is denormal.
5706         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5707         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5708         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5709         Correct normalisation of low mantissa.  Test for overflow of high
5710         mantissa and normalise.
5711         (ldbl_nearbyint): Use more readable constant for two52.
5712         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5713         (__mpn_construct_long_double): Fix test for overflow of high
5714         mantissa and correct normalisation.  Avoid undefined shift.
5716 2013-10-04  Alan Modra  <amodra@gmail.com>
5718         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5719         (union ibm_extended_long_double): Define as an array of ieee754_double.
5720         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5721         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5722         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5723         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5724         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5725         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5726         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5727         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5728         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5729         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5730         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5732 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5734         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5735         page size instead of calling getpagesize.
5737         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5738         (LOCFILE_ALIGN_MASK): Likewise.
5739         (LOCFILE_ALIGN_UP): Likewise.
5740         (LOCFILE_ALIGNED_P): Likewise.
5741         * locale/programs/ld-collate.c (collate_output): Use the new
5742         macros instead of __alignof__ (int32_t).
5743         * locale/weight.h (findidx): Likewise.
5745 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5747         [BZ #431]
5748         * manual/string.texi: Fix strncat and wcsncat.
5750 2013-10-03  Brooks Moses  <bmoses@google.com>
5752         [BZ #15915]
5753         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5754         * Makerules: ...here, and adjust associated comments.
5756 2013-10-02  Will Newton  <will.newton@linaro.org>
5758         * malloc/Makefile: Add tst-pvalloc.
5759         * malloc/tst-pvalloc.c: New file.
5761 2013-10-02  Will Newton  <will.newton@linaro.org>
5763         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5764         improve test coverage.
5766 2013-10-02  Will Newton  <will.newton@linaro.org>
5768         * malloc/Makefile: Add tst-posix_memalign.
5769         * malloc/tst-posix_memalign.c: New file.
5771 2013-10-01  Eric Blake  <eblake@redhat.com>
5773         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5774         Use __THROWNL rather than __THROW on static functions.
5776 2013-09-30  Petr Machata  <pmachata@redhat.com>
5778         * elf/elf.h (R_AARCH64_ABS16): New macro.
5779         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5780         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5781         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5782         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5783         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5784         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5785         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5786         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5787         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5788         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5789         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5790         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5791         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5792         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5793         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5794         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5795         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5796         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5797         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5798         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5799         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5800         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5801         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5802         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5803         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5804         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5805         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5806         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5807         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5808         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5809         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5810         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5811         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5812         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5813         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5814         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5815         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5816         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5817         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5818         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5819         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5820         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5821         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5822         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5823         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5824         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5825         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5826         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5827         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5828         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5829         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5830         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5831         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5832         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5833         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5834         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5835         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5836         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5837         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5838         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5839         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5840         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5841         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5842         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5843         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5844         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5845         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5846         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5847         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5848         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5849         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5850         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5851         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5852         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5853         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5854         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5855         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5856         (R_AARCH64_TLSDESC_LDR): Likewise.
5857         (R_AARCH64_TLSDESC_ADD): Likewise.
5858         (R_AARCH64_TLSDESC_CALL): Likewise.
5860 2013-09-30  Andreas Schwab  <schwab@suse.de>
5862         [BZ #15048]
5863         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5864         the nss database lookup.
5865         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5866         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5868 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5870         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5872 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5874         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5875         ${Bash-specific parameter/pattern/string} parameter expansion.
5876         * sysdeps/unix/make-syscalls.sh: Likewise.
5878 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5880         * sysdeps/sh/stackguard-macros.h: New file.
5882 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5884         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5885         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5886         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5887         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5888         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5889         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5891 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5893         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5894         Fix thread ID register.
5896 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5898         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5899         [POSIX || UNIX98]: Require rather than permitting all symbols from
5900         <time.h>.
5901         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5902         element of struct sched_param.
5903         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5904         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5905         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5906         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5907         constant.
5909 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5911         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5912         argument calculation.
5914 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5916         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5917         Expect macro.
5918         [POSIX] (pthread_attr_t): Do not require type.
5919         [POSIX] (pthread_cond_t): Likewise.
5920         [POSIX] (pthread_condattr_t): Likewise.
5921         [POSIX] (pthread_key_t): Likewise.
5922         [POSIX] (pthread_mutex_t): Likewise.
5923         [POSIX] (pthread_mutexattr_t): Likewise.
5924         [POSIX] (pthread_once_t): Likewise.
5925         [POSIX] (pthread_t): Likewise.
5926         [POSIX-based standards] (pthread_atfork): Expect function.
5928 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5929             Richard Sandiford  <richard@codesourcery.com>
5931         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5932         (swap_endianness_p): New extern variable.
5933         (set_big_endian): New inline function.
5934         (maybe_swap_uint32): Likewise.
5935         (maybe_swap_uint32_array): Likewise.
5936         (maybe_swap_uint32_obstack): Likewise.
5937         * locale/programs/locfile.c: Include <stdbool.h>.
5938         (swap_endianness_p): New variable.
5939         (add_locale_uint32): Call maybe_swap_uint32.
5940         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5941         (write_locale_data): Call maybe_swap_uint32_array.
5942         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5943         maybe_swap_uint32.
5944         (obstack_int32_grow_fast): Likewise.
5945         (output_weightwc): Call maybe_swap_uint32_obstack.
5946         (collate_output): Likewise.
5947         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5948         (OPT_LITTLE_ENDIAN): Likewise.
5949         (options): Add --little-endian and --big-endian options.
5950         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5951         * locale/programs/locarchive.c: Include "locfile.h".
5952         (GET): New macro.
5953         (SET): Likewise.
5954         (INC): Likewise.
5955         (create_archive): Use the new macros to access fields of
5956         structures directly mapped from or written to locale archives.
5957         (oldlocrecentcmp): Likewise.
5958         (enlarge_archive): Likewise.
5959         (insert_name): Likewise.
5960         (add_alias): Likewise.
5961         (add_locale): Likewise.
5962         (delete_locales_from_archive): Likewise.
5963         (show_archive_content): Likewise.
5964         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5965         locale data.
5967 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5969         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5970         http://www.gnu.org/doc/freemanuals.texi.
5971         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5973 2013-09-24  Will Newton  <will.newton@linaro.org>
5975         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5976         macro.
5978 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5980         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5981         unsigned char.
5983 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5985         * manual/threads.texi (POSIX Threads): Fix a typo.
5987 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5989         [BZ #14547]
5990         * string/tst-strcoll-overflow.c: New test case.
5991         * string/Makefile (xtests): Add tst-strcoll-overflow.
5992         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5993         cache if string sizes may cause integer overflow.
5995         [BZ #14547]
5996         * string/strcoll_l.c (coll_seq): New members rule, idx,
5997         save_idx and back_us.
5998         (get_next_seq_nocache): New function.
5999         (do_compare_nocache): New function.
6000         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6001         when malloc fails.
6003 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
6005         [BZ #15754]
6006         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6007         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6008         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6010         [BZ #15754]
6011         * elf/Makefile (tests): Add tst-ptrguard1.
6012         (tests-static): Add tst-ptrguard1-static.
6013         (tst-ptrguard1-ARGS): Define.
6014         (tst-ptrguard1-static-ARGS): Define.
6015         * elf/tst-ptrguard1.c: New file.
6016         * elf/tst-ptrguard1-static.c: New file.
6017         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6018         * sysdeps/i386/stackguard-macros.h: Likewise.
6019         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6020         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6021         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6022         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6023         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6024         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6026 2013-09-23  Hector Marco  <hecmargi@upv.es>
6027             Ismael Ripoll  <iripoll@disca.upv.es>
6028             Carlos O'Donell  <carlos@redhat.com>
6030         [BZ #15754]
6031         * sysdeps/generic/stackguard-macros.h: Define
6032         __pointer_chk_guard_local and POINTER_CHK_GUARD.
6033         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6034         Define __pointer_chk_guard_local.
6035         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6036         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6038 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
6040         [BZ #15859]
6041         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6043 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
6045         * include/string.h (__ffs): Declare as hidden.
6046         * string/ffs.c (__ffs): Define as hidden.
6047         * sysdeps/i386/ffs.c (__ffs): Likewise.
6048         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6049         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6050         * sysdeps/s390/ffs.c (__ffs): Likewise.
6051         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6053 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
6055         * NEWS: Mention malloc probes.
6057         * malloc/arena.c (new_heap): New memory_heap_new probe.
6058         (grow_heap): New memory_heap_more probe.
6059         (shrink_heap): New memory_heap_less probe.
6060         (heap_trim): New memory_heap_free probe.
6061         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6062         (systrim): New memory_sbrk_less probe.
6063         * manual/probes.texi: Document them.
6065         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6066         * manual/probes.texi: Document it.
6068         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6069         (__libc_realloc): Add memory_realloc_retry probe.
6070         (__libc_memalign): Add memory_memalign_retry probe.
6071         (__libc_valloc): Add memory_valloc_retry probe.
6072         (__libc_pvalloc): Add memory_pvalloc_retry probe.
6073         (__libc_calloc): Add memory_calloc_retry probe.
6074         * manual/probes.texi: Document them.
6076         * malloc/arena.c (get_free_list): Add probe
6077         memory_arena_reuse_free_list.
6078         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6079         and memory_arena_reuse.
6080         (arena_get2) [!PER_THREAD]: Likewise.
6081         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6082         memory_arena_reuse_realloc.
6083         * manual/probes.texi: Document them.
6085         * malloc/malloc.c (__libc_free): Add
6086         memory_mallopt_free_dyn_thresholds probe.
6087         (__libc_mallopt): Add multiple memory_mallopt probes.
6088         * manual/probes.texi: Document them.
6090         * malloc/malloc.c: Include stap-probe.h.
6091         (__libc_mallopt): Add memory_mallopt probe.
6092         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6093         * manual/probes.texi: New.
6094         * manual/Makefile (chapters): Add probes.
6095         * manual/threads.texi: Set next node.
6097 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
6099         [BZ #15963, #13985]
6100         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6101         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6102         Add `Chinese' to `nan' entry name.
6104 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6106         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6107         (POLYNOMIAL): Likewise.
6108         (TAYLOR_SINCOS): Likewise.
6109         (TAYLOR_SLOW): Likewise.
6110         (__sin): Use TAYLOR_SINCOS.
6111         (__cos): Likewise.
6112         (slow): Use TAYLOR_SLOW.
6113         (sloww): Likewise.
6114         (bsloww): Likewise.
6115         (csloww): Likewise.
6117 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6119         * stdlib/strtod_l.c: Fix buffer overrun.
6121 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6123         * benchtests/Makefile (bench): Add sincos.
6124         * benchtests/bench-sincos.c: New file.
6126         * math/libm-test.inc (cos_test_data): New test inputs.
6127         (sin_test_data): Likewise.
6129         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6130         macro.
6131         (__sin): Use it.
6132         (__cos): Likewise.
6133         (slow1): Likewise.
6134         (slow2): Likewise.
6135         (sloww1): Likewise.
6136         (sloww2): Likewise.
6137         (bsloww1): Likewise.
6138         (bsloww2): Likewise.
6139         (cslow2): Likewise.
6140         (csloww1): Likewise.
6141         (csloww2): Likewise.
6143         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6144         function.
6145         (__sin): Use it.
6146         (__cos): Likewise.
6148         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6149         gotos.
6150         (__cos): Likewise.
6152 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
6154         * config.h.in (HAVE_MIPS_NAN2008): New macro.
6155         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6156         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6157         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6158         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6159         * elf/cache.c (print_entry): Handle the new cache flags.
6161 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6162             Aldy Hernandez  <aldyh@redhat.com>
6164         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6165         Change condition to [_SOFT_FLOAT].
6166         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6167         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6168         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6169         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6170         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6171         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6173         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6174         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6175         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6176         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6177         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6178         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6179         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6181         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6182         declaration.
6184 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6186         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6187         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6188         (__longjmp): Use LOAD_GP to load saved GPRs.
6189         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6190         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6191         (__sigsetjmp): Use SAVE_GP to save GPRs.
6193         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6194         Do not append -msoft-float.
6195         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6197 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6199         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6201 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
6203         [BZ #15966]
6204         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6205         (_FPU_GETCW): Use initial "__" on variable and field names but not
6206         on macro parameter name.
6207         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
6208         parentheses around reference to macro parameter.
6210 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
6212         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6213         prototype.
6214         (ctype_startup): Use uint32_t in cast and sizeof for
6215         ctype->charnames.
6217 2013-09-11  Jia Liu  <proljc@gmail.com>
6219         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6220         __daddr_t_defined.
6221         [__FreeBSD__]: Likewise.
6223 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
6225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6226         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6227         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6228         (strchr): Remove __strchr_sse42 ifunc selection.
6229         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6230         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6232 2013-09-11  Will Newton  <will.newton@linaro.org>
6234         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6235         parameter to RES. Remove hardcoded 1000 value.
6236         * benchtests/bench-skeleton.c (main): Pass RES parameter
6237         to TIMING_INIT and multiply result by 1000.
6239 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6243 2013-09-11  Andreas Schwab  <schwab@suse.de>
6245         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6246         if not defined.
6247         (O_TMPFILE) [__USE_GNU]: Define.
6248         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6249         Define.
6251 2013-09-11  Will Newton  <will.newton@linaro.org>
6253         [BZ #15857]
6254         * malloc/malloc.c (__libc_memalign): Check the value of bytes
6255         does not overflow.
6257 2013-09-11  Will Newton  <will.newton@linaro.org>
6259         [BZ #15856]
6260         * malloc/malloc.c (__libc_valloc): Check the value of bytes
6261         does not overflow.
6263 2013-09-11  Will Newton  <will.newton@linaro.org>
6265         [BZ #15855]
6266         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6267         does not overflow.
6269 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
6271         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6272         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6273         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6274         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6275         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6277 2013-09-10  Allan McRae  <allan@archlinux.org>
6279         [BZ #15748]
6280         * manual/arith.texi (Parsing of Floats): Clarify
6281         cross-reference.
6283         [BZ #15849]
6284         * manual/install.texi (Running make install): Mention
6285         --enable-pt-chown.
6286         * INSTALL: Regenerated.
6288 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
6290         * csu/init-first.c (_init): Remove the !SHARED condition around
6291         FPU control word initialization.
6292         * elf/dl-support.c (_dl_fpu_control): New variable.
6293         (_dl_aux_init) <AT_FPUCW>: Initialize it.
6294         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6295         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6296         * math/test-fpucw-static.c: New file.
6297         * math/test-fpucw-ieee.c: New file.
6298         * math/test-fpucw-ieee-static.c: New file.
6299         * math/Makefile (tests): Add `test-fpucw-ieee' and
6300         `$(tests-static)'.
6301         (tests-static): New variable.
6302         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6303         dependency to...
6304         [($(build-shared),yes)]
6305         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6306         ... this.
6307         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6308         New dependency.
6310 2013-09-09  Allan McRae  <allan@archlinux.org>
6312         [BZ #15939]
6313         * manual/string.texi (Collation Functions): Fix typo in
6314         strcoll example.
6315         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6317         [BZ #15893]
6318         * stdlib/isomac.c (get_null_defines): Fix memory leak.
6320         [BZ #15892]
6321         * libio/memstream.c (open_memstream): Fix memory leak.
6322         * libio/wmemstream.c (open_wmemstream): Likewise.
6324         [BZ #15895]
6325         * nscd/netgroupcache.c: Fix nesting of ifdefs.
6327 2013-09-09  Will Newton  <will.newton@linaro.org>
6329         * malloc/Makefile: Add tst-realloc to tests.
6330         * malloc/tst-realloc.c: New file.
6332 2013-09-09  Allan McRae  <allan@archlinux.org>
6334         [BZ #15844]
6335         * COPYING: Update from GNU website to fix FSF address.
6336         * COPYING.LIB: Likewise.
6338 2013-09-06  David S. Miller  <davem@davemloft.net>
6340         * po/zh_TW.po: Update Chinese (traditional) translation from
6341         translation project.
6343 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6344             Joseph Myers  <joseph@codesourcery.com>
6346         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6347         "localeinfo.h".
6348         (obstack_chunk_alloc): New macro.
6349         (obstack_chunk_free): Likewise.
6350         (record_offset): New function.
6351         (init_locale_data): Likewise.
6352         (align_locale_data): Likewise.
6353         (add_locale_empty): Likewise.
6354         (add_locale_raw_data): Likewise.
6355         (add_locale_raw_obstack): Likewise.
6356         (add_locale_string): Likewise.
6357         (add_locale_wstring): Likewise.
6358         (add_locale_uint32): Likewise.
6359         (add_locale_uint32_array): Likewise.
6360         (add_locale_char): Likewise.
6361         (start_locale_structure): Likewise.
6362         (end_locale_structure): Likewise.
6363         (start_locale_prelude): Likewise.
6364         (end_locale_prelude): Likewise.
6365         (write_locale_data): Take locale_file structure rather than an
6366         iovec.
6367         * locale/programs/locfile.h: Include "obstack.h".
6368         (struct locale_file): Change to store locale file contents instead
6369         of header.
6370         (init_locale_data): New prototype.
6371         (align_locale_data): Likewise.
6372         (add_locale_empty): Likewise.
6373         (add_locale_raw_data): Likewise.
6374         (add_locale_raw_obstack): Likewise.
6375         (add_locale_string): Likewise.
6376         (add_locale_wstring): Likewise.
6377         (add_locale_uint32): Likewise.
6378         (add_locale_uint32_array): Likewise.
6379         (add_locale_char): Likewise.
6380         (start_locale_structure): Likewise.
6381         (end_locale_structure): Likewise.
6382         (start_locale_prelude): Likewise.
6383         (end_locale_prelude): Likewise.
6384         (write_locale_data): Update prototype.
6385         * locale/programs/3level.h (struct TABLE): Remove result field.
6386         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6387         Use new locale_file interface.
6388         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6389         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6390         * locale/programs/ld-address.c (address_output): Use new
6391         locale_file interface.
6392         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6393         NO_ADD_LOCALE.
6394         (collate_finish): Don't call collseq_table_finalize.
6395         (collate_output): Use new locale_file interface.
6396         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6397         in file.
6398         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6399         (TABLE): Move defines earlier in file.
6400         (ELEMENT): Likewise.
6401         (DEFAULT): Likewise.
6402         (wctrans_table_add): Move macro and inline function earlier in
6403         file.
6404         (struct wctype_table): Move type earlier in file.
6405         (add_locale_wctype_table): New static prototype.
6406         (struct locale_ctype_t): Use logical types instead of struct iovec
6407         pointers for members.
6408         (ctype_output): Use new locale_file interface.
6409         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6410         new locale_file interface.
6411         (allocate_arrays): Update for use of new locale_file interface.
6412         * locale/programs/ld-identification.c (identification_output): Use
6413         new locale_file interface.
6414         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6415         * locale/programs/ld-messages.c (messages_output): Likewise.
6416         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6417         * locale/programs/ld-name.c (name_output): Likewise.
6418         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6419         * locale/programs/ld-paper.c (paper_output): Likewise.
6420         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6421         * locale/programs/ld-time.c (time_output): Likewise.
6423 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6425         * benchtests/Makefile: Add memrchr benchmark.
6426         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6427         benchmark as memrchr.
6428         * benchtests/bench-memrchr-ifunc.c: New file.
6429         * benchtests/bench-memrchr.c: New file.
6431 2013-09-06   Will Newton  <will.newton@linaro.org>
6433         * benchtests/Makefile (string-bench): Add memcpy.
6435 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6436             Cong Wang  <amwang@redhat.com>
6438         [BZ #15850]
6439         * sysdeps/unix/sysv/linux/bits/in.h
6440         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6441         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6442         before __USE_KERNEL_IPV6_DEFS uses.
6443         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6444         IPPROTO_BEETPH.
6445         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6446         sockaddr_in6, or ipv6_mreq.
6448 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6450         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6451         memory access for final bytes in some large inputs.
6452         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6454 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6456         * string/test-memrchr.c: New file.
6457         * string/test-memrchr-ifunc.c: New file.
6458         * string/Makefile: Add new memrchr testcase.
6460 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6462         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6463         fanotify_init returns EPERM.
6465 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6467         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6468         errors.
6469         (top level): Treat second token from macro or constant entries for
6470         allowed headers as allowed.
6471         * include/complex.h: Condition internal declarations on
6472         [!_ISOMAC].
6473         * include/fenv.h: Condition include of <stdbool.h> and internal
6474         declarations on [!_ISOMAC].
6476 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6478         [BZ #15923]
6479         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6481 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6483         * configure.in (--enable-versioning): Remove configure option.
6484         (libc_cv_asm_symver_directive): Remove configure test.
6485         (libc_cv_ld_version_script_option): Likewise.
6486         (VERSIONING): Remove variable and AC_SUBST.
6487         (DO_VERSIONING): Remove AC_DEFINE.
6488         * configure: Regenerated.
6489         * config.h.in (DO_VERSIONING): Remove macro.
6490         * Makerules [$(versioning) = yes]: Change conditionals to
6491         [$(build-shared) = yes].
6492         * config.make.in (versioning): Remove variable.
6493         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6494         [$(build-shared) = yes].
6495         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6496         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6497         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6498         [$(build-shared) = yes].
6499         * extra-lib.mk [$(versioning) = yes]: Likewise.
6500         * hurd/Makefile [$(versioning) = yes]: Likewise.
6501         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6502         [SHARED].
6503         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6504         [SHARED].
6505         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6506         [SHARED && !NO_HIDDEN].
6507         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6508         [SHARED].
6509         [SHARED && DO_VERSIONING]: Likewise..
6510         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6511         [$(build-shared) = yes].
6512         * manual/install.texi (--disable-versioning): Remove
6513         documentation.
6514         * INSTALL: Regenerated.
6515         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6516         to [SHARED].
6517         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6518         [$(build-shared) = yes].
6519         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6520         * sysdeps/i386/i686/multiarch/strstr-c.c
6521         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6522         [SHARED && !NO_HIDDEN].
6523         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6524         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6525         * sysdeps/powerpc/powerpc32/dl-machine.c
6526         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6527         * sysdeps/powerpc/powerpc32/sysdep.h
6528         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6529         to [SHARED && PIC && !NO_HIDDEN].
6530         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6531         conditional to [SHARED].
6533 2013-09-04   Will Newton  <will.newton@linaro.org>
6535         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6536         * benchtests/bench-string.h: Include bench-timing.h instead
6537         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6538         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6539         call to HP_TIMING_DIFF_INIT.
6540         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6541         instead of hp-timing.h macros.
6542         * benchtests/bench-memchr.c: Likewise.
6543         * benchtests/bench-memcmp.c: Likewise.
6544         * benchtests/bench-memcpy.c: Likewise.
6545         * benchtests/bench-memmem.c: Likewise.
6546         * benchtests/bench-memmove.c: Likewise.
6547         * benchtests/bench-memset.c: Likewise.
6548         * benchtests/bench-rawmemchr.c: Likewise.
6549         * benchtests/bench-strcasecmp.c: Likewise.
6550         * benchtests/bench-strcasestr.c: Likewise.
6551         * benchtests/bench-strcat.c: Likewise.
6552         * benchtests/bench-strchr.c: Likewise.
6553         * benchtests/bench-strcmp.c: Likewise.
6554         * benchtests/bench-strcpy.c: Likewise.
6555         * benchtests/bench-strcpy_chk.c: Likewise.
6556         * benchtests/bench-strlen.c: Likewise.
6557         * benchtests/bench-strncasecmp.c: Likewise.
6558         * benchtests/bench-strncat.c: Likewise.
6559         * benchtests/bench-strncmp.c: Likewise.
6560         * benchtests/bench-strncpy.c: Likewise.
6561         * benchtests/bench-strnlen.c: Likewise.
6562         * benchtests/bench-strpbrk.c: Likewise.
6563         * benchtests/bench-strrchr.c: Likewise.
6564         * benchtests/bench-strspn.c: Likewise.
6565         * benchtests/bench-strstr.c: Likewise.
6567 2013-09-04  Will Newton  <will.newton@linaro.org>
6569         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6571 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6573         [BZ #15427]
6574         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6575         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6576         * math/libm-test.inc (lgamma_test_data): Add more tests.
6577         * sysdeps/i386/fpu/libm-test-ulps: Update.
6578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6580 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6582         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6583         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6584         Add ifunc.
6585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6586         Add strcmp-sse2-unaligned
6587         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6589 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6591         * Versions.def (libc): Add GLIBC_2.19.
6593 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6595         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6596         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6598 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6600         [BZ #14155]
6601         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6602         intermediate calculations in recurrence.
6603         (__ieee754_ynf): Likewise.
6604         * math/libm-test.inc (jn_test_data): Do not allow spurious
6605         underflow exception.  Add more tests.
6606         (yn_test_data): Add more tests.
6607         * sysdeps/i386/fpu/libm-test-ulps: Update.
6608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6610 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6612         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6614 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6616         * csu/init-first.c: Fix then/than typos.
6617         * locale/programs/ld-collate.c: Likewise.
6618         * locale/programs/linereader.h: Likewise.
6619         * manual/charset.texi: Likewise.
6620         * manual/filesys.texi: Likewise.
6621         * manual/stdio.texi: Likewise.
6622         * manual/string.texi: Likewise.
6623         * stdlib/fmtmsg.c: Likewise.
6624         * sysdeps/i386/stpncpy.S: Likewise.
6625         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6626         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6627         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6628         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6630 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6632         * elf/dl-open.c: Fix typos.
6633         * iconvdata/gbbig5.c: Likewise.
6634         * iconvdata/iso-2022-jp.c: Likewise.
6635         * iconv/gconv_int.h: Likewise.
6636         * iconv/loop.c: Likewise.
6637         * nis/rpcsvc/nis.h: Likewise.
6638         * resolv/ns_name.c: Likewise.
6639         * stdio-common/vfscanf.c: Likewise.
6640         * streams/stropts.h: Likewise.
6641         * sunrpc/rpc_thread.c: Likewise.
6642         * sysdeps/i386/strpbrk.S: Likewise.
6643         * sysdeps/ieee754/k_standard.c: Likewise.
6644         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6645         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6646         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6647         * sysdeps/mach/hurd/profil.c: Likewise.
6648         * sysdeps/s390/dl-procinfo.h: Likewise.
6649         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6650         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6651         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6652         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6653         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6655 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6657         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6658         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6660 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6662         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6663         aix specific files.
6664         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6665         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6666         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6667         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6668         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6669         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6670         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6671         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6673 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6674             Roland McGrath  <roland@hack.frob.com>
6676         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6677         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6679 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6681         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6682         __executable_start symbol instead of _start.
6684 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6686         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6687         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6688         Move macros to...
6689         * sysdeps/gnu/ldsodefs.h: ... this new file.
6691         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6692         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6693         instead of ELFOSABI_LINUX.
6695         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6696         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6697         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6698         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6699         Likewise.
6700         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6701         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6702         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6703         Likewise.
6704         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6705         (ibm_extended_long_double): Add ieee_nan member.
6706         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6707         (do_test): New function.
6709         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6710         TEST_TRUNC.
6711         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6712         functions, renamed from truncdfsf_test, trunctfsf_test,
6713         trunctfdf_test.
6714         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6715         functions.
6716         (do_test): Run all these.
6718 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6720         * argp/argp-help.c: Fix typos.
6721         * argp/argp-parse.c: Likewise.
6722         * debug/backtracesyms.c: Likewise.
6723         * elf/elf.h: Likewise.
6724         * malloc/malloc.c: Likewise.
6725         * nis/nis_print.c: Likewise.
6726         * resolv/res_comp.c: Likewise.
6727         * stdlib/stdlib.h: Likewise.
6728         * sunrpc/clnt_tcp.c: Likewise.
6729         * sunrpc/clnt_udp.c: Likewise.
6730         * sunrpc/clnt_unix.c: Likewise.
6731         * sysdeps/unix/bsd/ptsname.c: Likewise.
6732         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6733         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6735         Likewise.
6736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6737         Likewise.
6738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6739         Likewise.
6740         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6742 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6744         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6747 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6749         [BZ #15897]
6750         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6751         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6752         ($(objpfx)bug-dl-leaf): New rule.
6753         ($(objpfx)bug-dl-leaf.so): Likewise.
6754         ($(objpfx)bug-dl-leaf.out): Likewise.
6755         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6756         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6757         * dlfcn/bug-dl-leaf.c: New test.
6758         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6759         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6760         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6761         (dlclose): Likewise.
6762         (dlmopen): Likewise.
6764 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6766         * include/netdb.h [!_ISOMAC]:
6767         Don't include <tls.h>.
6768         (h_errno, __libc_h_errno): Move declaration and macros out of
6769         [_LIBC_REENTRANT].
6771         * include/resolv.h [_RESOLV_H_]:
6772         Don't include <tls.h>.
6773         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6774         * resolv/res_libc.c: Don't include <tls.h>.
6775         (_res): Use __attribute__ ((nocommon)) in place of
6776         __attribute__ ((section (".bss"))).
6778         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6779         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6781         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6783         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6784         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6786         * resolv/res_mkquery.c: Include <sys/time.h>.
6788         * inet/ifreq.c: Moved to ...
6789         * sysdeps/unix/ifreq.c: ... here.
6790         * inet/ifreq.c: New file, true stub version.
6792         * socket/sa_len.c: New file.
6793         * socket/Makefile (aux): Add it.
6794         * sysdeps/unix/sysv/linux/Makefile
6795         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6796         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6797         and #include <socket/sa_len.c>.
6798         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6799         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6801         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6802         * bits/socket.h: ... here.
6804         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6805         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6806         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6808 2013-08-27  Andreas Schwab  <schwab@suse.de>
6810         [BZ #15736]
6811         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6812         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6813         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6814         * string/test-strcasecmp.c (test_main): Run tests in several
6815         locales.
6816         * string/test-strncasecmp.c (test_main): Likewise.
6818         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6819         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6820         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6821         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6822         (__strncasecmp_ssse3) [PIC]: Likewise.
6824 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6826         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6828         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6829         instead of explicitly declaring xdecrypt.
6830         * nis/nss_nis/nis-publickey.c: Likewise.
6832 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6834         [BZ #15890]
6835         * nscd/aicache.c: Include res_hconf.h.
6836         (addhstaiX): Initialize res_hconf.
6838 2013-08-26  Andreas Schwab  <schwab@suse.de>
6840         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6841         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6843 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6845         * nscd/aicache.c (addhstaiX): Fix indentation.
6847 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6849         * configure.ac: Quote $build_pt_chown test.
6850         * configure: Regenerated.
6852 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6854         [BZ #15532]
6855         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6856         * math/s_cexpf.c (__cexpf): Likewise.
6857         * math/s_cexpl.c (__cexpl): Likewise.
6858         * math/libm-test.inc (cexp_test_data): Correct expected return
6859         value for NaN + i0.  Add another test.
6861 2013-08-22  David S. Miller  <davem@davemloft.net>
6863         * po/ca.po: Update Catalan translation from translation project.
6864         * po/uk.po: Add Ukrainian translations from translation project.
6866 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6868         [BZ #15797]
6869         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6870         is infinite, not alongside NaN test.
6871         * math/s_fdimf.c (__fdimf): Likewise.
6872         * math/s_fdiml.c (__fdiml): Likewise.
6873         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6874         errno is unchanged.
6876 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6878         * argp/argp-help.c: Fix typos.
6879         * crypt/speeds.c: Likewise.
6880         * csu/check_fds.c: Likewise.
6881         * elf/dl-load.c: Likewise.
6882         * elf/dl-open.c: Likewise.
6883         * elf/reldep3.c: Likewise.
6884         * elf/reldep.c: Likewise.
6885         * elf/sprof.c: Likewise.
6886         * iconv/iconv_charmap.c: Likewise.
6887         * iconv/skeleton.c: Likewise.
6888         * iconv/strtab.c: Likewise.
6889         * io/lockf64.c: Likewise.
6890         * libio/libioP.h: Likewise.
6891         * resolv/gai_notify.c: Likewise.
6892         * resolv/ns_name.c: Likewise.
6893         * resolv/ns_samedomain.c: Likewise.
6894         * resolv/res_send.c: Likewise.
6895         * stdlib/random.c: Likewise.
6896         * sunrpc/rpc/xdr.h: Likewise.
6897         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6898         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6899         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6900         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6901         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6902         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6903         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6904         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6905         * sysdeps/mach/hurd/check_fds.c: Likewise.
6906         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6907         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6908         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6909         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6910         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6911         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6912         * sysdeps/pthread/aio_notify.c: Likewise.
6913         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6914         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6915         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6916         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6917         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6919 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6921         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6922         version if bit_Slow_SSE4_2 is set.
6923         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6924         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6926 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6928         [BZ #15867]
6929         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6930         trampoline stack frame information.
6931         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6932         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6933         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6934         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6935         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6936         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6937         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6938         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6939         sa_flags value.
6940         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6941         interrupting a syscall and set with option SA_SIGINFO.
6943 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6945         [BZ #15531]
6946         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6947         argument is infinite.
6948         * math/s_cprojf.c (__cprojf): Likewise.
6949         * math/s_cprojl.c (__cprojl): Likewise.
6950         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6951         * math/libm-test.inc (cproj_test_data): Add more tests.
6953         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6955         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6956         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6957         size.  Use __ffs to determine corresponding shift.
6959 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6960             Roland McGrath  <roland@hack.frob.com>
6962         * Makefile (INSTALL): Remove trailing blank lines from output of
6963         makeinfo.
6965 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6967         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6968         Align 32 bit compat elf_greg to 8 bytes.
6970 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6972         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6974 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6976         * string/strcoll_l.c (coll_seq): New structure.
6977         (get_next_seq_cached): New function.
6978         (get_next_seq): New function.
6979         (do_compare): New function.
6980         (STRCOLL): Use GNU style definition.  Simplify implementation
6981         by using get_next_seq, get_next_seq_cached and do_compare.
6983 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6985         [BZ #14699]
6986         CVE-2013-4237
6987         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6988         member.
6989         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6990         member.
6991         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6992         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6993         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6994         conditional.
6995         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6996         GETDENTS_64BIT_ALIGNED.
6997         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6998         * manual/filesys.texi (Reading/Closing Directory): Document
6999         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
7000         strongly.
7001         * manual/conf.texi (Limits for Files): Add portability note to
7002         NAME_MAX, PATH_MAX.
7003         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7005 2013-08-13  Andreas Schwab  <schwab@suse.de>
7007         [BZ #15749]
7008         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7009         of fabs.
7010         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7011         LDBL_MAX_EXP >= 16384]: Add tests for it.
7013 2013-08-12  David S. Miller  <davem@davemloft.net>
7015         * version.h (RELEASE): Set to "development".
7016         (VERSION): Set to "2.18.90".
7017         * NEWS: Add 2.19 section.
7019 2013-08-03  David S. Miller  <davem@davemloft.net>
7021         * po/ko.po: Update Korean translation from translation project.
7023 2013-08-01  David S. Miller  <davem@davemloft.net>
7025         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
7026         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7027         Bilka.
7029 2013-07-30  David S. Miller  <davem@davemloft.net>
7031         * po/fr.po: Update French translation from translation project.
7033 2013-07-28  David S. Miller  <davem@davemloft.net>
7035         * po/cs.po: Update Czech translation from translation project.
7037         * po/sv.po: Update Swedish translation from translation project.
7039 2013-07-27  David S. Miller  <davem@davemloft.net>
7041         * po/eo.po: Update Esperanto translation from translation project.
7043         * po/vi.po: Update Vietnamese translation from translation project.
7045         * po/de.po: Update German translation from translation project.
7047 2013-07-26  David S. Miller  <davem@davemloft.net>
7049         * po/bg.po: Update Bulgarian translation from translation project.
7051         * po/nl.po: Update Dutch translation from translation project.
7052         * po/pl.po: Update Polish translation from translation project.
7053         * po/ru.po: Update Russian translation from translation project.
7055 2013-07-24  David S. Miller  <davem@davemloft.net>
7057         * po/libc.pot: Update.
7059 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7061         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7062         variable page size.
7063         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7064         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7065         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7067 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7069         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7071 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7072             Andreas Schwab  <schwab@suse.de>
7073             Roland McGrath  <roland@hack.frob.com>
7074             Joseph Myers  <joseph@codesourcery.com>
7075             Carlos O'Donell  <carlos@redhat.com>
7077         [BZ #15755]
7078         * config.h.in: Define HAVE_PT_CHOWN.
7079         * config.make.in (build-pt-chown): New variable.
7080         * configure.in (--enable-pt_chown): New configure option.
7081         * configure: Regenerate.
7082         * login/Makefile: Include Makeconfig.  Build pt_chown only if
7083         build-pt-chown is enabled.
7084         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7085         pt_chown to fix pty ownership.
7086         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7087         CLOSE_ALL_FDS.
7088         * manual/install.texi (Configuring and compiling): Mention
7089         --enable-pt_chown. Add @findex for grantpt.
7090         * INSTALL: Regenerate.
7092 2013-07-20  David S. Miller  <davem@davemloft.net>
7094         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7095         difference between 32-bit and 64-bit.
7097 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
7099         [BZ #15711]
7100         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7101         Avoid system header dependency with -ffreestanding.
7102         ($(objpfx)bits/syscall%d): Likewise.
7104 2013-07-13  David S. Miller  <davem@davemloft.net>
7106         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7107         underflows from atanl/atan2l due to bug 15319.
7108         (casinh_test_data): Likewise.
7110 2013-07-07  David S. Miller  <davem@davemloft.net>
7112         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7114 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
7116         * sysdeps/i386/fpu/libm-test-ulps: Update.
7117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7119 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7121         * configure.in (--enable-lock-elision): Fix message text.
7122         * INSTALL: Regenerate.
7123         * configure: Regenerate.
7125 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7129 2013-07-03  Andreas Jaeger  <aj@suse.de>
7131         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7132         define.
7133         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7134         (ptrace_peeksiginfo_args): Add.
7135         (__ptrace_peeksiginfo_flags): Add.
7136         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7137         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7138         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7140 2013-07-03  Allan McRae  <allan@archlinux.org>
7142         * sysdeps/i386/fpu/libm-test-ulps: Update.
7144 2013-07-02  David S. Miller  <davem@davemloft.net>
7146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7148 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
7150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7152 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7154         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7157 2013-07-02  Andi Kleen <ak@linux.intel.com>
7159         * config.h.in (ENABLE_LOCK_ELISION): Add.
7160         * configure.in (--enable-lock-elision): Add option.
7161         * manual/install.texi: Document --enable lock elision.
7162         * configure: Regenerate
7163         * INSTALL: Regenerate.
7165 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7167         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7168         SSE4.2 strcasecmp for libc.a.
7169         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7171 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7173         [BZ #13304]
7174         * soft-fp/op-common.h (_FP_FMA): New macro.
7175         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7176         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
7177         (_FP_MUL_MEAT_1_imm): ... here.
7178         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
7179         (_FP_MUL_MEAT_1_wide): ... here.
7180         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
7181         (_FP_MUL_MEAT_1_hard): ... here.
7182         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7183         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
7184         (_FP_MUL_MEAT_2_wide): ... here.
7185         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
7186         (_FP_MUL_MEAT_2_wide_3mul): ... here.
7187         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
7188         (_FP_MUL_MEAT_2_gmp): ... here.
7189         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7190         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
7191         (_FP_MUL_MEAT_4_wide): ... here.
7192         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
7193         (_FP_MUL_MEAT_4_gmp): ... here.
7194         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7195         (_FP_WFRACBITS_DW_S): Likewise.
7196         (_FP_WFRACXBITS_DW_S): Likewise.
7197         (_FP_HIGHBIT_DW_S): Likewise.
7198         (FP_FMA_S): Likewise.
7199         (_FP_FRAC_HIGH_DW_S): Likewise.
7200         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7201         (_FP_WFRACBITS_DW_D): Likewise.
7202         (_FP_WFRACXBITS_DW_D): Likewise.
7203         (_FP_HIGHBIT_DW_D): Likewise.
7204         (FP_FMA_D): Likewise.
7205         (_FP_FRAC_HIGH_DW_D): Likewise.
7206         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7207         (_FP_WFRACBITS_DW_E): Likewise.
7208         (_FP_WFRACXBITS_DW_E): Likewise.
7209         (_FP_HIGHBIT_DW_E): Likewise.
7210         (FP_FMA_E): Likewise.
7211         (_FP_FRAC_HIGH_DW_E): Likewise.
7212         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7213         (_FP_WFRACBITS_DW_Q): Likewise.
7214         (_FP_WFRACXBITS_DW_Q): Likewise.
7215         (_FP_HIGHBIT_DW_Q): Likewise.
7216         (FP_FMA_Q): Likewise.
7217         (_FP_FRAC_HIGH_DW_Q): Likewise.
7218         * soft-fp/fmasf4.c: New file.
7219         * soft-fp/fmadf4.c: Likewise.
7220         * soft-fp/fmatf4.c: Likewise.
7222 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7224         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7225         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7226         Silvermont.
7227         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7228         macro.
7229         (index_Slow_SSE4_2): Likewise.
7230         (index_Prefer_PMINUB_for_stringop): Likewise.
7231         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7232         bit_Slow_SSE4_2 is set.
7233         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7234         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7236 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7238         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7239         rtld_global._dl_hwcap2.
7240         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7241         POWER8.
7242         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7243         POWER8 feature descriptions defined in _dl_hwcap2.
7244         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7245         string handling for POWER8 feature bits.
7246         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7247         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7248         _dl_powerpc_cap_flags.
7249         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7250         * sysdeps/powerpc/rtld-global-offsets.sym
7251         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7252         _dl_hwcap2 in the rtld_global_ro structure.
7254 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7256         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7257         hardware capabilities in support of AT_HWCAP2.
7258         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7259         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7260         GLRO(dl_hwcap2).
7261         (_dl_show_auxv): Add support for calling _dl_procinfo to display
7262         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
7263         explicitly the unknown a_type display mechanism is used.
7264         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7265         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7266         struct member.
7267         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7268         to macro prototype for AT_HWCAP2 support.
7269         * sysdeps/i386/dl-procinfo.h: Likewise.
7270         * sysdeps/s390/dl-procinfo.h: Likewise.
7271         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7272         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
7273         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
7274         return -1 for unknown a_type display fallback.
7275         * sysdeps/sparc/dl-procinfo.h: Likewise.
7276         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7277         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7279 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
7281         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7282         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7284 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
7286         [BZ #12492]
7287         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7288         mprotect making __stack_prot writable.
7290 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
7291             Joseph Myers  <joseph@codesourcery.com>
7293         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7294         as being properly aligned.
7296 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
7298         * dlfcn/modstatic5.c: New file.
7299         * dlfcn/tststatic5.c: New file.
7300         * dlfcn/Makefile (tests): Add tststatic5.
7301         (tests-static): Likewise.
7302         (modules-names): Add modstatic5.
7303         (tststatic5-ENV): New variable.
7304         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7306         [BZ #15022]
7307         * elf/dl-support.c (_dl_main_map): New variable.
7308         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7309         (_dl_nns, _dl_load_adds): Set to 1.
7310         (_dl_initial_searchlist): Refer to _dl_main_map.
7311         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7312         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7313         call to _dl_get_origin.
7314         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7315         around call_map.
7316         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7317         * dlfcn/modstatic3.c: New file.
7318         * dlfcn/tststatic3.c: New file.
7319         * dlfcn/tststatic4.c: New file.
7320         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7321         (tests-static): Likewise.
7322         (modules-names): Add modstatic3.
7323         (tststatic3-ENV, tststatic4-ENV): New variables.
7324         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7325         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7327 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
7329         * configure.in (CC): Require GCC version 4.4 or later.
7330         * configure: Regenerated.
7331         * manual/install.texi (Tools for Compilation): Update GCC version
7332         requirement.
7333         * INSTALL: Regenerated.
7335 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7337         [BZ #15674]
7338         * string/test-memcmp.c (check2): New.
7339         (main): Call check2.
7341         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7343 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7345         [BZ #15022]
7346         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7347         over to...
7348         (dl_open_worker) [!SHARED]: ... here.
7350 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7352         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7354 2013-06-25  Richard Henderson  <rth@redhat.com>
7356         * locale/programs/locarchive.c: Include <libc-internal.h>
7358 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7360         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7361         trailing whitespace removed.
7363 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7365         [BZ #10283]
7366         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7367         * locale/programs/locarchive.c: Include libc-mmap.h.
7368         (prepare_address_space): Take two new outputs (the mmap base and len).
7369         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7370         values.
7371         (create_archive): Declare new mmap base and len values for
7372         prepare_address_space, and store the result in ah.
7373         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7374         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7375         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7376         Declare new mmap base and len values for
7377         prepare_address_space, and store the result in new_ah.
7378         (open_archive): Declare new mmap base and len values for
7379         prepare_address_space, and store the result in ah.
7380         (close_archive): If ah->mmap_base is not NULL, use that and
7381         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7382         * sysdeps/generic/libc-mmap.h: New file.
7384 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7386         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7387         (ALIGN_UP): Likewise.
7388         (PTR_ALIGN_DOWN): Likewise.
7389         (PTR_ALIGN_UP): Likewise.
7391 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7393         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7394         entry mapped to PPC_PLATFORM_POWER8.
7395         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7396         POWER8.
7397         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7398         (_dl_string_platform): Add case for exporting platform position for
7399         POWER8.
7400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7401         search path to sysdeps/powerpc/powerpc32/power8 directory.
7402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7403         search path to sysdeps/powerpc/powerpc64/power8 directory.
7404         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7405         power7 directories.
7406         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7407         power7 directories.
7409 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7411         * INSTALL: Regenerate.
7413         * nscd/connections.c (nscd_init): Fix comment.
7415 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7417         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7419         [BZ #15667]
7420         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7421         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7423 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7425         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7426         DL_DST_REQ_STATIC.
7427         (DL_DST_REQ_STATIC): Remove macro.
7429 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7431         [BZ #7006]
7432         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7433         with a shift of 0 bits.
7435 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7437         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7438         $(tststatic-ENV).
7440 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7442         [BZ #15655]
7443         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7445 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7447         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7448         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7449         accepts -fno-tree-loop-distribute-patterns.
7450         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7451         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7452         recursive call.
7453         * string/memset.c (memset): Likewise.
7454         * string/test-memmove.c (simple_memmove): Disable loop transformation
7455         to library calls.
7456         * string/test-memset.c (simple_memset): Likewise.
7457         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7458         * benchtests/bench-memset.c (simple_memset): Likewise.
7459         * configure: Regenerated.
7461 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7463         * math/test-misc.c (main): Ignore fesetround failure when failures
7464         of subsequent rounding tests would be ignored.
7466         [BZ #15654]
7467         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7468         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7469         * math/fegetenv.c (__fegetenv): Return 0.
7470         * math/fegetexcept.c (fegetexcept): Return 0.
7471         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7472         FE_TONEAREST.
7473         * math/feholdexcpt.c (feholdexcept): Return 0.
7474         * math/fesetenv.c (__fesetenv): Return 0.
7475         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7476         argument FE_TONEAREST.
7477         * math/feupdateenv.c (__feupdateenv): Return 0.
7478         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7480 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7482         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7483         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7484         ($(objpfx)rtld-%.os rules): Use them.
7486 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7488         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7489         fields.
7491 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7493         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7494         length of target pattern, then descending length of dependency pattern.
7495         * configure.in (AWK): Require gawk 3.1.2 or newer.
7496         * manual/install.texi (Tools for Compilation): Say that we do.
7497         * configure: Regenerated.
7499         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7500         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7501         * scripts/sysd-rules.awk: ... this new script.
7502         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7503         than a glob-style pattern.
7505 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7507         * math/test-misc.c (main): Do not treat incorrectly rounded
7508         conversions as failure unless ROUNDING_TESTS passes.
7510 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7512         [BZ #15631]
7513         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7514         restore exception state around main square root computation, then
7515         check for inexactness explicitly.
7517         * math/libm-test.inc (fma_test_data): Add another test.
7519 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7521         * manual/threads.texi (Non-POSIX Extensions): New document
7522         node.  Document pthread_getattr_default_np and
7523         pthread_setattr_default_np.
7525         * Versions.def (libpthread): Add GLIBC_2.18.
7526         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7528         Likewise.
7529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7530         Likewise.
7531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7532         Likewise.
7533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7534         Likewise.
7535         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7536         Likewise.
7537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7538         Likewise.
7539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7540         Likewise.
7541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7542         Likewise.
7543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7544         Likewise.
7546 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7549         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7551 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7552             H.J. Lu  <hjl.tools@gmail.com>
7554         [BZ #15627]
7555         * sysdeps/x86_64/rtld-memset.c: Remove file.
7556         * sysdeps/x86_64/rtld-memset.S: New file.
7558 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7560         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7561         (test_in_one_mode): Take arguments for whether the rounding mode
7562         is supported for each floating-point type.
7563         (do_test): Pass new arguments to test_in_one_mode using
7564         ROUNDING_TESTS.
7566 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7568         * posix/tst-waitid.c (do_test): Distinguish different instances of
7569         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7570         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7571         before entering the kernel for waitpid.
7573 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7575         * NEWS: Fix note on clock function precision.  Text by Roland
7576         McGrath.
7578 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7580         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7581         it into place only when and if the sanity check passes.
7583 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7585         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7586         output for whether conversion result is exact.  Take argument
7587         indicating whether type is IBM long double.
7588         (round_for_all): Change need_exact field to ibm_ld.
7589         * stdlib/tst-strtod-round.c (struct exactness): New type.
7590         (struct test): Change bool ld_ok field to struct exactness exact.
7591         (TEST): Update all definitions for change to field.
7592         (tests): Regenerate array contents.
7593         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7594         field value.  Check for IBM long double here.
7595         (do_test): Update calls to test_in_one_mode.
7597 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7599         [BZ #12515]
7600         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7601         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7603 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7605         [BZ #15605]
7606         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7607         generated by the compiler on loop optimizations.
7608         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7609         general definitions.
7611 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7613         * math/bug-nextafter.c: Include <math-tests.h>.
7614         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7615         the relevant type.
7616         * math/bug-nexttoward.c: Include <math-tests.h>.
7617         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7618         the relevant type.
7619         * math/test-misc.c: Include <math-tests.h>.
7620         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7621         the relevant type.
7623 2013-06-12  Andreas Jaeger  <aj@suse.de>
7625         * po/ia.po: Update Interlingua translation from translation
7626         project.
7628 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7630         * include/fenv.h: Include stdbool.h.
7631         (struct rm_ctx): New structure.
7632         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7633         Define macro.
7634         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7635         (SET_RESTORE_ROUNDF): Likewise.
7636         (SET_RESTORE_ROUNDL): Likewise.
7637         (SET_RESTORE_ROUND_NOEX): Likewise.
7638         (SET_RESTORE_ROUND_NOEXF): Likewise.
7639         (SET_RESTORE_ROUND_NOEXL): Likewise.
7640         (SET_RESTORE_ROUND_53BIT): Likewise.
7641         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7642         (libc_feresetround_noexf_ctx): Likewise.
7643         (libc_feresetround_noexl_ctx): Likewise.
7644         (libc_feholdsetround_53bit_ctx): Likewise.
7645         (libc_feresetround_53bit_ctx): Likewise.
7646         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7647         (libc_feholdexcept_setround_sse_ctx): New function.
7648         (libc_fesetenv_sse_ctx): Likewise.
7649         (libc_feupdateenv_sse_ctx): Likewise.
7650         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7651         (libc_feholdexcept_setround_387_ctx): Likewise.
7652         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7653         (libc_feholdsetround_387_prec_ctx): Likewise.
7654         (libc_feholdsetround_387_ctx): Likewise.
7655         (libc_feholdsetround_387_53bit_ctx): Likewise.
7656         (libc_feholdsetround_sse_ctx): Likewise.
7657         (libc_feresetround_sse_ctx): Likewise.
7658         (libc_feresetround_387_ctx): Likewise.
7659         (libc_feupdateenv_387_ctx): Likewise.
7660         (libc_feholdexcept_setroundf_ctx): Define macro.
7661         (libc_fesetenvf_ctx): Likewise.
7662         (libc_feupdateenvf_ctx): Likewise.
7663         (libc_feholdsetroundf_ctx): Likewise.
7664         (libc_feresetroundf_ctx): Likewise.
7665         (libc_feholdexcept_setround_ctx): Likewise.
7666         (libc_fesetenv_ctx): Likewise.
7667         (libc_feupdateenv_ctx): Likewise.
7668         (libc_feholdsetround_ctx): Likewise.
7669         (libc_feresetround_ctx): Likewise.
7670         (libc_feholdexcept_setroundl_ctx): Likewise.
7671         (libc_feupdateenvl_ctx): Likewise.
7672         (libc_feholdsetroundl_ctx): Likewise.
7673         (libc_feresetroundl_ctx): Likewise.
7674         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7675         (libc_feresetround_53bit_ctx): Likewise.
7677 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7679         * locale/iso-639.def: Convert to UTF-8.
7681 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7683         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7684         (EXCEPTION_TESTS_double): Likewise.
7685         (EXCEPTION_TESTS_long_double): Likewise.
7686         (EXCEPTION_TESTS): Likewise.
7687         * math/libm-test.inc (test_exceptions): Only test exceptions if
7688         EXCEPTION_TESTS (FLOAT).
7690 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7692         * benchtests/Makefile (string-bench): Add strcpy_chk and
7693         stpcpy_chk.
7694         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7695         * benchtests/bench-stpcpy_chk.c: New file.
7696         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7697         * benchtests/bench-strcpy_chk.c: New file.
7698         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7699         code.
7700         (do_test): Likewise.
7702 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7704         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7705         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7706         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7707         with tabs where appropriate.
7708         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7709         dl-procinfo.h.
7710         [PPC_PLATFORM_PPC440]: Likewise.
7711         [PPC_PLATFORM_PPC464]: Likewise.
7712         [PPC_PLATFORM_PPC476]: Likewise.
7713         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7714         ppc464, and ppc476 platform strings merging from ports/
7715         dl-procinfo.h.
7717 2013-06-11  Andreas Schwab  <schwab@suse.de>
7719         [BZ #14991]
7720         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7721         (from_ucs4_idx): Regenerate.
7722         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7723         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7724         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7725         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7726         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7727         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7728         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7729         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7730         from FROM_LOOP and TO_LOOP specific macros.
7731         (BODY): Handle combining characters.
7732         * iconvdata/BIG5HKSCS.irreversible: Update.
7733         * iconvdata/BIG5HKSCS.precomposed: New file.
7734         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7735         characters.
7736         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7738 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7740         * include/sys/time.h: Fix indentation and add copyright header.
7742         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7743         (do_test): Likewise.
7744         * string/test-memchr.c (do_one_test): Likewise.
7745         (do_test): Likewise.
7746         * string/test-memcmp.c (do_one_test): Likewise.
7747         (do_test): Likewise.
7748         * string/test-memcpy.c (do_one_test): Likewise.
7749         (do_test): Likewise.
7750         * string/test-memmem.c (do_one_test): Likewise.
7751         (do_test): Likewise.
7752         (do_random_tests): Likewise.
7753         * string/test-memmove.c (do_one_test): Likewise.
7754         (do_test): Likewise.
7755         * string/test-memset.c (do_one_test): Likewise.
7756         (do_test): Likewise.
7757         * string/test-rawmemchr.c (do_one_test): Likewise.
7758         (do_test): Likewise.
7759         * string/test-strcasecmp.c (do_one_test): Likewise.
7760         (do_test): Likewise.
7761         * string/test-strcasestr.c (do_one_test): Likewise.
7762         (do_test): Likewise.
7763         * string/test-strcat.c (do_one_test): Likewise.
7764         (do_test): Likewise.
7765         * string/test-strchr.c (do_one_test): Likewise.
7766         (do_test): Likewise.
7767         * string/test-strcmp.c (do_one_test): Likewise.
7768         (do_test): Likewise.
7769         * string/test-strcpy.c (do_one_test): Likewise.
7770         (do_test): Likewise.
7771         * string/test-string.h: Likewise.
7772         (test_init): Likewise.
7773         * string/test-strlen.c (do_one_test): Likewise.
7774         (do_test): Likewise.
7775         * string/test-strncasecmp.c (do_one_test): Likewise.
7776         (do_test): Likewise.
7777         * string/test-strncat.c (do_one_test): Likewise.
7778         (do_test): Likewise.
7779         * string/test-strncmp.c (do_one_test): Likewise.
7780         (do_test_limit): Likewise.
7781         (do_test): Likewise.
7782         * string/test-strncpy.c (do_one_test): Likewise.
7783         (do_test): Likewise.
7784         * string/test-strnlen.c (do_one_test): Likewise.
7785         (do_test): Likewise.
7786         * string/test-strpbrk.c (do_one_test): Likewise.
7787         (do_test): Likewise.
7788         * string/test-strrchr.c (do_one_test): Likewise.
7789         (do_test): Likewise.
7790         * string/test-strspn.c (do_one_test): Likewise.
7791         (do_test): Likewise.
7792         * string/test-strstr.c (do_one_test): Likewise.
7793         (do_test): Likewise.
7795         * benchtests/Makefile (string-bench): Add string benchmarks.
7796         * benchtests/bench-bcopy-ifunc.c: New file.
7797         * benchtests/bench-bcopy.c: New file.
7798         * benchtests/bench-bzero-ifunc.c: New file.
7799         * benchtests/bench-bzero.c: New file.
7800         * benchtests/bench-memccpy-ifunc.c: New file.
7801         * benchtests/bench-memccpy.c: New file.
7802         * benchtests/bench-memchr-ifunc.c: New file.
7803         * benchtests/bench-memchr.c: New file.
7804         * benchtests/bench-memcmp-ifunc.c: New file.
7805         * benchtests/bench-memcmp.c: New file.
7806         * benchtests/bench-memmem-ifunc.c: New file.
7807         * benchtests/bench-memmem.c: New file.
7808         * benchtests/bench-memmove-ifunc.c: New file.
7809         * benchtests/bench-memmove.c: New file.
7810         * benchtests/bench-mempcpy-ifunc.c: New file.
7811         * benchtests/bench-mempcpy.c: New file.
7812         * benchtests/bench-memset-ifunc.c: New file.
7813         * benchtests/bench-memset.c: New file.
7814         * benchtests/bench-rawmemchr-ifunc.c: New file.
7815         * benchtests/bench-rawmemchr.c: New file.
7816         * benchtests/bench-stpcpy-ifunc.c: New file.
7817         * benchtests/bench-stpcpy.c: New file.
7818         * benchtests/bench-stpncpy-ifunc.c: New file.
7819         * benchtests/bench-stpncpy.c: New file.
7820         * benchtests/bench-strcasecmp-ifunc.c: New file.
7821         * benchtests/bench-strcasecmp.c: New file.
7822         * benchtests/bench-strcasestr-ifunc.c: New file.
7823         * benchtests/bench-strcasestr.c: New file.
7824         * benchtests/bench-strcat-ifunc.c: New file.
7825         * benchtests/bench-strcat.c: New file.
7826         * benchtests/bench-strchr-ifunc.c: New file.
7827         * benchtests/bench-strchr.c: New file.
7828         * benchtests/bench-strchrnul-ifunc.c: New file.
7829         * benchtests/bench-strchrnul.c: New file.
7830         * benchtests/bench-strcmp-ifunc.c: New file.
7831         * benchtests/bench-strcmp.c: New file.
7832         * benchtests/bench-strcpy-ifunc.c: New file.
7833         * benchtests/bench-strcpy.c: New file.
7834         * benchtests/bench-strcspn-ifunc.c: New file.
7835         * benchtests/bench-strcspn.c: New file.
7836         * benchtests/bench-strlen-ifunc.c: New file.
7837         * benchtests/bench-strlen.c: New file.
7838         * benchtests/bench-strncasecmp-ifunc.c: New file.
7839         * benchtests/bench-strncasecmp.c: New file.
7840         * benchtests/bench-strncat-ifunc.c: New file.
7841         * benchtests/bench-strncat.c: New file.
7842         * benchtests/bench-strncmp-ifunc.c: New file.
7843         * benchtests/bench-strncmp.c: New file.
7844         * benchtests/bench-strncpy-ifunc.c: New file.
7845         * benchtests/bench-strncpy.c: New file.
7846         * benchtests/bench-strnlen-ifunc.c: New file.
7847         * benchtests/bench-strnlen.c: New file.
7848         * benchtests/bench-strpbrk-ifunc.c: New file.
7849         * benchtests/bench-strpbrk.c: New file.
7850         * benchtests/bench-strrchr-ifunc.c: New file.
7851         * benchtests/bench-strrchr.c: New file.
7852         * benchtests/bench-strspn-ifunc.c: New file.
7853         * benchtests/bench-strspn.c: New file.
7854         * benchtests/bench-strstr-ifunc.c: New file.
7855         * benchtests/bench-strstr.c: New file.
7857         * benchtests/Makefile: Disable parallel execution of targets.
7858         (string-bench): Add memcpy.
7859         (benchset): New variable to store a list of benchmark sets.
7860         (bench-func): Renamed from bench.
7861         (bench-set): New target.
7862         (bench): Depend on bench-func and bench-set.
7863         * benchtests/README: Add section on benchmark sets.
7864         * benchtests/bench-memcpy-ifunc.c: New file.
7865         * benchtests/bench-memcpy.c: New file.
7866         * benchtests/bench-string.h: New file.
7868 2013-06-11  Andreas Schwab  <schwab@suse.de>
7870         [BZ #15577]
7871         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7872         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7873         values in the triple.
7874         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7875         terminator in the group key.
7877 2013-06-11  Andreas Jaeger  <aj@suse.de>
7879         * po/zh_TW.po: Update Chinese (traditional) translation from
7880         translation project.
7882 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7884         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7885         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7886         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7887         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7888         (clock_getcpuclockid): Likewise.
7889         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7890         Add weak_alias and libc_hidden_def.
7891         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7892         * rt/clock_gettime.c (clock_gettime): Rename to
7893         __clock_gettime.  Add weak_alias and libc_hidden_def.
7894         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7895         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7896         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7897         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7898         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7899         Likewise.
7900         * rt/clock_settime.c (clock_settime): Rename to
7901         __clock_settime.  Add weak_alias and libc_hidden_def.
7902         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7904 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7906         * mach/err_boot.sub: Remove trailing whitespace.
7907         * mach/err_ipc.sub: Likewise.
7908         * mach/err_mach.sub: Likewise.
7910         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7911         (ROUNDING_TESTS_double): Likewise.
7912         (ROUNDING_TESTS_long_double): Likewise.
7913         (ROUNDING_TESTS): Likewise.
7914         * math/libm-test.inc: Include <math-tests.h>.
7915         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7916         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7917         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7918         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7920 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7922         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7923         of assigning.
7925 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7927         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7928         otherwise empty TRANS lines.
7929         * sysdeps/gnu/errlist.c: Regenerated.
7931         * catgets/gencat.c (error_print): Use (void) in function
7932         definition.
7933         * crypt/crypt_util.c (__init_des): Likewise.
7934         * crypt/speeds.c (Stop): Likewise.
7935         (main): Likewise.
7936         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7937         * inet/ruserpass.c (token): Likewise.
7938         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7939         * intl/localealias.c (extend_alias_table): Likewise.
7940         * intl/plural-exp.c (init_germanic_plural): Likewise.
7941         * libio/fcloseall.c (__fcloseall): Likewise.
7942         * libio/genops.c (_IO_flush_all): Likewise.
7943         (_IO_flush_all_linebuffered): Likewise.
7944         (_IO_cleanup): Likewise.
7945         (_IO_iter_begin): Likewise.
7946         (_IO_iter_end): Likewise.
7947         (_IO_list_lock): Likewise.
7948         (_IO_list_unlock): Likewise.
7949         (_IO_list_resetlock): Likewise.
7950         * libio/getchar.c (getchar): Likewise.
7951         * libio/getchar_u.c (getchar_unlocked): Likewise.
7952         * libio/getwchar.c (getwchar): Likewise.
7953         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7954         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7955         * login/getpt.c (__getpt): Likewise.
7956         * login/tst-utmp.c (main): Likewise.
7957         * malloc/hooks.c (__malloc_check_init): Likewise.
7958         * malloc/malloc.c (__malloc_stats): Likewise.
7959         * malloc/mtrace.c (tr_break): Likewise.
7960         (mtrace): Likewise.
7961         (muntrace): Likewise.
7962         * misc/fstab.c (endfsent): Likewise.
7963         * misc/getclktck.c (__getclktck): Likewise.
7964         * misc/getdtsz.c (__getdtablesize): Likewise.
7965         * misc/gethostid.c (gethostid): Likewise.
7966         * misc/getpagesize.c (__getpagesize): Likewise.
7967         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7968         (__get_nprocs): Likewise.
7969         (__get_phys_pages): Likewise.
7970         (__get_avphys_pages): Likewise.
7971         * misc/getttyent.c (getttyent): Likewise.
7972         (setttyent): Likewise.
7973         (endttyent): Likewise.
7974         * misc/getusershell.c (getusershell): Likewise.
7975         (endusershell): Likewise.
7976         (setusershell): Likewise.
7977         (initshells): Likewise.
7978         * misc/hsearch.c (__hdestroy): Likewise.
7979         * misc/sync.c (sync): Likewise.
7980         * misc/syslog.c (closelog_internal): Likewise.
7981         (closelog): Likewise.
7982         * misc/ttyslot.c (ttyslot): Likewise.
7983         * misc/vhangup.c (vhangup): Likewise.
7984         * posix/fork.c (__fork): Likewise.
7985         * posix/getegid.c (__getegid): Likewise.
7986         * posix/geteuid.c (__geteuid): Likewise.
7987         * posix/getgid.c (__getgid): Likewise.
7988         * posix/getpid.c (__getpid): Likewise.
7989         * posix/getppid.c (__getppid): Likewise.
7990         * posix/getuid.c (__getuid): Likewise.
7991         * posix/pause.c (pause): Likewise.
7992         * posix/setpgrp.c (setpgrp): Likewise.
7993         * posix/setsid.c (__setsid): Likewise.
7994         * posix/test-vfork.c (noop): Likewise.
7995         * resolv/gethnamaddr.c (_endhtent): Likewise.
7996         (_gethtent): Likewise.
7997         (ht_endhostent): Likewise.
7998         (gethostent): Likewise.
7999         (dns_service): Likewise.
8000         * stdlib/drand48.c (drand48): Likewise.
8001         * stdlib/lrand48.c (lrand48): Likewise.
8002         * stdlib/mrand48.c (mrand48): Likewise.
8003         * stdlib/rand.c (rand): Likewise.
8004         * stdlib/random.c (__random): Likewise.
8005         * stdlib/setenv.c (clearenv): Likewise.
8006         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8007         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8008         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8009         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8010         (__get_nprocs): Likewise.
8011         (__get_phys_pages): Likewise.
8012         (__get_avphys_pages): Likewise.
8013         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8014         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8015         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8016         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8017         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8018         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8019         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8020         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8021         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8022         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8023         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8024         * sysdeps/mach/hurd/sync.c (sync): Likewise.
8025         * sysdeps/posix/clock.c (clock): Likewise.
8026         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8027         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8028         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8029         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8030         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8031         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8032         (__get_nprocs_conf): Likewise.
8033         (__get_phys_pages): Likewise.
8034         (__get_avphys_pages): Likewise.
8035         * time/clock.c (clock): Likewise.
8036         * time/tzset.c (__tzname_max): Likewise.
8038 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
8040         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8041         (__bswap_32): Do not use "register".
8042         * crypt/crypt.c (_ufc_doit_r): Likewise.
8043         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8044         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8045         * gmon/gmon.c (__monstartup): Likewise.
8046         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8047         * hurd/hurdmalloc.c (more_memory): Likewise.
8048         (malloc): Likewise.
8049         (free): Likewise.
8050         (realloc): Likewise.
8051         (malloc_fork_prepare): Likewise.
8052         (malloc_fork_parent): Likewise.
8053         (malloc_fork_child): Likewise.
8054         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8055         (_svcauth_des): Likewise.
8056         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8057         * inet/inet_net.c (inet_network): Likewise.
8058         * inet/inet_netof.c (inet_netof): Likewise.
8059         * inet/rcmd.c (__validuser2_sa): Likewise.
8060         * io/fts.c (fts_open): Likewise.
8061         (fts_load): Likewise.
8062         (fts_close): Likewise.
8063         (fts_read): Likewise.
8064         (fts_children): Likewise.
8065         (fts_build): Likewise.
8066         (fts_stat): Likewise.
8067         (fts_sort): Likewise.
8068         (fts_alloc): Likewise.
8069         (fts_lfree): Likewise.
8070         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8071         (_IO_file_xsgetn): Likewise.
8072         (_IO_file_xsgetn_mmap): Likewise.
8073         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8074         (_IO_cookie_write): Likewise.
8075         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8076         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8077         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8078         * malloc/obstack.c (_obstack_begin): Likewise.
8079         (_obstack_begin_1): Likewise.
8080         (_obstack_newchunk): Likewise.
8081         (_obstack_allocated_p): Likewise.
8082         (obstack_free): Likewise.
8083         (_obstack_memory_used): Likewise.
8084         * misc/getttyent.c (getttynam): Likewise.
8085         (getttyent): Likewise.
8086         (skip): Likewise.
8087         (value): Likewise.
8088         * misc/getusershell.c (initshells): Likewise.
8089         * misc/syslog.c (__vsyslog_chk): Likewise.
8090         * misc/ttyslot.c (ttyslot): Likewise.
8091         * nis/nis_hash.c (__nis_hash): Likewise.
8092         * posix/fnmatch_loop.c (FCT): Likewise.
8093         * posix/getconf.c (print_all): Likewise.
8094         (main): Likewise.
8095         * posix/getopt.c (exchange): Likewise.
8096         * posix/glob.c (globfree): Likewise.
8097         (prefix_array): Likewise.
8098         (__glob_pattern_type): Likewise.
8099         * resolv/arpa/nameser.h (NS_GET16): Likewise.
8100         (NS_GET32): Likewise.
8101         (NS_PUT16): Likewise.
8102         (NS_PUT32): Likewise.
8103         * resolv/gethnamaddr.c (getanswer): Likewise.
8104         (gethostbyname2): Likewise.
8105         (gethostbyaddr): Likewise.
8106         (_gethtent): Likewise.
8107         (_gethtbyname2): Likewise.
8108         (_gethtbyaddr): Likewise.
8109         * resolv/ns_print.c (dst_s_get_int16): Likewise.
8110         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8111         * resolv/res_init.c (__res_vinit): Likewise.
8112         (net_mask): Likewise.
8113         * resolv/res_mkquery.c (outchar): Likewise.
8114         (PRINT): Likewise.
8115         * stdio-common/printf_fp.c (outchar): Likewise.
8116         (PRINT): Likewise.
8117         * stdio-common/printf_fphex.c (outchar): Likewise.
8118         (PRINT): Likewise.
8119         * stdio-common/printf_size.c (outchar): Likewise.
8120         (PRINT): Likewise.
8121         * stdio-common/test_rdwr.c (main): Likewise.
8122         * stdio-common/tfformat.c (matches): Likewise.
8123         * stdio-common/vfprintf.c (outchar): Likewise.
8124         (printf_unknown): Likewise.
8125         (buffered_vfprintf): Likewise.
8126         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8127         * stdio-common/xbug.c (AppendToBuffer): Likewise.
8128         (ReadFile): Likewise.
8129         * stdlib/qsort.c (SWAP): Likewise.
8130         (_quicksort): Likewise.
8131         * stdlib/setenv.c (__add_to_environ): Likewise.
8132         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8133         * stdlib/strtol_l.c (__strtol_l): Likewise.
8134         * stdlib/tst-strtod.c (main): Likewise.
8135         * stdlib/tst-strtol.c (main): Likewise.
8136         * stdlib/tst-strtoll.c (main): Likewise.
8137         * string/bits/string2.h (__strcmp_cc): Likewise.
8138         (__strcmp_cg): Likewise.
8139         (__strcspn_c1): Likewise.
8140         (__strcspn_c2): Likewise.
8141         (__strcspn_c3): Likewise.
8142         (__strspn_c1): Likewise.
8143         (__strspn_c2): Likewise.
8144         (__strspn_c3): Likewise.
8145         (__strsep_1c): Likewise.
8146         (__strsep_2c): Likewise.
8147         (__strsep_3c): Likewise.
8148         * string/memccpy.c (__memccpy): Likewise.
8149         * string/stpcpy.c (__stpcpy): Likewise.
8150         * string/strcmp.c (strcmp): Likewise.
8151         * string/strrchr.c (strrchr): Likewise.
8152         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8153         Likewise.
8154         * sysdeps/mach/hurd/getcwd.c
8155         (_hurd_canonicalize_directory_name_internal): Likewise.
8156         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8157         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8158         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8159         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8160         Likewise, in both definitions.
8161         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8162         definitions.
8163         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8164         64] (__bswap_64): Likewise.
8165         * time/test_time.c (main): Likewise.
8166         * time/tzfile.c (__tzfile_read): Likewise.
8167         (__tzfile_compute): Likewise.
8168         * time/tzset.c (__tzset_parse_tz): Likewise.
8169         (tzset_internal): Likewise.
8170         (compute_change): Likewise.
8171         * wcsmbs/wcscat.c (__wcscat): Likewise.
8172         * wcsmbs/wcschr.c (wcschr): Likewise.
8173         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8174         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8175         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8176         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8177         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8178         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8179         * wcsmbs/wmemchr.c (wmemchr): Likewise.
8180         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8181         * wcsmbs/wmemset.c (wmemset): Likewise.
8183 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
8185         * scripts/config.guess: Update to version 2013-05-16.
8186         * scripts/config.sub: Update to version 2013-04-24.
8187         * scripts/install-sh: Update to version 2011-11-20.07.
8188         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8189         * scripts/move-if-change: Update to version 2012-01-06 07:23.
8191 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
8193         * debug/fgetws_u_chk.c: Fix leading whitespaces.
8194         * elf/sln.c: Likewise.
8195         * hurd/hurd/ioctl.h: Likewise.
8196         * hurd/hurdmalloc.c: Likewise.
8197         * hurd/xattr.c: Likewise.
8198         * include/shlib-compat.h: Likewise.
8199         * inet/ruserpass.c: Likewise.
8200         * libio/iofgets_u.c: Likewise.
8201         * libio/iofgetws_u.c: Likewise.
8202         * locale/programs/ld-identification.c: Likewise.
8203         * locale/programs/ld-time.c: Likewise.
8204         * mach/msg-destroy.c: Likewise.
8205         * nss/nss_files/files-netgrp.c: Likewise.
8206         * resolv/res_data.c: Likewise.
8207         * soft-fp/op-1.h: Likewise.
8208         * soft-fp/op-2.h: Likewise.
8209         * soft-fp/op-4.h: Likewise.
8210         * soft-fp/op-common.h: Likewise.
8211         * stdio-common/printf_fphex.c: Likewise.
8212         * stdlib/strtod_l.c: Likewise.
8213         * sunrpc/rpc/clnt.h: Likewise.
8214         * sysdeps/generic/framestate.c: Likewise.
8215         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8216         * sysdeps/i386/bsd-setjmp.S: Likewise.
8217         * sysdeps/i386/__longjmp.S: Likewise.
8218         * sysdeps/i386/setjmp.S: Likewise.
8219         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8220         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8221         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8222         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8223         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8224         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8225         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8226         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8227         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8228         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8229         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8230         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8231         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8232         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8233         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8234         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8235         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8236         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8237         * sysdeps/ieee754/support.c: Likewise.
8238         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8239         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8240         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8241         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8242         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8243         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8244         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8245         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8246         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8247         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8248         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8249         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8250         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8251         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8252         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8253         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8254         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8257 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
8259         * posix/transbug.c: Remove executable mode.
8261 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
8263         * crypt/speeds.c: Remove trailing whitespace.
8264         * dlfcn/default.c: Likewise.
8265         * elf/ifuncdep2.c: Likewise.
8266         * elf/ifuncmain1.c: Likewise.
8267         * elf/ifuncmain1vis.c: Likewise.
8268         * elf/testobj.h: Likewise.
8269         * elf/tst-stackguard1.c: Likewise.
8270         * gmon/sys/gmon.h: Likewise.
8271         * hurd/hurdmsg.c: Likewise.
8272         * hurd/new-fd.c: Likewise.
8273         * hurd/ports-get.c: Likewise.
8274         * iconvdata/ibm1008_420.c: Likewise.
8275         * inet/tst-getni1.c: Likewise.
8276         * inet/tst-getni2.c: Likewise.
8277         * libio/ioungetc.c: Likewise.
8278         * libio/wfiledoalloc.c: Likewise.
8279         * manual/libm-err-tab.pl: Likewise.
8280         * math/w_dremf.c: Likewise.
8281         * misc/ftruncate.c: Likewise.
8282         * posix/bug-glob2.c: Likewise.
8283         * posix/tst-pcre.c: Likewise.
8284         * posix/wait4.c: Likewise.
8285         * resolv/README: Likewise.
8286         * resolv/res_debug.h: Likewise.
8287         * resolv/tst-inet_ntop.c: Likewise.
8288         * setjmp/bug269-setjmp.c: Likewise.
8289         * soft-fp/extended.h: Likewise.
8290         * soft-fp/op-1.h: Likewise.
8291         * soft-fp/op-2.h: Likewise.
8292         * soft-fp/op-4.h: Likewise.
8293         * soft-fp/op-8.h: Likewise.
8294         * soft-fp/testit.c: Likewise.
8295         * stdio-common/bug16.c: Likewise.
8296         * stdlib/random.c: Likewise.
8297         * sunrpc/rpcsvc/rquota.x: Likewise.
8298         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8299         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8300         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8301         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8302         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8303         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8304         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8305         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8306         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8307         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8308         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8309         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8310         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8311         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8312         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8313         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8314         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8315         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8316         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8317         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8318         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8319         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8320         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8321         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8322         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8323         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8324         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8325         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8326         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8327         * sysdeps/ieee754/s_lib_version.c: Likewise.
8328         * sysdeps/mach/hurd/check_fds.c: Likewise.
8329         * sysdeps/mach/hurd/getsockname.c: Likewise.
8330         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8331         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8332         * sysdeps/powerpc/bits/link.h: Likewise.
8333         * sysdeps/powerpc/dl-procinfo.c: Likewise.
8334         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8335         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8336         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8337         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8338         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8339         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8340         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8341         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8342         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8343         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8344         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8345         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8346         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8347         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8348         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8349         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8350         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8351         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8352         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8353         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8354         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8355         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8356         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8357         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8358         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8359         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8360         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8361         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8362         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8363         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8364         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8365         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8366         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8367         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8368         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8369         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8370         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8371         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8372         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8373         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8374         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8375         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8376         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8377         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8378         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8379         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8380         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8381         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8382         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8383         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8384         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8385         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8386         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8387         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8388         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8389         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8390         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8391         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8392         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8393         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8394         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8395         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8396         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8397         * sysdeps/powerpc/sysdep.h: Likewise.
8398         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8399         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8400         * sysdeps/sh/dl-trampoline.S: Likewise.
8401         * sysdeps/sh/memset.S: Likewise.
8402         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8403         * sysdeps/sh/strlen.S: Likewise.
8404         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8405         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8406         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8407         * sysdeps/sparc/sparc32/rem.S: Likewise.
8408         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8409         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8410         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8411         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8412         * sysdeps/sparc/sparc32/urem.S: Likewise.
8413         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8414         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8415         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8416         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8417         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8418         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8419         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8420         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8421         * sysdeps/unix/bsd/times.c: Likewise.
8422         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8423         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8427         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8428         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8429         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8430         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8431         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8432         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8433         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8434         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8435         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8436         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8437         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8438         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8439         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8440         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8441         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8442         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8443         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8444         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8445         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8446         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8447         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8448         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8449         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8450         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8451         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8452         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8453         * sysdeps/x86_64/strcspn.S: Likewise.
8455 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8457         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8458         generated file.  Regenerate properly from gen-translit.pl.
8459         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8460         locale/C-translit.h.
8462 2013-06-05  Andreas Schwab  <schwab@suse.de>
8464         [BZ #15100]
8465         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8466         week as 6 instead of -1.
8467         * time/tst-strptime.c (day_tests): Add test case.
8469 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8471         * sysdeps/generic/math_private.h
8472         (libc_feholdexcept_setround_53bit): Replace with
8473         libc_feholdsetround_53bit.
8474         (libc_feupdateenv_53bit): Replace with
8475         libc_feresetround_53bit.
8476         (SET_RESTORE_ROUND_53BIT): Adjust.
8478 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8480         * string/test-strchrnul.c: Add copyright header.
8482         * posix/tst-getaddrinfo4.c: Increase test timeout.
8484 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8486         [BZ #15536]
8487         * math/libm-test.inc (MAX_EXP): Remove
8488         (MIN_EXP): Define.
8489         (ulp): Use MIN_EXP - MANT_DIG.
8490         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8492 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8494         * po/be.po: Revert last change.
8495         * po/zh_CN.po: Likewise.
8496         * po/header.pot: Likewise.
8498 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8500         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8501         link-libc-deps to empty as target-specific variable.
8502         * Makerules (link-libc-args): New variable.
8503         (libc-for-link): Likewise.
8504         (link-libc-deps): Likewise.
8505         (lib%.so): Depend on $(link-libc-deps).  Link with
8506         $(link-libc-args).
8507         (build-module): Link with $(link-libc-args).
8508         (build-module-asneeded): Likewise.
8509         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8510         list of objects.
8511         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8512         target-specific variable.
8513         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8514         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8515         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8516         libc.
8517         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8518         libc and ld.so.
8519         ($(objpfx)libpcprofile.so): Likewise.
8520         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8521         libc_nonshared.a.
8522         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8523         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8524         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8525         $(link-libc-deps).
8526         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8527         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8528         * login/Makefile ($(objpfx)libutil.so): Likewise.
8529         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8530         * math/Makefile ($(objpfx)libm.so): Likewise.
8531         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8532         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8533         variable instead of depending directly on libc.
8534         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8535         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8536         $(link-libc-deps).
8537         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8538         libc.
8539         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8540         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8541         ($(objpfx)libanl.so): Likewise.
8542         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8543         ld.so.
8544         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8545         $(link-libc-deps).
8546         * sysdeps/i386/fpu/Makefile: Remove file.
8547         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8548         ($(objpfx)libm.so): Remove dependency on ld.so.
8550 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8552         [BZ # 15553]
8553         * nis/yp_xdr.c (XDRMAXNAME): Define.
8554         (XDRMAXRECORD): Define.
8555         (xdr_domainname): Use XDRMAXNAME.
8556         (xdr_mapname): Likewise.
8557         (xdr_peername): Likewise.
8558         (xdr_keydat): Use XDRMAXRECORD.
8559         (xdr_valdat): Likewise.
8561 2013-05-30  Jeff Law  <law@redhat.com>
8563         [BZ #14256]
8564         * manual/errno.texi (ESTALE): Update to account for more than
8565         just NFS file systems.
8566         * sysdeps/gnu/errlist.c: Regenerated.
8568 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8570         [BZ #15465]
8571         * elf/Makefile (tests): Add tst-null-argv.
8572         (modules-names):  Add tst-null-argv-lib.
8573         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8574         (tst-null-argv-ENV): Set environment for tst-null-argv.
8575         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8576         (RTLD_PROGNAME): New macro.
8577         * elf/tst-null-argv.c: New test case.
8578         * elf/tst-null-argv-lib.c: Library for test case.
8579         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8580         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8581         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8582         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8583         * elf/dl-init.c (call_init): Likewise.
8584         (_dl_init): Likewise.
8585         * elf/dl-load.c (print_search_path): Likewise.
8586         (_dl_map_object): Likewise.
8587         * elf/dl-lookup.c (do_lookup_x): Likewise.
8588         (add_dependency): Likewise.
8589         (_dl_lookup_symbol_x): Likewise.
8590         (_dl_debug_bindings): Likewise.
8591         * elf/dl-open.c (_dl_show_scope): Likewise.
8592         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8593         * elf/dl-version.c (match_symbol): Likewise.
8594         (_dl_check_map_versions): Likewise.
8595         * elf/rtld.c (dl_main): Likewise.
8596         (print_unresolved): Use RTLD_PROGNAME.
8597         (print_missing_version): Likewise.
8598         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8599         (elf_machine_rela): Likewise.
8600         * sysdeps/powerpc/powerpc32/dl-machine.c
8601         (__process_machine_rela): Likewise.
8602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8603         Likewise.
8604         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8605         Likewise.
8606         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8607         Likewise.
8608         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8609         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8610         Likewise.
8611         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8612         Likewise.
8613         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8615 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8617         * po/be.po: Add descriptive title.
8618         * po/zh_CN.po: Likewise.
8619         * po/header.pot: Likewise.
8621 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8623         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8624         error message.
8625         (enlarge_archive): Likewise.
8627 2013-05-28  Ben North  <ben@redfrontdoor.org>
8629         * manual/arith.texi (frexp): It is the magnitude of the return
8630         value which lies in [0.5, 1), not the return value itself.
8632 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8636 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8638         * stdio-common/bug26.c (main): Correct fscanf template.
8640         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8641         declare _dl_skip_args.
8643         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8644         Don't declare.
8646         * manual/platform.texi: Add missing @end deftypefun.
8648 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8650         [BZ #15529]
8651         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8652         bit of mantissa of 2^16382.
8653         * math/libm-test.inc (hypot_test_data): Add more tests.
8655         * math/libm-test.inc: Add drem and pow10 to list of tested
8656         functions.
8657         (pow10_test): New function.
8658         (drem_test): Likewise.
8659         (drem_test_tonearest): Likewise.
8660         (drem_test_towardzero): Likewise.
8661         (drem_test_downward): Likewise.
8662         (drem_test_upward): Likewise.
8663         (main): Call the new functions.
8665         * math/libm-test.inc (finite_test_data): Remove.
8666         (finite_test): Run tests from isfinite_test_data.
8667         (gamma_test_data): Remove.
8668         (gamma_test): Run tests from lgamma_test_data.
8669         * sysdeps/i386/fpu/libm-test-ulps: Update.
8670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8672 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8674         * manual/platform.texi: Add PowerPC PPR function set documentation.
8675         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8676         implementation.
8678 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8680         * math/libm-test.inc (MAX_EXP): Define.
8681         (ULPDIFF): Define.
8682         (ulp): New function.
8683         (check_float_internal): Use ULPDIFF.
8684         (cpow_test): Disable failing test.
8685         (check_ulp): Test ulp() implemetnation.
8686         (main): Call check_ulp before starting tests.
8688 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8690         * math/gen-libm-test.pl (generate_testfile): Do not handle
8691         START_DATA and END_DATA.
8692         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8693         END_DATA.
8694         (acos_tonearest_test_data): Likewise.
8695         (acos_towardzero_test_data): Likewise.
8696         (acos_downward_test_data): Likewise.
8697         (acos_upward_test_data): Likewise.
8698         (acosh_test_data): Likewise.
8699         (asin_test_data): Likewise.
8700         (asin_tonearest_test_data): Likewise.
8701         (asin_towardzero_test_data): Likewise.
8702         (asin_downward_test_data): Likewise.
8703         (asin_upward_test_data): Likewise.
8704         (asinh_test_data): Likewise.
8705         (atan_test_data): Likewise.
8706         (atanh_test_data): Likewise.
8707         (atan2_test_data): Likewise.
8708         (cabs_test_data): Likewise.
8709         (cacos_test_data): Likewise.
8710         (cacosh_test_data): Likewise.
8711         (carg_test_data): Likewise.
8712         (casin_test_data): Likewise.
8713         (casinh_test_data): Likewise.
8714         (catan_test_data): Likewise.
8715         (catanh_test_data): Likewise.
8716         (cbrt_test_data): Likewise.
8717         (ccos_test_data): Likewise.
8718         (ccosh_test_data): Likewise.
8719         (ceil_test_data): Likewise.
8720         (cexp_test_data): Likewise.
8721         (cimag_test_data): Likewise.
8722         (clog_test_data): Likewise.
8723         (clog10_test_data): Likewise.
8724         (conj_test_data): Likewise.
8725         (copysign_test_data): Likewise.
8726         (cos_test_data): Likewise.
8727         (cos_tonearest_test_data): Likewise.
8728         (cos_towardzero_test_data): Likewise.
8729         (cos_downward_test_data): Likewise.
8730         (cos_upward_test_data): Likewise.
8731         (cosh_test_data): Likewise.
8732         (cosh_tonearest_test_data): Likewise.
8733         (cosh_towardzero_test_data): Likewise.
8734         (cosh_downward_test_data): Likewise.
8735         (cosh_upward_test_data): Likewise.
8736         (cpow_test_data): Likewise.
8737         (cproj_test_data): Likewise.
8738         (creal_test_data): Likewise.
8739         (csin_test_data): Likewise.
8740         (csinh_test_data): Likewise.
8741         (csqrt_test_data): Likewise.
8742         (ctan_test_data): Likewise.
8743         (ctan_tonearest_test_data): Likewise.
8744         (ctan_towardzero_test_data): Likewise.
8745         (ctan_downward_test_data): Likewise.
8746         (ctan_upward_test_data): Likewise.
8747         (ctanh_test_data): Likewise.
8748         (ctanh_tonearest_test_data): Likewise.
8749         (ctanh_towardzero_test_data): Likewise.
8750         (ctanh_downward_test_data): Likewise.
8751         (ctanh_upward_test_data): Likewise.
8752         (erf_test_data): Likewise.
8753         (erfc_test_data): Likewise.
8754         (exp_test_data): Likewise.
8755         (exp_tonearest_test_data): Likewise.
8756         (exp_towardzero_test_data): Likewise.
8757         (exp_downward_test_data): Likewise.
8758         (exp_upward_test_data): Likewise.
8759         (exp10_test_data): Likewise.
8760         (exp2_test_data): Likewise.
8761         (expm1_test_data): Likewise.
8762         (fabs_test_data): Likewise.
8763         (fdim_test_data): Likewise.
8764         (finite_test_data): Likewise.
8765         (floor_test_data): Likewise.
8766         (fma_test_data): Likewise.
8767         (fma_towardzero_test_data): Likewise.
8768         (fma_downward_test_data): Likewise.
8769         (fma_upward_test_data): Likewise.
8770         (fmax_test_data): Likewise.
8771         (fmin_test_data): Likewise.
8772         (fmod_test_data): Likewise.
8773         (fpclassify_test_data): Likewise.
8774         (frexp_test_data): Likewise.
8775         (gamma_test_data): Likewise.
8776         (hypot_test_data): Likewise.
8777         (ilogb_test_data): Likewise.
8778         (isfinite_test_data): Likewise.
8779         (isgreater_test_data): Likewise.
8780         (isgreaterequal_test_data): Likewise.
8781         (isinf_test_data): Likewise.
8782         (isless_test_data): Likewise.
8783         (islessequal_test_data): Likewise.
8784         (islessgreater_test_data): Likewise.
8785         (isnan_test_data): Likewise.
8786         (isnormal_test_data): Likewise.
8787         (issignaling_test_data): Likewise.
8788         (isunordered_test_data): Likewise.
8789         (j0_test_data): Likewise.
8790         (j1_test_data): Likewise.
8791         (jn_test_data): Likewise.
8792         (ldexp_test_data): Likewise.
8793         (lgamma_test_data): Likewise.
8794         (lrint_test_data): Likewise.
8795         (lrint_tonearest_test_data): Likewise.
8796         (lrint_towardzero_test_data): Likewise.
8797         (lrint_downward_test_data): Likewise.
8798         (lrint_upward_test_data): Likewise.
8799         (llrint_test_data): Likewise.
8800         (llrint_tonearest_test_data): Likewise.
8801         (llrint_towardzero_test_data): Likewise.
8802         (llrint_downward_test_data): Likewise.
8803         (llrint_upward_test_data): Likewise.
8804         (log_test_data): Likewise.
8805         (log10_test_data): Likewise.
8806         (log1p_test_data): Likewise.
8807         (log2_test_data): Likewise.
8808         (logb_test_data): Likewise.
8809         (logb_downward_test_data): Likewise.
8810         (lround_test_data): Likewise.
8811         (llround_test_data): Likewise.
8812         (modf_test_data): Likewise.
8813         (nearbyint_test_data): Likewise.
8814         (nextafter_test_data): Likewise.
8815         (nexttoward_test_data): Likewise.
8816         (pow_test_data): Likewise.
8817         (pow_tonearest_test_data): Likewise.
8818         (pow_towardzero_test_data): Likewise.
8819         (pow_downward_test_data): Likewise.
8820         (pow_upward_test_data): Likewise.
8821         (remainder_test_data): Likewise.
8822         (remainder_tonearest_test_data): Likewise.
8823         (remainder_towardzero_test_data): Likewise.
8824         (remainder_downward_test_data): Likewise.
8825         (remainder_upward_test_data): Likewise.
8826         (remquo_test_data): Likewise.
8827         (rint_test_data): Likewise.
8828         (rint_tonearest_test_data): Likewise.
8829         (rint_towardzero_test_data): Likewise.
8830         (rint_downward_test_data): Likewise.
8831         (rint_upward_test_data): Likewise.
8832         (round_test_data): Likewise.
8833         (scalb_test_data): Likewise.
8834         (scalbn_test_data): Likewise.
8835         (scalbln_test_data): Likewise.
8836         (signbit_test_data): Likewise.
8837         (sin_test_data): Likewise.
8838         (sin_tonearest_test_data): Likewise.
8839         (sin_towardzero_test_data): Likewise.
8840         (sin_downward_test_data): Likewise.
8841         (sin_upward_test_data): Likewise.
8842         (sincos_test_data): Likewise.
8843         (sinh_test_data): Likewise.
8844         (sinh_tonearest_test_data): Likewise.
8845         (sinh_towardzero_test_data): Likewise.
8846         (sinh_downward_test_data): Likewise.
8847         (sinh_upward_test_data): Likewise.
8848         (sqrt_test_data): Likewise.
8849         (tan_test_data): Likewise.
8850         (tan_tonearest_test_data): Likewise.
8851         (tan_towardzero_test_data): Likewise.
8852         (tan_downward_test_data): Likewise.
8853         (tan_upward_test_data): Likewise.
8854         (tanh_test_data): Likewise.
8855         (tgamma_test_data): Likewise.
8856         (trunc_test_data): Likewise.
8857         (y0_test_data): Likewise.
8858         (y1_test_data): Likewise.
8859         (yn_test_data): Likewise.
8860         (significand_test_data): Likewise.
8862         * math/gen-libm-test.pl (@functions): Remove variable.
8863         (generate_testfile): Don't handle START and END lines.
8864         * math/libm-test.inc (START): New macro.
8865         (END): Likewise.
8866         (END_COMPLEX): Likewise.
8867         (acos_test): Use END macro without arguments.
8868         (acos_test_tonearest): Likewise.
8869         (acos_test_towardzero): Likewise.
8870         (acos_test_downward): Likewise.
8871         (acos_test_upward): Likewise.
8872         (acosh_test): Likewise.
8873         (asin_test): Likewise.
8874         (asin_test_tonearest): Likewise.
8875         (asin_test_towardzero): Likewise.
8876         (asin_test_downward): Likewise.
8877         (asin_test_upward): Likewise.
8878         (asinh_test): Likewise.
8879         (atan_test): Likewise.
8880         (atanh_test): Likewise.
8881         (atan2_test): Likewise.
8882         (cabs_test): Likewise.
8883         (cacos_test): Use END_COMPLEX macro without arguments.
8884         (cacosh_test): Likewise.
8885         (carg_test): Use END macro without arguments.
8886         (casin_test): Use END_COMPLEX macro without arguments.
8887         (casinh_test): Likewise.
8888         (catan_test): Likewise.
8889         (catanh_test): Likewise.
8890         (cbrt_test): Use END macro without arguments.
8891         (ccos_test): Use END_COMPLEX macro without arguments.
8892         (ccosh_test): Likewise.
8893         (ceil_test): Use END macro without arguments.
8894         (cexp_test): Use END_COMPLEX macro without arguments.
8895         (cimag_test): Use END macro without arguments.
8896         (clog_test): Use END_COMPLEX macro without arguments.
8897         (clog10_test): Likewise.
8898         (conj_test): Likewise.
8899         (copysign_test): Use END macro without arguments.
8900         (cos_test): Likewise.
8901         (cos_test_tonearest): Likewise.
8902         (cos_test_towardzero): Likewise.
8903         (cos_test_downward): Likewise.
8904         (cos_test_upward): Likewise.
8905         (cosh_test): Likewise.
8906         (cosh_test_tonearest): Likewise.
8907         (cosh_test_towardzero): Likewise.
8908         (cosh_test_downward): Likewise.
8909         (cosh_test_upward): Likewise.
8910         (cpow_test): Use END_COMPLEX macro without arguments.
8911         (cproj_test): Likewise.
8912         (creal_test): Use END macro without arguments.
8913         (csin_test): Use END_COMPLEX macro without arguments.
8914         (csinh_test): Likewise.
8915         (csqrt_test): Likewise.
8916         (ctan_test): Likewise.
8917         (ctan_test_tonearest): Likewise.
8918         (ctan_test_towardzero): Likewise.
8919         (ctan_test_downward): Likewise.
8920         (ctan_test_upward): Likewise.
8921         (ctanh_test): Likewise.
8922         (ctanh_test_tonearest): Likewise.
8923         (ctanh_test_towardzero): Likewise.
8924         (ctanh_test_downward): Likewise.
8925         (ctanh_test_upward): Likewise.
8926         (erf_test): Use END macro without arguments.
8927         (erfc_test): Likewise.
8928         (exp_test): Likewise.
8929         (exp_test_tonearest): Likewise.
8930         (exp_test_towardzero): Likewise.
8931         (exp_test_downward): Likewise.
8932         (exp_test_upward): Likewise.
8933         (exp10_test): Likewise.
8934         (exp2_test): Likewise.
8935         (expm1_test): Likewise.
8936         (fabs_test): Likewise.
8937         (fdim_test): Likewise.
8938         (finite_test): Likewise.
8939         (floor_test): Likewise.
8940         (fma_test): Likewise.
8941         (fma_test_towardzero): Likewise.
8942         (fma_test_downward): Likewise.
8943         (fma_test_upward): Likewise.
8944         (fmax_test): Likewise.
8945         (fmin_test): Likewise.
8946         (fmod_test): Likewise.
8947         (fpclassify_test): Likewise.
8948         (frexp_test): Likewise.
8949         (gamma_test): Likewise.
8950         (hypot_test): Likewise.
8951         (ilogb_test): Likewise.
8952         (isfinite_test): Likewise.
8953         (isgreater_test): Likewise.
8954         (isgreaterequal_test): Likewise.
8955         (isinf_test): Likewise.
8956         (isless_test): Likewise.
8957         (islessequal_test): Likewise.
8958         (islessgreater_test): Likewise.
8959         (isnan_test): Likewise.
8960         (isnormal_test): Likewise.
8961         (issignaling_test): Likewise.
8962         (isunordered_test): Likewise.
8963         (j0_test): Likewise.
8964         (j1_test): Likewise.
8965         (jn_test): Likewise.
8966         (ldexp_test): Likewise.
8967         (lgamma_test): Likewise.
8968         (lrint_test): Likewise.
8969         (lrint_test_tonearest): Likewise.
8970         (lrint_test_towardzero): Likewise.
8971         (lrint_test_downward): Likewise.
8972         (lrint_test_upward): Likewise.
8973         (llrint_test): Likewise.
8974         (llrint_test_tonearest): Likewise.
8975         (llrint_test_towardzero): Likewise.
8976         (llrint_test_downward): Likewise.
8977         (llrint_test_upward): Likewise.
8978         (log_test): Likewise.
8979         (log10_test): Likewise.
8980         (log1p_test): Likewise.
8981         (log2_test): Likewise.
8982         (logb_test): Likewise.
8983         (logb_test_downward): Likewise.
8984         (lround_test): Likewise.
8985         (llround_test): Likewise.
8986         (modf_test): Likewise.
8987         (nearbyint_test): Likewise.
8988         (nextafter_test): Likewise.
8989         (nexttoward_test): Likewise.
8990         (pow_test): Likewise.
8991         (pow_test_tonearest): Likewise.
8992         (pow_test_towardzero): Likewise.
8993         (pow_test_downward): Likewise.
8994         (pow_test_upward): Likewise.
8995         (remainder_test): Likewise.
8996         (remainder_test_tonearest): Likewise.
8997         (remainder_test_towardzero): Likewise.
8998         (remainder_test_downward): Likewise.
8999         (remainder_test_upward): Likewise.
9000         (remquo_test): Likewise.
9001         (rint_test): Likewise.
9002         (rint_test_tonearest): Likewise.
9003         (rint_test_towardzero): Likewise.
9004         (rint_test_downward): Likewise.
9005         (rint_test_upward): Likewise.
9006         (round_test): Likewise.
9007         (scalb_test): Likewise.
9008         (scalbn_test): Likewise.
9009         (scalbln_test): Likewise.
9010         (signbit_test): Likewise.
9011         (sin_test): Likewise.
9012         (sin_test_tonearest): Likewise.
9013         (sin_test_towardzero): Likewise.
9014         (sin_test_downward): Likewise.
9015         (sin_test_upward): Likewise.
9016         (sincos_test): Likewise.
9017         (sinh_test): Likewise.
9018         (sinh_test_tonearest): Likewise.
9019         (sinh_test_towardzero): Likewise.
9020         (sinh_test_downward): Likewise.
9021         (sinh_test_upward): Likewise.
9022         (sqrt_test): Likewise.
9023         (tan_test): Likewise.
9024         (tan_test_tonearest): Likewise.
9025         (tan_test_towardzero): Likewise.
9026         (tan_test_downward): Likewise.
9027         (tan_test_upward): Likewise.
9028         (tanh_test): Likewise.
9029         (tgamma_test): Likewise.
9030         (trunc_test): Likewise.
9031         (y0_test): Likewise.
9032         (y1_test): Likewise.
9033         (yn_test): Likewise.
9034         (significand_test): Likewise.
9036 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
9038         [BZ #15381]
9039         * libio/genops.c (_IO_no_init): Initialize wide struct info.
9041 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9043         [BZ #14894]
9044         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9045         __ppc_mdoio and __ppc_mdoom.
9046         * manual/platform.texi: Document new functions __ppc_yield,
9047         __ppc_mdoio and __ppc_mdoom.
9049 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
9051         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9052         (main): Mention "tls" pseudo-hwcap is legacy.
9053         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9055 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9057         * math/gen-libm-test.pl (parse_args): Output only string of
9058         arguments as text for test name, not full call or descriptions of
9059         tests for extra outputs.
9060         (generate_testfile): Do not pass function name to parse_args.
9061         Generate this_func variable from START.
9062         * math/libm-test.inc (struct test_f_f_data): Rename test_name
9063         field to arg_str.
9064         (struct test_ff_f_data): Likewise.
9065         (test_ff_f_data_nexttoward): Likewise.
9066         (struct test_fi_f_data): Likewise.
9067         (struct test_fl_f_data): Likewise.
9068         (struct test_if_f_data): Likewise.
9069         (struct test_fff_f_data): Likewise.
9070         (struct test_c_f_data): Likewise.
9071         (struct test_f_f1_data): Likewise.  Remove field extra_name.
9072         (struct test_fF_f1_data): Likewise.
9073         (struct test_ffI_f1_data): Likewise.
9074         (struct test_c_c_data): Rename test_name field to arg_str.
9075         (struct test_cc_c_data): Likewise.
9076         (struct test_f_i_data): Likewise.
9077         (struct test_ff_i_data): Likewise.
9078         (struct test_f_l_data): Likewise.
9079         (struct test_f_L_data): Likewise.
9080         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
9081         and extra2_name.
9082         (COMMON_TEST_SETUP): New macro.
9083         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9084         (COMMON_TEST_CLEANUP): Likewise.
9085         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9086         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
9087         macros.
9088         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9089         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
9090         macros.
9091         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9092         (RUN_TEST_fff_f): Take argument string.  Call new setup and
9093         cleanup macros.
9094         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9095         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
9096         macros.
9097         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9098         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
9099         macros.
9100         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9101         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
9102         cleanup macros.
9103         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9104         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
9105         cleanup macros.
9106         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9107         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
9108         cleanup macros.
9109         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9110         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
9111         macros.
9112         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9113         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
9114         macros.
9115         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9116         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
9117         macros.
9118         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9119         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
9120         cleanup macros.
9121         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9122         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
9123         cleanup macros.
9124         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9125         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
9126         macros.
9127         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9128         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
9129         cleanup macros.
9130         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9131         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
9132         macros.
9133         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9134         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
9135         macros.
9136         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9137         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
9138         cleanup macros.
9139         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9141 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
9143         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9144         to _sifields.sigfault.
9145         (si_addr_lsb): Define new macro.
9146         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9147         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9148         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9150 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
9152         [BZ #15441]
9153         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9154         returns -1.
9155         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9156         null return -1.
9157         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9158         loading the domain.
9160 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9162         * math/gen-libm-test.pl (parse_args): Do not include expected
9163         result in test name.
9164         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9165         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9166         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9167         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9168         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9171 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9173         * benchtests/Makefile: Sort function entries.
9175         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9176         tanh, asinh, acosh, atanh.
9177         * benchtests/acos-inputs: New file.
9178         * benchtests/acosh-inputs: New file.
9179         * benchtests/asin-inputs: New file.
9180         * benchtests/asinh-inputs: New file.
9181         * benchtests/atanh-inputs: New file.
9182         * benchtests/cosh-inputs: New file.
9183         * benchtests/log-inputs: New file.
9184         * benchtests/sinh-inputs: New file.
9185         * benchtests/tanh-inputs: New file.
9187 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
9189         [BZ #15339]
9190         * posix/tst-getaddrinfo4.c: New test.
9191         * posix/Makefile (tests): Add it.
9193 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9195         [BZ #15339]
9196         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9197         when no services were used.
9198         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9199         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9201 2013-05-21  Andreas Schwab  <schwab@suse.de>
9203         [BZ #15014]
9204         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9205         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9206         successful.
9207         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9208         redundant variable declarations and reallocation of buffer when
9209         parsing as IPv6 address.  Always set NSS status when called from
9210         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
9211         buffer too small.  Correct computation of needed size.
9212         * nss/Makefile (tests): Add test-digits-dots.
9213         * nss/test-digits-dots.c: New test.
9215 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9217         * benchtests/Makefile: Remove instructions for adding
9218         benchmark tests.
9219         * benchtests/README: New file to explain how to execute and
9220         enhance the benchmark tests.
9222 2013-05-21  Andreas Schwab  <schwab@suse.de>
9224         [BZ #15493]
9225         * setjmp/Makefile (tests): Add tst-sigsetjmp.
9226         * setjmp/tst-sigsetjmp.c: New test.
9228 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9230         * sysdeps/x86_64/memset.S (memset): New implementation.
9231         (__bzero): Likewise.
9232         (__memset_tail): New function.
9234 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9236         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9237         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9238         __memcpy_sse2_unaligned ifunc selection.
9239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9240         Add memcpy-sse2-unaligned.S.
9241         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9242         Add: __memcpy_sse2_unaligned.
9244 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
9246         [BZ #15490]
9247         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9248         math_force_eval before restoring floating-point envrionment.
9249         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9250         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9251         Likewise.
9252         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9253         <math_private.h>.
9254         (__nearbyintl): Use math_force_eval before restoring
9255         floating-point environment.
9256         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9258         * math/gen-libm-test.pl (special_functions): Remove.
9259         (parse_args): Don't handle TEST_extra.  Handle functions with no
9260         return value.
9261         * math/libm-test.inc (struct test_sincos_data): Replace with
9262         struct test_fFF_11_data.
9263         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9264         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9265         (sincos_test_data): Change element type to struct
9266         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
9267         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9268         RUN_TEST_LOOP_sincos.
9269         * math/README.libm-test: Don't mention special handling of
9270         individual functions.
9271         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9272         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9273         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9274         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9275         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9278         * math/gen-libm-test.pl (get_variable): Remove function.
9279         (parse_args): Don't show pointer parameters to call in test
9280         names.  Use "extra output N" in test names for extra outputs
9281         rather than naming variables.
9283 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
9285         [BZ #15488]
9286         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9287         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9288         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9289         double tests.
9290         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9291         disable.
9292         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9293         check_long_double.
9295         * math/gen-libm-test.pl (@tests): Remove variable.
9296         ($count): Likewise.
9297         (new_test): Remove function.
9298         (show_exceptions): New function.
9299         (special_functions): Use show_exceptions instead of new_test.
9300         (parse_args): Likewise.
9301         (generate_testfile): Pass only function name in generated call to
9302         print_max_error or print_complex_max_error.
9303         (get_ulps): Do not handle complex tests specially.
9304         (output_test): Rename to ...
9305         (get_all_ulps_for_test): ... this.  Return a string rather than
9306         printing to a file.  Require ulps to be present.
9307         (output_ulps): Generate arrays rather than #defines.
9308         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9309         (struct ulp_data): New type.
9310         (BUILD_COMPLEX_ULP): Remove macro.
9311         (compare_ulp_data): New function.
9312         (find_ulps): Likewise.
9313         (find_test_ulps): Likewise.
9314         (find_function_ulps): Likewise.
9315         (find_complex_function_ulps): Likewise.
9316         (print_max_error): Determine allowed ulps using
9317         find_function_ulps.
9318         (print_complex_max_error): Determine allowed ulps using
9319         find_complex_function_ulps.
9320         (check_float_internal): Determine max ulps using find_test_ulps.
9321         (check_float): Do not take max_ulp parameter.  Update call to
9322         check_float_internal.
9323         (check_complex): Likewise.
9324         (check_int): Do not take max_ulp parameter.
9325         (check_long): Likewise.
9326         (check_bool): Likewise.
9327         (check_longlong): Likewise.
9328         (struct test_f_f_data): Remove max_ulp field.
9329         (struct test_ff_f_data): Likewise.
9330         (struct test_ff_f_data_nexttoward): Likewise.
9331         (struct test_fi_f_data): Likewise.
9332         (struct test_fl_f_data): Likewise.
9333         (struct test_if_f_data): Likewise.
9334         (struct test_fff_f_data): Likewise.
9335         (struct test_c_f_data): Likewise.
9336         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9337         (struct test_fF_f1_data): Likewise.
9338         (struct test_ffI_f1_data): Likewise.
9339         (struct test_c_c_data): Remove max_ulp field.
9340         (struct test_cc_c_data): Likewise.
9341         (struct test_f_i_data): Likewise.
9342         (struct test_ff_i_data): Likewise.
9343         (struct test_f_l_data): Likewise.
9344         (struct test_f_L_data): Likewise.
9345         (struct test_sincos_data): Likewise.
9346         (RUN_TEST_f_f): Do not handle ulps.
9347         (RUN_TEST_LOOP_f_f): Likewise.
9348         (RUN_TEST_2_f): Likewise.
9349         (RUN_TEST_LOOP_2_f): Likewise.
9350         (RUN_TEST_fff_f): Likewise.
9351         (RUN_TEST_LOOP_fff_f): Likewise.
9352         (RUN_TEST_c_f): Likewise.
9353         (RUN_TEST_LOOP_c_f): Likewise.
9354         (RUN_TEST_f_f1): Likewise.
9355         (RUN_TEST_LOOP_f_f1): Likewise.
9356         (RUN_TEST_fF_f1): Likewise.
9357         (RUN_TEST_LOOP_fF_f1): Likewise.
9358         (RUN_TEST_fI_f1): Likewise.
9359         (RUN_TEST_LOOP_fI_f1): Likewise.
9360         (RUN_TEST_ffI_f1): Likewise.
9361         (RUN_TEST_LOOP_ffI_f1): Likewise.
9362         (RUN_TEST_c_c): Likewise.
9363         (RUN_TEST_LOOP_c_c): Likewise.
9364         (RUN_TEST_cc_c): Likewise.
9365         (RUN_TEST_LOOP_cc_c): Likewise.
9366         (RUN_TEST_f_i): Likewise.
9367         (RUN_TEST_LOOP_f_i): Likewise.
9368         (RUN_TEST_f_i_tg): Likewise.
9369         (RUN_TEST_LOOP_f_i_tg): Likewise.
9370         (RUN_TEST_ff_i_tg): Likewise.
9371         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9372         (RUN_TEST_f_b): Likewise.
9373         (RUN_TEST_LOOP_f_b): Likewise.
9374         (RUN_TEST_f_b_tg): Likewise.
9375         (RUN_TEST_LOOP_f_b_tg): Likewise.
9376         (RUN_TEST_f_l): Likewise.
9377         (RUN_TEST_LOOP_f_l): Likewise.
9378         (RUN_TEST_f_L): Likewise.
9379         (RUN_TEST_LOOP_f_L): Likewise.
9380         (RUN_TEST_sincos): Likewise.
9381         (RUN_TEST_LOOP_sincos): Likewise.
9383 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9385         [BZ #15480]
9386         [BZ #15485]
9387         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9388         main case of finite arguments, set rounding mode to FE_TONEAREST
9389         and discard exceptions.
9390         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9391         exceptions.
9392         (remainder_tonearest_test_data): New variable.
9393         (remainder_test_tonearest): New function.
9394         (remainder_towardzero_test_data): New variable.
9395         (remainder_test_towardzero): New function.
9396         (remainder_downward_test_data): New variable.
9397         (remainder_test_downward): New function.
9398         (remainder_upward_test_data): New variable.
9399         (remainder_test_upward): New function.
9400         (main): Call the new test functions.
9402         * math/libm-test.inc (struct test_f_f1_data): Remove field
9403         extra_init.
9404         (struct test_fF_f1_data): Likewise.
9405         (struct test_ffI_f1_data): Likewise.
9406         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9407         based on value of EXTRA_EXPECTED.
9408         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9409         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9410         EXTRA_VAR based on value of EXTRA_EXPECTED.
9411         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9412         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9413         EXTRA_VAR based on value of EXTRA_EXPECTED.
9414         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9415         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9416         EXTRA_VAR based on value of EXTRA_EXPECTED.
9417         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9418         * math/gen-libm-test.pl (parse_args): Don't output initializers
9419         for extra output values.
9421         * math/libm-test.inc (check_int): Expect result to be exactly
9422         equal to expected value and do not handle ulps.
9423         (check_long): Likewise.
9424         (check_longlong): Likewise.
9426         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9427         exceptions.
9428         (cimag_test_data): Likewise.
9429         (conj_test_data): Likewise.
9430         (copysign_test_data): Likewise.
9431         (cproj_test_data): Likewise.
9432         (creal_test_data): Likewise.
9433         (fabs_test_data): Likewise.
9434         (fdim_test_data): Likewise.
9435         (finite_test_data): Likewise.
9436         (floor_test_data): Likewise.
9437         (fmax_test_data): Likewise.
9438         (fmin_test_data): Likewise.
9439         (fmod_test_data): Likewise.
9440         (fpclassify_test_data): Likewise.
9441         (frexp_test_data): Likewise.
9442         (ilogb_test_data): Likewise.
9443         (isfinite_test_data): Likewise.
9444         (isgreater_test_data): Likewise.
9445         (isgreaterequal_test_data): Likewise.
9446         (isinf_test_data): Likewise.
9447         (isless_test_data): Likewise.
9448         (islessequal_test_data): Likewise.
9449         (islessgreater_test_data): Likewise.
9450         (isnan_test_data): Likewise.
9451         (isnormal_test_data): Likewise.
9452         (issignaling_test_data): Likewise.
9453         (isunordered_test_data): Likewise.
9454         (ldexp_test_data): Likewise.
9455         (lrint_test_data): Likewise.
9456         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9457         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9458         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9459         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9460         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9461         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9462         test input.
9463         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9464         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9465         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9466         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9467         that test input.
9468         (lrint_downward_test_data): Test for "inexact" exceptions.
9469         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9470         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9471         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9472         test input.
9473         (lrint_upward_test_data): Test for "inexact" exceptions.
9474         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9475         test input.
9476         (llrint_test_data): Test for "inexact" exceptions.
9477         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9478         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9479         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9480         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9481         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9482         (llrint_downward_test_data): Test for "inexact" exceptions.
9483         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9484         (llrint_upward_test_data): Test for "inexact" exceptions.
9485         (logb_test_data): Likewise.
9486         (logb_downward_test_data): Likewise.
9487         (nextafter_test_data): Likewise.
9488         (nexttoward_test_data): Likewise.
9489         (remainder_test_data): Likewise.
9490         (remquo_test_data): Likewise.
9491         (scalbn_test_data): Likewise.
9492         (scalbln_test_data): Likewise.
9493         (signbit_test_data): Likewise.
9494         (sqrt_test_data): Likewise.
9495         (significand_test_data): Likewise.
9497 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9499         [BZ #15424]
9500         * benchtests/bench-modf.c (struct args): Mark arg0 as
9501         volatile.
9502         * scripts/bench.pl: Mark members of struct args as volatile.
9504 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9506         [BZ # 15497]
9507         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9508         negative infinity on POWER6 or lower.
9509         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9511 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9513         [BZ #15442]
9514         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9515         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9516         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9517         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9518         (_FP_SETQNAN): New macro.
9519         (_FP_SETQNAN_SEMIRAW): Likewise.
9520         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9521         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9522         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9523         (FP_EXTEND): Use _FP_FRAC_SNANP.
9524         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9525         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9526         into account.
9527         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9528         New macro.
9529         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9530         Likewise.
9532 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9534         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9535         with DIVIDE_BY_ZERO_EXCEPTION.
9536         (gamma_test_data): Likewise.
9537         (lgamma_test_data): Likewise.
9538         (log_test_data): Likewise.
9539         (log10_test_data): Likewise.
9540         (log2_test_data): Likewise.
9541         (tgamma_test_data): Likewise.
9543         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9544         (acos_test_tonearest): Likewise.
9545         (acos_test_towardzero): Likewise.
9546         (acos_test_downward): Likewise.
9547         (acos_test_upward): Likewise.
9548         (acosh_test): Likewise.
9549         (asin_test): Likewise.
9550         (asin_test_tonearest): Likewise.
9551         (asin_test_towardzero): Likewise.
9552         (asin_test_downward): Likewise.
9553         (asin_test_upward): Likewise.
9554         (asinh_test): Likewise.
9555         (atan_test): Likewise.
9556         (atanh_test): Likewise.
9557         (atan2_test): Likewise.
9558         (cabs_test): Likewise.
9559         (cacos_test): Likewise.
9560         (cacosh_test): Likewise.
9561         (casin_test): Likewise.
9562         (casinh_test): Likewise.
9563         (catan_test): Likewise.
9564         (catanh_test): Likewise.
9565         (cbrt_test): Likewise.
9566         (ccos_test): Likewise.
9567         (ccosh_test): Likewise.
9568         (cexp_test): Likewise.
9569         (clog_test): Likewise.
9570         (clog10_test): Likewise.
9571         (cos_test): Likewise.
9572         (cos_test_tonearest): Likewise.
9573         (cos_test_towardzero): Likewise.
9574         (cos_test_downward): Likewise.
9575         (cos_test_upward): Likewise.
9576         (cosh_test): Likewise.
9577         (cosh_test_tonearest): Likewise.
9578         (cosh_test_towardzero): Likewise.
9579         (cosh_test_downward): Likewise.
9580         (cosh_test_upward): Likewise.
9581         (cpow_test): Likewise.
9582         (csin_test): Likewise.
9583         (csinh_test): Likewise.
9584         (csqrt_test): Likewise.
9585         (ctan_test): Likewise.
9586         (ctan_test_tonearest): Likewise.
9587         (ctan_test_towardzero): Likewise.
9588         (ctan_test_downward): Likewise.
9589         (ctan_test_upward): Likewise.
9590         (ctanh_test): Likewise.
9591         (ctanh_test_tonearest): Likewise.
9592         (ctanh_test_towardzero): Likewise.
9593         (ctanh_test_downward): Likewise.
9594         (ctanh_test_upward): Likewise.
9595         (erf_test): Likewise.
9596         (erfc_test): Likewise.
9597         (exp_test): Likewise.
9598         (exp_test_tonearest): Likewise.
9599         (exp_test_towardzero): Likewise.
9600         (exp_test_downward): Likewise.
9601         (exp_test_upward): Likewise.
9602         (exp10_test): Likewise.
9603         (exp2_test): Likewise.
9604         (expm1_test): Likewise.
9605         (fmod_test): Likewise.
9606         (gamma_test): Likewise.
9607         (hypot_test): Likewise.
9608         (j0_test): Likewise.
9609         (j1_test): Likewise.
9610         (jn_test): Likewise.
9611         (lgamma_test): Likewise.
9612         (log_test): Likewise.
9613         (log10_test): Likewise.
9614         (log1p_test): Likewise.
9615         (log2_test): Likewise.
9616         (logb_test_downward): Likewise.
9617         (pow_test): Likewise.
9618         (pow_test_tonearest): Likewise.
9619         (pow_test_towardzero): Likewise.
9620         (pow_test_downward): Likewise.
9621         (pow_test_upward): Likewise.
9622         (remainder_test): Likewise.
9623         (remquo_test): Likewise.
9624         (sin_test): Likewise.
9625         (sin_test_tonearest): Likewise.
9626         (sin_test_towardzero): Likewise.
9627         (sin_test_downward): Likewise.
9628         (sin_test_upward): Likewise.
9629         (sincos_test): Likewise.
9630         (sinh_test): Likewise.
9631         (sinh_test_tonearest): Likewise.
9632         (sinh_test_towardzero): Likewise.
9633         (sinh_test_downward): Likewise.
9634         (sinh_test_upward): Likewise.
9635         (sqrt_test): Likewise.
9636         (tan_test): Likewise.
9637         (tan_test_tonearest): Likewise.
9638         (tan_test_towardzero): Likewise.
9639         (tan_test_downward): Likewise.
9640         (tan_test_upward): Likewise.
9641         (tanh_test): Likewise.
9642         (tgamma_test): Likewise.
9643         (y0_test): Likewise.
9644         (y1_test): Likewise.
9645         (yn_test): Likewise.
9647         * math/gen-libm-test.pl (adjust_arg): Remove function.
9648         (special_function): Remove argument $in_func.  Only handle
9649         generating output for tables of tests, not inside functions.
9650         (parse_args): Likewise.
9651         (generate_testfile): Remove variable $in_func.  Update call to
9652         parse_args.
9653         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9654         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9655         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9656         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9657         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9658         (MAX_VALUE_INIT): Rename macro to max_value.
9659         (MIN_VALUE_INIT): Rename macro to min_value.
9660         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9661         (plus_zero): Remove variable.
9662         (minus_zero): Likewise.
9663         (plus_infty): Likewise.
9664         (minus_infty): Likewise.
9665         (qnan_value): Likewise.
9666         (max_value): Likewise.
9667         (min_value): Likewise.
9668         (min_subnorm_value): Likewise.
9670 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9672         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9673         uint64_t or uint32_t usage.
9674         * crypt/sha256-block.c: Likewise.
9675         * crypt/sha256-crypt.c: Likewise.
9676         * crypt/sha256.c: Likewise.
9677         * crypt/sha512-block.c: Likewise.
9678         * crypt/sha512-crypt.c: Likewise.
9679         * crypt/sha512.c: Likewise.
9680         * debug/backtrace-tst.c: Likewise.
9681         * debug/pcprofiledump.c: Likewise.
9682         * elf/cache.c: Likewise.
9683         * elf/dl-cache.c: Likewise.
9684         * elf/dl-misc.c: Likewise.
9685         * elf/dl-profile.c: Likewise.
9686         * elf/dl-support.c: Likewise.
9687         * elf/ldconfig.c: Likewise.
9688         * elf/sprof.c: Likewise.
9689         * iconv/dummy-repertoire.c: Likewise.
9690         * iconv/iconv_charmap.c: Likewise.
9691         * iconv/skeleton.c: Likewise.
9692         * iconvdata/8bit-generic.c: Likewise.
9693         * iconvdata/cp737.h: Likewise.
9694         * iconvdata/cp775.h: Likewise.
9695         * iconvdata/ibm1008.h: Likewise.
9696         * iconvdata/ibm1025.h: Likewise.
9697         * iconvdata/ibm1046.h: Likewise.
9698         * iconvdata/ibm1097.h: Likewise.
9699         * iconvdata/ibm1112.h: Likewise.
9700         * iconvdata/ibm1122.h: Likewise.
9701         * iconvdata/ibm1123.h: Likewise.
9702         * iconvdata/ibm1124.h: Likewise.
9703         * iconvdata/ibm1129.h: Likewise.
9704         * iconvdata/ibm1130.h: Likewise.
9705         * iconvdata/ibm1132.h: Likewise.
9706         * iconvdata/ibm1133.h: Likewise.
9707         * iconvdata/ibm1137.h: Likewise.
9708         * iconvdata/ibm1140.h: Likewise.
9709         * iconvdata/ibm1141.h: Likewise.
9710         * iconvdata/ibm1142.h: Likewise.
9711         * iconvdata/ibm1143.h: Likewise.
9712         * iconvdata/ibm1144.h: Likewise.
9713         * iconvdata/ibm1145.h: Likewise.
9714         * iconvdata/ibm1146.h: Likewise.
9715         * iconvdata/ibm1147.h: Likewise.
9716         * iconvdata/ibm1148.h: Likewise.
9717         * iconvdata/ibm1149.h: Likewise.
9718         * iconvdata/ibm1153.h: Likewise.
9719         * iconvdata/ibm1154.h: Likewise.
9720         * iconvdata/ibm1155.h: Likewise.
9721         * iconvdata/ibm1156.h: Likewise.
9722         * iconvdata/ibm1157.h: Likewise.
9723         * iconvdata/ibm1158.h: Likewise.
9724         * iconvdata/ibm1160.h: Likewise.
9725         * iconvdata/ibm1161.h: Likewise.
9726         * iconvdata/ibm1162.h: Likewise.
9727         * iconvdata/ibm1163.h: Likewise.
9728         * iconvdata/ibm1164.h: Likewise.
9729         * iconvdata/ibm1166.h: Likewise.
9730         * iconvdata/ibm1167.h: Likewise.
9731         * iconvdata/ibm12712.h: Likewise.
9732         * iconvdata/ibm1390.h: Likewise.
9733         * iconvdata/ibm1399.h: Likewise.
9734         * iconvdata/ibm16804.h: Likewise.
9735         * iconvdata/ibm4517.h: Likewise.
9736         * iconvdata/ibm4899.h: Likewise.
9737         * iconvdata/ibm4909.h: Likewise.
9738         * iconvdata/ibm4971.h: Likewise.
9739         * iconvdata/ibm5347.h: Likewise.
9740         * iconvdata/ibm803.h: Likewise.
9741         * iconvdata/ibm856.h: Likewise.
9742         * iconvdata/ibm901.h: Likewise.
9743         * iconvdata/ibm902.h: Likewise.
9744         * iconvdata/ibm9030.h: Likewise.
9745         * iconvdata/ibm9066.h: Likewise.
9746         * iconvdata/ibm921.h: Likewise.
9747         * iconvdata/ibm922.h: Likewise.
9748         * iconvdata/ibm9448.h: Likewise.
9749         * iconvdata/isiri-3342.h: Likewise.
9750         * iconvdata/jis0201.h: Likewise.
9751         * include/link.h: Likewise.
9752         * include/netdb.h: Likewise.
9753         * inet/check_native.c: Likewise.
9754         * inet/check_pf.c: Likewise.
9755         * inet/getipv4sourcefilter.c: Likewise.
9756         * inet/getnameinfo.c: Likewise.
9757         * inet/getsourcefilter.c: Likewise.
9758         * inet/htonl.c: Likewise.
9759         * inet/setipv4sourcefilter.c: Likewise.
9760         * inet/setsourcefilter.c: Likewise.
9761         * inet/test-inet6_opt.c: Likewise.
9762         * inet/tst-network.c: Likewise.
9763         * locale/C-collate.c: Likewise.
9764         * locale/C-ctype.c: Likewise.
9765         * locale/C-time.c: Likewise.
9766         * locale/C-translit.h: Likewise.
9767         * locale/loadarchive.c: Likewise.
9768         * locale/programs/3level.h: Likewise.
9769         * locale/programs/charmap.c: Likewise.
9770         * locale/programs/charmap.h: Likewise.
9771         * locale/programs/ld-address.c: Likewise.
9772         * locale/programs/ld-collate.c: Likewise.
9773         * locale/programs/ld-ctype.c: Likewise.
9774         * locale/programs/ld-identification.c: Likewise.
9775         * locale/programs/ld-measurement.c: Likewise.
9776         * locale/programs/ld-messages.c: Likewise.
9777         * locale/programs/ld-monetary.c: Likewise.
9778         * locale/programs/ld-name.c: Likewise.
9779         * locale/programs/ld-numeric.c: Likewise.
9780         * locale/programs/ld-paper.c: Likewise.
9781         * locale/programs/ld-telephone.c: Likewise.
9782         * locale/programs/ld-time.c: Likewise.
9783         * locale/programs/linereader.c: Likewise.
9784         * locale/programs/locale.c: Likewise.
9785         * locale/programs/locarchive.c: Likewise.
9786         * locale/programs/locfile.h: Likewise.
9787         * locale/programs/repertoire.c: Likewise.
9788         * locale/programs/simple-hash.c: Likewise.
9789         * locale/programs/simple-hash.h: Likewise.
9790         * malloc/memusage.c: Likewise.
9791         * malloc/memusagestat.c: Likewise.
9792         * nis/nis_defaults.c: Likewise.
9793         * nis/nis_hash.c: Likewise.
9794         * nis/nis_print.c: Likewise.
9795         * nis/nis_xdr.c: Likewise.
9796         * nscd/connections.c: Likewise.
9797         * nscd/hstcache.c: Likewise.
9798         * nscd/nscd_gethst_r.c: Likewise.
9799         * nscd/nscd_getserv_r.c: Likewise.
9800         * nscd/nscd_helper.c: Likewise.
9801         * nscd/servicescache.c: Likewise.
9802         * nss/makedb.c: Likewise.
9803         * nss/nss_db/db-XXX.c: Likewise.
9804         * nss/nss_db/db-initgroups.c: Likewise.
9805         * nss/nss_db/db-netgrp.c: Likewise.
9806         * nss/nss_files/files-network.c: Likewise.
9807         * nss/nss_files/files-parse.c: Likewise.
9808         * posix/bug-regex5.c: Likewise.
9809         * posix/fnmatch_loop.c: Likewise.
9810         * posix/regcomp.c: Likewise.
9811         * posix/regexec.c: Likewise.
9812         * posix/tst-rfc3484-2.c: Likewise.
9813         * posix/tst-rfc3484-3.c: Likewise.
9814         * posix/tst-rfc3484.c: Likewise.
9815         * resolv/nss_dns/dns-canon.c: Likewise.
9816         * resolv/nss_dns/dns-network.c: Likewise.
9817         * resolv/res_init.c: Likewise.
9818         * resolv/res_mkquery.c: Likewise.
9819         * resolv/tst-aton.c: Likewise.
9820         * stdlib/cxa_atexit.c: Likewise.
9821         * stdlib/cxa_finalize.c: Likewise.
9822         * stdlib/gen-fpioconst.c: Likewise.
9823         * stdlib/strtol_l.c: Likewise.
9824         * string/tst-endian.c: Likewise.
9825         * sunrpc/auth_des.c: Likewise.
9826         * sunrpc/clnt_udp.c: Likewise.
9827         * sunrpc/rtime.c: Likewise.
9828         * sunrpc/svcauth_des.c: Likewise.
9829         * sunrpc/xdr.c: Likewise.
9830         * sunrpc/xdr_intXX_t.c: Likewise.
9831         * sunrpc/xdr_rec.c: Likewise.
9832         * sysdeps/generic/ldconfig.h: Likewise.
9833         * sysdeps/generic/ldsodefs.h: Likewise.
9834         * sysdeps/generic/memusage.h: Likewise.
9835         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9836         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9837         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9838         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9839         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9840         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9841         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9842         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9843         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9844         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9845         * sysdeps/posix/getaddrinfo.c: Likewise.
9846         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9847         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9848         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9849         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9850         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9851         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9852         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9853         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9854         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9855         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9856         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9857         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9858         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9859         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9860         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9861         * sysdeps/x86_64/dl-tls.h: Likewise.
9862         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9863         * time/alt_digit.c: Likewise.
9864         * time/era.c: Likewise.
9865         * wcsmbs/tst-c16c32-1.c: Likewise.
9867 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9869         * math/libm-test.inc (struct test_sincos_data): New type.
9870         (RUN_TEST_LOOP_sincos): New macro.
9871         (sincos_test_data): New variable.
9872         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9874 2013-05-16  Richard Henderson  <rth@redhat.com>
9876         * math/atest-exp2.c (LIMB64): New macro.
9877         (CONSTSZ): New macro.
9878         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9879         (hexdig): Move ...
9880         (print_mpn_fp): ... to function scope.
9881         (read_mpn_hex): Remove.
9882         (get_log2): Remove.
9883         (exp2_mpn): Use mp_log2.
9884         (main): Use mp_exp1.
9886 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9888         * math/libm-test.inc: Remove comment about not testing "inexact"
9889         exceptions.
9890         (INEXACT_EXCEPTION): New macro.
9891         (NO_INEXACT_EXCEPTION): Likewise.
9892         (INVALID_EXCEPTION_OK): Update value.
9893         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9894         (OVERFLOW_EXCEPTION_OK): Likewise.
9895         (UNDERFLOW_EXCEPTION_OK): Likewise.
9896         (IGNORE_ZERO_INF_SIGN): Likewise.
9897         (ERRNO_UNCHANGED): Likewise.
9898         (ERRNO_EDOM): Likewise.
9899         (ERRNO_ERANGE): Likewise.
9900         (test_exceptions): Handle testing "inexact" exceptions.
9901         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9902         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9903         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9904         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9905         INEXACT_EXCEPTION.
9906         (rint_towardzero_test_data): Likewise.
9907         (rint_downward_test_data): Likewise.
9908         (rint_upward_test_data): Likewise.
9910         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9911         with OVERFLOW_EXCEPTION.
9912         (exp10_test_data): Likewise.
9913         (exp2_test_data): Likewise.
9914         (expm1_test_data): Likewise.
9915         (lgamma_test_data): Likewise.
9916         (pow_test_data): Likewise.
9917         (tgamma_test_data): Likewise.
9918         (yn_test_data): Remove duplicate test of overflow.
9920         * math/libm-test.inc (struct test_cc_c_data): New type.
9921         (RUN_TEST_LOOP_cc_c): New macro.
9922         (cpow_test_data): New variable.
9923         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9925         * math/libm-test.inc (struct test_f_L_data): New type.
9926         (RUN_TEST_LOOP_f_L): New macro.
9927         (llrint_test_data): New variable.
9928         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9929         (llrint_tonearest_test_data): New variable.
9930         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9931         (llrint_towardzero_test_data): New variable.
9932         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9933         (llrint_downward_test_data): New variable.
9934         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9935         (llrint_upward_test_data): New variable.
9936         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9937         (llround_test_data): New variable.
9938         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9940 2013-05-13  Peter Collingbourne  <pcc@google.com>
9942         * math/atest-exp2.c (get_log2): Remove const attribute.
9944 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9946         * math/libm-test.inc (struct test_f_l_data): New type.
9947         (RUN_TEST_LOOP_f_l): New macro.
9948         (lrint_test_data): New variable.
9949         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9950         (lrint_tonearest_test_data): New variable.
9951         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9952         (lrint_towardzero_test_data): New variable.
9953         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9954         (lrint_downward_test_data): New variable.
9955         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9956         (lrint_upward_test_data): New variable.
9957         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9958         (lround_test_data): New variable.
9959         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9961 2013-05-15  Peter Collingbourne  <pcc@google.com>
9963         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9964         (EXTRACT_WORDS64) Use where appropriate.
9965         (INSERT_WORDS64) Likewise.
9967         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9968         constraints with x constraints.
9969         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9971         * malloc/obstack.c (_obstack_compat): Add initializer.
9973 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9975         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9976         si_trapno and add si_addr_lsb to _sifields.sigfault.
9977         (si_trapno): Remove macro.
9978         (si_addr_lsb): Define new macro.
9979         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9981 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9983         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9984         instead of TEST_f_l.
9985         (llrint_test_tonearest): Likewise.
9986         (llrint_test_towardzero): Likewise.
9987         (llrint_test_downward): Likewise.
9988         (llrint_test_upward): Likewise.
9989         (llround_test): Likewise.
9991         * math/libm-test.inc (struct test_f_i_data): Add comment.
9992         (RUN_TEST_LOOP_f_b): New macro.
9993         (RUN_TEST_LOOP_f_b_tg): Likewise.
9994         (finite_test_data): New variable.
9995         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9996         (isfinite_test_data): New variable.
9997         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9998         (isinf_test_data): New variable.
9999         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10000         (isnan_test_data): New variable.
10001         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10002         (isnormal_test_data): New variable.
10003         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10004         (issignaling_test_data): New variable.
10005         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10006         (signbit_test_data): New variable.
10007         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10009         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10010         with INVALID_EXCEPTION.
10011         (acosh_test_data): Likewise.
10012         (asin_test_data): Likewise.
10013         (atanh_test_data): Likewise.
10014         (fmod_test_data): Likewise.
10015         (log_test_data): Likewise.
10016         (log10_test_data): Likewise.
10017         (log2_test_data): Likewise.
10018         (pow_test_data): Likewise.
10019         (sqrt_test_data): Likewise.
10020         (y0_test_data): Likewise.
10021         (y1_test_data): Likewise.
10022         (yn_test_data): Likewise.
10024         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10025         function contents.
10027         * math/libm-test.inc (struct test_ff_i_data): New type.
10028         (RUN_TEST_LOOP_ff_i_tg): New macro.
10029         (isgreater_test_data): New variable.
10030         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10031         (isgreaterequal_test_data): New variable.
10032         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10033         (isless_test_data): New variable.
10034         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10035         (islessequal_test_data): New variable.
10036         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10037         (islessgreater_test_data): New variable.
10038         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10039         (isunordered_test_data): New variable.
10040         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10042 2013-05-14  David S. Miller  <davem@davemloft.net>
10044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10046 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
10048         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10050         * math/libm-test.inc (struct test_fF_f1_data): Change type of
10051         extra_test to int.
10052         (struct test_f_i_data): Change type of max_ulp to int.
10054         * math/libm-test.inc (test_ffI_f1_data): New type.
10055         (RUN_TEST_LOOP_ffI_f1): New macro.
10056         (remquo_test_data): New variable.
10057         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10059         * setjmp/tst-setjmp-fp.c: New file.
10060         * setjmp/Makefile (tests): Add tst-setjmp-fp.
10061         (link-libm): New variable.
10062         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10064         * math/libm-test.inc (struct test_f_i_data): New type.
10065         (RUN_TEST_LOOP_f_i): New macro.
10066         (RUN_TEST_LOOP_f_i_tg): Likewise.
10067         (fpclassify_test_data): New variable.
10068         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10069         (ilogb_test_data): New variable.
10070         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10072         * math/libm-test.inc (scalbln_test): Correct function name in END
10073         call.
10075         * math/libm-test.inc (struct test_f_f1_data): Add comment.
10076         (RUN_TEST_LOOP_fI_f1): New macro.
10077         (frexp_test_data): New variable.
10078         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10080         * math/libm-test.inc (struct test_fF_f1_data): New type.
10081         (RUN_TEST_LOOP_fF_f1): New macro.
10082         (modf_test_data): New variable.
10083         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10085         * math/libm-test.inc (struct test_f_f1_data): New type.
10086         (RUN_TEST_LOOP_f_f1): New macro.
10087         (gamma_test_data): New variable.
10088         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10089         (lgamma_test_data): New variable.
10090         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10092 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
10094         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10095         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10096         (main): Comment "tls" pseudo-hwcap.
10098 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
10100         * math/libm-test.inc (struct test_fl_f_data): New type.
10101         (RUN_TEST_LOOP_fl_f): New variable.
10102         (scalbln_test_data): New variable.
10103         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10105         * math/libm-test.inc (struct test_fi_f_data): New type.
10106         (RUN_TEST_LOOP_fi_f): New macro.
10107         (ldexp_test_data): New variable.
10108         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10109         (scalbn_test_data): New variable.
10110         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10112         * math/libm-test.inc (struct test_c_f_data): New type.
10113         (RUN_TEST_LOOP_c_f): New macro.
10114         (cabs_test_data): New variable.
10115         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10116         (carg_test_data): New variable.
10117         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10118         (cimag_test_data): New variable.
10119         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10120         (creal_test_data): New variable.
10121         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10123         * math/libm-test.inc (struct test_if_f_data): New type.
10124         (RUN_TEST_LOOP_if_f): New macro.
10125         (jn_test_data): New variable.
10126         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10127         (yn_test_data): New variable.
10128         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10130         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10132 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10134         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10135         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10137 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10139         * benchtests/Makefile (CPPFLAGS-nonlib): Add
10140         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10141         (bench-deps): Add bench-timing.h.
10142         * benchtests-bench-skeleton.c: Include bench-timing.h.
10143         (main): Use TIMING_* macros instead of clock_gettime.
10144         * benchtests/bench-timing.h: New file.
10146         [BZ #14582]
10147         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10148         Renamed from _LIB_VERSION.
10149         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10151 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
10153         * math/libm-test.inc (struct test_fff_f_data): New type.
10154         (RUN_TEST_LOOP_fff_f): New macro.
10155         (fma_test_data): New variable.
10156         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10157         (fma_towardzero_test_data): New variable.
10158         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10159         (fma_downward_test_data): New variable.
10160         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10161         (fma_upward_test_data): New variable.
10162         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10164         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10165         (struct test_c_c_data): New type.
10166         (RUN_TEST_LOOP_c_c): New macro.
10167         (cacos_test_data): New variable.
10168         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10169         (cacosh_test_data): New variable.
10170         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10171         (casin_test_data): New variable.
10172         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10173         (casinh_test_data): New variable.
10174         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10175         (catan_test_data): New variable.
10176         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10177         (catanh_test_data): New variable.
10178         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10179         (ccos_test_data): New variable.
10180         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10181         (ccosh_test_data): New variable.
10182         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10183         (cexp_test_data): New variable.
10184         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10185         (clog_test_data): New variable.
10186         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10187         (clog10_test_data): New variable.
10188         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10189         (conj_test_data): New variable.
10190         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10191         (cproj_test_data): New variable.
10192         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10193         (csin_test_data): New variable.
10194         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10195         (csinh_test_data): New variable.
10196         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10197         (csqrt_test_data): New variable.
10198         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10199         (ctan_test_data): New variable.
10200         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10201         (ctan_tonearest_test_data): New variable.
10202         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10203         (ctan_towardzero_test_data): New variable.
10204         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10205         (ctan_downward_test_data): New variable.
10206         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10207         (ctan_upward_test_data): New variable.
10208         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10209         (ctanh_test_data): New variable.
10210         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10211         (ctanh_tonearest_test_data): New variable.
10212         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10213         (ctanh_towardzero_test_data): New variable.
10214         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10215         (ctanh_downward_test_data): New variable.
10216         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10217         (ctanh_upward_test_data): New variable.
10218         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10219         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10220         of BUILD_COMPLEX.
10222         * math/libm-test.inc (struct test_ff_f_data): New type.
10223         (struct test_ff_f_data_nexttoward): Likewise.
10224         (RUN_TEST_LOOP_2_f): New macro.
10225         (RUN_TEST_LOOP_ff_f): Likewise.
10226         (atan2_test_data): New variable.
10227         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10228         (copysign_test_data): New variable.
10229         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10230         (fdim_test_data): New variable.
10231         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10232         (fmax_test_data): New variable.
10233         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10234         (fmin_test_data): New variable.
10235         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10236         (fmod_test_data): New variable.
10237         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10238         (hypot_test_data): New variable.
10239         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10240         (nextafter_test_data): New variable.
10241         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10242         (nexttoward_test_data): New variable.
10243         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10244         (pow_test_data): New variable.
10245         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10246         (pow_tonearest_test_data): New variable.
10247         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10248         (pow_towardzero_test_data): New variable.
10249         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10250         (pow_downward_test_data): New variable.
10251         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10252         (pow_upward_test_data): New variable.
10253         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10254         (remainder_test_data): New variable.
10255         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10256         (scalb_test_data): New variable.
10257         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10258         * sysdeps/i386/fpu/libm-test-ulps: Update.
10260 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
10262         * math/libm-test.inc (fma_test): Use max_value instead of local
10263         variable fltmax.
10264         (nextafter_test): Likewise.
10266         * math/libm-test.inc (acos_towardzero_test_data): New variable.
10267         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10268         (acos_downward_test_data): New variable.
10269         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10270         (acos_upward_test_data): New variable.
10271         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10272         (acosh_test_data): New variable.
10273         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10274         (asin_test_data): New variable.
10275         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10276         (asin_tonearest_test_data): New variable.
10277         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10278         (asin_towardzero_test_data): New variable.
10279         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10280         (asin_downward_test_data): New variable.
10281         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10282         (asin_upward_test_data): New variable.
10283         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10284         (asinh_test_data): New variable.
10285         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10286         (atan_test_data): New variable.
10287         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10288         (atanh_test_data): New variable.
10289         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10290         (cbrt_test_data): New variable.
10291         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10292         (ceil_test_data): New variable.
10293         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10294         (cos_test_data): New variable.
10295         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10296         (cos_tonearest_test_data): New variable.
10297         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10298         (cos_towardzero_test_data): New variable.
10299         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10300         (cos_downward_test_data): New variable.
10301         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10302         (cos_upward_test_data): New variable.
10303         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10304         (cosh_test_data): New variable.
10305         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10306         (cosh_tonearest_test_data): New variable.
10307         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10308         (cosh_towardzero_test_data): New variable.
10309         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10310         (cosh_downward_test_data): New variable.
10311         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10312         (cosh_upward_test_data): New variable.
10313         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10314         (erf_test_data): New variable.
10315         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10316         (erfc_test_data): New variable.
10317         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10318         (exp_test_data): New variable.
10319         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10320         (exp_tonearest_test_data): New variable.
10321         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10322         (exp_towardzero_test_data): New variable.
10323         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10324         (exp_downward_test_data): New variable.
10325         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10326         (exp_upward_test_data): New variable.
10327         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10328         (exp10_test_data): New variable.
10329         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10330         (exp2_test_data): New variable.
10331         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10332         (expm1_test_data): New variable.
10333         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10334         (fabs_test_data): New variable.
10335         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10336         (floor_test_data): New variable.
10337         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10338         (j0_test_data): New variable.
10339         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10340         (j1_test_data): New variable.
10341         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10342         (log_test_data): New variable.
10343         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10344         (log10_test_data): New variable.
10345         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10346         (log1p_test_data): New variable.
10347         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10348         (log2_test_data): New variable.
10349         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10350         (logb_test_data): New variable.
10351         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10352         (logb_downward_test_data): New variable.
10353         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10354         (nearbyint_test_data): New variable.
10355         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10356         (rint_test_data): New variable.
10357         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10358         (rint_tonearest_test_data): New variable.
10359         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10360         (rint_towardzero_test_data): New variable.
10361         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10362         (rint_downward_test_data): New variable.
10363         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10364         (rint_upward_test_data): New variable.
10365         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10366         (round_test_data): New variable.
10367         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10368         (sin_test_data): New variable.
10369         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10370         (sin_tonearest_test_data): New variable.
10371         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10372         (sin_towardzero_test_data): New variable.
10373         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10374         (sin_downward_test_data): New variable.
10375         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10376         (sin_upward_test_data): New variable.
10377         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10378         (sinh_test_data): New variable.
10379         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10380         (sinh_tonearest_test_data): New variable.
10381         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10382         (sinh_towardzero_test_data): New variable.
10383         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10384         (sinh_downward_test_data): New variable.
10385         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10386         (sinh_upward_test_data): New variable.
10387         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10388         (sqrt_test_data): New variable.
10389         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10390         (tan_test_data): New variable.
10391         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10392         (tan_tonearest_test_data): New variable.
10393         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10394         (tan_towardzero_test_data): New variable.
10395         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10396         (tan_downward_test_data): New variable.
10397         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10398         (tan_upward_test_data): New variable.
10399         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10400         (tanh_test_data): New variable.
10401         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10402         (tgamma_test_data): New variable.
10403         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10404         (trunc_test_data): New variable.
10405         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10406         (y0_test_data): New variable.
10407         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10408         (y1_test_data): New variable.
10409         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10410         (significand_test_data): New variable.
10411         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10413 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10415         [BZ #12387]
10416         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10418 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10420         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10422 2013-05-10  Andreas Jaeger  <aj@suse.de>
10424         [BZ #15448]
10425         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10426         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10428 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10430         * math/gen-libm-test.pl (adjust_arg): New function.
10431         (special_functions): Handle generating output in both functions
10432         and arrays.
10433         (parse_args): Likewise.
10434         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10435         $in_func argument to parse_args.
10436         * math/libm-test.inc (struct test_f_f_data): New type.
10437         (IF_ROUND_INIT_): New macro.
10438         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10439         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10440         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10441         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10442         (ROUND_RESTORE_): Likewise.
10443         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10444         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10445         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10446         (ROUND_RESTORE_FE_UPWARD): Likewise.
10447         (RUN_TEST_LOOP_f_f): New macro.
10448         (acos_test_data): New variable.
10449         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10450         (acos_tonearest_test_data): New variable.
10451         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10453 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10455         * benchtests/bench-skeleton.c (startup): Fix coding style.
10457 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10459         [BZ #6809]
10460         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10461         negative infinity argument.
10462         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10463         negative infinity argument.
10464         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10465         negative infinity argument.
10466         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10467         domain errors.
10469 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10471         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10472         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10473         * iconv/iconv_prog.c (main): Likewise.
10474         * locale/programs/charmap-dir.c (charmap_readdir)
10475         (fopen_uncompressed): Likewise.
10476         * locale/programs/locfile.c (siblings_uncached)
10477         (write_locale_data): Use lstat64 instead of lstat.
10478         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10479         stat.
10481 2013-05-10  Andreas Jaeger  <aj@suse.de>
10483         [BZ #15395]
10484         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10485         localization.
10486         Include <locale.h>.
10488 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10490         * elf/dl-close.c (_dl_close_worker): Add comments.
10492 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10494         [BZ #15359]
10495         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10496         high part of pi/2.
10497         (__ieee754_rem_pio2l): Update comments.
10499         [BZ #15429]
10500         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10501         high part of pi/2.
10502         (__ieee754_rem_pio2l): Update comments.
10504         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10505         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10507         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10508         M_PI_4l.
10510         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10511         (M_PI_34_LOG10El): Likewise.
10512         (M_PI2_LOG10El): Likewise.
10513         (M_PI4_LOG10El): Likewise.
10514         (M_PI_LOG10El): Likewise.
10516 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10520 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10522         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10523         (MINUS_ZERO_INIT): Likewise.
10524         (PLUS_INFTY_INIT): Likewise.
10525         (MINUS_INFTY_INIT): Likewise.
10526         (QNAN_VALUE_INIT): Likewise.
10527         (MAX_VALUE_INIT): Likewise.
10528         (MIN_VALUE_INIT): Likewise.
10529         (MIN_SUBNORM_VALUE_INIT): Likewise.
10530         (plus_zero): Initialize with PLUS_ZERO_INIT.
10531         (minus_zero): Initialize with MINUS_ZERO_INIT.
10532         (plus_infty): Initialize with PLUS_INFTY_INIT.
10533         (minus_infty): Initialize with MINUS_INFTY_INIT.
10534         (qnan_value): Initialize with QNAN_VALUE_INIT.
10535         (max_value): Initialize with MAX_VALUE_INIT.
10536         (min_value): Initialize with MIN_VALUE_INIT.
10537         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10539         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10540         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10541         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10542         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10544         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10545         (RUN_TEST_2_f): Likewise.
10546         (RUN_TEST_ff_f): Likewise.
10547         (RUN_TEST_fi_f): Likewise.
10548         (RUN_TEST_fl_f): Likewise.
10549         (RUN_TEST_fff_f): Likewise.
10550         (RUN_TEST_c_f): Likewise.
10551         (RUN_TEST_f_f1): Likewise.
10552         (RUN_TEST_fF_f1): Likewise.
10553         (RUN_TEST_fI_f1): Likewise.
10554         (RUN_TEST_ffI_f1): Likewise.
10555         (RUN_TEST_c_c): Likewise.
10556         (RUN_TEST_cc_c): Likewise.
10557         (RUN_TEST_f_i): Likewise.
10558         (RUN_TEST_f_i_tg): Likewise.
10559         (RUN_TEST_ff_i_tg): Likewise.
10560         (RUN_TEST_f_b): Likewise.
10561         (RUN_TEST_f_b_tg): Likewise.
10562         (RUN_TEST_f_l): Likewise.
10563         (RUN_TEST_f_L): Likewise.
10564         (RUN_TEST_sincos): Likewise.
10565         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10566         whether to show exceptions.  Do not include ");\n" in return
10567         value.
10568         (special_functions): Output call to RUN_TEST_sincos instead of
10569         check_float calls.  Update calls to new_test.
10570         (parse_args): Output call to single RUN_TEST_* macro instead of
10571         check_* calls and other assignments.  Update calls to new_test.
10573         [BZ #2546]
10574         [BZ #2560]
10575         [BZ #5159]
10576         [BZ #15426]
10577         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10578         input to result for tgamma overflow.
10579         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10580         (gamma_coeff): New variable.
10581         (NCOEFF): New macro.
10582         (gamma_positive): New function.
10583         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10584         underflow here.  Use gamma_positive instead of exp (lgamma) for
10585         other arguments.
10586         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10587         (gamma_coeff): New variable.
10588         (NCOEFF): New macro.
10589         (gammaf_positive): New function.
10590         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10591         underflow here.  Use gamma_positive instead of exp (lgamma) for
10592         other arguments.
10593         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10594         (gamma_coeff): New variable.
10595         (NCOEFF): New macro.
10596         (gammal_positive): New function.
10597         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10598         underflow here.  Use gamma_positive instead of exp (lgamma) for
10599         other arguments.
10600         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10601         (gamma_coeff): New variable.
10602         (NCOEFF): New macro.
10603         (gammal_positive): New function.
10604         (__ieee754_gammal_r): Handle positive infinity, overflow and
10605         underflow here.  Handle NaN the same as positive infinity.  Remove
10606         check x < 0xffffffff for negative integers.  Use gamma_positive
10607         instead of exp (lgamma) for other arguments.
10608         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10609         (gamma_coeff): New variable.
10610         (NCOEFF): New macro.
10611         (gammal_positive): New function.
10612         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10613         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10614         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10615         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10616         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10617         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10618         * sysdeps/generic/math_private.h (__gamma_productf): New
10619         prototype.
10620         (__gamma_product): Likewise.
10621         (__gamma_productl): Likewise.
10622         * math/Makefile (libm-calls): Add gamma_product.
10623         * math/libm-test.inc (tgamma_test): Add more tests.
10624         * sysdeps/i386/fpu/libm-test-ulps: Update.
10625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10627 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10629         * benchtests/bench-skeleton.c (main): Preheat CPU.
10631 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10633         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10635 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10637         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10638         and _dl_skip_args_internal.
10640 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10642         * manual/message.texi (Message Translation): Talk about users.
10643         Message to key mapping impacts design.
10645 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10647         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10649         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10651         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10652         * sysdeps/wordsize-64/glob64.c: ... here.
10654         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10655         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10656         New macros.
10658         * debug/getlogin_r_chk.c: Moved to ...
10659         * login/getlogin_r_chk.c: ... here.
10660         * debug/Makefile (routines): Move getlogin_r_chk to ...
10661         * login/Makefile (routines): ... here.
10662         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10663         * login/Versions (libc: GLIBC_2.4): ... here.
10665         * io/poll.c (__poll): Renamed from poll.
10666         Add libc_hidden_def.
10667         (poll): Define as weak alias.
10669         * debug/ptsname_r_chk.c: Moved to ...
10670         * login/ptsname_r_chk.c: ... here.
10671         * debug/Makefile (routines): Move ptsname_r_chk to ...
10672         * login/Makefile (routines): ... here.
10673         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10674         * login/Versions (libc: GLIBC_2.4): ... here.
10676         * posix/getlogin.c: Moved to ...
10677         * login/getlogin.c: ... here.
10678         * posix/getlogin_r.c: Moved to ...
10679         * login/getlogin_r.c: ... here.
10680         * posix/getlogin_r.c: Moved to ...
10681         * login/getlogin_r.c: ... here.
10682         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10683         * login/Makefile (routines): ... here.
10684         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10685         * login/Versions (libc: GLIBC_2.0): ... here.
10687         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10688         (setrlimit): Define as weak alias.
10690         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10691         Call __ names for open, ftruncate, and close.
10692         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10693         (truncate): Define as weak alias.
10695 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10697         * math/gen-libm-test.pl (parse_args): Initialize x before each
10698         test of frexp, modf and remquo.
10700         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10701         test signgam value.
10703 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10705         [BZ #15418]
10706         [BZ #15419]
10707         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10708         internal tests.
10709         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10711 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10713         * elf/dl-writev.h: New file.
10714         * elf/dl-misc.c: Include it.
10715         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10716         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10718 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10720         * math/libm-test.inc (noXFails): Remove variable.
10721         (noXPasses): Likewise.
10722         (BUILD_COMPLEX_INT): Remove macro.
10723         (print_screen): Remove xfail argument.
10724         (print_screen_max_error): Likewise.
10725         (update_stats): Likewise.
10726         (print_max_error): Likewise.  Update calls to other affected
10727         functions.
10728         (print_complex_max_error): Likewise.
10729         (test_single_exception): Update calls to print_screen.
10730         (test_single_errno): Likewise.
10731         (check_float_internal): Remove xfail argument.  Update calls to
10732         other affected functions.
10733         (check_float): Likewise.
10734         (check_complex): Likewise.
10735         (check_int): Likewise.
10736         (check_long): Likewise.
10737         (check_bool): Likewise.
10738         (check_longlong): Likewise.
10739         (main): Don't print noXFails and noXPasses.
10740         * math/gen-libm-test.pl (top level): Don't mention expected
10741         failure handling in comment.
10742         (new_test): Don't handle expected failures.
10743         (parse_args): Don't mention expected failure handling in comment.
10744         (generate_testfile): Don't handle expected failures.
10745         (parse_ulps): Likewise.
10746         (print_ulps_file): Likewise.
10747         (get_failure): Remove function.
10748         (output_test): Don't handle expected failures.
10749         * make/README.libm-test: Don't mention expected failure handling.
10751         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10752         (minus_zero): Likewise.
10753         (plus_infty): Likewise.
10754         (minus_infty): Likewise.
10755         (qnan_value): Likewise.
10756         (max_value): Likewise.
10757         (min_value): Likewise.
10758         (min_subnorm_value): Likewise.
10759         (initialize): Do not initialize those variables dynamically.
10761 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10763         * io/open.c (__open_2): Moved to ...
10764         * io/open_2.c: ... this new file.
10765         * io/open64.c (__open64_2): Moved to ...
10766         * io/open64_2.c: ... this new file.
10767         * io/openat.c (__openat_2): Moved to ...
10768         * io/openat_2.c: ... this new file.
10769         * io/openat64.c (__openat64_2): Moved to ...
10770         * io/openat64_2.c: ... this new file.
10771         * io/Makefile (routines): Add them.
10772         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10773         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10774         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10775         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10776         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10777         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10778         (__openat64): Add hidden_ver.
10779         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10780         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10782         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10783         Separately conditionalize setting of GLRO(dl_sysinfo) so
10784         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10785         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10787 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10789         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10790         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10791         definition.
10792         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10793         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10794         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10795         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10796         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10798 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10800         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10801         test signgam value.
10803         * math/libm-test.inc (hypot_test): Do not use
10804         IGNORE_ZERO_INF_SIGN.
10806 2013-05-03  Andreas Jaeger  <aj@suse.de>
10808         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10809         Linux 3.9.
10810         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10811         (PF_MAX): Adjust for VSOCK change.
10813 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10817 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10819         [BZ #15264]
10820         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10821         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10822         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10824 2013-05-02  David S. Miller  <davem@davemloft.net>
10826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10828 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10830         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10832 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10834         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10836 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10838         [BZ #14952]
10839         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10840         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10841         Use __attribute__ ((__gnu_inline__)).
10842         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10843         Don't use __attribute__ ((__gnu_inline__)).
10845 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10847         [BZ #15423]
10848         * math/s_catan.c (__catan): Handle small real or imaginary part of
10849         input specially to avoid spurious underflow.
10850         * math/s_catanf.c (__catanf): Likewise.
10851         * math/s_catanh.c (__catanh): Likewise.
10852         * math/s_catanhf.c (__catanhf): Likewise.
10853         * math/s_catanhl.c (__catanhl): Likewise.
10854         * math/s_catanl.c (__catanl): Likewise.
10855         * math/libm-test.inc (catan_test): Add more tests.
10856         (catanh_test): Likewise.
10857         * sysdeps/i386/fpu/libm-test-ulps: Update.
10858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10860 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10864 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10866         [BZ #15416]
10867         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10868         accurately for denominator in atan2.
10869         * math/s_catanf.c (__catanf): Likewise.
10870         * math/s_catanh.c (__catanh): Likewise.
10871         * math/s_catanhf.c (__catanhf): Likewise.
10872         * math/s_catanhl.c (__catanhl): Likewise.
10873         * math/s_catanl.c (__catanl): Likewise.
10874         * math/libm-test.inc (catan_test): Add more tests.
10875         (catanh_test): Likewise.
10876         * sysdeps/i386/fpu/libm-test-ulps: Update.
10877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10879 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10881         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10883         * benchtests/Makefile (bench): Remove slow benchmarks.
10884         * benchtests/atan-inputs: Add slow benchmark inputs.
10885         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10886         (BENCH_FUNC): Accept variant offset.
10887         (VARIANT): Define.
10888         * benchtests/bench-skeleton.c (main): Run benchmark for each
10889         variant.
10890         * benchtests/cos-inputs: Add slow benchmark inputs.
10891         * benchtests/exp-inputs: Likewise.
10892         * benchtests/pow-inputs: Likewise.
10893         * benchtests/sin-inputs: Likewise.
10894         * benchtests/slowatan-inputs: Remove.
10895         * benchtests/slowatan.c: Remove.
10896         * benchtests/slowcos-inputs: Remove.
10897         * benchtests/slowcos.c: Remove.
10898         * benchtests/slowexp-inputs: Remove.
10899         * benchtests/slowexp.c: Remove.
10900         * benchtests/slowpow-inputs: Remove.
10901         * benchtests/slowpow.c: Remove.
10902         * benchtests/slowsin-inputs: Remove.
10903         * benchtests/slowsin.c: Remove.
10904         * benchtests/slowtan-inputs: Remove.
10905         * benchtests/slowtan.c: Remove.
10906         * benchtests/tan-inputs: Add slow benchmark inputs.
10907         * scripts/bench.pl: Parse comments and directives.
10909         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10910         in CPPFLAGS.
10911         ($(objpfx)bench-%.c): Remove *-ITER.
10912         * benchtests/bench-modf.c: Remove definition of ITER.
10913         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10914         (main): Loop for DURATION seconds instead of fixed number of
10915         iterations.
10916         * scripts/bench.pl: Don't expect iterations in parameters.
10918 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10920         * io/fchdir.c (__fchdir): Renamed from fchdir.
10921         (fchdir): Define as weak alias.
10923 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10925         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10926         (ERRNO_EDOM): Likewise.
10927         (ERRNO_ERANGE): Likewise.
10928         (noErrnoTests): New variable.
10929         (init_max_error): Set errno to 0.
10930         (test_single_errno): New function.
10931         (test_errno): Likewise.
10932         (check_float_internal): Call test_errno.  Set errno to 0.
10933         (check_complex): Refer to errno tests in comment.
10934         (check_int): Call test_errno.  Set errno to 0.
10935         (check_long): Likewise.
10936         (check_bool): Likewise.
10937         (check_longlong): Likewise.
10938         (cos_test): Use ERRNO_* flags for errno tests instead of
10939         check_int.
10940         (expm1_test): Likewise.
10941         (fmod_test): Likewise.
10942         (ilogb_test): Likewise.
10943         (lgamma_test): Likewise.
10944         (pow_test): Likewise.
10945         (remainder_test): Likewise.
10946         (sin_test): Likewise.
10947         (tan_test): Likewise.
10948         (yn_test): Likewise.
10949         (initialize): Set errno to 0.
10950         (main): Print number of errno tests.
10951         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10953 2013-04-29  Andreas Jaeger  <aj@suse.de>
10955         [BZ #15084]
10956         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10957         and RES_USEVC.
10959         [BZ #15085]
10960         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10961         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10962         unimplemented.
10964         [BZ #15380]
10965         * stdlib/random.c (__initstate): Return NULL if
10966         __initstate fails.
10968         [BZ #15086]
10969         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10970         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10971         RES_SNGLKUPREOP.
10973 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10977 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10979         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10980         of individual tests.
10981         (casin_test): Likewise.
10982         (casinh_test): Likewise.
10984 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10986         [BZ #15409]
10987         * math/s_catan.c (__catan): Handle arguments with large real or
10988         imaginary part separately without squaring.
10989         * math/s_catanf.c (__catanf): Likewise.
10990         * math/s_catanh.c (__catanh): Likewise.
10991         * math/s_catanhf.c (__catanhf): Likewise.
10992         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10993         and redefine.
10994         (__catanhl): Handle arguments with large real or imaginary part
10995         separately without squaring.
10996         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10997         and redefine.
10998         (__catanl): Handle arguments with large real or imaginary part
10999         separately without squaring.
11000         * math/libm-test.inc (catan_test): Add more tests.
11001         (catanh_test): Likewise.
11002         * sysdeps/i386/fpu/libm-test-ulps: Update.
11003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11005 2013-04-27  Andreas Jaeger  <aj@suse.de>
11007         [BZ #15007]
11008         * stdlib/stdlib.h: Update guards for qecvt.
11009         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11010         <stdlib.h>.
11012 2013-04-27  Allan McRae  <allan@archlinux.org>
11014         * sysdeps/i386/fpu/libm-test-ulps: Update.
11016 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
11018         [BZ #15406]
11019         * math/s_catan.c: Include <float.h>.
11020         (__catan): Ensure underflow exception occurs for underflowed
11021         result.
11022         * math/s_catanf.c: Include <float.h>.
11023         (__catanf): Ensure underflow exception occurs for underflowed
11024         result.
11025         * math/s_catanh.c: Include <float.h>.
11026         (__catanh): Ensure underflow exception occurs for underflowed
11027         result.
11028         * math/s_catanhf.c: Include <float.h>.
11029         (__catanhf): Ensure underflow exception occurs for underflowed
11030         result.
11031         * math/s_catanhl.c: Include <float.h>.
11032         (__catanhl): Ensure underflow exception occurs for underflowed
11033         result.
11034         * math/s_catanl.c: Include <float.h>.
11035         (__catanl): Ensure underflow exception occurs for underflowed
11036         result.
11037         * math/libm-test.inc (catan_test): Add more tests.
11038         (catanh_test): Likewise.
11040         [BZ #15405]
11041         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11042         underflowed result.
11043         * math/s_ccoshf.c (__ccoshf): Likewise.
11044         * math/s_ccoshl.c (__ccoshl): Likewise.
11045         * math/s_csin.c (__csin): Likewise.
11046         * math/s_csinf.c (__csinf): Likewise.
11047         * math/s_csinh.c (__csinh): Likewise.
11048         * math/s_csinhf.c (__csinhf): Likewise.
11049         * math/s_csinhl.c (__csinhl): Likewise.
11050         * math/s_csinl.c (__csinl): Likewise.
11051         * math/libm-test.inc (ccos_test): Add more tests.
11052         (ccosh_test): Likewise.
11053         (csin_test): Likewise.
11054         (csinh_test): Likewise.
11056 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11058         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11059         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11060         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11061         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11062         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11063         powerpc/power5+/fpu folders.
11064         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11067 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11071 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
11073         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11074         additions to variable.
11075         [$(config-machine) = x86_64] (modules-names): Likewise.
11076         ($(objpfx)tst-audit3): Remove dependency.
11077         ($(objpfx)tst-audit3.out): Likewise.
11078         ($(objpfx)tst-audit4): Likewise.
11079         ($(objpfx)tst-audit4.out): Likewise.
11080         ($(objpfx)tst-audit5): Likewise.
11081         ($(objpfx)tst-audit5.out): Likewise.
11082         ($(objpfx)tst-audit6): Likewise.
11083         ($(objpfx)tst-audit6.out): Likewise.
11084         ($(objpfx)tst-audit7): Likewise.
11085         ($(objpfx)tst-audit7.out): Likewise.
11086         (tst-audit3-ENV): Remove variable.
11087         (tst-audit4-ENV): Likewise.
11088         (tst-audit5-ENV): Likewise.
11089         (tst-audit6-ENV): Likewise.
11090         (tst-audit7-ENV): Likewise.
11091         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11092         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11093         addition to variable.
11094         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11095         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11096         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11097         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11098         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11099         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11100         tst-audit3, tst-audit4 and tst-audit5.
11101         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11102         tst-audit6 and tst-audit7.
11103         [$(subdir) = elf] (modules-names): Add audit modules for those
11104         tests.
11105         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11106         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11107         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11108         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11109         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11110         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11111         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11112         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11113         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11114         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11115         [$(subdir) = elf] (tst-audit3-ENV): New variable.
11116         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11117         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11118         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11119         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11120         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11121         Likewise.
11122         [$(subdir) = elf && $(config-cflags-avx) = yes]
11123         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11124         [$(subdir) = elf && $(config-cflags-avx) = yes]
11125         (CFLAGS-tst-auditmod4a.c): Likewise.
11126         [$(subdir) = elf && $(config-cflags-avx) = yes]
11127         (CFLAGS-tst-auditmod4b.c): Likewise.
11128         [$(subdir) = elf && $(config-cflags-avx) = yes]
11129         (CFLAGS-tst-auditmod6b.c): Likewise.
11130         [$(subdir) = elf && $(config-cflags-avx) = yes]
11131         (CFLAGS-tst-auditmod6c.c): Likewise.
11132         [$(subdir) = elf && $(config-cflags-avx) = yes]
11133         (CFLAGS-tst-auditmod7b.c): Likewise.
11134         * elf/tst-audit3.c: Move to ...
11135         * sysdeps/x86_64/tst-audit3.c: ... here.
11136         * elf/tst-audit4.c: Move to ...
11137         * sysdeps/x86_64/tst-audit4.c: ... here.
11138         * elf/tst-audit5.c: Move to ...
11139         * sysdeps/x86_64/tst-audit5.c: ... here.
11140         * elf/tst-audit6.c: Move to ...
11141         * sysdeps/x86_64/tst-audit6.c: ... here.
11142         * elf/tst-audit7.c: Move to ...
11143         * sysdeps/x86_64/tst-audit7.c: ... here.
11144         * elf/tst-auditmod3a.c: Move to ...
11145         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11146         * elf/tst-auditmod3b.c: Move to ...
11147         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11148         * elf/tst-auditmod4a.c: Move to ...
11149         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11150         * elf/tst-auditmod4b.c: Move to ...
11151         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11152         * elf/tst-auditmod5a.c: Move to ...
11153         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11154         * elf/tst-auditmod5b.c: Move to ...
11155         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11156         * elf/tst-auditmod6a.c: Move to ...
11157         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11158         * elf/tst-auditmod6b.c: Move to ...
11159         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11160         * elf/tst-auditmod6c.c: Move to ...
11161         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11162         * elf/tst-auditmod7a.c: Move to ...
11163         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11164         * elf/tst-auditmod7b.c: Move to ...
11165         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11167 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
11169         [BZ #15366]
11170         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11171         define unconditionally.
11172         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11173         define unconditionally.
11174         (INT8_C, INT16_C, etc.): Likewise.
11176 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
11178         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11179         __ehdr_start with hidden visibility.
11181         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11183 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
11185         * math/libm-test.inc (cos_test): Use accurate hex constants.
11186         (sincost_test): Likewise.
11188 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
11190         * math/libm-test.inc (catan_test): Add more tests.
11191         (catanh_test): Likewise.
11193         * math/s_catanf.c (__catanf): Use suffixed floating-point
11194         constants.
11195         * math/s_catanhf.c (__catanhf): Likewise.
11196         * math/s_catanhl.c (__catanhl): Likewise.
11197         * math/s_catanl.c (__catanl): Likewise.
11199         [BZ #15394]
11200         * math/s_catan.c (__catan): Calculate imaginary part of result
11201         with log1p not log unless computing log of number close to 0.
11202         * math/s_catanf.c (__catanf): Likewise.
11203         * math/s_catanl.c (__catanl): Likewise.
11204         * math/s_catanh.c (__catanh): Calculate real part of result with
11205         log1p not log unless computing log of number close to 0.
11206         * math/s_catanhf.c (__catanhf): Likewise.
11207         * math/s_catanhl.c (__catanhl): Likewise.
11208         * math/libm-test.inc (catan_test): Add more tests.
11209         (catanh_test): Likewise.
11210         * sysdeps/i386/fpu/libm-test-ulps: Update.
11211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11213 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11215         * benchtests/Makefile: Mention files in which fast and slow
11216         paths of math functions are implemented.
11218 2013-04-23  Roland McGrath  <roland@hack.frob.com>
11220         * sysdeps/posix/timespec_get.c: New file.
11222 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11224         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11225         POWER.
11226         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11227         for POWER.
11228         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11229         powerpc/power5/fpu folders.
11230         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11231         * benchtests/Makefile: Add modf testcase.
11232         * benchtests/bench-modf.c: New file: Benchmark test for mo
11234 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11236         [BZ #14888]
11237         * time/Makefile (tests): Add tst-strptime-whitespace.
11238         * time/strptime_l.c (get_number): Use ISSPACE.
11239         (__strptime_internal): Likewise.
11240         * time/tst-strptime-whitespace.c: New test case.
11242 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
11244         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11245         member.
11246         (_nss_files_init): Set it here.
11248 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
11250         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11251         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11252         unsigned.
11254 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
11256         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11258 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11260         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11261         size just once.
11263 2013-04-21  David S. Miller  <davem@davemloft.net>
11265         * po/ru.po: Update Russion translation from translation project.
11267 2013-04-17  Adam Conrad  <adconrad@0c3.net>
11269         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11270         and setfsgid.
11272 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
11274         * configure.in: Remove i386 configure warning. Remove i386 case.
11275         * configure: Regenerate.
11276         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11277         Add example to error message.
11278         * sysdeps/i386/configure: Regenerate.
11280 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11282         * benchtests/Makefile (bench): Add cos, tan, slowcos and
11283         slowtan.
11284         * benchtests/cos-inputs: New file.
11285         * benchtests/slowcos-inputs: New file.
11286         * benchtests/slowcos.c: New file.
11287         * benchtests/slowtan-inputs: New file.
11288         * benchtests/slowtan.c: New file.
11289         * benchtests/tan-inputs: New file.
11291 2013-04-16  Roland McGrath  <roland@hack.frob.com>
11293         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11294         considered kosher.
11296 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11298         * benchtests/Makefile: Include cppflags-iterator.mk to add
11299         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11301         * Makefile.in (bench-clean): New target.
11302         * benchtests/Makefile (bench-clean): Likewise.
11304 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
11306         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11308 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
11310         * stdio-common/tstdiomisc.c: Fix coding-style violation.
11312 2013-04-15  Andreas Schwab  <schwab@suse.de>
11314         * nscd/grpcache.c (cache_addgr): Properly check for short write.
11315         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11316         * nscd/pwdcache.c (cache_addpw): Likewise.
11317         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
11318         more than recsize.
11320 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11322         * benchtests/Makefile (bench): Write all output to
11323         bench-out.tmp together.
11325 2013-04-15  Andreas Schwab  <schwab@suse.de>
11327         * nscd/nscd.c (main): Don't fork again after closing files.
11329 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11331         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11333         * benchtests/Rules (bench-deps): Collect dependencies into a
11334         single variable.  Add Makefile to dependencies.
11335         ($(objpfx)bench-%.c): Depend on bench-deps.
11337 2013-04-12  Roland McGrath  <roland@hack.frob.com>
11338             Xavier Roche  <roche+kml2@exalead.com>
11340         [BZ #15361]
11341         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11342         just that it's a file descriptor.
11343         * manual/llio.texi (Synchronizing AIO Operations): Update description
11344         for EBADF error from aio_fsync.
11346 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11348         * Rules (bench): Move target definition...
11349         * benchtests/Makefile: ... here.
11351 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11353         * math/libm-test.inc (cos_test): Fix PI/2 test.
11354         (sincos_test): Likewise.
11355         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11356         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11358 2013-04-11  Andreas Schwab  <schwab@suse.de>
11360         [BZ #13988]
11361         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11362         accept exponent character only when digits were seen.
11363         * stdio-common/Makefile (tests): Add bug26.
11364         * stdio-common/bug26.c: New file.
11366         [BZ #14293]
11367         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11368         non-freeable.
11370 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11372         * Makeconfig (rtld-prefix): Define built linker prefix.
11373         * Rules (run-bench): Use it.
11374         * math/Makefile (run-regen-ulps): Likewise.
11376         * Rules (bench): Remove eval.
11378 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11379             Roland McGrath  <roland@hack.frob.com>
11380             Ondrej Bilka  <neleai@seznam.cz>
11382         [BZ #15346]
11383         * time/getdate.c: Include ctype.h and alloca.h.
11384         (__getdate_r): Trim leading and trailing spaces of input.
11385         * time/tst-getdate.c (tests): Add tests with leading and
11386         trailing spaces.
11388 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11390         [BZ #14280]
11391         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11392         when computing value.
11394 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11396         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11397         Use testrun.sh to run libm tests.
11399         [BZ #15309]
11400         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11402 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11404         [BZ #15264]
11405         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11407 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11409         * Makefile.in (regen-ulps): New target.
11410         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11411         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11412         [ifneq (no,$(PERL)] (regen-ulps): New target.
11413         [ifeq (no,$(PERL)] (regen-ulps): New target.
11414         * math/libm-test.inc (ulps_file_name): Define.
11415         (output_dir): New variable.
11416         (options): Add "output-dir" option.
11417         (parse_opt): Handle 'o' case.
11418         (main): If output_dir is non-NULL use it as a prefix
11419         otherwise use "".
11420         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11422 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11424         [BZ #10060, #10062]
11425         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11426         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11427         fail configure if __sync_val_compare_and_swap is not inlined.
11428         * sysdeps/i386/configure: Regenerate.
11429         * configure.in: Build for i686 when configured for i386.
11430         * configure: Regenerate.
11431         * README: Remove i386 reference.
11433 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11435         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11436         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11438 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11440         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11441         (lmsnanval): New variables.
11442         (F): Add conversion tests.
11443         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11444         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11446         * stdio-common/tstdiomisc.c (F): Properly collect individual
11447         tests' results.
11449         [BZ #14686, #15336]
11450         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11451         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11452         Instead, use input NaN values or generate a qNaN by arithmetic
11453         operation.  Also fix bugs to comply with the standard.
11454         * math/libm-test.inc (remainder_test): Add more tests.
11456         [BZ #15335, #15342]
11457         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11458         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11459         input NaN values or generate a qNaN by arithmetic operation.
11461         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11462         unreachable code.
11464         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11465         definitions.
11467 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11469         [BZ #14478]
11470         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11471         underflowed result.
11472         * math/s_cexpf.c (__cexpf): Likewise.
11473         * math/s_cexpl.c (__cexpl): Likewise.
11474         * math/libm-test.inc (cexp_test): Add more tests.
11476 2013-04-03  Andreas Schwab  <schwab@suse.de>
11478         [BZ #15330]
11479         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11480         order arrays from heap if bigger than alloca cutoff.
11482 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11484         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11485         (SNAN_TESTS_double): Refer to GCC PR56831.
11486         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11487         GCC PR56828.
11489 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11491         * Rules (bench): Move bench.out after the run is complete.
11493         * Rules (bench): Echo currently running benchmark.
11495         * benchtests/Makefile (bench): Add atan and slowatan.
11496         * benchtests/atan-inputs: New file.
11497         * benchtests/slowatan-inputs: New file.
11498         * benchtests/slowatan.c: New file.
11500         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11501         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11502         its value.
11504         [BZ #15305]
11505         * sysdeps/unix/sysv/linux/kernel-features.h
11506         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11507         __ASSUME_XFS_RESTRICTED_CHOWN.
11508         * sysdeps/unix/sysv/linux/pathconf.c
11509         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11510         Save and restore errno.
11512 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11514         [BZ #15327]
11515         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11516         arguments using __kernel_casinh.
11517         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11518         arguments using __kernel_casinhf.
11519         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11520         arguments using __kernel_casinhl.
11521         * math/libm-test.inc (cacosh_test): Add more tests.
11522         * sysdeps/i386/fpu/libm-test-ulps: Update.
11523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11525 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11527         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11528         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11530         * bench/Makefile (bench): Add sin and slowsin.
11531         * benchtests/sin-inputs: New file.
11532         * benchtests/slowsin-inputs: New file.
11533         * benchtests/slowsin.c: New file.
11535         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11536         (bench): Add slowexp and slowpow.
11537         (exp-ITER): Increase iterations.
11538         (pow-ITER): Likewise.
11539         * benchtests/exp-inputs: Change input.
11540         * benchtests/pow-inputs: Likewise.
11541         * benchtests/slowexp-inputs: New file.
11542         * benchtests/slowexp.c: New file.
11543         * benchtests/slowpow-inputs: New file.
11544         * benchtests/slowpow.c: New file.
11546 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11548         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11549         instructions.
11550         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11551         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11552         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11553         * benchtests/Makefile: Add rint benchtest.
11554         * benchtests/rint-inputs: Input for rint benchtest.
11556 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11558         * Versions.def (libm): Add GLIBC_2.18.
11559         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11560         hidden libm prototypes.
11561         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11562         * math/Makefile (libm-calls): Add s_issignaling.
11563         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11564         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11565         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11566         declaration.
11567         * math/math.h [__USE_GNU] (issignaling): New macro.
11568         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11569         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11570         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11571         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11572         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11573         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11574         * manual/arith.texi (issignaling): New section.
11575         * manual/libm-err-tab.pl (@all_functions): Update comment.
11576         * math/gen-libm-test.pl (parse_args): Apply special handling for
11577         issignaling.
11578         * math/libm-test.inc (print_float, issignaling_test): New
11579         functions.
11580         (check_float_internal): Add issignaling checks.
11581         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11582         default definition.
11583         * sysdeps/powerpc/math-tests.h: New file.
11584         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11585         tests.
11586         * math/test-snan.c (TEST_FUNC): Likewise.
11588 2013-03-30  David S. Miller  <davem@davemloft.net>
11590         * po/de.po: Update from translation team.
11592 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11594         [BZ #10357]
11595         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11596         imaginary part less than 1.0 and real part less than 0.5
11597         specially.
11598         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11599         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11600         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11601         (cacos_test): Add more tests.
11602         (casin_test): Likewise.
11603         (casinh_test): Likewise.
11604         * sysdeps/i386/fpu/libm-test-ulps: Update.
11605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11607 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11609         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11610         ONE with its value.
11612         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11613         (__pow_mp): Replace ONE and MONE with their values.
11614         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11615         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11616         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11617         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11618         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11619         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11621         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11623         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11624         (__pow_mp): Replace ZERO and MZERO with their values.
11625         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11626         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11627         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11628         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11629         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11630         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11631         (__sqr): Likewise.
11633         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11635         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11637 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11639         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11640         Declare with __attribute__ ((weak)).
11641         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11642         Call __call_tls_dtors only if it's not NULL.
11644 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11646         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11647         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11648         magic __ehdr_start linker symbol if it's defined.
11649         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11650         them up here if it was already done.
11652         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11653         (_dl_aux_init): Use const in cast when setting it.
11654         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11655         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11656         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11658         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11659         Declare them here.
11660         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11661         * csu/libc-tls.c: Nor here.
11662         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11664         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11665         (__libc_message): Never call vsyslog.
11667 2013-03-28  Alan Modra  <amodra@gmail.com>
11669         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11670         Define as empty.
11671         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11672         Likewise.
11674 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11676         [BZ #15214]
11677         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11678         underflow.
11679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11681 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11683         [BZ #15304]
11684         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11685         Don't add gid passed as argument.
11687         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11689 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11691         [BZ #15307]
11692         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11693         imaginary part between 1.0 and 1.5 and real part less than 0.5
11694         specially.
11695         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11696         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11697         * math/libm-test.inc (cacos_test): Add more tests.
11698         (casin_test): Likewise.
11699         (casinh_test): Likewise.
11700         * sysdeps/i386/fpu/libm-test-ulps: Update.
11701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11703 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11705         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11706         constants.
11707         (norm): Likewise.
11708         (denorm): Likewise.
11709         (__dbl_mp): Likewise.
11710         (add_magnitudes): Likewise.
11711         (sub_magnitudes): Likewise.
11712         (__add): Likewise.
11713         (__sub): Likewise.
11714         (__mul): Likewise.
11715         (__sqr): Likewise.
11716         (__inv): Likewise.
11717         (__dvd): Likewise.
11719         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11720         commented code.
11721         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11722         (__dubcos): Likewise.
11723         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11724         (__ieee754_acos): Likewise.
11725         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11726         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11727         (__exp1): Likewise.
11728         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11729         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11730         (log1): Likewise.
11731         (my_log2): Likewise.
11732         (checkint): Likewise.
11733         * sysdeps/ieee754/dbl-64/e_remainder.c
11734         (__ieee754_remainder): Likewise.
11735         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11736         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11737         (bsloww): Likewise.
11738         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11740         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11741         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11742         MANTISSA_STORE_T to store computations on mantissa.  Use
11743         macros for rounding and division.
11744         (denorm): Likewise.
11745         (__dbl_mp): Likewise.
11746         (add_magnitudes): Likewise.
11747         (sub_magnitudes): Likewise.
11748         (__mul): Likewise.
11749         (__sqr): Likewise.
11750         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11751         powers of two in terms of TWOPOW macro.
11752         (mp_no): Make type of mantissa as MANTISSA_T.
11753         [!RADIXI]: Define RADIXI.
11754         [!TWO52]: Define TWO52.
11755         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11757 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11759         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11760         llroundl symbol when building for PPC32.
11762 2013-03-24  Mark H Weaver  <mhw@netris.org>
11764         * manual/arith.texi (Normalization Functions): Fix prototypes for
11765         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11767 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11769         [BZ #13889]
11770         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11771         high value to check if expl overflow.
11772         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11773         to check for underflow and overflow.
11774         * math/libm-test.inc: Add exp test.
11776 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11778         [BZ #11120]
11779         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11780         with NOT_IN_libc.
11782 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11784         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11785         symbol.
11787 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11789         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11790         wrap blocks consisting of several statements.
11792         * sysdeps/generic/math-tests.h: New file.
11793         * sysdeps/i386/fpu/math-tests.h: Likewise.
11794         * math/test-snan.c: Include it.
11795         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11797 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11799         [BZ #15285]
11800         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11801         (__ieee754_j0l): Do not improve calculations using cos of twice
11802         input for inputs above LDBL_MAX / 2.0L.
11803         (__ieee754_y0l): Likewise.
11804         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11805         (__ieee754_j1l): Do not improve calculations using cos of twice
11806         input for inputs above LDBL_MAX / 2.0L.
11807         (__ieee754_y1l): Likewise.
11808         * math/libm-test.inc (j0_test): Add another test.
11809         (j1_test): Likewise.
11810         (y0_test): Likewise.
11811         (y1_test): Likewise.
11812         * sysdeps/i386/fpu/libm-test-ulps: Update.
11814 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11816         * Rules ($(objpfx)bench-%.c): Include code from a C source
11817         file.
11819 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11821         [BZ #15287]
11822         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11823         imaginary part 1.0 and real part less than 0.5 specially.
11824         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11825         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11826         * math/libm-test.inc (cacos_test): Add more tests.
11827         (casin_test): Likewise.
11828         (casinh_test): Likewise.
11829         * sysdeps/i386/fpu/libm-test-ulps: Update.
11830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11832 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11834         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11835         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11837 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11839         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11840         * config.make.in (config-cflags-sse4): Remove variable.
11841         (config-cflags-avx): Likewise.
11842         (config-cflags-sse2avx): Likewise.
11843         (config-cflags-novzeroupper): Likewise.
11844         (config-asflags-i686): Likewise.
11845         (have-mfma4): Likewise.
11846         (have-as-vis3): Likewise.
11847         (MIG): Likewise.
11848         * configure.in (MIG): Do not AC_SUBST.
11849         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11850         (libc_cv_cc_sse4): Do not AC_SUBST.
11851         (libc_cv_cc_avx): Likewise.
11852         (libc_cv_cc_sse2avx): Likewise.
11853         (libc_cv_cc_novzeroupper): Likewise.
11854         (libc_cv_cc_fma4): Likewise.
11855         (libc_cv_as_i686): Likewise.
11856         (libc_cv_sparc_as_vis3): Likewise.
11857         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11858         LIBC_CONFIG_VAR.
11859         (config-asflags-i686): Likewise.
11860         (config-cflags-avx): Likewise.
11861         (config-cflags-sse2avx): Likewise.
11862         (have-mfma4): Likewise.
11863         (config-cflags-novzeroupper): Likewise.
11864         * sysdeps/mach/configure.in (MIG): Likewise.
11865         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11866         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11867         LIBC_CONFIG_VAR.
11868         (config-cflags-avx): Likewise.
11869         (config-cflags-sse2avx): Likewise.
11870         (have-mfma4): Likewise.
11871         (config-cflags-novzeroupper): Likewise.
11872         * configure: Regenerated.
11873         * sysdeps/i386/configure: Likewise.
11874         * sysdeps/mach/configure: Likewise.
11875         * sysdeps/sparc/configure: Likewise.
11876         * sysdeps/x86_64/configure: Likewise.
11878 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11880         [BZ #14812]
11881         * locale/programs/localedef.c (options): Put N_ translation marker
11882         on argument names, not just descriptions.
11884 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11886         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11888 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11890         [BZ #14176]
11891         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11893 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11895         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11896         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11897         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11898         [!BEFORE_ABORT] (before_abort): New function.
11899         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11900         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11901         (writev_for_fatal): New function.
11902         (WRITEV_FOR_FATAL): New macro; call that.
11903         (backtrace_and_maps): New function.
11904         (BEFORE_ABORT): New macro; call that.
11905         (struct str_list): Type removed.
11906         (__libc_message, __libc_fatal): Functions removed.
11907         Include <sysdeps/posix/libc_fatal.c> instead.
11909 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11911         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11912         constants.
11913         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11914         double constants.
11916 2013-03-19  Andreas Schwab  <schwab@suse.de>
11918         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11919         * sysdeps/gnu/configure: Regenerate.
11921         * configure.in: Substitute libc_cv_rtlddir.
11922         * configure: Regenerate.
11923         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11924         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11925         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11926         * elf/Makefile (install-others, CFLAGS-interp.c)
11927         (ldso_install, common-ldd-rewrite): Likewise.
11928         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11929         $(inst_slibdir)/$(rtld-installed-name).
11930         * scripts/rellns-sh: Add -p option.
11931         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11932         for source.
11934 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11936         * manual/nptl.texi: Renamed to ...
11937         * manual/threads.texi: ... this.
11938         * manual/Makefile (chapters): Update.
11940 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11942         [BZ #14812]
11943         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11944         on argument names, not just descriptions.
11945         * malloc/memusagestat.c (options): Likewise.
11946         * nss/getent.c (options): Likewise.
11948 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11950         [BZ #14812]
11951         * iconv/iconv_prog.c (options): Put N_ translation marker
11952         on argument names, not just descriptions.
11953         * iconv/iconvconfig.c (options): Likewise.
11955 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11957         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11958         implementation which is faster on all x86_64 architectures.
11959         Tested on AMD, Intel Nehalem, SNB, IVB.
11960         * sysdeps/x86_64/strnlen.S: Likewise.
11962         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11963         Remove all multiarch strlen and strnlen versions.
11964         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11965         Remove strlen and strnlen related parts.
11967         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11968         Inline strlen part.
11969         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11971         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11972         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11973         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11974         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11975         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11976         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11978 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11980         * manual/memory.texi (Malloc Tunable Parameters):
11981         Sort parameters alphabetically. Add comments for missing entries.
11983 2013-03-17  David S. Miller  <davem@davemloft.net>
11985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11987 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11989         [BZ #15283]
11990         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11991         for arguments at most half maximum finite value.
11992         * math/libm-test.inc (j0_test): Add more tests.
11993         (j1_test): Likewise.
11994         (y0_test): Likewise.
11995         (y1_test): Likewise.
11996         * sysdeps/i386/fpu/libm-test-ulps: Update.
11997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11999         [BZ #14155]
12000         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12001         1 / x and functions P and Q for arguments above 0x1p256L.
12002         (__ieee754_y0l): Likewise.
12003         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12004         (__ieee754_y1l): Likewise.
12005         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12006         (j1_test): Likewise.
12007         (y0_test): Likewise.
12008         (y1_test): Likewise.
12010 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
12012         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12013         variable.
12015 2013-03-15  Roland McGrath  <roland@hack.frob.com>
12017         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12018         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12019         zero since it's initialized to EXEC_PAGESIZE.
12021         * sysdeps/unix/sysv/linux/ldsodefs.h
12022         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12023         * sysdeps/generic/ldsodefs.h: ... here.
12025 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
12027         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12029         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12030         math/test-snan.c.
12031         * math/test-snan.c: Renamed from
12032         sysdeps/powerpc/fpu/test-powerpc-snan.c.
12033         * math/Makefile (tests): Add test-snan.
12034         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12035         test-powerpc-snan.
12037         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12038         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
12039         functions.
12040         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
12041         __builtin_nan family of functions.
12042         * math/libm-test.inc (initialize): Initialize qnan_value with
12043         __builtin_nan family of functions.
12044         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12045         Remove variables.
12046         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12047         Remove functions.
12048         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
12049         storage class.  Initialize qNaN_var and sNaN_var with
12050         __builtin_nan and __builtin_nans families of functions,
12051         respectively.
12053         * math/libm-test.inc (acosh_test): Also test with qNaN input.
12054         (sqrt_test): Remove duplicate test with qNaN input.
12055         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12056         (round_test, signbit_test, significand_test): Note missing +/-Inf
12057         as well as qNaN tests.
12059         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12060         qNaN_var.  Fix a few strings, too.
12061         * math/libm-test.inc (nan_value): Rename to qnan_value.
12062         * math/gen-libm-test.pl (%beautify): Adjust to that.
12063         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12064         * math/test-misc.c (main): Likewise.
12065         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12066         to __qnan_bytes, and __qnan_union, respectively.
12067         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12068         Likewise.
12069         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12070         and lqnanval, respectively.
12071         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12072         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12073         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12074         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12076         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12077         * math/test-misc.c (main) [__x86_64__]: Enable test for long
12078         doubles.
12080         * math/test-misc.c (main): Fix copy'n'pastos.
12081         * misc/tst-efgcvt.c (special): Likewise.
12083         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12084         Remove declarations.
12086 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12088         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12089         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12090         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12091         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12093 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12095         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12096         macro to return vdso values correctly in IFUNC implementations.
12097         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12098         Optimization by using IFUNC.
12100 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12101             Richard Henderson  <rth@redhat.com>
12102             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12104         * Makefile.in (bench): New target.
12105         * NEWS: Mention the benchmark framework.
12106         * Rules (bench): Likewise.
12107         (binaries-bench): Generate binaries for functions to
12108         benchmark.
12109         * benchtests/Makefile: New makefile for benchmark tests.
12110         * benchtests/bench-skeleton.c: New skeleton file for benchmark
12111         programs.
12112         * benchtests/exp-inputs: New input file for EXP function.
12113         * benchtests/pow-inputs: New input file for POW function.
12114         * scripts/bench.pl: New script to generate source files for
12115         benchmark programs.
12117 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12119         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12120         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12121         computations on mantissa.  Use macros for rounding and
12122         division.
12123         (denorm): Likewise.
12124         (__dbl_mp): Likewise.
12125         (add_magnitudes): Likewise.
12126         (sub_magnitudes): Likewise.
12127         (__mul): Likewise.
12128         (__sqr): Likewise.
12129         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12130         powers of two in terms of TWOPOW macro.
12131         (mp_no): Make type of mantissa as MANTISSA_T.
12132         [!RADIXI]: Define RADIXI.
12133         [!TWO52]: Define TWO52.
12134         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12136         * manual/nptl.texi (cindex): Modify threads to pthreads.
12138 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
12140         * sysdeps/x86_64/preconfigure: Regenerated.
12142 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
12144         [BZ #14155]
12145         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12146         0x1p28 and above.
12147         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12148         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12149         0x1p28 and above.
12150         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12151         * math/libm-test.inc (j0_test): Do not allow one spurious
12152         underflow exception.
12153         (y1_test): Likewise.
12155 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12157         * manual/Makefile (chapters): Add nptl.
12158         * manual/debug.texi (Debugging Support): Add link to Threads
12159         chapter.
12160         * manual/nptl.texi: New file.
12162         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12164 2013-03-14  Petr Baudis  <pasky@ucw.cz>
12166         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12167         for non-NULL pointer before the memory validity test. Pointed
12168         out by Holger Brunck <holger.brunck@keymile.com>.
12170 2013-03-13  Andreas Schwab  <schwab@suse.de>
12172         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12173         instead of .os.
12175 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
12177         * timezone/zic.c: Update from tzcode 2013b.
12179 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
12181         * manual/install.texi (Configuring and compiling):
12182         Mention i686 and i586.
12183         * INSTALL: Regenerate.
12185 2013-03-12  Roland McGrath  <roland@hack.frob.com>
12187         * sysdeps/init_array/elf-init.c: New file.
12188         * csu/elf-init.c
12189         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12190         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12192         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12193         __gmon_start__ as global, but as static with a .preinit_array pointer.
12194         * sysdeps/init_array/gmon-start.c: New file.  Use that.
12195         * sysdeps/init_array/crti.S: New file, empty except for comments.
12196         * sysdeps/init_array/crtn.S: Likewise.
12198 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
12200         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12201         definining bcopy.
12202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12203         Remove Prefer_SSE_for_memop.
12204         * sysdeps/x86_64/multiarch/init-arch.h: Remove
12205         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12206         HAS_PREFER_SSE_FOR_MEMOP.
12207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12208         memset-x86-64.
12209         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12210         Remove bzero, memset ifunc support.
12211         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12212         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12213         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12214         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12216 2013-03-11  Andreas Schwab  <schwab@suse.de>
12218         [BZ #15234]
12219         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12220         by SHLIB_COMPAT.
12221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12222         (GLIBC_2.16): Remove pthread_atfork.
12224 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12226         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12227         (ptestcases.h): Likewise.
12229 2013-03-08  Roland McGrath  <roland@hack.frob.com>
12231         * Makeconfig ($(common-objpfx)config.status): Depend on
12232         sysdeps/*/preconfigure{,.in} too.
12234 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
12236         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12237         (__free_hook): Use void * instead of __malloc_ptr_t.
12238         (__malloc_hook): Likewise.
12239         (__realloc_hook): Likewise.
12240         (__memalign_hook): Likewise.
12241         (__after_morecore_hook): Likewise.
12242         * malloc/arena.c (save_malloc_hook): Likewise.
12243         (save_free_hook): Likewise.
12244         * malloc/hooks.c (malloc_hook_ini): Likewise.
12245         (realloc_hook_ini): Likewise.
12246         (memalign_hook_ini): Likewise.
12247         * malloc/malloc.c (malloc_hook_ini): Likewise.
12248         (realloc_hook_ini): Likewise.
12249         (memalign_hook_ini): Likewise.
12250         (__free_hook): Likewise.
12251         (__malloc_hook): Likewise.
12252         (__realloc_hook): Likewise.
12253         (__memalign_hook): Likewise.
12254         (__libc_malloc): Likewise.
12255         (__libc_free): Likewise.
12256         (__libc_realloc): Likewise.
12257         (__libc_memalign): Likewise.
12258         (__libc_valloc): Likewise.
12259         (__libc_pvalloc): Likewise.
12260         (__libc_calloc): Likewise.
12261         (__posix_memalign): Likewise.
12262         * malloc/morecore.c (__sbrk): Likewise.
12263         (__default_morecore): Likewise.
12265         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12267         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12268         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12269         __malloc_ptrdiff_t.
12271         * malloc/malloc.h (__malloc_size_t): Remove macro.
12272         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12273         __malloc_size_t.
12274         (old_memalign_hook): Likewise.
12275         (old_realloc_hook): Likewise.
12276         (struct hdr): Likewise.
12277         (flood): Likewise.
12278         (mallochook): Likewise.
12279         (memalignhook): Likewise.
12280         (reallochook): Likewise.
12281         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12282         (tr_old_realloc_hook): Likewise.
12283         (tr_old_memalign_hook): Likewise.
12284         (tr_mallochook): Likewise.
12285         (tr_reallochook): Likewise.
12286         (tr_memalignhook): Likewise.
12288 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12290         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12291         default_ldbl_pack and using as default implementation.
12292         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12293         implementation.
12294         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12295         redundant definition.
12296         (ldbl_insert_mantissa): Likewise.
12297         (ldbl_canonicalize): Likewise.
12298         (ldbl_nearbyint): Likewise.
12299         (ldbl_pack): Rename to ldbl_pack_ppc.
12300         (ldbl_unpack): Rename to ldbl_unpack_ppc.
12301         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12302         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12304 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12307         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12308         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12309         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12310         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12311         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12312         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12313         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12315 2013-03-07  Andreas Jaeger  <aj@suse.de>
12317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12318         bits/mman-linux.h.
12320 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12322         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12323         Include mpa.h and declare __MPEXP.
12324         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12325         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12326         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12327         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12328         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12329         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12330         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12332         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12333         (__slowpow): Use long double EXPL and LOGL functions to
12334         compute POW.
12335         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12336         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12337         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12338         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12339         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12340         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12343         intermediate variable to calculate exponent.
12344         (__sqr): Likewise.
12345         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12346         Likewise.
12347         (__sqr): Likewise.
12349         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12350         [!NO__SQR]: Define __sqr.
12351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12352         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12353         sysdeps/ieee754/dbl-64/mpa.c.
12354         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12356         [BZ #12723]
12357         * posix/Makefile (tests): Add tst-pathconf.
12358         * posix/tst-pathconf.c: New test case.
12359         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12360         _PC_PIPE_BUF.
12361         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12363 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12365         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12367 2013-03-06  Andreas Jaeger  <aj@suse.de>
12369         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12370         definition via __MAP_ANONYMOUS.
12372         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12373         it's not part of Linux headers.
12375         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12376         (MAP_HUGE_MASK): Define.
12378         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12379         Define.
12380         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12381         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12382         Define.
12383         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12384         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12385         Define.
12386         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12387         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12388         Define.
12389         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12391         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12392         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12393         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12394         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12395         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12396         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12398         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12399         Handle f2fs.
12401         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12402         Handle f2fs and efivarfs.
12404         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12405         f2fs.
12407         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12408         (EFIVARFS_MAGIC): Add.
12409         (F2FS_LINK_MAX): Add.
12411 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12413         * stdio-common/vfprintf.c: Replace __builtin_expect with
12414         __glibc_unlikely.
12416 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12418         [BZ #13550]
12419         * sysdeps/generic/bp-sym.h: Remove file.
12420         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12421         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12422         <bp-sym.h> and <bp-asm.h>.
12423         (__longjmp): Don't use BP_SYM.
12424         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12425         and <bp-asm.h>.
12426         (memcpy): Don't use BP_SYM.
12427         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12428         <bp-sym.h> and <bp-asm.h>.
12429         (memcpy): Don't use BP_SYM.
12430         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12431         <bp-asm.h>.
12432         (memcpy): Don't use BP_SYM.
12433         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12434         <bp-asm.h>.
12435         (memset): Don't use BP_SYM.
12436         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12437         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12438         (__bzero): Don't use BP_SYM.
12439         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12440         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12441         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12442         <bp-sym.h> and <bp-asm.h>.
12443         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12444         pointers.
12445         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12446         <bp-sym.h> and <bp-asm.h>.
12447         (memcpy): Don't use BP_SYM.
12448         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12449         <bp-sym.h> and <bp-asm.h>.
12450         (memset): Don't use BP_SYM.
12451         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12452         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12453         (__bzero): Don't use BP_SYM.
12454         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12455         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12456         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12457         <bp-sym.h> and <bp-asm.h>.
12458         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12459         pointers.
12460         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12461         <bp-sym.h> and <bp-asm.h>.
12462         (memcpy): Don't use BP_SYM.
12463         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12464         <bp-sym.h> and <bp-asm.h>.
12465         (memset): Don't use BP_SYM.
12466         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12467         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12468         (__bzero): Don't use BP_SYM.
12469         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12470         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12471         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12472         <bp-sym.h> and <bp-asm.h>.
12473         (__memchr): Don't use BP_SYM.
12474         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12475         <bp-sym.h> and <bp-asm.h>.
12476         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12477         pointers.
12478         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12479         <bp-sym.h> and <bp-asm.h>.
12480         (memcpy): Don't use BP_SYM.
12481         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12482         <bp-sym.h> and <bp-asm.h>.
12483         (__mempcpy): Don't use BP_SYM.
12484         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12485         <bp-sym.h> and <bp-asm.h>.
12486         (__memrchr): Don't use BP_SYM.
12487         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12488         <bp-sym.h> and <bp-asm.h>.
12489         (memset): Don't use BP_SYM.
12490         (__bzero): Likewise.
12491         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12492         <bp-sym.h> and <bp-asm.h>.
12493         (__rawmemchr): Don't use BP_SYM.
12494         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12495         <bp-sym.h> and <bp-asm.h>.
12496         (__STRCMP): Don't use BP_SYM.
12497         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12498         <bp-sym.h> and <bp-asm.h>.
12499         (strchr): Don't use BP_SYM.
12500         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12501         <bp-sym.h> and <bp-asm.h>.
12502         (__strchrnul): Don't use BP_SYM.
12503         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12504         <bp-sym.h> and <bp-asm.h>.
12505         (strlen): Don't use BP_SYM.
12506         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12507         <bp-sym.h> and <bp-asm.h>.
12508         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12509         pointers.
12510         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12511         <bp-sym.h> and <bp-asm.h>.
12512         (__strnlen): Don't use BP_SYM.
12513         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12514         <bp-sym.h> and <bp-asm.h>.
12515         (__GI__setjmp): Don't use BP_SYM.
12516         (_setjmp): Likewise.
12517         (__sigsetjmp): Likewise.
12518         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12519         (L(start_addresses)): Don't use BP_SYM.
12520         (_start): Likewise.
12521         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12522         <bp-asm.h>.
12523         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12524         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12525         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12526         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12527         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12528         <bp-asm.h>.
12529         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12530         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12531         about bounded pointers.
12532         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12533         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12534         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12535         <bp-asm.h>.
12536         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12537         about bounded pointers.  Remove GKM FIXME comments.
12538         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12539         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12540         <bp-asm.h>.
12541         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12542         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12543         Remove GKM FIXME comments.
12544         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12545         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12546         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12547         <bp-asm.h>.
12548         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12549         about bounded pointers.  Remove GKM FIXME comment.
12550         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12551         and <bp-asm.h>.
12552         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12553         pointers.
12554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12555         <bp-sym.h> and <bp-asm.h>.
12556         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12558         <bp-sym.h> and <bp-asm.h>.
12559         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12560         comment.
12562 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12564         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12565         call free(NULL).
12567 2013-03-05  David S. Miller  <davem@davemloft.net>
12569         * po/es.po: Update from translation team.
12571 2013-03-05  Andreas Jaeger  <aj@suse.de>
12573         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12574         <bits/mman-linux.h>.
12575         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12576         is fine.
12577         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12578         <bits/mman-linux.h> to end of file.
12579         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12580         is fine.
12581         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12582         <bits/mman-linux.h> to end of file.
12583         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12584         is fine.
12585         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12586         <bits/mman-linux.h> to end of file.
12588         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12589         (MCL_CURRENT, MCL_FUTURE): Define here.
12591 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12593         [BZ #15232]
12594         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12595         attribute_hidden.
12596         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12598 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12600         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12601         fourth parameter needed for rt_sigprocmask syscall.
12602         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12603         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12604         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12605         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12606         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12607         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12609 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12611         [BZ #13550]
12612         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12613         comment about bounded pointers.
12614         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12615         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12617 2013-03-04  Andreas Jaeger  <aj@suse.de>
12619         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12620         common definitions.
12622         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12623         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12624         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12625         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12626         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12627         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12629 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12631         [BZ #15055]
12632         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12633         __ieee754_sqrl instead of __sqrl.
12635 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12637         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12638         * sysdeps/powerpc/fpu_control.h: ... here.
12639         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12640         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12641         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12642         * sysdeps/powerpc/bits/mathinline.h: ... here.
12644 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12646         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12647         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12648         to just [NEED_DL_SYSINFO_DSO].
12649         * elf/dl-support.c: Likewise.
12650         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12651         * elf/rtld.c (dl_main): Likewise.
12652         * elf/setup-vdso.h (setup_vdso): Likewise.
12653         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12654         * sysdeps/unix/sysv/linux/dl-sysdep.c
12655         (_dl_discover_osversion): Likewise.
12657 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12659         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12660         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12662 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12664         * NEWS: Mention libm performance improvements and non-x86 PI
12665         futex support.
12667         * csu/libc-start.c (__pthread_initialize_minimal): Change
12668         function arguments.
12669         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12671 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12673         [BZ #13550]
12674         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12675         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12676         <bp-sym.h> and <bp-asm.h>.
12677         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12678         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12679         and <bp-asm.h>.
12680         (memcpy): Don't use BP_SYM.
12681         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12682         <bp-asm.h>.
12683         (__mpn_add_n): Don't use BP_SYM.
12684         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12685         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12686         and <bp-asm.h>.
12687         (__mpn_addmul_1): Don't use BP_SYM.
12688         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12689         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12690         <bp-sym.h>.
12691         (_setjmp): Don't use BP_SYM.
12692         (__novmx_setjmp): Likewise.
12693         (__GI__setjmp): Likewise.
12694         (__vmx_setjmp): Likewise.
12695         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12696         <bp-sym.h>.
12697         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12698         (__bzero): Don't use BP_SYM.
12699         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12700         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12701         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12702         <bp-sym.h> and <bp-asm.h>.
12703         (memcpy): Don't use BP_SYM.
12704         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12705         <bp-sym.h> and <bp-asm.h>.
12706         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12707         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12708         <bp-sym.h> and <bp-asm.h>.
12709         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12710         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12711         <bp-asm.h>.
12712         (__mpn_lshift): Don't use BP_SYM.
12713         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12714         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12715         <bp-asm.h>.
12716         (memset): Don't use BP_SYM.
12717         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12718         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12719         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12720         <bp-asm.h>.
12721         (__mpn_mul_1): Don't use BP_SYM.
12722         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12723         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12724         <bp-sym.h> and <bp-asm.h>.
12725         (memcmp): Don't use BP_SYM.
12726         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12727         <bp-sym.h> and <bp-asm.h>.
12728         (memcpy): Don't use BP_SYM.
12729         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12730         <bp-sym.h> and <bp-asm.h>.
12731         (memset): Don't use BP_SYM.
12732         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12733         <bp-sym.h> and <bp-asm.h>.
12734         (strncmp): Don't use BP_SYM.
12735         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12736         <bp-sym.h> and <bp-asm.h>.
12737         (memcpy): Don't use BP_SYM.
12738         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12739         <bp-sym.h> and <bp-asm.h>.
12740         (memset): Don't use BP_SYM.
12741         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12742         <bp-sym.h> and <bp-asm.h>.
12743         (__memchr): Don't use BP_SYM.
12744         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12745         <bp-sym.h> and <bp-asm.h>.
12746         (memcmp): Don't use BP_SYM.
12747         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12748         <bp-sym.h> and <bp-asm.h>.
12749         (memcpy): Don't use BP_SYM.
12750         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12751         <bp-sym.h> and <bp-asm.h>.
12752         (__mempcpy): Don't use BP_SYM.
12753         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12754         <bp-sym.h> and <bp-asm.h>.
12755         (__memrchr): Don't use BP_SYM.
12756         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12757         <bp-sym.h> and <bp-asm.h>.
12758         (memset): Don't use BP_SYM.
12759         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12760         <bp-sym.h> and <bp-asm.h>.
12761         (__rawmemchr): Don't use BP_SYM.
12762         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12763         <bp-sym.h> and <bp-asm.h>.
12764         (__STRCMP): Don't use BP_SYM.
12765         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12766         <bp-sym.h> and <bp-asm.h>.
12767         (strchr): Don't use BP_SYM.
12768         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12769         <bp-sym.h> and <bp-asm.h>.
12770         (__strchrnul): Don't use BP_SYM.
12771         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12772         <bp-sym.h> and <bp-asm.h>.
12773         (strlen): Don't use BP_SYM.
12774         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12775         <bp-sym.h> and <bp-asm.h>.
12776         (strncmp): Don't use BP_SYM.
12777         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12778         <bp-sym.h> and <bp-asm.h>.
12779         (__strnlen): Don't use BP_SYM.
12780         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12781         <bp-asm.h>.
12782         (__mpn_rshift): Don't use BP_SYM.
12783         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12784         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12785         <bp-sym.h> and <bp-asm.h>.
12786         (__sigsetjmp): Don't use BP_SYM.
12787         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12788         (L(start_addresses)): Don't use BP_SYM.
12789         (_start): Likewise.
12790         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12791         <bp-asm.h>.
12792         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12793         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12794         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12795         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12796         <bp-asm.h>.
12797         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12798         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12799         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12800         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12801         <bp-asm.h>.
12802         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12803         comments.
12804         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12805         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12806         <bp-asm.h>.
12807         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12808         FIXME comments.
12809         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12810         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12811         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12812         <bp-asm.h>.
12813         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12814         comment.
12815         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12816         and <bp-asm.h>.
12817         (strncmp): Don't use BP_SYM,
12818         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12819         <bp-asm.h>.
12820         (__mpn_sub_n): Don't use BP_SYM.
12821         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12822         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12823         and <bp-asm.h>.
12824         (__mpn_submul_1): Don't use BP_SYM.
12825         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12827         <bp-sym.h> and <bp-asm.h>.
12828         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12830         <bp-sym.h> and <bp-asm.h>.
12831         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12832         comment.
12834 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12837         Use ZK to minimize writes to Z.
12838         (sub_magnitudes): Simplify code a bit.
12839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12840         Use ZK to minimize writes to Z.
12841         (sub_magnitudes): Simplify code a bit.
12843 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12845         * csu/gmon-start.c: Add special exception to license text.
12847 2013-02-27  Richard Henderson  <rth@redhat.com>
12849         * scripts/config.guess: Update from config.git.
12850         * scripts/config.sub: Likewise.
12852 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12854         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12856         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12858         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12860         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12862         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12864 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12866         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12867         [$(build-shared = yes].
12869 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12871         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12872         (__mul): Reduce iterations for calculating mantissa.
12874         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12875         MPTWO.
12876         (__mpranred): Likewise.
12878         [BZ #15160]
12879         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12880         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12882 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12884         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12885         Define __attribute__.
12887 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12889         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12890         unused.
12891         * posix/regex_internal.h (__attribute): Remove.
12892         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12893         (re_string_context_at): Likewise.
12894         (bitset_not): Use __attribute__ and mark function as possibly
12895         unused.
12896         (bitset_merge): Likewise.
12897         (bitset_mask): Likewise.
12898         (re_string_char_size_at): Likewise.
12899         (re_string_wchar_at): Likewise.
12900         (re_string_elem_size_at): Likewise.
12902 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12904         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12905         code.
12906         (cc32): Likewise.
12908         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12909         (__acr): Likewise.
12910         (__cpy): Likewise.
12911         (norm): Likewise.
12912         (denorm): Likewise.
12913         (__dbl_mp): Likewise.
12914         (add_magnitudes): Likewise.
12915         (sub_magnitudes): Likewise.
12916         (__mul): Likewise.
12917         (__inv): Likewise.
12919         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12920         style.
12922         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12923         style.
12925         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12926         code.
12928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12929         up changes with default code.
12930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12931         Likewise.
12933 2013-02-24  Allan McRae  <allan@archlinux.org>
12935         * manual/socket.texi (The Internet Namespace): Order menu items
12936         to match that in the file.
12938         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12939         node listing of the info page menu.
12941 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12943         [BZ #13550]
12944         * sysdeps/i386/bp-asm.h: Remove file.
12945         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12946         (PARMS): Do not use macros from bp-asm.h.
12947         (S1): Likewise.
12948         (S2): Likewise.
12949         (SIZE): Likewise.
12950         (__mpn_add_n): Do not use BP_SYM
12951         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12952         "bp-asm.h".
12953         (PARMS): Do not use macros from bp-asm.h.
12954         (S1): Likewise.
12955         (SIZE): Likewise.
12956         (__mpn_addmul_1): Do not use BP_SYM
12957         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12958         "bp-asm.h".
12959         (PARMS): Do not use macros from bp-asm.h.
12960         (SIGMSK): Likewise.
12961         (_setjmp): Likewise.  Do not use BP_SYM.
12962         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12963         "bp-asm.h".
12964         (PARMS): Do not use macros from bp-asm.h.
12965         (SIGMSK): Likewise.
12966         (setjmp): Likewise.  Do not use BP_SYM.
12967         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12968         "bp-asm.h".
12969         (PARMS): Do not use macros from bp-asm.h.
12970         (__frexp): Do not use BP_SYM.
12971         (frexp): Likewise.
12972         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12973         "bp-asm.h".
12974         (PARMS): Do not use macros from bp-asm.h.
12975         (__frexpf): Do not use BP_SYM.
12976         (frexpf): Likewise.
12977         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12978         "bp-asm.h".
12979         (PARMS): Do not use macros from bp-asm.h.
12980         (__frexpl): Do not use BP_SYM.
12981         (frexpl): Likewise.
12982         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12983         "bp-asm.h".
12984         (PARMS): Do not use macros from bp-asm.h.
12985         (__remquo): Do not use BP_SYM.
12986         (remquo): Likewise.
12987         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12988         "bp-asm.h".
12989         (PARMS): Do not use macros from bp-asm.h.
12990         (__remquof): Do not use BP_SYM.
12991         (remquof): Likewise.
12992         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12993         "bp-asm.h".
12994         (PARMS): Do not use macros from bp-asm.h.
12995         (__remquol): Do not use BP_SYM.
12996         (remquol): Likewise.
12997         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12998         "bp-asm.h".
12999         (PARMS): Do not use macros from bp-asm.h.
13000         (DEST): Likewise.
13001         (SRC): Likewise.
13002         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
13003         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13004         "bp-asm.h".
13005         (PARMS): Do not use macros from bp-asm.h.
13006         (strlen): Do not use BP_SYM.
13007         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13008         "bp-asm.h".
13009         (PARMS): Do not use macros from bp-asm.h.
13010         (S1): Likewise.
13011         (S2): Likewise.
13012         (SIZE): Likewise.
13013         (__mpn_add_n): Do not use BP_SYM.
13014         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13015         "bp-asm.h".
13016         (PARMS): Do not use macros from bp-asm.h.
13017         (S1): Likewise.
13018         (SIZE): Likewise.
13019         (__mpn_addmul_1): Do not use BP_SYM.
13020         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13021         weak_alias.
13022         (bzero): Likewise.
13023         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13024         "bp-asm.h".
13025         (PARMS): Do not use macros from bp-asm.h.
13026         (S): Likewise.
13027         (SIZE): Likewise.
13028         (__mpn_lshift): Do not use BP_SYM.
13029         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13030         "bp-asm.h".
13031         (PARMS): Do not use macros from bp-asm.h.
13032         (DEST): Likewise.
13033         (SRC): Likewise.
13034         (LEN): Likewise.
13035         (memcpy): Likewise.  Do not use BP_SYM.
13036         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13037         libc_hidden_def and weak_alias.
13038         (mempcpy): Do not use BP_SYM in weak_alias.
13039         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13040         "bp-asm.h".
13041         (PARMS): Do not use macros from bp-asm.h.
13042         (DEST): Likewise.
13043         (LEN): Likewise.
13044         [!BZERO_P] (CHR): Likewise.
13045         (memset): Likewise.  Do not use BP_SYM.
13046         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13047         "bp-asm.h".
13048         (PARMS): Do not use macros from bp-asm.h.
13049         (S1): Likewise.
13050         (SIZE): Likewise.
13051         (__mpn_mul_1): Do not use BP_SYM.
13052         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13053         "bp-asm.h".
13054         (PARMS): Do not use macros from bp-asm.h.
13055         (S): Likewise.
13056         (SIZE): Likewise.
13057         (__mpn_rshift): Do not use BP_SYM.
13058         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13059         "bp-asm.h".
13060         (PARMS): Do not use macros from bp-asm.h.
13061         (STR): Likewise.
13062         (CHR): Likewise.
13063         (strchr): Likewise.  Do not use BP_SYM.
13064         (index): Do not use BP_SYM in weak_alias.
13065         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13066         "bp-asm.h".
13067         (PARMS): Do not use macros from bp-asm.h.
13068         (DEST): Likewise.
13069         (SRC): Likewise.
13070         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
13071         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13072         "bp-asm.h".
13073         (PARMS): Do not use macros from bp-asm.h.
13074         (strlen): Do not use BP_SYM.
13075         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13076         "bp-asm.h".
13077         (PARMS): Do not use macros from bp-asm.h.
13078         (S1): Likewise.
13079         (S2): Likewise.
13080         (SIZE): Likewise.
13081         (__mpn_sub_n): Do not use BP_SYM.
13082         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13083         "bp-asm.h".
13084         (PARMS): Do not use macros from bp-asm.h.
13085         (S1): Likewise.
13086         (SIZE): Likewise.
13087         (__mpn_submul_1): Do not use BP_SYM.
13088         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13089         "bp-asm.h".
13090         (PARMS): Do not use macros from bp-asm.h.
13091         (S1): Likewise.
13092         (S2): Likewise.
13093         (SIZE): Likewise.
13094         (__mpn_add_n): Do not use BP_SYM.
13095         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13096         weak_alias.
13097         (bzero): Likewise.
13098         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13099         "bp-asm.h".
13100         (PARMS): Do not use macros from bp-asm.h.
13101         (BLK2): Likewise.
13102         (LEN): Likewise.
13103         (memcmp): Do not use BP_SYM.
13104         (bcmp): Do not use BP_SYM in weak_alias.
13105         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13106         "bp-asm.h".
13107         (PARMS): Do not use macros from bp-asm.h.
13108         (DEST): Likewise.
13109         (SRC): Likewise.
13110         (LEN): Likewise.
13111         (memcpy): Likewise.  Do not use BP_SYM.
13112         * sysdeps/i386/i686/memmove.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         (SRC): Likewise.
13117         (LEN): Likewise.
13118         (memmove): Likewise.  Do not use BP_SYM.
13119         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13120         "bp-asm.h".
13121         (PARMS): Do not use macros from bp-asm.h.
13122         (DEST): Likewise.
13123         (SRC): Likewise.
13124         (LEN): Likewise.
13125         (__mempcpy): Likewise.  Do not use BP_SYM.
13126         (mempcpy): Do not use BP_SYM in weak_alias.
13127         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13128         "bp-asm.h".
13129         (PARMS): Do not use macros from bp-asm.h.
13130         (DEST): Likewise.
13131         (LEN): Likewise.
13132         [!BZERO_P] (CHR): Likewise.
13133         (memset): Likewise.  Do not use BP_SYM.
13134         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13135         "bp-asm.h".
13136         (PARMS): Do not use macros from bp-asm.h.
13137         (STR2): Likewise.
13138         (strcmp): Do not use BP_SYM.
13139         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13140         "bp-asm.h".
13141         (PARMS): Do not use macros from bp-asm.h.
13142         (STR): Likewise.
13143         (DELIM): Likewise.
13144         [USE_AS_STRTOK_R] (SAVE): Likewise.
13145         (FUNCTION): Likewise.  Do not use BP_SYM.
13146         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13147         aliases.
13148         (strtok_r): Likewise.
13149         (__GI___strtok_r): Likewise.
13150         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13151         (PARMS): Do not use macros from bp-asm.h.
13152         (S): Likewise.
13153         (SIZE): Likewise.
13154         (__mpn_lshift): Do not use BP_SYM.
13155         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13156         (PARMS): Do not use macros from bp-asm.h.
13157         (STR): Likewise.
13158         (CHR): Likewise.
13159         (__memchr): Do not use BP_SYM.
13160         (memchr): Do not use BP_SYM in weak_alias.
13161         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13162         (PARMS): Do not use macros from bp-asm.h.
13163         (BLK2): Likewise.
13164         (LEN): Likewise.
13165         (memcmp): Do not use BP_SYM.
13166         (bcmp): Do not use BP_SYM in weak_alias.
13167         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13168         (PARMS): Do not use macros from bp-asm.h.
13169         (S1): Likewise.
13170         (SIZE): Likewise.
13171         (__mpn_mul_1): Do not use BP_SYM.
13172         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13173         "bp-asm.h".
13174         (PARMS): Do not use macros from bp-asm.h.
13175         (STR): Likewise.
13176         (CHR): Likewise.
13177         (__rawmemchr): Do not use BP_SYM.
13178         (rawmemchr): Do not use BP_SYM in weak_alias.
13179         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13180         (PARMS): Do not use macros from bp-asm.h.
13181         (S): Likewise.
13182         (SIZE): Likewise.
13183         (__mpn_rshift): Do not use BP_SYM.
13184         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13185         (PARMS): Do not use macros from bp-asm.h.
13186         (SIGMSK): Likewise.
13187         (__sigsetjmp): Likewise.  Do not use BP_SYM.
13188         * sysdeps/i386/start.S: Do not include "bp-sym.h".
13189         (_start): Do not use BP_SYM.
13190         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13191         (PARMS): Do not use macros from bp-asm.h.
13192         (DEST): Likewise.
13193         (SRC): Likewise.
13194         (__stpcpy): Likewise.  Do not use BP_SYM.
13195         (stpcpy): Do not use BP_SYM in weak_alias.
13196         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13197         "bp-asm.h".
13198         (PARMS): Do not use macros from bp-asm.h.
13199         (DEST): Likewise.
13200         (SRC): Likewise.
13201         (LEN): Likewise.
13202         (__stpncpy): Likewise.  Do not use BP_SYM.
13203         (stpncpy): Do not use BP_SYM in weak_alias.
13204         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13205         (PARMS): Do not use macros from bp-asm.h.
13206         (STR): Likewise.
13207         (CHR): Likewise.
13208         (strchr): Likewise.  Do not use BP_SYM.
13209         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13210         "bp-asm.h".
13211         (PARMS): Do not use macros from bp-asm.h.
13212         (STR): Likewise.
13213         (CHR): Likewise.
13214         (__strchrnul): Likewise.  Do not use BP_SYM.
13215         (strchrnul): Do not use BP_SYM in weak_alias.
13216         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13217         "bp-asm.h".
13218         (PARMS): Do not use macros from bp-asm.h.
13219         (STOP): Likewise.
13220         (strcspn): Do not use BP_SYM.
13221         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13222         "bp-asm.h".
13223         (PARMS): Do not use macros from bp-asm.h.
13224         (STR): Likewise.
13225         (STOP): Likewise.
13226         (strpbrk): Likewise.  Do not use BP_SYM.
13227         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13228         "bp-asm.h".
13229         (PARMS): Do not use macros from bp-asm.h.
13230         (STR): Likewise.
13231         (CHR): Likewise.
13232         (strrchr): Likewise.  Do not use BP_SYM.
13233         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13234         (PARMS): Do not use macros from bp-asm.h.
13235         (SKIP): Likewise.
13236         (strspn): Do not use BP_SYM.
13237         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13238         (PARMS): Do not use macros from bp-asm.h.
13239         (STR): Likewise.
13240         (DELIM): Likewise.
13241         (SAVE): Likewise.
13242         (FUNCTION): Likewise.  Do not use BP_SYM.
13243         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13244         aliases.
13245         (strtok_r): Likewise.
13246         (__GI___strtok_r): Likewise.
13247         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13248         (PARMS): Do not use macros from bp-asm.h.
13249         (S1): Likewise.
13250         (S2): Likewise.
13251         (SIZE): Likewise.
13252         (__mpn_sub_n): Do not use BP_SYM.
13253         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13254         "bp-asm.h".
13255         (PARMS): Do not use macros from bp-asm.h.
13256         (S1): Likewise.
13257         (SIZE): Likewise.
13258         (__mpn_submul_1): Do not use BP_SYM.
13259         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13260         <bp-sym.h>.
13261         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13262         and <bp-asm.h>.
13263         (PARMS): Do not use macros from bp-asm.h.
13264         (FLAGS): Likewise.
13265         (PTID): Likewise.
13266         (TLS): Likewise.
13267         (CTID): Likewise.
13268         (__clone): Do not use BP_SYM.
13269         (clone): Do not use BP_SYM in weak_alias.
13270         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13271         and <bp-asm.h>.
13272         (PARMS): Do not use macros from bp-asm.h.
13273         (LEN): Likewise.
13274         (__mmap64): Do not use BP_SYM.
13275         (mmap64): Do not use BP_SYM in weak_alias.
13276         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13277         <bp-sym.h> and <bp-asm.h>.
13278         (PARMS): Do not use macros from bp-asm.h.
13279         (__posix_fadvise64_l64): Do not use BP_SYM.
13280         * sysdeps/unix/sysv/linux/i386/semtimedop.S
13281         (PARMS): Do not use macros from bp-asm.h.
13282         (NSOPS): Likewise.
13283         (semtimedop): Do not use BP_SYM.
13284         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13285         and <bp-asm.h>.
13287 2013-02-21  Allan McRae  <allan@archlinux.org>
13289         * manual/message.texi (Charset conversion in gettext):
13290         Move @end statement to beginning of line.
13292 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13295         static.
13296         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13297         Likewise.
13299         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13300         (denorm): Likewise.
13301         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13304 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13306         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13307         tail-call to the resolved function if pltexit isn't needed.
13309 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13312         or Y being zero as being unlikely.
13313         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13314         Likewise.
13316 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
13318         * manual/nss.texi (System Databases and Name Service Switch):
13319         Remove frobnicate @pxref.
13321 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13323         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13324         __attribute__ ((unused)) to __attribute__ ((__unused__)).
13326 2013-02-20  Petr Machata  <pmachata@redhat.com>
13328         * elf/elf.h (R_ARM_TARGET1): New macro.
13329         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13330         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13331         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13332         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13333         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13334         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13335         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13336         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13337         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13338         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13339         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13340         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13341         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13342         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13343         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13344         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13345         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13346         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13347         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13348         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13349         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13350         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13351         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13352         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13353         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13354         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13355         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13356         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13357         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13358         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13359         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13360         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13361         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13362         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13363         (R_ARM_THM_GOT_BREL12): Likewise.
13364         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13365         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13366         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13367         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13368         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13369         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13370         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13371         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13372         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13374 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13376         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13377         __attribute_used__ to __attribute__ ((unused)).
13379 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13381         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13382         powerpc mpa.c.
13383         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13384         comment formatting.
13385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13387 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13389         [BZ #13550]
13390         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13391         Remove macro.
13392         (ENTER): Remove both macro definitions.
13393         (LEAVE): Likewise.
13394         (CHECK_BOUNDS_LOW): Likewise.
13395         (CHECK_BOUNDS_HIGH): Likewise.
13396         (CHECK_BOUNDS_BOTH): Likewise.
13397         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13398         (RETURN_BOUNDED_POINTER): Likewise.
13399         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13400         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13401         (POP_ERRNO_LOCATION_RETURN): Likewise.
13402         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13403         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13404         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13405         macros.
13406         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13407         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13408         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13409         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13410         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13411         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13412         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13413         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13414         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13415         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13416         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13417         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13418         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13419         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13420         removed macros.
13421         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13422         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13423         macros.
13424         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13425         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13426         * sysdeps/i386/i586/memset.S (memset): Likewise.
13427         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13428         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13429         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13430         macros.
13431         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13432         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13433         Change uses of L(2) to L(out).
13434         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13435         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13436         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13437         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13438         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13439         removed macros.
13440         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13441         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13442         macros.
13443         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13444         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13445         (RETURN): Do not use macro LEAVE.
13446         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13447         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13448         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13449         * sysdeps/i386/i686/memset.S (memset): Likewise.
13450         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13451         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13452         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13453         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13454         Likewise.
13455         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13456         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13457         L(1_2) and L(1_3) into L(1).
13458         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13459         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13460         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13461         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13462         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13463         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13464         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13465         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13466         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13467         macros.
13468         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13469         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13470         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13471         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13472         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13473         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13474         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13475         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13476         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13477         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13478         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13479         * sysdeps/i386/strspn.S (strspn): Likewise.
13480         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13481         conditional code.
13482         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13483         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13484         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13485         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13486         L(1_3) into L(1_1).
13487         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13488         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13489         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13490         macros.
13491         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13493 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13495         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13496         macro.
13498 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13500         * math/atest-exp.c (exp_mpn): Remove ROUND.
13501         * math/atest-exp2.c (exp_mpn): Likewise.
13502         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13504         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13505         * stdlib/tst-tls-atexit-lib.c: Likewise.
13506         * stdlib/tst-tls-atexit.c: Likewise.
13508 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13510         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13511         and __attribute_alloc_size__.
13513 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13515         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13516         __attribute_alloc_size__.
13517         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13518         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13520 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13522         * include/programs/xmalloc.h: New file.
13523         * catgets/gencat.c: Include it.
13524         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13525         * elf/pldd.c: Likewise.
13526         * iconv/iconv_charmap.c: Likewise.
13527         * iconv/iconvconfig.c: Likewise.
13528         * iconv/strtab.c: Likewise.
13529         * locale/programs/locale.c: Likewise.
13530         * locale/programs/localedef.h: Likewise.
13531         * locale/programs/simple-hash.c: Likewise.
13532         * nscd/nscd.h: Likewise.
13533         * nss/makedb.c: Likewise.
13534         * sysdeps/generic/ldconfig.h: Likewise.
13536 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13538         * Versions.def: Add GLIBC_2.18.
13539         * include/link.h (struct link_map): New member l_tls_dtor_count.
13540         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13541         (__call_tls_dtors): Likewise.
13542         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13543         __cxa_thread_atexit_impl.
13544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13545         Likewise.
13546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13547         Likewise.
13548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13549         Likewise.
13550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13551         Likewise.
13552         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13554         Likewise.
13555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13556         Likewise.
13557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13559         Likewise.
13560         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13561         (tests): Add test case tst-tls-atexit.
13562         (modules-names): Add shared library for tst-tls-atexit.
13563         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13564         (GLIBC_PRIVATE): Add __call_tls_dtors.
13565         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13566         for libstdc++.
13567         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13568         * stdlib/tst-tls-atexit.c: New test case.
13569         * stdlib/tst-tls-atexit-lib.c: New test case.
13571         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13573         * elf/Versions (ld): Add _dl_find_dso_for_object.
13574         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13575         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13576         (dl_open_worker): Use _dl_find_dso_for_object.
13577         * elf/dl-sym.c (do_sym): Likewise.
13578         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13580 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13582         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13583         Syntactic changes only.
13584         (_dl_runtime_profile): Do a tail-call to the resolved function.
13586 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13588         [BZ #13550]
13589         * sysdeps/x86_64/bp-asm.h: Remove file.
13590         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13591         <bp-sym.h> and <bp-asm.h>.
13592         (__clone): Do not use BP_SYM.
13593         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13594         <bp-sym.h> and <bp-asm.h>.
13595         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13596         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13597         "bp-asm.h".
13598         (_setjmp): Do not use BP_SYM.
13599         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13600         "bp-asm.h".
13601         (setjmp): Do not use BP_SYM.
13602         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13603         libc_hidden_def.
13604         (mempcpy): Do not use BP_SYM in weak_alias.
13605         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13606         "bp-asm.h".
13607         (strchr): Do not use BP_SYM.
13608         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13609         "bp-asm.h".
13610         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13611         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13612         (_start): Do not use BP_SYM.
13613         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13614         "bp-asm.h".
13615         (strcat): Do not use BP_SYM.
13616         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13617         "bp-asm.h".
13618         (STRCMP): Do not use BP_SYM.
13619         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13620         "bp-asm.h".
13621         (STRCPY): Do not use BP_SYM.
13622         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13623         "bp-asm.h".
13624         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13625         "bp-asm.h".
13626         (FUNCTION): Do not use BP_SYM.
13627         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13628         weak_alias.
13629         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13631 2013-02-17  Andreas Jaeger  <aj@suse.de>
13633         * time/Versions: Sort entries.
13634         * string/Versions: Likewise.
13635         * resolv/Versions: Likewise.
13636         * posix/Versions: Likewise.
13637         * iconv/Versions: Likewise.
13638         * elf/Versions: Likewise.
13639         * wcsmbs/Versions: Likewise.
13641 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13643         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13644         loop termination condition.
13646         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13647         variable to calculate EZ.
13648         (__sqr): Likewise.
13650         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13651         the lower precision input.
13653 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13655         [BZ #13550]
13656         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13657         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13658         (run-via-rtld-prefix): Do not handle %-bp tests.
13659         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13660         (all-object-suffixes): Remove .ob.
13661         (bppfx): Remove variable.
13662         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13663         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13664         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13665         [$(build-bounded) = yes] (libtype.ob): Likewise.
13666         * Makerules (elide-routines.ob): Remove variable.
13667         (do-tests-clean): Do not handle *-bp.out.
13668         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13669         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13670         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13671         (tests): Do not include $(tests-bp.out).
13672         (xtests): Do not include $(xtests-bp.out).
13673         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13674         [$(build-bounded) = yes] ($(addprefix
13675         $(objpfx),$(binaries-bounded))): Remove rule.
13676         ($(objpfx)%-bp.out): Remove rule.
13677         * config.make.in (build-bounded): Remove variable.
13678         * crypt/Makefile [$(build-bounded) = yes]
13679         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13680         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13681         append to variable.
13682         [$(build-bounded) = yes] (install-lib): Likewise.
13683         [$(build-bounded) = yes] (generated): Likewise.
13684         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13685         Remove rule.
13686         * intl/Makefile [$(build-bounded) = yes]
13687         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13688         * math/Makefile [$(build-bounded) = yes]
13689         ($(tests:%=$(objpfx)%-bp): Likewise.
13690         * misc/Makefile [$(build-bounded) = yes]
13691         ($(objpfx)tst-tsearch-bp): Likewise.
13692         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13693         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13694         Remove dependency.
13695         * string/Makefile (o-objects.ob): Remove variable.
13696         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13697         (CFLAGS-.ob): Remove variable.
13698         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13699         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13700         both definitions of variable.
13701         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13702         (ASFLAGS-.ob): Remove variable.
13704 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13706         [BZ #13550]
13707         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13708         Remove __BOUNDED_POINTERS__ from condition.
13709         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13710         * string/bits/string2.h [!__NO_STRING_INLINES &&
13711         !__BOUNDED_POINTERS__]: Likewise.
13712         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13713         Likewise.
13714         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13715         Remove conditional code.
13716         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13717         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13718         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13719         condition.
13721         [BZ #13550]
13722         * csu/libc-start.c: Do not include <bp-sym.h>.
13723         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13724         * elf/dl-open.c: Do not include <bp-sym.h>.
13725         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13726         * math/fegetenv.c: Do not include <bp-sym.h>.
13727         (fegetenv): Do not use BP_SYM in versioned symbols.
13728         * nptl/sysdeps/pthread/bits/libc-lockP.h
13729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13730         <bp-sym.h>.
13731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13732         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13734         (__pthread_mutex_destroy): Likewise.
13735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13736         (__pthread_mutex_lock): Likewise.
13737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13738         (__pthread_mutex_trylock): Likewise.
13739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13740         (__pthread_mutex_unlock): Likewise.
13741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13742         (__pthread_mutexattr_init): Likewise.
13743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13744         (__pthread_mutexattr_destroy): Likewise.
13745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13746         (__pthread_mutexattr_settype): Likewise.
13747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13748         (__pthread_rwlock_init): Likewise.
13749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13750         (__pthread_rwlock_destroy): Likewise.
13751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13752         (__pthread_rwlock_rdlock): Likewise.
13753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13754         (__pthread_rwlock_tryrdlock): Likewise.
13755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13756         (__pthread_rwlock_wrlock): Likewise.
13757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13758         (__pthread_rwlock_trywrlock): Likewise.
13759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13760         (__pthread_rwlock_unlock): Likewise.
13761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13762         (__pthread_key_create): Likewise.
13763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13764         (__pthread_setspecific): Likewise.
13765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13766         (__pthread_getspecific): Likewise.
13767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13768         Likewise.
13769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13770         (_pthread_cleanup_push_defer): Likewise.
13771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13772         (_pthread_cleanup_pop_restore): Likewise.
13773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13774         (pthread_setcancelstate): Likewise.
13775         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13776         <bp-sym.h>.
13777         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13778         (memchr): Do not use BP_SYM in weak_alias.
13779         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13780         (fegetenv): Do not use BP_SYM in versioned symbols.
13781         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13782         (fesetenv): Do not use BP_SYM in versioned symbols.
13783         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13784         (feupdateenv): Do not use BP_SYM in versioned symbols.
13785         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13786         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13787         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13788         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13789         (open64): Do not use BP_SYM in weak_alias.
13790         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13791         (fegetenv): Do not use BP_SYM in versioned symbols.
13792         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13793         (fesetenv): Do not use BP_SYM in versioned symbols.
13794         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13795         (feupdateenv): Do not use BP_SYM in versioned symbols.
13796         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13797         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13798         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13799         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13800         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13801         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13802         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13803         <bp-sym.h>.
13804         (__libc_start_main): Do not use BP_SYM.
13806 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13809         redundant return line.
13810         (norm): Likewise.
13811         (denorm): Likewise.
13812         (dbl_mp): Likewise.
13813         (sub_magnitudes): Likewise.
13814         (__add): Likewise.
13815         (__sub): Likewise.
13816         (__mul): Likewise.
13817         (__inv): Likewise.
13818         (__dvd): Likewise.
13819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13820         (norm): Likewise.
13821         (denorm): Likewise.
13822         (dbl_mp): Likewise.
13823         (sub_magnitudes): Likewise.
13824         (__add): Likewise.
13825         (__sub): Likewise.
13826         (__mul): Likewise.
13827         (__inv): Likewise.
13828         (__dvd): Likewise.
13830         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13831         instead of __mul.
13832         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13833         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13834         (cc32): Likewise.
13836         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13837         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13838         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13839         of __mul for squares.
13840         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13841         function
13842         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13843         Likewise.
13844         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13845         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13847 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13849         [BZ #13550]
13850         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13851         code.
13852         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13853         prototype or function definition.  Rename ubp_* variables and
13854         parameters.  Remove argv definitions conditional on
13855         [__BOUNDED_POINTERS__].
13856         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13857         * elf/dl-runtime.c (_dl_fixup): Likewise.
13858         * include/set-hooks.h (RUN_HOOK): Likewise.
13859         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13860         definition.
13861         * string/strcpy.c (strcpy): Do not use __unbounded.
13862         * sysdeps/generic/frame.h (struct layout): Likewise.
13863         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13864         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13865         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13866         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13867         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13868         (__backtrace): Likewise.
13869         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13870         use __ptrvalue.
13871         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13872         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13873         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13874         Likewise.
13875         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13876         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13877         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13878         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13879         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13880         Do not use __unbounded.
13881         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13882         Rename __unboundedrlimits parameter to rlimits in prototype.
13883         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13884         Do not use __unbounded.
13885         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13886         not use __ptrvalue.
13887         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13888         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13889         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13890         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13891         __ptrvalue or __unbounded.
13892         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13893         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13894         use __unbounded.
13895         (__new_msgctl): Do not use __ptrvalue.
13896         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13897         __unbounded.
13898         (__libc_msgrcv): Do not use __ptrvalue.
13899         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13900         startup_info): Do not use __unbounded.
13901         (__libc_start_main): Likewise.  Rename ubp_* variables and
13902         parameters.  Remove argv definitions conditional on
13903         [__BOUNDED_POINTERS__].
13904         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13905         __ptrvalue.
13906         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13907         use __unbounded.
13908         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13909         or __ptrvalue.
13910         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13911         use __unbounded.
13912         (__new_shmctl): Do not use __ptrvalue.
13913         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13914         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13915         Likewise.
13916         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13917         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13918         (__libc_sigaction): Likewise.
13919         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13920         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13921         Likewise.
13922         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13924 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13926         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13928         * string/mempcpy.c: Implement by calling memcpy.
13930 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13932         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13934         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13935         evaluation.
13937         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13938         values in the mantissa.
13940         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13941         minimize writes to Z.
13942         (sub_magnitudes): Simplify code a bit.
13944 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13946         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13947         from the message.  The linker prefixes all warnings with that already.
13949 2013-02-12  Andreas Schwab  <schwab@suse.de>
13951         [BZ #15078]
13952         * posix/regexec.c (extend_buffers): Add parameter min_len.
13953         (check_matching): Pass minimum needed length.
13954         (clean_state_log_if_needed): Likewise.
13955         (get_subexp): Likewise.
13956         * posix/Makefile (tests): Add bug-regex34.
13957         (bug-regex34-ENV): Define.
13958         * posix/bug-regex34.c: New file.
13960         [BZ #11561]
13961         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13962         elements compare against the byte sequence of it, not its name.
13963         * posix/Makefile (tests): Add bug-regex35.
13964         (bug-regex35-ENV): Define.
13965         * posix/bug-regex35.c: New file.
13967 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13969         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13970         comment.
13971         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13972         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13973         (CHECK_EOL): Add undef.
13975 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13977         * bits/stdlib-bsearch.h: New file.
13978         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13979         * stdlib/stdlib.h: Likewise.
13981 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13983         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13984         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13985         declaration.
13986         * manual/search.texi (Array Search Function): Add missing const in
13987         lfind prototype.
13988         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13989         declaration to use rlim_t.
13990         (Basic Scheduling Functions): Remove erroneous const from
13991         sched_getparam prototype.  Remove erroneous * from
13992         sched_get_priority_max and sched_get_priority_min prototypes.
13993         (Resource Usage): Fix summary @comment on vtimes to refer to
13994         sys/vtimes.h rather than vtimes.h.
13995         Add missing *s in vtimes prototype.
13996         (Limits on Resources): Fix ulimit prototype to return long int.
13997         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13998         prototypes to use long int rather than double.
13999         (BSD Random): Fix initstate and setstate to use char *, not void *.
14000         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14001         prototype to make second argument 'struct aiocb64 *const[]'.
14002         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14003         (Status of AIO Operations): Remove erroneous const in aio_return and
14004         aio_return64 prototypes.
14005         (Synchronizing I/O): Fix sync prototype to return void.
14006         * manual/startup.texi (Suboptions): Remove an erroneous const in
14007         getsubopt prototype.
14008         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14009         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14010         use size_t rather than int.
14011         (Scanning All Users): Likewise for getpwent_r.
14012         (Setting Groups): Add missing const to setgroups prototype.
14013         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14014         * manual/socket.texi (Host Names): Fix gethostbyaddr and
14015         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14016         'const void *' rather than 'const char *'.
14017         (Host Address Functions): Likewise for inet_ntop.
14018         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14019         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14020         ssize_t for return value.
14021         (Sending Data): Likewise for send, sendto, sendmsg.
14022         (Socket Option Functions): Add a missing const in setsockopt prototype.
14023         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14024         use wchar_t for the argument.
14025         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14026         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14027         take no arguments.
14028         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14029         double/float/long double for second argument.
14030         Fix return types of significand, significandf, significandl.
14031         * manual/filesys.texi (Setting Permissions): Use mode_t for second
14032         argument in fchmod prototype.
14033         (File Owner): Use uid_t and gid_t in fchown prototype.
14034         (File Times): Add const to utimes, futimes, and lutimes prototypes.
14035         (Making Special Files): Use mode_t and dev_t in mknod prototype.
14036         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14037         use 'const struct dirent **' as argument types to CMP function pointer
14038         argument.
14039         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14040         (File Times): Fix summary magic @comment for struct utimbuf and utime
14041         to refer to utime.h, not time.h.
14042         * manual/string.texi (Argz Functions): Add missing const in
14043         argz_extract and argz_next prototypes.
14044         (Finding Tokens in a String): Likewise for basename.
14045         (String/Array Comparison): Fix typo in wcscasecmp prototype.
14046         (Copying and Concatenation): Fix typo in wmemmove prototype.
14047         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14048         (Signal Stack): Remove erroneous const in sigstack prototype.
14049         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14050         prototype.
14051         (Simple Calendar Time): Likewise for stime.
14052         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14053         prototype.
14054         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14055         say sys/sysctl.h instead.
14056         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14057         and vsyslog prototypes.
14059 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14061         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14062         Remove.
14064 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14066         * misc/sys/mman.h: Fix typo in mremap comment.
14068 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14070         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14071         the '\0' terminator.
14073 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14075         [BZ #13550]
14076         * debug/segfault.c: Don't include <bp-checks.h>.
14077         * sysdeps/generic/bp-checks.h: Remove file.
14078         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14079         (__GETDENTS): Don't use CHECK_N.
14080         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14081         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14082         (__getgroups): Don't use CHECK_N.
14083         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14084         (setgroups): Don't use CHECK_N.
14085         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14086         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14087         (__libc_msgrcv): Don't use CHECK_N.
14088         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14089         (__libc_msgsnd): Don't use CHECK_N.
14090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14091         <bp-checks.h>.
14092         (__libc_pread): Don't use CHECK_N.
14093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14094         include <bp-checks.h>.
14095         (__libc_pread64): Don't use CHECK_N.
14096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14097         include <bp-checks.h>.
14098         (__libc_pwrite): Don't use CHECK_N.
14099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14100         include <bp-checks.h>.
14101         (__libc_pwrite64): Don't use CHECK_N.
14102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14103         <bp-checks.h>.
14104         (__libc_pread): Don't use CHECK_N.
14105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14106         include <bp-checks.h>.
14107         (__libc_pread64): Don't use CHECK_N.
14108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14109         include <bp-checks.h>.
14110         (__libc_pwrite): Don't use CHECK_N.
14111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14112         include <bp-checks.h>.
14113         (__libc_pwrite64): Don't use CHECK_N.
14114         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14115         (do_pread): Don't use CHECK_N.
14116         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14117         (do_pread64): Don't use CHECK_N.
14118         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14119         (do_pwrite): Don't use CHECK_N.
14120         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14121         (do_pwrite64): Don't use CHECK_N.
14122         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14123         (__libc_readv): Don't use CHECK_N.
14124         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14125         (semop): Don't use CHECK_N.
14126         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14127         <bp-checks.h>.
14128         (semtimedop): Don't use CHECK_N.
14129         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14130         (__libc_pread): Don't use CHECK_N.
14131         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14132         <bp-checks.h>.
14133         (__libc_pread64): Don't use CHECK_N.
14134         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14135         <bp-checks.h>.
14136         (__libc_pwrite): Don't use CHECK_N.
14137         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14138         <bp-checks.h>.
14139         (__libc_pwrite64): Don't use CHECK_N.
14140         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14141         <bp-checks.h>.
14142         (__libc_msgrcv): Don't use CHECK_N.
14143         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14144         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
14145         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14146         (__libc_writev): Don't use CHECK_N.
14148 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14150         * string/strcpy.c: Removed unused variable.
14152         * Makeconfig (+sysdep-includes): Define with := rather than =.
14153         Use an existing include/ subdir of each sysdeps dir before it.
14155 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14157         * nscd/connection.c (register_traced_file): Comment function.
14158         [HAVE_INOTIFY] (union __inev): Define.
14159         [HAVE_INOTIFY] (inotify_check_files): New function.
14160         [HAVE_INOTIFY] (clear_db_cache): Likewise.
14161         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14162         clear_db_cache.
14163         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14165 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14167         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14168         loaded if not already and that a failure is permanent.
14170 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14172         [BZ #15006]
14173         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14174         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14176 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14178         [BZ #13550]
14179         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14180         (CHECK_1_NULL_OK): Likewise.
14181         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14182         (__fxstat): Do not use CHECK_1.
14183         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14184         <bp-checks.h>.
14185         (___fxstat64): Do not use CHECK_1.
14186         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14187         <bp-checks.h>.
14188         (__fxstatat): Do not use CHECK_1.
14189         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14190         <bp-checks.h>.
14191         (__fxstatat64): Do not use CHECK_1.
14192         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14193         <bp-checks.h>.
14194         (__fxstat): Do not use CHECK_1.
14195         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14196         <bp-checks.h>.
14197         (__fxstatat): Do not use CHECK_1.
14198         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14199         <bp-checks.h>.
14200         (__getresgid): Do not use CHECK_1.
14201         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14202         <bp-checks.h>.
14203         (__getresuid): Do not use CHECK_1.
14204         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14205         <bp-checks.h>.
14206         (__lxstat): Do not use CHECK_1.
14207         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14208         <bp-checks.h>.
14209         (__old_msgctl): Do not use CHECK_1.
14210         (__new_msgctl): Likewise.
14211         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14212         <bp-checks.h>.
14213         (__new_setrlimit): Do not use CHECK_1.
14214         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14215         <bp-checks.h>.
14216         (__old_shmctl): Do not use CHECK_1.
14217         (__new_shmctl): Likewise.
14218         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14219         <bp-checks.h>.
14220         (__xstat): Do not use CHECK_1.
14221         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14222         (__lxstat): Do not use CHECK_1.
14223         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14224         <bp-checks.h>.
14225         (___lxstat64): Do not use CHECK_1.
14226         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14227         (__old_msgctl): Do not use CHECK_1.
14228         (__new_msgctl): Likewise.
14229         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14230         <bp-checks.h>.
14231         (__gettimeofday): Do not use CHECK_1.
14232         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14233         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14234         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14235         <bp-checks.h>.
14236         (__gettimeofday): Do not use CHECK_1.
14237         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14238         (__old_shmctl): Do not use CHECK_1_NULL_OK.
14239         (__new_shmctl): Do not use CHECK_1.
14240         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14241         <bp-checks.h>.
14242         (do_sigtimedwait): Do not use CHECK_1.
14243         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14244         <bp-checks.h>.
14245         (do_sigwaitinfo): Do not use CHECK_1.
14246         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14247         <bp-checks.h>.
14248         (msgctl): Do not use CHECK_1.
14249         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14250         <bp-checks.h>.
14251         (shmctl): Do not use CHECK_1.
14252         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14253         (ustat): Do not use CHECK_1.
14254         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14255         <bp-checks.h>.
14256         (__fxstat): Do not use CHECK_1.
14257         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14258         <bp-checks.h>.
14259         (__fxstatat): Do not use CHECK_1.
14260         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14261         <bp-checks.h>.
14262         (__lxstat): Do not use CHECK_1.
14263         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14264         <bp-checks.h>.
14265         (__xstat): Do not use CHECK_1.
14266         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14267         (__xstat): Do not use CHECK_1.
14268         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14269         (___xstat64): Do not use CHECK_1.
14271         [BZ #13550]
14272         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14273         definitions.
14274         (CHECK_BOUNDS_HIGH): Likewise.
14275         * string/strcpy.c: Do not include <bp-checks.h>.
14276         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14278 2013-02-07  Roland McGrath  <roland@hack.frob.com>
14280         * nscd/nscd-client.h (__nscd_drop_map_ref):
14281         Add __attribute__ ((unused)).
14282         * nis/nss-nisplus.h (niserr2nss): Likewise.
14284         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14285         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14287         * csu/libc-tls.c (init_static_tls, init_slotinfo):
14288         Remove inline keyword.
14289         * include/rounding-mode.h (round_away): Likewise.
14290         * libio/wfileops.c (adjust_wide_data): Likewise.
14291         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14292         (__m128i_strloadu_tolower): Likewise.
14293         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14294         (__m128i_strloadu_tolower): Likewise.
14295         * time/mktime.c (ydhms_diff): Likewise.
14296         * locale/elem-hash.h (elem_hash): Likewise.
14297         * locale/setlocale.c (setdata): Likewise.
14298         * posix/regex_internal.h (re_string_char_size_at): Likewise.
14299         (re_string_wchar_at): Likewise.
14300         (bitset_not, bitset_merge, bitset_mask): Likewise.
14301         [!(__GNUC__ > 3)] (inline): Remove macro.
14302         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14303         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14304         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14305         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14306         * string/memcmp.c (memcmp_bytes): Likewise.
14307         * locale/programs/locarchive.c (compute_hashval): Likewise.
14308         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14309         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14310         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14311         * nss/getent.c (print_rpc, print_protocols): Likewise.
14312         (print_passwd, print_group, print_aliases): Likewise.
14313         * nis/nss-nisplus.h (niserr2nss): Likewise.
14314         * nscd/connections.c (restart_p): Likewise.
14315         Change return type to bool.
14317 2013-02-05  Roland McGrath  <roland@hack.frob.com>
14319         * Makeconfig (all-Depend-files): Add existing
14320         $(sorted-subdirs:=/Depend) files.
14321         (all-subdirs): Remove nss.
14322         * sysdeps/unix/inet/Subdirs: Add it here instead.
14323         * hesiod/Depend: New file.
14325         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14326         instead of calling alloca.
14328         * io/lseek.c (__lseek): Rename to __libc_lseek.
14329         Define __lseek as an alias.
14331         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14333 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
14335         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14336         else clause and remove check for non-standard endianness.
14338 2013-02-04  David S. Miller  <davem@davemloft.net>
14340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14342 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14344         [BZ #13550]
14345         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14346         (__ubp_memchr): Remove prototype.
14347         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14348         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14349         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14350         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14351         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14352         Remove alias.
14353         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14354         (__ubp_memchr): Likewise.
14355         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14356         (__ubp_memchr): Likewise.
14357         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14358         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14359         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14360         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14361         CHECK_STRING.
14362         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14363         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14364         (__getcwd): Do not use CHECK_STRING.
14365         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14366         <bp-checks.h>.
14367         (__real_chown): Do not use CHECK_STRING.
14368         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14369         <bp-checks.h>.
14370         (fchownat): Do not use CHECK_STRING.
14371         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14372         CHECK_STRING.
14373         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14374         <bp-checks.h>.
14375         (__lchown): Do not use CHECK_STRING.
14376         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14377         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14378         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14379         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14381         include <bp-checks.h>.
14382         (truncate64): Do not use CHECK_STRING.
14383         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14384         <bp-checks.h>.
14385         (__real_chown): Do not use CHECK_STRING.
14386         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14387         <bp-checks.h>.
14388         (__lchown): Do not use CHECK_STRING.
14389         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14390         <bp-checks.h>.
14391         (__chown): Do not use CHECK_STRING.
14392         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14393         <bp-checks.h>.
14394         (truncate64): Do not use CHECK_STRING.
14395         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14396         Likewise.
14397         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14398         (__xmknod): Do not use CHECK_STRING.
14399         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14400         <bp-checks.h>.
14401         (__xmknodat): Do not use CHECK_STRING.
14402         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14403         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14405 2013-02-04  Andreas Schwab  <schwab@suse.de>
14407         [BZ #14142]
14408         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14409         * include/netdb.h: Likewise for h_errno.
14410         * elf/tst-stackguard1.c: Include <tls.h>.
14412 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14414         * elf/link.h (struct link_map): Extend the l_addr comment.
14415         * include/link.h (struct link_map): Likewise.
14417 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14419         [BZ #13550]
14420         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14421         (BOUNDED_1): Remove macro.
14422         * debug/backtrace.c: Don't include <bp-checks.h>.
14423         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14424         (__backtrace): Likewise.
14425         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14426         <bp-checks.h>.
14427         (__backtrace): Don't use BOUNDED_1.
14428         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14429         <bp-checks.h>.
14430         (__backtrace): Don't use BOUNDED_1.
14431         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14432         (__backtrace): Don't use BOUNDED_1.
14433         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14434         (shmat): Don't use BOUNDED_N.
14436 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14438         [BZ #13550]
14439         * sysdeps/generic/bp-start.h: Remove file.
14440         * csu/libc-start.c: Don't include <bp-start.h>.
14441         (LIBC_START_MAIN): Set up __environ directly instead of using
14442         INIT_ARGV_and_ENVIRON.
14443         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14444         <bp-start.h>.
14446         [BZ #13550]
14447         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14448         definitions.
14449         (CHECK_FCNTL): Likewise.
14450         (CHECK_N_PAGES): Likewise.
14452         [BZ #13550]
14453         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14454         definitions.
14455         (CHECK_SIGSET_NULL_OK): Likewise.
14456         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14457         <bp-checks.h>.
14458         (sigpending): Don't use CHECK_SIGSET.
14459         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14460         <bp-checks.h>.
14461         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14462         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14463         <bp-checks.h>.
14464         (do_sigsuspend): Don't use CHECK_SIGSET.
14465         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14466         use CHECK_SIGSET.
14467         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14468         (do_sigwait): Don't use CHECK_SIGSET.
14469         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14470         use CHECK_SIGSET.
14471         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14472         include <bp-checks.h>.
14473         (sigpending): Don't use CHECK_SIGSET.
14474         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14475         include <bp-checks.h>.
14476         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14477         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14478         <bp-checks.h>.
14479         (sigpending): Don't use CHECK_SIGSET.
14480         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14481         <bp-checks.h>.
14482         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14484         [BZ #13550]
14485         * sysdeps/generic/bp-semctl.h: Remove file.
14486         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14487         <bp-checks.h> and <bp-semctl.h>.
14488         (__old_semctl): Don't use CHECK_SEMCTL.
14489         (__new_semctl): Likewise.
14490         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14491         and <bp-semctl.h>.
14492         (__old_semctl): Don't use CHECK_SEMCTL.
14493         (__new_semctl): Likewise.
14494         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14495         <bp-checks.h> and <bp-semctl.h>.
14496         (__old_semctl): Don't use CHECK_SEMCTL.
14497         (__new_semctl): Likewise.
14498         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14499         <bp-checks.h> and <bp-semctl.h>.
14500         (semctl): Don't use CHECK_SEMCTL.
14502         [BZ #13550]
14503         * Makerules (elide-bp-thunks): Remove variable.
14504         (elide-routines.oS): Don't use $(elide-bp-thunks).
14505         (elide-routines.os): Likewise.
14506         (elide-routines.o): Likewise.
14507         (elide-routines.op): Likewise.
14508         (elide-routines.og): Likewise.
14509         (objects): Don't use $(bp-thunks).
14510         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14511         include.
14512         (common-generated): Do not add s-proto-bp.d.
14513         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14514         (int): Likewise.
14515         (typ): Likewise.
14516         Do not generate makefile rules for bounded-pointer thunks.
14517         * sysdeps/generic/bp-thunks.h: Remove file.
14518         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14519         * sysdeps/unix/s-proto-bp.S: Likewise.
14521         [BZ #15062]
14522         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14523         parts of result separately when argument is not close to line from
14524         -i to i and one part of argument is small.
14525         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14526         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14527         * math/libm-test.inc (cacos_test): Add more tests.
14528         (casin_test): Likewise.
14529         (casinh_test): Likewise.
14530         * sysdeps/i386/fpu/libm-test-ulps: Update.
14531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14533 2013-01-31  David S. Miller  <davem@davemloft.net>
14535         * po/de.po: Update from translation team.
14537 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14539         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14541 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14543         * configure.in (_AC_PROG_CC_C89): New definition.
14544         * configure: Regenerate.
14546         * configure.in (AC_PROG_CPP): New definition.
14547         * configure: Regenerate.
14549 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14551         * debug/tst-backtrace.h: New file.
14552         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14553         (ret): Remove variable.
14554         (x): Likewise.
14555         (FAIL): Remove macro.
14556         (NO_INLINE): Likewise.
14557         (fn1): Use match function instead of strstr.
14558         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14559         (ret): Remove variable.
14560         (x): Likewise.
14561         (FAIL): Remove macro.
14562         (NO_INLINE): Likewise.
14563         (fn): Use match function instead of strstr.
14564         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14565         (ret): Remove variable.
14566         (x): Likewise.
14567         (FAIL): Remove macro.
14568         (NO_INLINE): Likewise.
14569         (handle_signal): Use match function instead of strstr.
14570         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14571         (ret): Remove variable.
14572         (x): Likewise.
14573         (FAIL): Remove macro.
14574         (NO_INLINE): Likewise.
14575         (handle_signal): Use match function instead of strstr.
14577 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14579         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14581 2013-01-23  David S. Miller  <davem@davemloft.net>
14583         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14584         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14585         argument of CAS if possible.
14586         * sysdeps/sparc/sparc64/bits/atomic.h
14587         (__arch_compare_and_exchange_val_32_acq): Likewise.
14588         (__arch_compare_and_exchange_val_64_acq): Likewise.
14590 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14592         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14593         * sysdeps/posix/ulimit.c: ... this.
14594         Include <limits.h>.
14595         * sysdeps/unix/bsd/ulimit.c: Remove file.
14597 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14599         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14600         (LDFLAGS-tst-array5): Likewise.
14602 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14604         [BZ #15036]
14605         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14606         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14607         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14608         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14610 2013-01-21  David S. Miller  <davem@davemloft.net>
14612         * sysdeps/sparc/backtrace.c: New file.
14613         * sysdeps/sparc/sparc32/backtrace.h: New file.
14614         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14615         * sysdeps/sparc/sparc64/backtrace.h: New file.
14616         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14617         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14618         -funwind-tables.
14620 2013-01-21  Andreas Schwab  <schwab@suse.de>
14622         [BZ #15020]
14623         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14624         closed its stdout.
14626 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14629         "mpa2.h".
14630         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14632 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14633             Mark Mitchell  <mark@codesourcery.com>
14634             Tom de Vries  <tom@codesourcery.com>
14635             Paul Pluzhnikov  <ppluzhnikov@google.com>
14637         * debug/tst-backtrace2.c: New file.
14638         * debug/tst-backtrace3.c: Likewise.
14639         * debug/tst-backtrace4.c: Likewise.
14640         * debug/tst-backtrace5.c: Likewise.
14641         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14642         (CFLAGS-tst-backtrace3.c): Likewise.
14643         (CFLAGS-tst-backtrace4.c): Likewise.
14644         (CFLAGS-tst-backtrace5.c): Likewise.
14645         (LDFLAGS-tst-backtrace2): Likewise.
14646         (LDFLAGS-tst-backtrace3): Likewise.
14647         (LDFLAGS-tst-backtrace4): Likewise.
14648         (LDFLAGS-tst-backtrace5): Likewise.
14649         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14650         tst-backtrace4 and tst-backtrace5.
14652 2013-01-18  Anton Blanchard  <anton@samba.org>
14653             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14655         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14656         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14657         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14658         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14660         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14661         "+r" and remove output regs list as redundant.  Add explicit inline
14662         asm to specify register of return val to work around compiler codegen
14663         bug.  Remove (int) cast on return value.  Add return type parameter to
14664         use in macro so that this macro does not truncate return value for
14665         64-bit values.
14666         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14667         pass to INTERNAL_VSYSCALL_NCS.
14668         (INLINE_VSYSCALL): Add 'long int' as return type to
14669         INTERNAL_VSYSCALL_NCS macro invocation.
14670         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14671         INTERNAL_VSYSCALL_NCS macro invocation.
14672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14674 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14676         [BZ #14496]
14677         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14678         Fix application of SIMD FP exception mask.
14680         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14681         mp_no from a power of two.
14682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14683         __mpexp_twomm1.  Use __pow_mp.
14685         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14686         multiplication.
14688 2013-01-17  David S. Miller  <davem@davemloft.net>
14690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14692 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14694         [BZ #15023]
14695         * include/complex.h: Condition contents on [!_COMPLEX_H].
14696         (__kernel_casinhf): New prototype.
14697         (__kernel_casinh): Likewise.
14698         (__kernel_casinhl): Likewise.
14699         * math/Makefile (libm_calls): Add k_casinh.
14700         * math/k_casinh.c: New file.
14701         * math/k_casinhf.c: Likewise.
14702         * math/k_casinhl.c: Likewise.
14703         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14704         finite nonzero arguments.
14705         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14706         finite nonzero arguments.
14707         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14708         finite nonzero arguments.
14709         * math/s_casinh.c: Do not include <float.h>.
14710         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14711         * math/s_casinhf.c: Do not include <float.h>.
14712         (__casinhf): Move code for finite nonzero arguments to
14713         k_casinhf.c.
14714         * math/s_casinhl.c: Do not include <float.h>.
14715         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14716         redefine.
14717         (__casinhl): Move code for finite nonzero arguments to
14718         k_casinhl.c.
14719         * math/libm-test.inc (cacos_test): Add more tests.
14720         * sysdeps/i386/fpu/libm-test-ulps: Update.
14721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14723 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14725         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14726         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14727         [!HAVE_MREMAP]: Remove [defined linux] case.
14728         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14730 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14732         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14734 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14736         * elf/elf.h (R_386_SIZE32): New relocation.
14737         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14738         R_386_SIZE32.
14739         (elf_machine_rela): Likewise.
14740         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14741         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14743 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14745         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14746         (FP_FAST_FMA): Do not define.
14747         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14748         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14749         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14750         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14751         !_SOFT_FLOAT]: Likewise.
14752         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14753         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14754         value.
14755         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14756         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14757         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14758         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14759         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14760         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14761         file.
14763 2013-01-16  Andreas Schwab  <schwab@suse.de>
14765         [BZ #14327]
14766         * include/stdlib.h (__mktemp): Add declaration.
14767         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14768         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14770 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14772         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14773         definitions.
14774         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14775         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14776         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14777         definitions here.
14778         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14779         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14780         definitions.
14781         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14782         and ONE.
14783         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14784         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14785         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14786         definitions.
14787         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14788         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14789         definitions.
14790         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14792         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14794 2013-01-15  David S. Miller  <davem@davemloft.net>
14796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14797         trunc{,f} to libm-sysdep_routes.
14798         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14800         file.
14801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14803         file.
14804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14805         file.
14806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14808         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14809         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14810         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14811         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14812         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14813         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14816         nearbyint{,f} to libm-sysdep_routes.
14817         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14819         New file.
14820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14821         file.
14822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14823         New file.
14824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14825         file.
14826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14828         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14829         file.
14830         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14831         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14832         file.
14833         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14834         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14835         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14837         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14838         libc_feholdexcept and libc_fesetenv.
14840 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14842         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14844 2013-01-14  David S. Miller  <davem@davemloft.net>
14846         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14847         (SPARC_ASM_VIS2_IFUNC): Likewise.
14848         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14850         use of 'siam' instruction.
14851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14852         Likewise.
14853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14854         Likewise.
14855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14856         Likewise.
14857         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14858         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14860         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14862         file.
14863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14864         file.
14865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14866         file.
14867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14868         file.
14869         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14870         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14872         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14874         new VIS2 routines.
14875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14878         Likewise.
14879         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14880         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14881         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14882         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14884         routines to libm-sysdep_routines.
14885         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14888         fdim/fdimf to libm-sysdep_routines.
14889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14890         file.
14891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14893         file.
14894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14897         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14898         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14899         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14900         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14902 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14904         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14905         to optimize copies.
14907         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14912         local variable MPTWO.
14913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14914         Likewise.
14916 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14918         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14919         GLOB_NOESCAPE.
14921 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14923         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14925 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14927         * manual/pattern.texi (glob_t): Document gl_flags.
14928         (glob64_t): Likewise.
14930 2013-01-11  David S. Miller  <davem@davemloft.net>
14932         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14933         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14934         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14935         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14936         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14937         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14938         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14939         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14940         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14941         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14942         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14943         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14944         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14946         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14947         sparc V9 rather than using V8 code.
14948         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14949         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14951         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14952         Move to...
14953         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14954         Here.
14956 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14958         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14959         not in the main loop.
14960         * configure: Regenerated.
14962 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14964         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14965         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14966         to just #else.
14967         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14968         [!__GLIBC_HAVE_LONG_LONG] case.
14969         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14970         condition to just #else.
14971         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14972         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14973         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14974         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14975         unconditional.
14976         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14977         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14978         #elif condition to just #else.
14979         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14980         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14981         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14982         #elif condition to just #else.
14984 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14986         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14987         (EF_MIPS_ARCH_64): Fix value.
14988         (EF_MIPS_ARCH_32R2): New.
14989         (EF_MIPS_ARCH_64R2): New.
14991 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14993         * Makeconfig (+link-pie-before-libc): New.
14994         (+link-pie-after-libc): Likewise.
14995         (+link-pie-tests): Likewise.
14996         (+link-pie): Rewritten.
14997         (link-before-libc): Remove $(config-LDFLAGS).
14998         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14999         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15000         (config-LDFLAGS): Renamed to ...
15001         (rtld-LDFLAGS): This.
15002         (rtld-tests-LDFLAGS): New macro.
15003         (link-libc-rpath-link): Likewise.
15004         (link-libc-tests-rpath-link): Likewise.
15005         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15006         (link-libc): Prepand $(link-libc-rpath-link).
15007         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15008         (test-program-prefix): New macro.
15009         (test-via-rtld-prefix): Likewise.
15010         (test-program-cmd): Likewise.
15011         (host-test-program-cmd): Likewise.
15012         * Makefile ($(common-objpfx)testrun.sh): Replace
15013         $(run-program-prefix) with $(test-program-prefix).
15014         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15015         $(rtld-LDFLAGS).
15016         ($(common-objpfx)shlib.lds): Likewise.
15017         (build-module-helper): Likewise.
15018         ($(common-objpfx)format.lds): Likewise.
15019         * Rules (binaries-pie-tests): New.
15020         (binaries-pie-notests): Likewise.
15021         (binaries-pie): Rewritten.
15022         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15023         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15024         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15025         (make-test-out): Replace $(host-built-program-cmd) with
15026         $(host-test-program-cmd).
15027         * config.make.in (build-hardcoded-path-in-tests): New variable.
15028         * configure.in (--enable-hardcoded-path-in-tests): New configure
15029         option.
15030         (hardcoded_path_in_tests): New AC_SUBST.
15031         * configure: Regenerated.
15032         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15033         $(built-program-cmd) with $(test-program-cmd).
15034         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15035         (test_program_cmd): This.
15036         * elf/Makefile ($(objpfx)order.out): Run test with
15037         $(test-program-prefix).
15038         ($(objpfx)order2.out): Likewise.
15039         ($(objpfx)tst-initorder.out): Likewise.
15040         ($(objpfx)tst-initorder2.out): Likewise.
15041         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15042         $(test-program-cmd).
15043         ($(objpfx)tst-array1-static.out): Likewise.
15044         ($(objpfx)tst-array2.out): Likewise.
15045         ($(objpfx)tst-array3.out): Likewise.
15046         ($(objpfx)tst-array4.out): Likewise.
15047         ($(objpfx)tst-array5.out): Likewise.
15048         ($(objpfx)tst-array5-static.out): Likewise.
15049         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15050         $(test-program-cmd).
15051         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15052         $(run-program-prefix) with $(test-program-prefix).
15053         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15054         (test_program_prefix): This.
15055         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15056         $(run-program-prefix) with $(test-program-prefix).
15057         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15058         (test_program_prefix): This.
15059         * iconvdata/tst-tables.sh: Likewise.
15060         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15061         $(run-program-prefix) with $(test-program-prefix).
15062         ($(objpfx)tst-translit.out): Likewise.
15063         ($(objpfx)tst-gettext2.out): Likewise.
15064         ($(objpfx)tst-gettext4.out): Likewise.
15065         ($(objpfx)tst-gettext6.out): Likewise.
15066         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15067         (test_program_prefix): This.
15068         * intl/tst-gettext2.sh: Likewise.
15069         * intl/tst-gettext4.sh  Likewise.
15070         * intl/tst-gettext6.sh: Likewise.
15071         * intl/tst-translit.sh: Likewise.
15072         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15073         with $(test-program-cmd).
15074         * libio/Makefile ($(objpfx)test-freopen.out): Replace
15075         $(run-program-prefix) with $(test-program-prefix).
15076         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15077         (test_program_prefix): This.
15078         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15079         $(run-program-prefix) with $(test-program-prefix).
15080         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15081         (test_program_prefix): This.
15082         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15083         * posix/Makefile ($(objpfx)globtest.out): Replace
15084         $(run-via-rtld-prefix) and $(test-wrapper) with
15085         $(test-program-prefix) and $(test-via-rtld-prefix).
15086         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15087         $(test-program-prefix).
15088         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15089         $(host-test-program-cmd).
15090         (tst-spawn-ARGS): Likewise.
15091         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15092         $(test-program-prefix).
15093         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15094         (test_via_rtld_prefix): This.
15095         (test_wrapper): Renamed to ...
15096         (test_program_prefix): This.
15097         (run_program_prefix): Replaced by test_program_prefix.
15098         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15099         (test_program_prefix): This.
15100         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15101         with $(host-test-program-cmd).
15102         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15103         $(run-program-prefix) with $(test-program-prefix).
15104         ($(objpfx)tst-printf.out): Likewise.
15105         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15106         $(test-program-cmd).
15107         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15108         (test_program_prefix): This.
15109         * stdio-common/tst-unbputc.sh: Likewise.
15110         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15111         $(run-program-prefix) with $(test-program-prefix).
15112         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15113         (test_program_prefix): This.
15114         * string/Makefile ($(objpfx)tst-svc.out):  Replace
15115         $(built-program-cmd) with $(test-program-cmd).
15117 2013-01-11  Andreas Jaeger  <aj@suse.de>
15119         [BZ #15003]
15120         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15121         value. Sync with Linux 3.7.
15123 2013-01-10  David S. Miller  <davem@davemloft.net>
15125         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15126         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15127         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15129 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15131         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15132         never set.
15133         * configure: Regenerated.
15135 2013-01-10  David S. Miller  <davem@davemloft.net>
15137         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15138         sparc V9 rather than using V8 code.
15139         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15140         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15142 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15144         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15145         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15146         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15147         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15148         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15149         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15150         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15151         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15152         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15153         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15154         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15155         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15156         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15157         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15158         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15159         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15160         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15161         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15162         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15163         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15164         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15165         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15166         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15167         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15168         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15169         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15170         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15172 2013-01-10  David S. Miller  <davem@davemloft.net>
15174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15176 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15178         * posix/Makefile (tests-static): New variable.
15179         (tests): Add $(tests-static).
15180         (tst-exec-static-ARGS): New variable.
15181         (tst-spawn-static-ARGS): Likewise.
15182         * posix/tst-exec-static.c: New file.
15183         * posix/tst-spawn-static.c: Likewise.
15184         * posix/tst-exec.c: Support run directly.
15185         * posix/tst-spawn.c: Likewise.
15187 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
15189         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15190         long.
15191         * math/bits/mathcalls.h (llrint): Likewise.
15192         (llround): Likewise.
15193         * stdlib/stdlib.h (struct drand48_data): Likewise.
15194         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15195         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15196         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15197         Likewise.
15198         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15199         Likewise.
15200         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15201         (elf_greg_t): Likewise.
15202         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15203         (__jmp_buf): Likewise.
15204         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15205         definitions.
15206         (llrint): Likewise, for all definitions.
15207         (llrintl): Likewise.
15209         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15210         Remove [__GNUC__] condition.
15211         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15212         condition to just [__USE_ISOC99].
15213         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15215 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15217         [BZ #14200]
15218         * sysdeps/unix/sysv/linux/x86/bits/environments.h
15219         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15220         defined.
15221         (_POSIX_V6_ILP32_OFF32): Likewise.
15222         (_XBS5_ILP32_OFF32): Likewise.
15223         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15224         (__ILP32_OFFBIG_LDFLAGS): Likewise.
15226 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15228         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15230         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15231         doubles __mpexp_twomm1.  Adjust usage.
15232         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15233         Remove.
15235 2013-01-10  Andreas Schwab  <schwab@suse.de>
15237         [BZ #14964]
15238         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15239         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15241 2013-01-09  David S. Miller  <davem@davemloft.net>
15243         [BZ #15003]
15244         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15245         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15246         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15247         TCP_FASTOPEN): Define.
15248         (tcp_repair_opt): New structure.
15249         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15250         enum values.
15251         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15252         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15253         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15254         (tcp_cookie_transactions): New structure.
15256 2013-01-09  Anton Blanchard  <anton@samba.org>
15258         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15259         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15260         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15261         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15263 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
15265         * include/features.h (__USE_ANSI): Remove.
15267 2013-01-09  Roland McGrath  <roland@hack.frob.com>
15269         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15271         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15273 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15275         * sysdeps/s390/fpu/libm-test-ulps: Update.
15277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15279         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15280         (__acr): Likewise.
15281         (__cpy): Likewise.
15282         (norm): Likewise.
15283         (denorm): Likewise.
15284         (__mp_dbl): Likewise.
15285         (__dbl_mp): Likewise.
15286         (add_magnitudes): Likewise.
15287         (sub_magnitudes): Likewise.
15288         (__add): Likewise.
15289         (__sub): Likewise.
15290         (__mul): Likewise.
15291         (__inv): Likewise.
15292         (__dvd): Likewise.
15293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15294         (__acr): Likewise.
15295         (__cpy): Likewise.
15296         (norm): Likewise.
15297         (denorm): Likewise.
15298         (__mp_dbl): Likewise.
15299         (__dbl_mp): Likewise.
15300         (add_magnitudes): Likewise.
15301         (sub_magnitudes): Likewise.
15302         (__add): Likewise.
15303         (__sub): Likewise.
15304         (__mul): Likewise.
15305         (__inv): Likewise.
15306         (__dvd): Likewise.
15307         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15308         (__acr): Likewise.
15309         (__cpy): Likewise.
15310         (norm): Likewise.
15311         (denorm): Likewise.
15312         (__mp_dbl): Likewise.
15313         (__dbl_mp): Likewise.
15314         (add_magnitudes): Likewise.
15315         (sub_magnitudes): Likewise.
15316         (__add): Likewise.
15317         (__sub): Likewise.
15318         (__mul): Likewise.
15319         (__inv): Likewise.
15320         (__dvd): Likewise.
15322 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
15324         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15325         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15326         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15327         2 && __USE_EXTERN_INLINES]: Likewise.
15329 2013-01-08  Andreas Jaeger  <aj@suse.de>
15331         [BZ# 14985]
15332         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15333         Remove.
15334         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15335         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15337 2013-01-07  Anton Blanchard  <anton@samba.org>
15339         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15340         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15341         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15342         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15343         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15344         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15345         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15346         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15348         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15349         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15350         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15351         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15352         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15353         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15354         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15355         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15356         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15357         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15358         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15359         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15360         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15361         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15362         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15363         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15364         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15365         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15366         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15367         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15368         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15369         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15371         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15372         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15373         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15374         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15375         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15376         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15377         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15378         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15379         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15380         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15381         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15383 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15385         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15386         (__MALLOC_PMT): Likewise.
15387         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15388         [__GNUC__], only on [_LIBC].
15389         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15390         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15391         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15392         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15393         forward declaration.
15394         (realloc_hook_ini): Likewise.
15395         (memalign_hook_ini): Likewise.
15396         (__libc_memalign): Do not use __MALLOC_PMT in variable
15397         declaration.
15398         (__libc_valloc): Likewise.
15399         (__libc_pvalloc): Likewise.
15400         (__libc_calloc): Likewise.
15401         (__posix_memalign): Likewise.
15403         [BZ #14996]
15404         * math/s_casinh.c: Include <float.h>.
15405         (__casinh): Do not do computation with squaring and square root
15406         for large arguments.
15407         * math/s_casinhf.c: Include <float.h>.
15408         (__casinhf): Do not do computation with squaring and square root
15409         for large arguments.
15410         * math/s_casinhl.c: Include <float.h>.
15411         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15412         (__casinhl): Do not do computation with squaring and square root
15413         for large arguments.
15414         * math/libm-test.inc (casin_test): Add more tests.
15415         (casinh_test): Likewise.
15416         * sysdeps/i386/fpu/libm-test-ulps: Update.
15417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15419 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15421         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15422         (__x86_64_raw_data_cache_size): Likewise.
15423         (__x86_64_data_cache_size_half): Likewise.
15424         (__x86_64_raw_data_cache_size_half): Likewise.
15425         (__x86_64_shared_cache_size): Likewise.
15426         (__x86_64_raw_shared_cache_size): Likewise.
15427         (__x86_64_shared_cache_size_half): Likewise.
15428         (__x86_64_raw_shared_cache_size_half): Likewise.
15429         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15430         to ...
15431         (__x86_data_cache_size): This.
15432         (__x86_64_raw_data_cache_size): Renamed to ...
15433         (__x86_raw_data_cache_size): This.
15434         (__x86_64_data_cache_size_half): Renamed to ...
15435         (__x86_data_cache_size_half): This.
15436         (__x86_64_raw_data_cache_size_half): Renamed to ...
15437         (__x86_raw_data_cache_size_half): This.
15438         (__x86_64_shared_cache_size): Renamed to ...
15439         (__x86_shared_cache_size): This.
15440         (__x86_64_raw_shared_cache_size): Renamed to ...
15441         (__x86_raw_shared_cache_size): This.
15442         (__x86_64_shared_cache_size_half): Renamed to ...
15443         (__x86_shared_cache_size_half): This.
15444         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15445         (__x86_raw_shared_cache_size_half): This.
15446         * sysdeps/x86_64/memcpy.S: Updated.
15447         * sysdeps/x86_64/memset.S: Likewise.
15448         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15449         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15450         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15452 2013-01-04  David S. Miller  <davem@davemloft.net>
15454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15456 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15458         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15459         1 to avoid redefinition warning.
15460         (__USE_GNU): Don't define.
15461         (init_signaling_nan): Protoize.
15463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15465 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15467         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15469         (__cpymn): Likewise.
15470         (norm): Remove commented code.
15471         (denorm): Likewise.
15472         (__mp_dbl): Likewise.
15473         (__inv): Likewise.
15474         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15475         (__cpymn): Likewise.
15476         (norm): Remove commented code.
15477         (denorm): Likewise.
15478         (__mp_dbl): Likewise.
15479         (__inv): Likewise.
15481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15482         mp_no value for 1.0 and 2.0.
15483         (norm): Use RADIXI instead of radixi.d.
15484         (denorm): Likewise.
15485         (__mul): Use 0.0 instead of zero.d.
15486         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15487         mp_no value for 1.0 and 2.0.
15488         (norm): Use RADIXI instead of radixi.d.
15489         (denorm): Likewise.
15490         (__mul): Use 0.0 instead of zero.d.
15492 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15494         [BZ #14994]
15495         * math/s_casinh.c (__casinh): Reduce finite argument to first
15496         quadrant then set signs of results at the end.
15497         * math/s_casinhf.c (__casinhf): Likewise.
15498         * math/s_casinhl.c (__casinhl): Likewise.
15499         * math/libm-test.inc (casin_test): Add more tests.
15500         (casinh_test): Likewise.
15501         * sysdeps/i386/fpu/libm-test-ulps: Update.
15502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15504 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15506         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15508         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15510         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15511         declarations.
15512         (denorm): Likewise.
15513         (__mp_dbl): Likewise.
15514         (__inv): Likewise.
15516         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15517         and adjust the header comment.
15519         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15520         variable name from declaration.
15522 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15525         Initialize COMMON_CPUID_INDEX_7 element.
15526         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15527         (CPUID_RTM): Likewise.
15528         (HAS_RTM): Likewise.
15529         (COMMON_CPUID_INDEX_7): New enum.
15531 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15533         [BZ #14981]
15534         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15535         size is zero, record memory as freed.
15537 2013-01-03  Andreas Jaeger  <aj@suse.de>
15539         * po/ia.po: Add new Interlingua translation.
15541 2012-01-03  Allan McRae  <allan@archlinux.org>
15543         * locale/programs/localedef.c: Fix description of '--posix' flag.
15545 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15547         * NEWS: Update dates in second copyright notice.
15548         * README: Update copyright dates in example.
15549         * manual/libc.texinfo: Update copyright dates.
15550         * scripts/test-installation.pl: Update copyright date in --version
15551         output.
15553         * hurd/ctty-input.c: Fix copyright notice formatting.
15554         * hurd/ctty-output.c: Likewise.
15555         * hurd/dtable.c: Likewise.
15556         * hurd/hurd-raise.c: Likewise.
15557         * hurd/hurdprio.c: Likewise.
15558         * hurd/msgportdemux.c: Likewise.
15559         * misc/sys/file.h: Likewise.
15560         * misc/sys/ioctl.h: Likewise.
15561         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15562         * sysdeps/mach/hurd/chdir.c: Likewise.
15563         * sysdeps/mach/hurd/fchdir.c: Likewise.
15564         * sysdeps/mach/hurd/rename.c: Likewise.
15565         * sysdeps/mach/hurd/rmdir.c: Likewise.
15566         * sysdeps/mach/hurd/seekdir.c: Likewise.
15567         * sysdeps/mach/hurd/setsid.c: Likewise.
15568         * sysdeps/posix/wait3.c: Likewise.
15570         * All files with FSF copyright notices: Update copyright dates
15571         using scripts/update-copyrights.
15572         * intl/plural.c: Regenerated.
15573         * locale/programs/charmap-kw.h: Likewise.
15574         * locale/programs/locfile-kw.h: Likewise.
15576 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15578         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15579         four values.
15581         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15582         calculation loop and add branch prediction.
15584         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15585         check access beyond bounds of m1np.
15587         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15588         MPTWO.
15589         (__inv): Remove local variable MPTWO to use the global
15590         constant.
15591         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15592         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15593         variable MPTWO.
15594         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15595         MP3HALFS static const.
15597 2013-01-01  David S. Miller  <davem@davemloft.net>
15599         * po/ca.po: Update from translation team.
15601 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15603         * scripts/update-copyrights: New file.
15604         * Makeconfig: Reformat copyright notice.
15605         * ctype/ctype.h: Likewise.
15606         * debug/swprintf_chk.c: Likewise.
15607         * elf/dl-cache.c: Likewise.
15608         * elf/dl-debug.c: Likewise.
15609         * elf/dl-object.c: Likewise.
15610         * grp/initgroups.c: Likewise.
15611         * hurd/Makefile: Likewise.
15612         * hurd/hurd/signal.h: Likewise.
15613         * hurd/hurdfault.c: Likewise.
15614         * hurd/hurdioctl.c: Likewise.
15615         * hurd/hurdlookup.c: Likewise.
15616         * hurd/intr-msg.c: Likewise.
15617         * iconv/gconv_open.c: Likewise.
15618         * libio/swprintf.c: Likewise.
15619         * locale/lc-ctype.c: Likewise.
15620         * locale/nl_langinfo.c: Likewise.
15621         * mach/Machrules: Likewise.
15622         * mach/Makefile: Likewise.
15623         * malloc/obstack.h: Likewise.
15624         * manual/Makefile: Likewise.
15625         * manual/tsort.awk: Likewise.
15626         * misc/bits/stab.def: Likewise.
15627         * nis/nis_print_group_entry.c: Likewise.
15628         * nis/nis_table.c: Likewise.
15629         * nis/nss_compat/compat-pwd.c: Likewise.
15630         * nis/nss_compat/compat-spwd.c: Likewise.
15631         * po/Makefile: Likewise.
15632         * posix/fnmatch.c: Likewise.
15633         * posix/regex.h: Likewise.
15634         * resolv/Makefile: Likewise.
15635         * resolv/nss_dns/dns-network.c: Likewise.
15636         * resolv/res_hconf.c: Likewise.
15637         * scripts/gen-sorted.awk: Likewise.
15638         * soft-fp/soft-fp.h: Likewise.
15639         * stdio-common/printf.h: Likewise.
15640         * stdlib/monetary.h: Likewise.
15641         * stdlib/random.c: Likewise.
15642         * stdlib/random_r.c: Likewise.
15643         * sysdeps/generic/Makefile: Likewise.
15644         * sysdeps/gnu/Makefile: Likewise.
15645         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15646         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15647         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15648         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15649         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15650         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15651         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15652         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15653         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15654         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15655         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15656         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15657         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15658         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15659         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15660         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15661         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15662         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15663         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15664         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15665         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15666         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15667         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15668         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15669         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15670         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15671         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15672         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15673         * sysdeps/mach/hurd/errnos.awk: Likewise.
15674         * sysdeps/mach/hurd/fork.c: Likewise.
15675         * sysdeps/mach/hurd/getcwd.c: Likewise.
15676         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15677         * sysdeps/mach/hurd/mmap.c: Likewise.
15678         * sysdeps/mach/hurd/utimes.c: Likewise.
15679         * sysdeps/mach/hurd/xmknod.c: Likewise.
15680         * sysdeps/posix/profil.c: Likewise.
15681         * sysdeps/posix/readdir_r.c: Likewise.
15682         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15683         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15684         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15685         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15686         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15687         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15688         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15689         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15691         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15692         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15693         * sysdeps/pthread/lio_listio.c: Likewise.
15694         * sysdeps/sparc/dl-procinfo.h: Likewise.
15695         * sysdeps/unix/i386/sysdep.S: Likewise.
15696         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15697         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15698         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15699         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15701         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15702         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15703         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15704         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15705         * sysdeps/wordsize-32/divdi3.c: Likewise.
15706         * time/sys/time.h: Likewise.
15707         * wcsmbs/Makefile: Likewise.
15709 2013-01-01  David S. Miller  <davem@davemloft.net>
15711         * po/fr.po: Update from translation team.
15713         * catgets/gencat.c: Update copyright year.
15714         * csu/version.c: Likewise.
15715         * debug/catchsegv.sh: Likewise.
15716         * debug/pcprofiledump.c: Likewise.
15717         * debug/xtrace.sh: Likewise.
15718         * elf/ldconfig.c: Likewise.
15719         * elf/ldd.bash.in: Likewise.
15720         * elf/pldd.c: Likewise.
15721         * elf/sotruss.ksh: Likewise.
15722         * elf/sprof.c: Likewise.
15723         * iconv/iconv_prog.c: Likewise.
15724         * iconv/iconvconfig.c: Likewise.
15725         * locale/programs/locale.c: Likewise.
15726         * locale/programs/localedef.c: Likewise.
15727         * login/programs/pt_chown.c: Likewise.
15728         * malloc/memusage.sh: Likewise.
15729         * malloc/memusagestat.c: Likewise.
15730         * malloc/mtrace.pl: Likewise.
15731         * nscd/nscd.c: Likewise.
15732         * nss/getent.c: Likewise.
15733         * nss/makedb.c: Likewise.
15734         * posix/getconf.c: Likewise.
15736 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15738         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15739         numbers.
15741 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15743         * math/bits/mathcalls.h (modf): Use __nonnull.
15745 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15747         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15748         (split): Use macro CN instead of the bare value.
15749         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15750         could be used.
15751         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15752         instead of the bare value.
15753         (power1): Likewise.
15755 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15757         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15758         __ATAN_TWOM.
15759         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15761         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15762         their values.
15763         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15764         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15765         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15766         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15768 2012-12-28  Andreas Jaeger  <aj@suse.de>
15770         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15771         values are from Linux 3.7.
15773         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15774         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15776 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15778         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15779         TRUE case.
15781         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15782         (norm): Likewise.
15783         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15784         variables with preprocessor constants.
15785         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15786         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15787         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15789 2012-12-27  Bruno Haible  <bruno@clisp.org>
15791         [BZ #14317]
15792         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15793         only if needed.
15795 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15797         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15798         and use variable directly.
15799         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15801         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15802         MPONE.
15803         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15804         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15805         variable MPONE.
15806         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15807         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15808         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15809         include directive.  Remove local variable MPONE.
15810         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15811         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15812         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15814 2012-12-25  David S. Miller  <davem@davemloft.net>
15816         * version.h (RELEASE): Set to "development".
15817         (VERSION): Set to "2.17.90".
15818         * NEWS: Add 2.18 section.
15820 2012-12-21  David S. Miller  <davem@davemloft.net>
15822         * po/hr.po: Update from translation team.
15824 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15826         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15828 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15830         * NEWS:  Mention new memcpy for MIPS.
15832 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15834         * manual/contrib.texi (Contributors): Spelling correction.
15836 2012-12-15  David S. Miller  <davem@davemloft.net>
15838         * po/ru.po: Update from translation team.
15840 2012-12-13  David S. Miller  <davem@davemloft.net>
15842         * NEWS: Mention IFUNC testsuite enhancements.
15844         * po/pl.po: Update from translation team.
15845         * po/bg.po: Likewise.
15847         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15848         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15850 2012-12-11  David S. Miller  <davem@davemloft.net>
15852         * po/sv.po: Update from translation team.
15854         * po/vi.po: Update from translation team.
15856         * po/cs.po: Update from translation team.
15858         * po/de.po: Update from translation team.
15859         * po/eo.po: Likewise.
15860         * po/nl.po: Likewise.
15862 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15864         [BZ #14246]
15865         * manual/argp.texi (Argp Helper Functions): Move node to follow
15866         Argp Parsing State.
15868         [BZ #14872]
15869         * manual/conf.texi (Limits on File System Capacity): Mention if
15870         terminating null is included in the max size.
15872 2012-12-10  Andreas Jaeger  <aj@suse.de>
15874         * po/cs.po: Update from translation team.
15876 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15878         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15879         void pointer and cast to uintptr_t.
15880         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15881         path.
15882         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15883         * sysdeps/s390/s390-64/memset.S: Likewise.
15885 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15887         [BZ #14833]
15888         * menual/message.texi (Message Translation): Fix typos.
15889         (Helper programs for gettext): Likewise.
15891 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15893         [BZ #14898]
15894         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15895         Change to -1.
15897 2012-12-07  David S. Miller  <davem@davemloft.net>
15899         * po/libc.pot: Update.
15901 2012-12-07  Richard Henderson  <rth@redhat.com>
15903         [BZ #10114]
15904         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15905         normal/normal case to before the switch.
15906         (_FP_DIV): Likewise.
15908 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15909             Mike Frysinger  <vapier@gentoo.org>
15911         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15912         check for __NR_fadvise64_64.
15914 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15916         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15917         0, not just to plain "0" as a statement.
15918         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15919         with cw.
15921 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15923         * NEWS: Use sourceware.org in Bugzilla URL.
15925 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15928         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15930         * stdio-common/tst-put-error.c (do_test): Add newline to the
15931         padded test to ensure flush.
15933 2012-12-05  Jeff Law  <law@redhat.com>
15935         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15937 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15939         * README: Don't refer to ports add-on as distributed separately.
15940         Mention AArch64 in list of systems supported in the ports add-on.
15942         * LICENSES: Add more non-FSF copyright and license notices.
15944         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15945         ((unused)).
15947         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15949         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15950         10000 as width of padded output.
15952 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15954         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15956         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15957         variable LX with __attribute__ ((unused)).
15958         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15959         Likewise.
15960         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15961         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15962         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15963         with __attribute__ ((unused)).
15965 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15967         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15969 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15971         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15972         (CFLAGS-nldbl-acos.c): New variable.
15973         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15974         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15975         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15976         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15977         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15978         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15979         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15980         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15981         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15982         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15983         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15984         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15985         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15986         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15987         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15988         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15989         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15990         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15991         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15992         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15993         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15994         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15995         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15996         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15997         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15998         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15999         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16000         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16001         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16002         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16003         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16004         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16005         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16006         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16007         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16008         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16009         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16010         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16011         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16012         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16013         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16014         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16015         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16016         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16017         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16018         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16019         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16020         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16021         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16022         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16023         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16024         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16025         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16026         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16027         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16028         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16029         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16030         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16031         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16032         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16033         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16034         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16035         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16036         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16037         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16038         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16039         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16040         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16041         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16042         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16043         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16044         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16045         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16046         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16047         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16048         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16049         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16050         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16051         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16052         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16053         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16054         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16055         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16056         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16057         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16058         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16059         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16060         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16061         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16062         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16063         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16064         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16065         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16066         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16067         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16068         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16069         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16072         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16074         [BZ #14914]
16075         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16076         whole low double instead of just low 47 bits when splitting values
16077         into two parts.
16079 2012-12-03  Allan McRae  <allan@archlinux.org>
16081         * manual/stdio.texi (Predefined Printf Handlers): Remove
16082         @hsep and @vsep usage.
16084 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
16086         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16087         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16089 2012-12-03  Jeff Law  <law@redhat.com>
16091         * time/sys/time.h (settimeofday): Do not mark TV argument
16092         as __nonnull.
16094 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
16096         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16097         when currently writing and seek to current position when not.
16098         * libio/Makefile (tests): Remove bug-fclose1.
16099         * libio/bug-fclose1.c: Delete.
16101 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
16103         * manual/arith.texi (feenableexcept): Fix typo.
16104         (fedisableexcept): Likewise.
16106 2012-11-30  Roland McGrath  <roland@hack.frob.com>
16108         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16109         second, differently-typed declaration, rather than a cast.
16111 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16113         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16114         * include/rpc/svc.h: ... here.
16116 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
16118         [BZ #13013]
16119         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16120         depending n and resplen2 to catch cases where answer
16121         equals answerp2.
16123 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
16125         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16126         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16128 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
16130         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16132 2012-11-29  Roland McGrath  <roland@hack.frob.com>
16134         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16136 2012-11-28  Jeff Law  <law@redhat.com>
16138         [BZ #13761]
16139         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16140         dataset_temporary.  Track alloca usage into alloca_used.
16141         If dataset is large allocate and release it via malloc/free.
16143 2012-06-04  Florian Weimer  <fweimer@redhat.com>
16145         [BZ #14197]
16146         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16148 2012-11-28  David S. Miller  <davem@davemloft.net>
16150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16152 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16154         [BZ #14803]
16155         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16156         of pi/2 rounded to nearest to 64 bits.
16157         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16158         nearest to 64 bits.
16159         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16160         bits.
16162 2012-11-28  Jeff Law <law@redhat.com>
16163             Martin Osvald <mosvald@redhat.com>
16165         [BZ #14889]
16166         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16167         * sunrpc/svc.c: Include time.h.
16168         (__svc_accept_failed): New function.
16169         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16170         any reason other than EINTR, call __svc_accept_failed.
16171         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16172         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16174 2012-11-28  Andreas Schwab  <schwab@suse.de>
16176         * scripts/abilist.awk: Also handle indirect functions in .opd
16177         section.
16179 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16181         [BZ #13881]
16182         * sysdeps/x86/fpu/powl_helper.c: New file.
16183         * sysdeps/x86/fpu/Makefile: Likewise.
16184         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16185         (p3): New object.
16186         (__ieee754_powl): Use __powl_helper for finite arguments except
16187         integer exponents below 8.
16188         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16189         (p3): New object.
16190         (__ieee754_powl): Use __powl_helper for finite arguments except
16191         integer exponents below 8.
16192         * math/libm-test.inc (pow_test): Add more tests and enable some
16193         previously disabled tests.
16194         * sysdeps/i386/fpu/libm-test-ulps: Update.
16195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16197 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16198             Carlos O'Donell  <carlos_odonell@mentor.com>
16200         * nss/makedb.c (is_prime): Assert that input is odd and greater
16201         than 4.  Note that fact in a comment too.
16202         (next_prime): Add 4 to input.
16204 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16206         [BZ #11741]
16207         * libio/Makefile (tests): Add test case tst-fwrite-error.
16208         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16209         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16210         * libio/tst-fwrite-error.c: New test case.
16212 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
16214         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16215         before casting to void *.
16216         * include/libc-internal.h (__pointer_type): New macro.
16217         (__integer_if_pointer_type_sub): Likewise.
16218         (__integer_if_pointer_type): Likewise.
16219         (cast_to_integer): Likewise.
16220         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16221         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16222         before casting to atomic64_t.
16223         (atomic_exchange_acq): Likewise.
16224         (__arch_exchange_and_add_body): Likewise.
16225         (__arch_add_body): Likewise.
16226         (atomic_add_negative): Likewise.
16227         (atomic_add_zero): Likewise.
16229 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
16231         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16232         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16233         (add_fdes): Likewise.
16234         (linear_search_fdes): Likewise.
16235         (binary_search_unencoded_fdes): Likewise.
16237 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
16239         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16241 2012-11-24  Adam Conrad  <adconrad@0c3.net>
16243         * configure.in: Autodetect C++ header directories.
16244         * configure: Regenerated.
16246 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
16248         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16250 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
16252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16254 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
16256         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16257         LDBL_MANT_DIG == 106]: Disable some tests.
16258         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16259         Likewise.
16260         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16261         Likewise.
16263         [BZ #14871]
16264         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16265         input for small inputs.  Return +/- pi/2 for large inputs.
16266         * math/libm-test.inc (atan_test): Add more tests.
16268         * sysdeps/generic/unwind-dw2-fde-glibc.c
16269         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16270         __attribute__ ((unused)).
16272         [BZ #14645]
16273         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16274         x * y if x and y are nonzero and z is zero.
16276         [BZ #14811]
16277         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16278         nonzero exponents with absolute value below 0x1p-117 to +/-
16279         0x1p-117.
16281         [BZ #14869]
16282         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16283         up arguments below 2**-450, not just those below 2**-500.
16284         * math/libm-test.inc (hypot_test): Add another test.
16286         [BZ #14868]
16287         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16288         Return a+b for ratio over 2**120, not 2**60.
16289         * math/libm-test.inc (hypot_test): Add another test.
16291         * math/libm-test.inc (clog_test): Use
16292         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16293         (clog10_test): Likewise.
16295         [BZ #6778]
16296         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16298 2012-11-22  Andreas Schwab  <schwab@suse.de>
16300         * sysdeps/i386/fpu/libm-test-ulps: Update.
16302 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
16304         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16305         printf output with newline.
16307 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
16309         [BZ #14865]
16310         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16311         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16312         -z nodlopen, -z initfirst and -z execstack support.
16313         * configure: Regenerated.
16315         * elf/elf.h (DF_1_NODIRECT): New macro.
16316         (DF_1_IGNMULDEF): Likewise.
16317         (DF_1_NOKSYMS): Likewise.
16318         (DF_1_NOHDR): Likewise.
16319         (DF_1_EDITED): Likewise.
16320         (DF_1_NORELOC): Likewise.
16321         (DF_1_SYMINTPOSE): Likewise.
16322         (DF_1_GLOBAUDIT): Likewise.
16323         (DF_1_SINGLETON): Likewise.
16324         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16325         DT_1_SUPPORTED_MASK bits.
16326         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16328 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
16330         * sysdeps/unix/make-syscalls.sh: Document prefixes.
16332 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
16334         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16335         macro.
16337         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16338         (sendmmsg): Move declarations...
16339         * socket/sys/socket.h: ... here.
16340         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16341         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16342         include it from...
16343         * socket/recvmmsg.c: ... this new file.
16344         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16345         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16346         definition of __sendmmsg hidden.
16347         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16348         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16349         Move ENOSYS stub into and include it from...
16350         * socket/sendmmsg.c: ... this new file.
16351         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16352         (sysdep_routines): Move recvmmsg and sendmmsg...
16353         * socket/Makefile (routines): ... here.
16354         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16355         (GLIBC_PRIVATE): Add __sendmmsg.
16356         * include/sys/socket.h (__sendmmsg): Add declarations.
16357         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16358         sendmmsg.
16360 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16362         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16363         variable I1 with __attribute__ ((unused)).
16364         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16366 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16368         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16369         DUMMY variables with __attribute__ ((unused)).
16371         * bits/byteswap.h: Include <bits/types.h>.
16372         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16374 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16376         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16377         string_t.  Do not manually set errno.
16378         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16379         length with __strnlen.  Make sure to both set errno and return it on
16380         failure.
16382 2012-11-19  David S. Miller  <davem@davemloft.net>
16384         With help from Joseph Myers.
16385         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16386         very large arguments properly.
16387         * math/libm-test.inc (atan_test): New tests.
16388         (atan2_test): New tests.
16389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16392 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16394         [BZ #14856]
16395         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16396         Define to 3.
16398         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16399         [POSIX] (EADDRNOTAVAIL): Likewise.
16400         [POSIX] (EAFNOSUPPORT): Likewise.
16401         [POSIX] (EALREADY): Likewise.
16402         [POSIX] (ECONNABORTED): Likewise.
16403         [POSIX] (ECONNREFUSED): Likewise.
16404         [POSIX] (ECONNRESET): Likewise.
16405         [POSIX] (EDESTADDRREQ): Likewise.
16406         [POSIX] (EDQUOT): Likewise.
16407         [POSIX] (EHOSTUNREACH): Likewise.
16408         [POSIX] (EIDRM): Likewise.
16409         [POSIX] (EISCONN): Likewise.
16410         [POSIX] (ELOOP): Likewise.
16411         [POSIX] (EMULTIHOP): Likewise.
16412         [POSIX] (ENETDOWN): Likewise.
16413         [POSIX] (ENETUNREACH): Likewise.
16414         [POSIX] (ENOBUFS): Likewise.
16415         [POSIX] (ENODATA): Likewise.
16416         [POSIX] (ENOLINK): Likewise.
16417         [POSIX] (ENOMSG): Likewise.
16418         [POSIX] (ENOPROTOOPT): Likewise.
16419         [POSIX] (ENOSR): Likewise.
16420         [POSIX] (ENOSTR): Likewise.
16421         [POSIX] (ENOTCONN): Likewise.
16422         [POSIX] (ENOTSOCK): Likewise.
16423         [POSIX] (EOPNOTSUPP): Likewise.
16424         [POSIX] (EOVERFLOW): Likewise.
16425         [POSIX] (EPROTO): Likewise.
16426         [POSIX] (EPROTONOSUPPORT): Likewise.
16427         [POSIX] (EPROTOTYPE): Likewise.
16428         [POSIX] (ESTALE): Likewise.
16429         [POSIX] (ETIME): Likewise.
16430         [POSIX] (ETXTBSY): Likewise.
16431         [POSIX] (EWOULDBLOCK): Likewise.
16432         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16433         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16434         [POSIX] (SEEK_CUR): Likewise.
16435         [POSIX] (SEEK_END): Likewise.
16436         [POSIX || UNIX98] (mode_t): Do not require.
16437         [POSIX] (off_t): Likewise.
16438         [POSIX] (pid_t): Likewise.
16439         [POSIX] (sys/stat.h): Do not allow header.
16440         [POSIX] (unistd.h): Likewise.
16441         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16442         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16443         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16444         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16445         require.
16446         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16447         sigevent): Specify elements.
16448         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16449         entry.
16450         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16451         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16453         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16454         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16455         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16456         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16457         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16458         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16459         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16460         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16461         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16462         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16463         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16464         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16465         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16466         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16467         Likewise.
16468         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16469         Likewise.
16470         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16471         Likewise.
16472         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16473         Likewise.
16474         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16475         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16476         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16477         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16478         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16479         Specify lower bound on value.
16480         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16481         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16482         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16483         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16484         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16485         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16486         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16487         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16488         value.
16489         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16490         as optional.
16491         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16492         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16493         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16494         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16495         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16496         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16497         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16498         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16499         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16500         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16501         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16502         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16503         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16504         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16505         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16506         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16507         entry.
16508         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16509         optional.
16510         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16511         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16512         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16513         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16514         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16515         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16516         Likewise.
16517         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16518         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16519         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16520         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16521         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16522         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16523         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16524         as optional.
16525         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16526         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16527         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16528         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16529         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16530         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16531         specify as optional.
16532         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16533         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16534         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16535         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16536         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16537         [XPG3] (NL_LANGMAX): Likewise.
16538         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16539         [POSIX || XPG3] (NL_NMAX): Likewise.
16540         [POSIX || XPG3] (NL_SETMAX): Likewise.
16541         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16542         [XPG3] (NZERO): Likewise.
16543         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16544         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16545         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16546         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16547         (REG_ERANGE): Expect.
16548         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16549         optional-constant.
16550         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16551         Use (void) in prototype.
16552         [POSIX] (*_t): Allow.
16553         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16554         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16555         (WRDE_BADVAL): Expect.
16557         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16558         expect.
16559         [XPG3 || XPG4] (O_RSYNC): Likewise.
16560         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16561         Likewise.
16562         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16563         [XPG3 || XPG4] (sigqueue): Likewise.
16564         [XPG3 || XPG4] (sigtimedwait): Likewise.
16565         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16566         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16567         [XPG3 || XPG4] (vsnprintf): Likewise.
16568         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16569         Likewise.
16570         [XPG3 || XPG4] (blksize_t): Likewise.
16571         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16572         Likewise.
16573         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16574         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16575         [XPG3 || XPG4] (struct itimerspec): Likewise.
16576         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16577         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16578         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16579         [XPG3 || XPG4] (clockid_t): Likewise.
16580         [XPG3 || XPG4] (timer_t): Likewise.
16581         [XPG3 || XPG4] (clock_getres): Likewise.
16582         [XPG3 || XPG4] (clock_gettime): Likewise.
16583         [XPG3 || XPG4] (clock_settime): Likewise.
16584         [XPG3 || XPG4] (nanosleep): Likewise.
16585         [XPG3 || XPG4] (timer_create): Likewise.
16586         [XPG3 || XPG4] (timer_delete): Likewise.
16587         [XPG3 || XPG4] (timer_gettime): Likewise.
16588         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16589         [XPG3 || XPG4] (timer_settime): Likewise.
16590         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16591         [XPG3 || XPG4] (getlogin_r): Likewise.
16592         [XPG3 || XPG4] (pread): Likewise.
16593         [XPG3 || XPG4] (pthread_atfork): Likewise.
16594         [XPG3 || XPG4] (pwrite): Likewise.
16596         [BZ #14835]
16597         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16598         <bits/siginfo.h>.
16600 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16602         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16603         finalizing MALLSTREAM.
16605         * sysdeps/mach/hurd/syncfs.c: New file.
16607 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16609         [BZ #14719]
16610         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16611         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16612         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16613         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16614         (_nss_dns_gethostbyname4_r): Likewise.
16615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16616         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16618 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16620         [BZ #13763]
16621         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16623 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16625         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16626         * elf/cache.c (print_entry): Print ",AArch64" for
16627         FLAG_AARCH64_LIB64
16629         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16630         * elf/cache.c (print_entry): Print ",hard-float" for
16631         FLAG_ARM_LIBHF.
16633 2012-11-18  David S. Miller  <davem@davemloft.net>
16635         With help from Joseph Myers.
16636         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16637         cutoff to 2**-13.
16638         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16639         cutoff to 2**-25.
16640         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16641         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16642         small.
16643         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16644         * math/libm-test.inc (y0_test): New tests.
16645         (y1_test): New tests.
16646         * sysdeps/i386/fpu/libm-test-ulps: Update.
16647         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16648         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16650 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16652         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16653         64-bit targets.
16654         * configure: Regenerated.
16656 2012-11-17  David S. Miller  <davem@davemloft.net>
16658         [BZ #14811]
16659         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16660         nonzero exponents with absolute value below 0x1p-128 to +/-
16661         0x1p-128.
16663 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16665         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16667         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16669         * posix/getconf-speclist.c: New file.
16670         * posix/posix-envs.def: Likewise.
16671         * posix/confstr.c (START_ENV_GROUP): New macro.
16672         (END_ENV_GROUP): Likewise.
16673         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16674         (KNOWN_PRESENT_ENV_STRING): Likewise.
16675         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16676         (UNKNOWN_ENVIRONMENT): Likewise.
16677         (confstr): Include posix-envs.def instead of handling
16678         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16679         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16680         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16681         (END_ENV_GROUP): Likewise.
16682         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16683         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16684         (UNKNOWN_ENVIRONMENT): Likewise.
16685         (__sysconf): Include posix-envs.def instead of handling associated
16686         cases directly here.
16687         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16688         preprocessing getconf-speclist.c rather than running getconf or
16689         generating empty file.
16691 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16693         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16695 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16697         [BZ #14672]
16698         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16700 2012-11-16  David S. Miller  <davem@davemloft.net>
16702         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16703         smaller than LDBL_EPSILON/2.0L, just return xm1.
16705 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16707         * elf/tst-array1.c (init): Set constructor priority to 1000.
16708         (fini): Set destructor priority to 1000.
16709         * elf/tst-array2dep.c: Likewise.
16711 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16713         [BZ #11741]
16714         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16715         (_IO_new_file_xsputn): Also return EOF if none of the input
16716         data was written when overflow failed.
16717         * libio/iopadn.c (_IO_padn): Likewise.
16718         * libio/iowpadn.c (_IO_wpadn): Likewise.
16719         * stdio-common/tst-put-error.c: Add copyright notice.
16720         (do_test): Add case for printing padded string.
16721         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16722         _IO_padn returned error.
16723         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16724         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16725         return EOF.
16727 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16729         * libio/libioP.h: Add comment note that the references to C++
16730         bits are now obsolete.
16732 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16734         * math/libm-test.inc (check_complex): Use asprintf.
16736 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16738         * debug/pcprofiledump.c (print_version): Update copyright year.
16739         * malloc/memusagestat.c (print_version): Likewise.
16741 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16743         [BZ #14831]
16744         * elf/Makefile (tests): Add tst-audit8.
16745         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16746         ($(objpfx)tst-audit8.out): New target.
16747         (tst-audit8-ENV): New variable.
16748         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16749         audit if l_reloc_result is NULL.
16750         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16751         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16752         * elf/tst-audit8.c: New file.
16754 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16756         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16757         * misc/Makefile (CFLAGS-select.c): Define.
16758         * posix/Makefile (CFLAGS-pause.c): Define.
16760 2012-11-13  David S. Miller  <davem@davemloft.net>
16762         * crypt/Makefile: Move test targets after toplevel Rules
16763         inclusion.  Grab any necessary sysdep routines when linking.
16764         * crypt/md5.c (md5_process_block): Remove define, we will always
16765         name it __md5_process_block.
16766         (md5_finish_ctx): Update md5_process_block call.
16767         (md5_stream): Likewise.
16768         (md5_process_bytes): Likewise.
16769         (md5_process_block): Rename to __md5_process_block and move to ...
16770         * crypt/md5-block.c: ... here.
16771         * crypt/sha256.c (sha256_process_block): Move to ...
16772         * crypt/sha256-block.c: ... here.
16773         * crypt/sha512.c (sha512_process_block): Move to ...
16774         * crypt/sha512-block.c: ... here.
16775         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16776         path.
16777         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16778         * sysdeps/sparc/sparc64/multiarch/Makefile
16779         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16780         crypt subdir.
16781         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16782         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16783         multiarch changes.
16784         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16785         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16786         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16787         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16788         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16789         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16790         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16791         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16792         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16793         file.
16794         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16795         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16796         file.
16797         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16799 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16801         * timezone/tzselect.ksh: Update from tzcode git revision
16802         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16803         * timezone/zdump.c: Likewise.
16804         * timezone/zic.c: Likewise.
16805         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16806         in TZVERSION setting, not $(PKGVERSION).
16807         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16808         REPORT_BUGS_TO settings.
16810         [BZ #14838]
16811         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16812         macro.
16814 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16816         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16817         detection to immediately after _FP_ROUND().
16818         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16819         bits are 0.
16821 2012-11-11  David S. Miller  <davem@davemloft.net>
16823         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16824         inttypes.h
16825         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16826         __close rather than their public counterparts.
16828 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16830         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16831         file.
16832         [UNIX98] (sem_timedwait): Do not expect.
16833         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16834         [XPG4 || UNIX98] (sockatmark): Do not expect.
16835         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16836         (clock_getcpuclockid): Do not expect.
16837         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16838         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16839         Do not expect.
16840         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16841         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16842         [UNIX98] (vwscanf): Likewise.
16843         [UNIX98] (vswscanf): Likewise.
16845 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16847         * timezone/version.h: Remove file.
16848         * timezone/README: Do not refer to version.h.
16849         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16850         $(objpfx)version.h.
16851         ($(objpfx)zdump.o): Likewise.
16852         ($(objpfx)version.h): New target.
16854         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16855         2012i.
16856         * timezone/README: Don't mention modification to tzselect.ksh.
16857         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16858         work on unmodified tzselect.ksh.  Substitute version numbers in
16859         tzselect.ksh.
16861         * Makefile (format-me): Remove.
16862         (INSTALL): Adjust indentation.  Use commands directly instead of
16863         using $(format-me).
16865         * aclocal.m4 (ACX_PKGVERSION): New macro.
16866         (ACX_BUGURL): Likewise.
16867         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16868         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16869         (REPORT_BUGS_TO): Likewise.
16870         * configure: Regenerated.
16871         * config.h.in (PKGVERSION): New macro.
16872         (REPORT_BUGS_TO): Likewise.
16873         * config.make.in (PKGVERSION): New variable.
16874         (PKGVERSION_TEXI): Likewise.
16875         (REPORT_BUGS_TO): Likewise.
16876         (REPORT_BUGS_TEXI): Likewise.
16877         * Makefile (format-me): Use -I$(common-objpfx)manual.
16878         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16879         ($(common-objpfx)manual/%): New target.
16880         (manual/%): Remove target.
16881         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16882         (print_version): Use PKGVERSION.
16883         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16884         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16885         and REPORT_BUGS_TO.
16886         ($(objpfx)xtrace): Likewise.
16887         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16888         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16889         (print_version): Use PKGVERSION.
16890         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16891         (do_version): Use PKGVERSION.
16892         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16893         REPORT_BUGS_TO.
16894         (common-ldd-rewrite): Likewise.
16895         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16896         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16897         (print_version): Use PKGVERSION.
16898         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16899         * elf/pldd.c (argp_program_bug_address): Remove variable.
16900         (more_help): New function.
16901         (argp): Use more_help.
16902         (print_version): Use PKGVERSION.
16903         * elf/sln.c (main): Use PKGVERSION.
16904         (usage): Use REPORT_BUGS_TO.
16905         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16906         (top level): Use PKGVERSION.
16907         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16908         (print_version): Use PKGVERSION.
16909         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16910         (print_version): Use PKGVERSION.
16911         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16912         (print_version): Use PKGVERSION.
16913         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16914         (print_version): Use PKGVERSION.
16915         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16916         (print_version): Use PKGVERSION.
16917         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16918         (print_version): Use PKGVERSION.
16919         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16920         and BUGURL.
16921         ($(objpfx)memusage): Likewise.
16922         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16923         (do_version): Use PKGVERSION.
16924         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16925         (print_version): Use PKGVERSION.
16926         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16927         ($PKGVERSION): New variable.
16928         ($REPORT_BUGS_TO): Likewise.
16929         (usage): Use $REPORT_BUGS_TO.
16930         (top level): Use $PKGVERSION.
16931         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16932         ($(objpfx)pkgvers.texi): New rule.
16933         ($(objpfx)stamp-pkgvers): Likewise.
16934         * manual/install.texi: Include pkgvers.texi.
16935         (--with-pkgversion): Document new configure option.
16936         (--with-bugurl): Likewise.
16937         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16938         than necessarily for this particular distribution.  Use
16939         REPORT_BUGS_TO for where to report bugs.
16940         * INSTALL: Regenerated.
16941         * manual/libc.texinfo: Include pkgvers.texi.
16942         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16943         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16944         (print_version): Use PKGVERSION.
16945         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16946         (print_version): Use PKGVERSION.
16947         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16948         (print_version): Use PKGVERSION.
16949         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16950         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16951         macro.
16952         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16953         (print_version): Use PKGVERSION.
16954         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16955         (print_version): Use PKGVERSION.
16956         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16957         and PKGVERSION.
16959         * timezone/checktab.awk: Update from tzcode 2012i.
16960         * timezone/ialloc.c: Likewise.
16961         * timezone/private.h: Likewise.
16962         * timezone/scheck.c: Likewise.
16963         * timezone/tzfile.h: Likewise.
16964         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16965         (TZVERSION): Hardcode tzcode version number.
16966         * timezone/zdump.c: Update from tzcode 2012i.
16967         * timezone/zic.c: Likewise.
16968         * timezone/version.h: New file.
16969         * timezone/README: Describe version.h.  Update upstream location.
16971         [BZ #14824]
16972         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16973         (mktemp): Enable declaration.
16974         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16975         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16976         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16977         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16978         Likewise.
16979         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16980         Likewise.
16981         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16982         Likewise.
16983         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16984         Likewise.
16985         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16986         Likewise.
16987         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16988         Likewise.
16990         [BZ #14821]
16991         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16992         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16993         for copies of such integer values.
16994         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16995         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16997 2012-11-09  Andreas Jaeger  <aj@suse.de>
16999         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17000         definitions and declarations that are provided by
17001         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17003 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17005         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17006         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17007         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17008         definition.
17010 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17012         * elf/elf.h: Update comment before AArch64 relocations.
17014 2012-11-07  David S. Miller  <davem@davemloft.net>
17016         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17017         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17018         (__start_context): Declare.
17019         (__makecontext_ret): Delete.
17020         (__makecontext): Hook up __start_context instead of
17021         __makecontext_ret.
17022         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17023         (sysdep_routines): Add __start_context when in stdlib.
17025 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17027         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17028         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17029         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
17030         hardcoded "nm".
17031         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
17032         (READELF): New variable.  Use it instead of hardcoded "readelf".
17034 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17036         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17037         * sysdeps/x86/Makefile: Here.
17038         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17039         * sysdeps/x86/tst-xmmymm.sh: This.
17041 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17043         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17044         expectations.
17045         [UNIX98] (pthread_barrier_t): Do not expect.
17046         [UNIX98] (pthread_barrierattr_t): Likewise.
17047         [UNIX98] (pthread_spinlock_t): Likewise.
17048         [UNIX98] (pthread_barrier_destroy): Likewise.
17049         [UNIX98] (pthread_barrier_init): Likewise.
17050         [UNIX98] (pthread_barrier_wait): Likewise.
17051         [UNIX98] (pthread_barrierattr_destroy): Likewise.
17052         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17053         [UNIX98] (pthread_barrierattr_init): Likewise.
17054         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17055         [UNIX98] (pthread_getcpuclockid): Likewise.
17056         [UNIX98] (pthread_mutex_timedlock): Likewise.
17057         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17058         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17059         [UNIX98] (pthread_sigmask): Likewise.
17060         [UNIX98] (pthread_spin_destroy): Likewise.
17061         [UNIX98] (pthread_spin_init): Likewise.
17062         [UNIX98] (pthread_spin_lock): Likewise.
17063         [UNIX98] (pthread_spin_trylock): Likewise.
17064         [UNIX98] (pthread_spin_unlock): Likewise.
17065         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17066         Do not expect.
17067         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17068         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17069         [XPG3 || XPG4] (pthread_cond_t): Likewise.
17070         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17071         [XPG3 || XPG4] (pthread_key_t): Likewise.
17072         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17073         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17074         [XPG3 || XPG4] (pthread_once_t): Likewise.
17075         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17076         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17077         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17078         [XPG3 || XPG4] (pthread_t): Likewise.
17080         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17081         not expect.
17082         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17084         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17085         Change function return type to int.
17087         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17088         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17089         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17090         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17091         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17092         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17093         [!POSIX] (posix_madvise): Likewise.
17094         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17095         && !UNIX98].
17096         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17097         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17098         (mode_t): Likewise.
17099         (posix_mem_offset): Likewise.
17100         (posix_typed_mem_get_info): Likewise.
17101         (posix_typed_mem_open): Likewise.
17103         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17104         Change condition to [XOPEN2K8].
17106         * conform/conformtest.pl: Preprocess allow-header data with -x c
17107         instead of from stdin.
17108         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17109         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17110         [C99-based standards] (cerfc): Likewise.
17111         [C99-based standards] (cexp2): Likewise.
17112         [C99-based standards] (cexpm1): Likewise.
17113         [C99-based standards] (clog10): Likewise.
17114         [C99-based standards] (clog1p): Likewise.
17115         [C99-based standards] (clog2): Likewise.
17116         [C99-based standards] (clgamma): Likewise.
17117         [C99-based standards] (ctgamma): Likewise.
17118         [C99-based standards] (cerff): Likewise.
17119         [C99-based standards] (cerfcf): Likewise.
17120         [C99-based standards] (cexp2f): Likewise.
17121         [C99-based standards] (cexpm1f): Likewise.
17122         [C99-based standards] (clog10f): Likewise.
17123         [C99-based standards] (clog1pf): Likewise.
17124         [C99-based standards] (clog2f): Likewise.
17125         [C99-based standards] (clgammaf): Likewise.
17126         [C99-based standards] (ctgammaf): Likewise.
17127         [C99-based standards] (cerfl): Likewise.
17128         [C99-based standards] (cerfcl): Likewise.
17129         [C99-based standards] (cexp2l): Likewise.
17130         [C99-based standards] (cexpm1l): Likewise.
17131         [C99-based standards] (clog10l): Likewise.
17132         [C99-based standards] (clog1pl): Likewise.
17133         [C99-based standards] (clog2l): Likewise.
17134         [C99-based standards] (clgammal): Likewise.
17135         [C99-based standards] (ctgammal): Likewise.
17136         * conform/data/inttypes.h-data [C99-based standards]: Include
17137         stdint.h-data.  Remove all expectations for stdint.h contents.
17138         [C99-based standards] (PRI*): Do not allow.
17139         [C99-based standards] (SCN*): Likewise.
17140         [C99-based standards] (*_t): Likewise.
17141         [C99-based-standards] (PRId8): Expect macro.
17142         [C99-based-standards] (PRIi8): Likewise.
17143         [C99-based-standards] (PRIo8): Likewise.
17144         [C99-based-standards] (PRIu8): Likewise.
17145         [C99-based-standards] (PRIx8): Likewise.
17146         [C99-based-standards] (PRIX8): Likewise.
17147         [C99-based-standards] (SCNd8): Likewise.
17148         [C99-based-standards] (SCNi8): Likewise.
17149         [C99-based-standards] (SCNo8): Likewise.
17150         [C99-based-standards] (SCNu8): Likewise.
17151         [C99-based-standards] (SCNx8): Likewise.
17152         [C99-based-standards] (PRIdLEAST8): Likewise.
17153         [C99-based-standards] (PRIiLEAST8): Likewise.
17154         [C99-based-standards] (PRIoLEAST8): Likewise.
17155         [C99-based-standards] (PRIuLEAST8): Likewise.
17156         [C99-based-standards] (PRIxLEAST8): Likewise.
17157         [C99-based-standards] (PRIXLEAST8): Likewise.
17158         [C99-based-standards] (SCNdLEAST8): Likewise.
17159         [C99-based-standards] (SCNiLEAST8): Likewise.
17160         [C99-based-standards] (SCNoLEAST8): Likewise.
17161         [C99-based-standards] (SCNuLEAST8): Likewise.
17162         [C99-based-standards] (SCNxLEAST8): Likewise.
17163         [C99-based-standards] (PRIdFAST8): Likewise.
17164         [C99-based-standards] (PRIiFAST8): Likewise.
17165         [C99-based-standards] (PRIoFAST8): Likewise.
17166         [C99-based-standards] (PRIuFAST8): Likewise.
17167         [C99-based-standards] (PRIxFAST8): Likewise.
17168         [C99-based-standards] (PRIXFAST8): Likewise.
17169         [C99-based-standards] (SCNdFAST8): Likewise.
17170         [C99-based-standards] (SCNiFAST8): Likewise.
17171         [C99-based-standards] (SCNoFAST8): Likewise.
17172         [C99-based-standards] (SCNuFAST8): Likewise.
17173         [C99-based-standards] (SCNxFAST8): Likewise.
17174         [C99-based-standards] (PRId16): Likewise.
17175         [C99-based-standards] (PRIi16): Likewise.
17176         [C99-based-standards] (PRIo16): Likewise.
17177         [C99-based-standards] (PRIu16): Likewise.
17178         [C99-based-standards] (PRIx16): Likewise.
17179         [C99-based-standards] (PRIX16): Likewise.
17180         [C99-based-standards] (SCNd16): Likewise.
17181         [C99-based-standards] (SCNi16): Likewise.
17182         [C99-based-standards] (SCNo16): Likewise.
17183         [C99-based-standards] (SCNu16): Likewise.
17184         [C99-based-standards] (SCNx16): Likewise.
17185         [C99-based-standards] (PRIdLEAST16): Likewise.
17186         [C99-based-standards] (PRIiLEAST16): Likewise.
17187         [C99-based-standards] (PRIoLEAST16): Likewise.
17188         [C99-based-standards] (PRIuLEAST16): Likewise.
17189         [C99-based-standards] (PRIxLEAST16): Likewise.
17190         [C99-based-standards] (PRIXLEAST16): Likewise.
17191         [C99-based-standards] (SCNdLEAST16): Likewise.
17192         [C99-based-standards] (SCNiLEAST16): Likewise.
17193         [C99-based-standards] (SCNoLEAST16): Likewise.
17194         [C99-based-standards] (SCNuLEAST16): Likewise.
17195         [C99-based-standards] (SCNxLEAST16): Likewise.
17196         [C99-based-standards] (PRIdFAST16): Likewise.
17197         [C99-based-standards] (PRIiFAST16): Likewise.
17198         [C99-based-standards] (PRIoFAST16): Likewise.
17199         [C99-based-standards] (PRIuFAST16): Likewise.
17200         [C99-based-standards] (PRIxFAST16): Likewise.
17201         [C99-based-standards] (PRIXFAST16): Likewise.
17202         [C99-based-standards] (SCNdFAST16): Likewise.
17203         [C99-based-standards] (SCNiFAST16): Likewise.
17204         [C99-based-standards] (SCNoFAST16): Likewise.
17205         [C99-based-standards] (SCNuFAST16): Likewise.
17206         [C99-based-standards] (SCNxFAST16): Likewise.
17207         [C99-based-standards] (PRId32): Likewise.
17208         [C99-based-standards] (PRIi32): Likewise.
17209         [C99-based-standards] (PRIo32): Likewise.
17210         [C99-based-standards] (PRIu32): Likewise.
17211         [C99-based-standards] (PRIx32): Likewise.
17212         [C99-based-standards] (PRIX32): Likewise.
17213         [C99-based-standards] (SCNd32): Likewise.
17214         [C99-based-standards] (SCNi32): Likewise.
17215         [C99-based-standards] (SCNo32): Likewise.
17216         [C99-based-standards] (SCNu32): Likewise.
17217         [C99-based-standards] (SCNx32): Likewise.
17218         [C99-based-standards] (PRIdLEAST32): Likewise.
17219         [C99-based-standards] (PRIiLEAST32): Likewise.
17220         [C99-based-standards] (PRIoLEAST32): Likewise.
17221         [C99-based-standards] (PRIuLEAST32): Likewise.
17222         [C99-based-standards] (PRIxLEAST32): Likewise.
17223         [C99-based-standards] (PRIXLEAST32): Likewise.
17224         [C99-based-standards] (SCNdLEAST32): Likewise.
17225         [C99-based-standards] (SCNiLEAST32): Likewise.
17226         [C99-based-standards] (SCNoLEAST32): Likewise.
17227         [C99-based-standards] (SCNuLEAST32): Likewise.
17228         [C99-based-standards] (SCNxLEAST32): Likewise.
17229         [C99-based-standards] (PRIdFAST32): Likewise.
17230         [C99-based-standards] (PRIiFAST32): Likewise.
17231         [C99-based-standards] (PRIoFAST32): Likewise.
17232         [C99-based-standards] (PRIuFAST32): Likewise.
17233         [C99-based-standards] (PRIxFAST32): Likewise.
17234         [C99-based-standards] (PRIXFAST32): Likewise.
17235         [C99-based-standards] (SCNdFAST32): Likewise.
17236         [C99-based-standards] (SCNiFAST32): Likewise.
17237         [C99-based-standards] (SCNoFAST32): Likewise.
17238         [C99-based-standards] (SCNuFAST32): Likewise.
17239         [C99-based-standards] (SCNxFAST32): Likewise.
17240         [C99-based-standards] (PRId64): Likewise.
17241         [C99-based-standards] (PRIi64): Likewise.
17242         [C99-based-standards] (PRIo64): Likewise.
17243         [C99-based-standards] (PRIu64): Likewise.
17244         [C99-based-standards] (PRIx64): Likewise.
17245         [C99-based-standards] (PRIX64): Likewise.
17246         [C99-based-standards] (SCNd64): Likewise.
17247         [C99-based-standards] (SCNi64): Likewise.
17248         [C99-based-standards] (SCNo64): Likewise.
17249         [C99-based-standards] (SCNu64): Likewise.
17250         [C99-based-standards] (SCNx64): Likewise.
17251         [C99-based-standards] (PRIdLEAST64): Likewise.
17252         [C99-based-standards] (PRIiLEAST64): Likewise.
17253         [C99-based-standards] (PRIoLEAST64): Likewise.
17254         [C99-based-standards] (PRIuLEAST64): Likewise.
17255         [C99-based-standards] (PRIxLEAST64): Likewise.
17256         [C99-based-standards] (PRIXLEAST64): Likewise.
17257         [C99-based-standards] (SCNdLEAST64): Likewise.
17258         [C99-based-standards] (SCNiLEAST64): Likewise.
17259         [C99-based-standards] (SCNoLEAST64): Likewise.
17260         [C99-based-standards] (SCNuLEAST64): Likewise.
17261         [C99-based-standards] (SCNxLEAST64): Likewise.
17262         [C99-based-standards] (PRIdFAST64): Likewise.
17263         [C99-based-standards] (PRIiFAST64): Likewise.
17264         [C99-based-standards] (PRIoFAST64): Likewise.
17265         [C99-based-standards] (PRIuFAST64): Likewise.
17266         [C99-based-standards] (PRIxFAST64): Likewise.
17267         [C99-based-standards] (PRIXFAST64): Likewise.
17268         [C99-based-standards] (SCNdFAST64): Likewise.
17269         [C99-based-standards] (SCNiFAST64): Likewise.
17270         [C99-based-standards] (SCNoFAST64): Likewise.
17271         [C99-based-standards] (SCNuFAST64): Likewise.
17272         [C99-based-standards] (SCNxFAST64): Likewise.
17273         [C99-based-standards] (PRIdMAX): Likewise.
17274         [C99-based-standards] (PRIiMAX): Likewise.
17275         [C99-based-standards] (PRIoMAX): Likewise.
17276         [C99-based-standards] (PRIuMAX): Likewise.
17277         [C99-based-standards] (PRIxMAX): Likewise.
17278         [C99-based-standards] (PRIXMAX): Likewise.
17279         [C99-based-standards] (SCNdMAX): Likewise.
17280         [C99-based-standards] (SCNiMAX): Likewise.
17281         [C99-based-standards] (SCNoMAX): Likewise.
17282         [C99-based-standards] (SCNuMAX): Likewise.
17283         [C99-based-standards] (SCNxMAX): Likewise.
17284         [C99-based-standards] (PRIdPTR): Likewise.
17285         [C99-based-standards] (PRIiPTR): Likewise.
17286         [C99-based-standards] (PRIoPTR): Likewise.
17287         [C99-based-standards] (PRIuPTR): Likewise.
17288         [C99-based-standards] (PRIxPTR): Likewise.
17289         [C99-based-standards] (PRIXPTR): Likewise.
17290         [C99-based-standards] (SCNdPTR): Likewise.
17291         [C99-based-standards] (SCNiPTR): Likewise.
17292         [C99-based-standards] (SCNoPTR): Likewise.
17293         [C99-based-standards] (SCNuPTR): Likewise.
17294         [C99-based-standards] (SCNxPTR): Likewise.
17295         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17296         allow.
17297         * conform/data/stdint.h-data: Update comments to clarify
17298         requirements.
17299         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
17300         type.
17301         [C99-based standards] (INT8_MAX): Likewise.
17302         [C99-based standards] (INT16_MIN): Likewise.
17303         [C99-based standards] (INT16_MAX): Likewise.
17304         [C99-based standards] (INT32_MIN): Likewise.
17305         [C99-based standards] (INT32_MAX): Likewise.
17306         [C99-based standards] (INT64_MIN): Likewise.
17307         [C99-based standards] (INT64_MAX): Likewise.
17308         [C99-based standards] (UINT8_MAX): Likewise.
17309         [C99-based standards] (UINT16_MAX): Likewise.
17310         [C99-based standards] (UINT32_MAX): Likewise.
17311         [C99-based standards] (UINT64_MAX): Likewise.
17312         [C99-based standards] (INT_LEAST8_MIN): Likewise.
17313         [C99-based standards] (INT_LEAST8_MAX): Likewise.
17314         [C99-based standards] (INT_LEAST16_MIN): Likewise.
17315         [C99-based standards] (INT_LEAST16_MAX): Likewise.
17316         [C99-based standards] (INT_LEAST32_MIN): Likewise.
17317         [C99-based standards] (INT_LEAST32_MAX): Likewise.
17318         [C99-based standards] (INT_LEAST64_MIN): Likewise.
17319         [C99-based standards] (INT_LEAST64_MAX): Likewise.
17320         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17321         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17322         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17323         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17324         [C99-based standards] (INT_FAST8_MIN): Likewise.
17325         [C99-based standards] (INT_FAST8_MAX): Likewise.
17326         [C99-based standards] (INT_FAST16_MIN): Likewise.
17327         [C99-based standards] (INT_FAST16_MAX): Likewise.
17328         [C99-based standards] (INT_FAST32_MIN): Likewise.
17329         [C99-based standards] (INT_FAST32_MAX): Likewise.
17330         [C99-based standards] (INT_FAST64_MIN): Likewise.
17331         [C99-based standards] (INT_FAST64_MAX): Likewise.
17332         [C99-based standards] (UINT_FAST8_MAX): Likewise.
17333         [C99-based standards] (UINT_FAST16_MAX): Likewise.
17334         [C99-based standards] (UINT_FAST32_MAX): Likewise.
17335         [C99-based standards] (UINT_FAST64_MAX): Likewise.
17336         [C99-based standards] (INTPTR_MIN): Likewise.
17337         [C99-based standards] (INTPTR_MAX): Likewise.
17338         [C99-based standards] (UINTPTR_MAX): Likewise.
17339         [C99-based standards] (INTMAX_MIN): Likewise.
17340         [C99-based standards] (INTMAX_MAX): Likewise.
17341         [C99-based standards] (UINTMAX_MAX): Likewise.
17342         [C99-based standards] (PTRDIFF_MIN): Likewise.
17343         [C99-based standards] (PTRDIFF_MAX): Likewise.
17344         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17345         [C99-based standards] (SIZE_MAX): Likewise.
17346         [C99-based standards] (WCHAR_MAX): Likewise.
17347         [C99-based standards] (WINT_MAX): Likewise.
17348         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17349         constraint on value.
17350         [C99-based standards] (WCHAR_MIN): Likewise.
17351         [C99-based standards] (WINT_MIN): Likewise.
17352         [C99-based standards] (*_t): Allow.
17353         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17354         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17355         Include math.h-data and complex.h-data.  Remove all expectations
17356         of math.h and complex.h contents.
17357         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17358         at end of line.
17359         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17360         (struct tm): Expect tag.
17361         [C99-based-standards] (wcstof): Expect function.
17362         [C99-based-standards] (wcstold): Likewise.
17363         [C99-based-standards] (wcstoll): Likewise.
17364         [C99-based-standards] (wcstoull): Likewise.
17365         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17366         macro-int-constant.  Specify type.
17367         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17368         constraint on value.
17369         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17370         Specify type.
17371         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17372         Specify value.
17373         [ISO C standards]: Do not allow headers.
17374         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17375         wcs[abcdefghijklmnopqrstuvwxyz]*.
17376         [ISO C standards] (*_t): Do not allow.
17377         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17378         Expect function.
17379         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17380         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17381         Specify type.
17382         [ISO C standards]: Do not allow headers.
17383         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17384         is[abcdefghijklmnopqrstuvwxyz]*.
17385         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17386         to[abcdefghijklmnopqrstuvwxyz]*.
17387         [ISO C standards] (*_t): Do not allow.
17388         * conform/data/stdalign.h-data: New file.
17389         * conform/data/stdbool.h-data: Likewise.
17390         * conform/data/stdnoreturn.h-data: Likewise.
17392 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17394         [BZ #14815]
17395         * manual/filesys.texi (Directory Entries): Typo fix.
17396         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17398 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17400         * elf/elf.h (EM_AARCH64): New macro.
17401         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17402         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17403         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17404         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17405         (R_AARCH64_TLSDESC): Likewise.
17406         (NT_ARM_TLS): Likewise.
17407         (NT_ARM_HW_BREAK): Likewise.
17408         (NT_ARM_HW_WATCH): Likewise.
17410 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17412         [BZ #14811]
17413         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17414         (__ieee754_powl): Saturate nonzero exponents with absolute value
17415         below 0x1p-79 to +/- 0x1p-79.
17416         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17417         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17418         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17419         nonzero exponents with absolute value below 0x1p-32 to +/-
17420         0x1p-32.
17421         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17422         (__ieee754_powl): Saturate nonzero exponents with absolute value
17423         below 0x1p-79 to +/- 0x1p-79.
17424         * math/libm-test.inc (pow_test): Add more tests.
17426 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17428         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17429         _dl_s390_cap_flags with kernel. Increase string length.
17430         (_dl_s390_platforms): Add z196 and zEC12.
17432 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17434         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17435         Change XOPEN21K to XOPEN2K.
17437 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17439         * string/memmove.c: Use memcpy when possible.
17441 2012-11-06  Andreas Jaeger  <aj@suse.de>
17443         * po/eo.po: Update from translation team.
17445 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17447         [BZ #14793]
17448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17449         exponent and small x and y exponents, scale x or y up.  Increase
17450         by 2 the exponent used in scaling up.
17451         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17452         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17453         * math/libm-test.inc (fma_test): Add more tests.
17454         (fma_test_towardzero): Likewise.
17455         (fma_test_downward): Likewise.
17456         (fma_test_upward): Likewise.
17458 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17460         [BZ #14805]
17461         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17462         fenv_t *.
17464         [BZ #14801]
17465         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17466         namespace for names of struct fields.
17467         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17468         fenv_t fields.
17469         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17470         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17472 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17474         [BZ #3665]
17475         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17477 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17479         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17480         PTR_DEMANGLE.
17482         [BZ #5246]
17483         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17484         PTR_DEMANGLE.
17486 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17488         [BZ #14797]
17489         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17490         definitely overflow as x * y not x * y + z.
17491         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17492         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17493         * math/libm-test.inc (fma_test): Add more tests.
17494         (fma_test_towardzero): Likewise.
17495         (fma_test_downward): Likewise.
17496         (fma_test_upward): Likewise.
17498 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17500         [BZ #157]
17502         * include/stub-tag.h: Remove file.
17503         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17504         '#include' of it.
17505         * manual/maint.texi (Porting): Don't reference it.
17506         * Makerules ($(objpfx)stubs): Likewise.
17507         * dirent/closedir.c: Don't include <stub-tag.h>.
17508         * dirent/dirfd.c: Likewise.
17509         * dirent/fdopendir.c: Likewise.
17510         * dirent/getdents.c: Likewise.
17511         * dirent/getdents64.c: Likewise.
17512         * dirent/opendir.c: Likewise.
17513         * dirent/readdir.c: Likewise.
17514         * dirent/readdir64.c: Likewise.
17515         * dirent/readdir64_r.c: Likewise.
17516         * dirent/readdir_r.c: Likewise.
17517         * dirent/rewinddir.c: Likewise.
17518         * dirent/seekdir.c: Likewise.
17519         * dirent/telldir.c: Likewise.
17520         * gmon/profil.c: Likewise.
17521         * grp/setgroups.c: Likewise.
17522         * inet/if_index.c: Likewise.
17523         * io/access.c: Likewise.
17524         * io/chdir.c: Likewise.
17525         * io/chmod.c: Likewise.
17526         * io/chown.c: Likewise.
17527         * io/close.c: Likewise.
17528         * io/dup.c: Likewise.
17529         * io/dup2.c: Likewise.
17530         * io/dup3.c: Likewise.
17531         * io/euidaccess.c: Likewise.
17532         * io/faccessat.c: Likewise.
17533         * io/fchdir.c: Likewise.
17534         * io/fchmod.c: Likewise.
17535         * io/fchmodat.c: Likewise.
17536         * io/fchown.c: Likewise.
17537         * io/fchownat.c: Likewise.
17538         * io/fcntl.c: Likewise.
17539         * io/flock.c: Likewise.
17540         * io/fstatfs.c: Likewise.
17541         * io/fstatfs64.c: Likewise.
17542         * io/fstatvfs.c: Likewise.
17543         * io/fstatvfs64.c: Likewise.
17544         * io/futimens.c: Likewise.
17545         * io/fxstat.c: Likewise.
17546         * io/fxstat64.c: Likewise.
17547         * io/fxstatat.c: Likewise.
17548         * io/fxstatat64.c: Likewise.
17549         * io/getcwd.c: Likewise.
17550         * io/isatty.c: Likewise.
17551         * io/lchmod.c: Likewise.
17552         * io/lchown.c: Likewise.
17553         * io/link.c: Likewise.
17554         * io/linkat.c: Likewise.
17555         * io/lseek.c: Likewise.
17556         * io/lseek64.c: Likewise.
17557         * io/lxstat64.c: Likewise.
17558         * io/mkdir.c: Likewise.
17559         * io/mkdirat.c: Likewise.
17560         * io/mkfifo.c: Likewise.
17561         * io/mkfifoat.c: Likewise.
17562         * io/open.c: Likewise.
17563         * io/open64.c: Likewise.
17564         * io/openat.c: Likewise.
17565         * io/openat64.c: Likewise.
17566         * io/pipe.c: Likewise.
17567         * io/pipe2.c: Likewise.
17568         * io/poll.c: Likewise.
17569         * io/posix_fadvise.c: Likewise.
17570         * io/posix_fadvise64.c: Likewise.
17571         * io/posix_fallocate.c: Likewise.
17572         * io/posix_fallocate64.c: Likewise.
17573         * io/read.c: Likewise.
17574         * io/readlink.c: Likewise.
17575         * io/readlinkat.c: Likewise.
17576         * io/rmdir.c: Likewise.
17577         * io/sendfile.c: Likewise.
17578         * io/sendfile64.c: Likewise.
17579         * io/statfs.c: Likewise.
17580         * io/statfs64.c: Likewise.
17581         * io/statvfs.c: Likewise.
17582         * io/statvfs64.c: Likewise.
17583         * io/symlink.c: Likewise.
17584         * io/symlinkat.c: Likewise.
17585         * io/ttyname.c: Likewise.
17586         * io/ttyname_r.c: Likewise.
17587         * io/umask.c: Likewise.
17588         * io/unlink.c: Likewise.
17589         * io/unlinkat.c: Likewise.
17590         * io/utime.c: Likewise.
17591         * io/utimensat.c: Likewise.
17592         * io/write.c: Likewise.
17593         * io/xmknod.c: Likewise.
17594         * io/xmknodat.c: Likewise.
17595         * io/xstat.c: Likewise.
17596         * io/xstat64.c: Likewise.
17597         * login/getpt.c: Likewise.
17598         * login/grantpt.c: Likewise.
17599         * login/unlockpt.c: Likewise.
17600         * math/e_acoshl.c: Likewise.
17601         * math/e_acosl.c: Likewise.
17602         * math/e_asinl.c: Likewise.
17603         * math/e_atan2l.c: Likewise.
17604         * math/e_atanhl.c: Likewise.
17605         * math/e_coshl.c: Likewise.
17606         * math/e_expl.c: Likewise.
17607         * math/e_fmodl.c: Likewise.
17608         * math/e_gammal_r.c: Likewise.
17609         * math/e_hypotl.c: Likewise.
17610         * math/e_j0l.c: Likewise.
17611         * math/e_j1l.c: Likewise.
17612         * math/e_jnl.c: Likewise.
17613         * math/e_lgammal_r.c: Likewise.
17614         * math/e_log10l.c: Likewise.
17615         * math/e_log2l.c: Likewise.
17616         * math/e_logl.c: Likewise.
17617         * math/e_powl.c: Likewise.
17618         * math/e_rem_pio2l.c: Likewise.
17619         * math/e_sinhl.c: Likewise.
17620         * math/e_sqrtl.c: Likewise.
17621         * math/fclrexcpt.c: Likewise.
17622         * math/fedisblxcpt.c: Likewise.
17623         * math/feenablxcpt.c: Likewise.
17624         * math/fegetenv.c: Likewise.
17625         * math/fegetexcept.c: Likewise.
17626         * math/fegetround.c: Likewise.
17627         * math/feholdexcpt.c: Likewise.
17628         * math/fesetenv.c: Likewise.
17629         * math/fesetround.c: Likewise.
17630         * math/feupdateenv.c: Likewise.
17631         * math/fgetexcptflg.c: Likewise.
17632         * math/fraiseexcpt.c: Likewise.
17633         * math/fsetexcptflg.c: Likewise.
17634         * math/ftestexcept.c: Likewise.
17635         * math/k_cosl.c: Likewise.
17636         * math/k_rem_pio2l.c: Likewise.
17637         * math/k_sinl.c: Likewise.
17638         * math/k_tanl.c: Likewise.
17639         * math/s_asinhl.c: Likewise.
17640         * math/s_atanl.c: Likewise.
17641         * math/s_cbrtl.c: Likewise.
17642         * math/s_erfl.c: Likewise.
17643         * math/s_expm1l.c: Likewise.
17644         * math/s_log1pl.c: Likewise.
17645         * math/s_tanhl.c: Likewise.
17646         * misc/acct.c: Likewise.
17647         * misc/brk.c: Likewise.
17648         * misc/chflags.c: Likewise.
17649         * misc/chroot.c: Likewise.
17650         * misc/fchflags.c: Likewise.
17651         * misc/fgetxattr.c: Likewise.
17652         * misc/flistxattr.c: Likewise.
17653         * misc/fremovexattr.c: Likewise.
17654         * misc/fsetxattr.c: Likewise.
17655         * misc/fsync.c: Likewise.
17656         * misc/ftruncate.c: Likewise.
17657         * misc/futimes.c: Likewise.
17658         * misc/futimesat.c: Likewise.
17659         * misc/getdomain.c: Likewise.
17660         * misc/getdtsz.c: Likewise.
17661         * misc/gethostid.c: Likewise.
17662         * misc/gethostname.c: Likewise.
17663         * misc/getloadavg.c: Likewise.
17664         * misc/getpagesize.c: Likewise.
17665         * misc/getsysstats.c: Likewise.
17666         * misc/getxattr.c: Likewise.
17667         * misc/gtty.c: Likewise.
17668         * misc/ioctl.c: Likewise.
17669         * misc/lgetxattr.c: Likewise.
17670         * misc/listxattr.c: Likewise.
17671         * misc/llistxattr.c: Likewise.
17672         * misc/lremovexattr.c: Likewise.
17673         * misc/lsetxattr.c: Likewise.
17674         * misc/lutimes.c: Likewise.
17675         * misc/madvise.c: Likewise.
17676         * misc/mincore.c: Likewise.
17677         * misc/mlock.c: Likewise.
17678         * misc/mlockall.c: Likewise.
17679         * misc/mmap.c: Likewise.
17680         * misc/mprotect.c: Likewise.
17681         * misc/msync.c: Likewise.
17682         * misc/munlock.c: Likewise.
17683         * misc/munlockall.c: Likewise.
17684         * misc/munmap.c: Likewise.
17685         * misc/preadv.c: Likewise.
17686         * misc/preadv64.c: Likewise.
17687         * misc/ptrace.c: Likewise.
17688         * misc/pwritev.c: Likewise.
17689         * misc/pwritev64.c: Likewise.
17690         * misc/readv.c: Likewise.
17691         * misc/reboot.c: Likewise.
17692         * misc/remap_file_pages.c: Likewise.
17693         * misc/removexattr.c: Likewise.
17694         * misc/revoke.c: Likewise.
17695         * misc/select.c: Likewise.
17696         * misc/setdomain.c: Likewise.
17697         * misc/setegid.c: Likewise.
17698         * misc/seteuid.c: Likewise.
17699         * misc/sethostid.c: Likewise.
17700         * misc/sethostname.c: Likewise.
17701         * misc/setregid.c: Likewise.
17702         * misc/setreuid.c: Likewise.
17703         * misc/setxattr.c: Likewise.
17704         * misc/sstk.c: Likewise.
17705         * misc/stty.c: Likewise.
17706         * misc/swapoff.c: Likewise.
17707         * misc/swapon.c: Likewise.
17708         * misc/sync.c: Likewise.
17709         * misc/syncfs.c: Likewise.
17710         * misc/syscall.c: Likewise.
17711         * misc/truncate.c: Likewise.
17712         * misc/ualarm.c: Likewise.
17713         * misc/usleep.c: Likewise.
17714         * misc/ustat.c: Likewise.
17715         * misc/utimes.c: Likewise.
17716         * misc/vhangup.c: Likewise.
17717         * misc/writev.c: Likewise.
17718         * posix/_exit.c: Likewise.
17719         * posix/alarm.c: Likewise.
17720         * posix/execve.c: Likewise.
17721         * posix/fexecve.c: Likewise.
17722         * posix/fork.c: Likewise.
17723         * posix/fpathconf.c: Likewise.
17724         * posix/getaddrinfo.c: Likewise.
17725         * posix/getegid.c: Likewise.
17726         * posix/geteuid.c: Likewise.
17727         * posix/getgid.c: Likewise.
17728         * posix/getgroups.c: Likewise.
17729         * posix/getlogin.c: Likewise.
17730         * posix/getlogin_r.c: Likewise.
17731         * posix/getpgid.c: Likewise.
17732         * posix/getpid.c: Likewise.
17733         * posix/getppid.c: Likewise.
17734         * posix/getresgid.c: Likewise.
17735         * posix/getresuid.c: Likewise.
17736         * posix/getsid.c: Likewise.
17737         * posix/getuid.c: Likewise.
17738         * posix/glob64.c: Likewise.
17739         * posix/nanosleep.c: Likewise.
17740         * posix/pathconf.c: Likewise.
17741         * posix/pause.c: Likewise.
17742         * posix/posix_madvise.c: Likewise.
17743         * posix/pread.c: Likewise.
17744         * posix/pread64.c: Likewise.
17745         * posix/pwrite.c: Likewise.
17746         * posix/pwrite64.c: Likewise.
17747         * posix/sched_getaffinity.c: Likewise.
17748         * posix/sched_getp.c: Likewise.
17749         * posix/sched_gets.c: Likewise.
17750         * posix/sched_primax.c: Likewise.
17751         * posix/sched_primin.c: Likewise.
17752         * posix/sched_rr_gi.c: Likewise.
17753         * posix/sched_setaffinity.c: Likewise.
17754         * posix/sched_setp.c: Likewise.
17755         * posix/sched_sets.c: Likewise.
17756         * posix/sched_yield.c: Likewise.
17757         * posix/setgid.c: Likewise.
17758         * posix/setlogin.c: Likewise.
17759         * posix/setpgid.c: Likewise.
17760         * posix/setresgid.c: Likewise.
17761         * posix/setresuid.c: Likewise.
17762         * posix/setsid.c: Likewise.
17763         * posix/setuid.c: Likewise.
17764         * posix/sleep.c: Likewise.
17765         * posix/spawni.c: Likewise.
17766         * posix/sysconf.c: Likewise.
17767         * posix/times.c: Likewise.
17768         * posix/wait.c: Likewise.
17769         * posix/wait3.c: Likewise.
17770         * posix/wait4.c: Likewise.
17771         * posix/waitpid.c: Likewise.
17772         * resolv/gai_sigqueue.c: Likewise.
17773         * resource/getpriority.c: Likewise.
17774         * resource/getrlimit.c: Likewise.
17775         * resource/getrusage.c: Likewise.
17776         * resource/nice.c: Likewise.
17777         * resource/setpriority.c: Likewise.
17778         * resource/setrlimit.c: Likewise.
17779         * resource/ulimit.c: Likewise.
17780         * rt/aio_cancel.c: Likewise.
17781         * rt/aio_fsync.c: Likewise.
17782         * rt/aio_read.c: Likewise.
17783         * rt/aio_sigqueue.c: Likewise.
17784         * rt/aio_suspend.c: Likewise.
17785         * rt/aio_write.c: Likewise.
17786         * rt/clock_getres.c: Likewise.
17787         * rt/clock_gettime.c: Likewise.
17788         * rt/clock_nanosleep.c: Likewise.
17789         * rt/clock_settime.c: Likewise.
17790         * rt/lio_listio.c: Likewise.
17791         * rt/mq_close.c: Likewise.
17792         * rt/mq_getattr.c: Likewise.
17793         * rt/mq_notify.c: Likewise.
17794         * rt/mq_open.c: Likewise.
17795         * rt/mq_receive.c: Likewise.
17796         * rt/mq_send.c: Likewise.
17797         * rt/mq_setattr.c: Likewise.
17798         * rt/mq_timedreceive.c: Likewise.
17799         * rt/mq_timedsend.c: Likewise.
17800         * rt/mq_unlink.c: Likewise.
17801         * rt/shm_open.c: Likewise.
17802         * rt/shm_unlink.c: Likewise.
17803         * rt/timer_create.c: Likewise.
17804         * rt/timer_delete.c: Likewise.
17805         * rt/timer_getoverr.c: Likewise.
17806         * rt/timer_gettime.c: Likewise.
17807         * rt/timer_settime.c: Likewise.
17808         * setjmp/__longjmp.c: Likewise.
17809         * setjmp/setjmp.c: Likewise.
17810         * signal/kill.c: Likewise.
17811         * signal/killpg.c: Likewise.
17812         * signal/raise.c: Likewise.
17813         * signal/sigaction.c: Likewise.
17814         * signal/sigaltstack.c: Likewise.
17815         * signal/sigblock.c: Likewise.
17816         * signal/sigignore.c: Likewise.
17817         * signal/sigintr.c: Likewise.
17818         * signal/signal.c: Likewise.
17819         * signal/sigpause.c: Likewise.
17820         * signal/sigpending.c: Likewise.
17821         * signal/sigqueue.c: Likewise.
17822         * signal/sigreturn.c: Likewise.
17823         * signal/sigset.c: Likewise.
17824         * signal/sigsetmask.c: Likewise.
17825         * signal/sigstack.c: Likewise.
17826         * signal/sigsuspend.c: Likewise.
17827         * signal/sigtimedwait.c: Likewise.
17828         * signal/sigvec.c: Likewise.
17829         * signal/sigwait.c: Likewise.
17830         * signal/sigwaitinfo.c: Likewise.
17831         * signal/sysv_signal.c: Likewise.
17832         * socket/accept.c: Likewise.
17833         * socket/accept4.c: Likewise.
17834         * socket/bind.c: Likewise.
17835         * socket/connect.c: Likewise.
17836         * socket/getpeername.c: Likewise.
17837         * socket/getsockname.c: Likewise.
17838         * socket/getsockopt.c: Likewise.
17839         * socket/isfdtype.c: Likewise.
17840         * socket/listen.c: Likewise.
17841         * socket/recv.c: Likewise.
17842         * socket/recvfrom.c: Likewise.
17843         * socket/recvmsg.c: Likewise.
17844         * socket/send.c: Likewise.
17845         * socket/sendmsg.c: Likewise.
17846         * socket/sendto.c: Likewise.
17847         * socket/setsockopt.c: Likewise.
17848         * socket/shutdown.c: Likewise.
17849         * socket/sockatmark.c: Likewise.
17850         * socket/socket.c: Likewise.
17851         * socket/socketpair.c: Likewise.
17852         * stdio-common/ctermid.c: Likewise.
17853         * stdio-common/cuserid.c: Likewise.
17854         * stdio-common/remove.c: Likewise.
17855         * stdio-common/rename.c: Likewise.
17856         * stdio-common/renameat.c: Likewise.
17857         * stdio-common/tempname.c: Likewise.
17858         * stdlib/getcontext.c: Likewise.
17859         * stdlib/makecontext.c: Likewise.
17860         * stdlib/setcontext.c: Likewise.
17861         * stdlib/swapcontext.c: Likewise.
17862         * stdlib/system.c: Likewise.
17863         * streams/fattach.c: Likewise.
17864         * streams/fdetach.c: Likewise.
17865         * streams/getmsg.c: Likewise.
17866         * streams/getpmsg.c: Likewise.
17867         * streams/putmsg.c: Likewise.
17868         * streams/putpmsg.c: Likewise.
17869         * sysdeps/unix/bsd/getpt.c: Likewise.
17870         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17871         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17872         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17874         Likewise.
17875         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17876         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17877         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17878         * sysvipc/msgctl.c: Likewise.
17879         * sysvipc/msgget.c: Likewise.
17880         * sysvipc/msgrcv.c: Likewise.
17881         * sysvipc/msgsnd.c: Likewise.
17882         * sysvipc/semctl.c: Likewise.
17883         * sysvipc/semget.c: Likewise.
17884         * sysvipc/semop.c: Likewise.
17885         * sysvipc/semtimedop.c: Likewise.
17886         * sysvipc/shmat.c: Likewise.
17887         * sysvipc/shmctl.c: Likewise.
17888         * sysvipc/shmdt.c: Likewise.
17889         * sysvipc/shmget.c: Likewise.
17890         * termios/tcdrain.c: Likewise.
17891         * termios/tcflow.c: Likewise.
17892         * termios/tcflush.c: Likewise.
17893         * termios/tcgetattr.c: Likewise.
17894         * termios/tcgetpgrp.c: Likewise.
17895         * termios/tcsendbrk.c: Likewise.
17896         * termios/tcsetattr.c: Likewise.
17897         * termios/tcsetpgrp.c: Likewise.
17898         * time/adjtime.c: Likewise.
17899         * time/clock.c: Likewise.
17900         * time/getitimer.c: Likewise.
17901         * time/gettimeofday.c: Likewise.
17902         * time/setitimer.c: Likewise.
17903         * time/settimeofday.c: Likewise.
17904         * time/stime.c: Likewise.
17905         * time/time.c: Likewise.
17907 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17909         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17910         /usr/old/bin.
17912         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17913         instead of spaces.
17914         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17916 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17918         [BZ #14796]
17919         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17920         FE_TONEAREST before applying Dekker multiplication and Knuth
17921         addition.  Clear inexact exceptions and check for exact zero
17922         results afterwards.
17923         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17924         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17925         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17926         * math/libm-test.inc (fma_test): Add more tests.
17927         (fma_test_towardzero): Likewise.
17928         (fma_test_downward): Likewise.
17929         (fma_test_upward): Likewise.
17930         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17931         function.
17932         (libc_fesetround): New macro.
17933         (libc_fesetroundf): Likewise.
17934         (libc_fesetroundl): Likewise.
17935         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17936         function.
17937         (libc_fesetround_387): Likewise.
17938         (libc_fesetroundf): New macro.
17939         (libc_fesetround): Likewise.
17940         (libc_fesetroundl): Likewise.
17941         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17942         function.
17943         (libc_fesetroundf): New macro.
17944         (libc_fesetround): Likewise.
17945         (libc_fesetroundl): Likewise.
17946         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17947         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17948         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17949         libm_hidden_ver.
17950         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17951         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17952         libm_hidden_def.
17953         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17954         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17955         libm_hidden_ver.
17956         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17957         libm_hidden_def.
17959         [BZ #3439]
17960         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17961         integer constant usable in #if and use that to give value to enum
17962         constant.
17963         (FE_DIVBYZERO): Likewise.
17964         (FE_UNDERFLOW): Likewise.
17965         (FE_OVERFLOW): Likewise.
17966         (FE_INVALID): Likewise.
17967         (FE_INVALID_SNAN): Likewise.
17968         (FE_INVALID_ISI): Likewise.
17969         (FE_INVALID_IDI): Likewise.
17970         (FE_INVALID_ZDZ): Likewise.
17971         (FE_INVALID_IMZ): Likewise.
17972         (FE_INVALID_COMPARE): Likewise.
17973         (FE_INVALID_SOFTWARE): Likewise.
17974         (FE_INVALID_SQRT): Likewise.
17975         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17976         (FE_TONEAREST): Likewise.
17977         (FE_TOWARDZERO): Likewise.
17978         (FE_UPWARD): Likewise.
17979         (FE_DOWNWARD): Likewise.
17980         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17981         (FE_DIVBYZERO): Likewise.
17982         (FE_OVERFLOW): Likewise.
17983         (FE_UNDERFLOW): Likewise.
17984         (FE_INEXACT): Likewise.
17985         (FE_TONEAREST): Likewise.
17986         (FE_DOWNWARD): Likewise.
17987         (FE_UPWARD): Likewise.
17988         (FE_TOWARDZERO): Likewise.
17989         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17990         (FE_UNDERFLOW): Likewise.
17991         (FE_OVERFLOW): Likewise.
17992         (FE_DIVBYZERO): Likewise.
17993         (FE_INVALID): Likewise.
17994         (FE_TONEAREST): Likewise.
17995         (FE_TOWARDZERO): Likewise.
17996         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17997         (FE_OVERFLOW): Likewise.
17998         (FE_UNDERFLOW): Likewise.
17999         (FE_DIVBYZERO): Likewise.
18000         (FE_INEXACT): Likewise.
18001         (FE_TONEAREST): Likewise.
18002         (FE_TOWARDZERO): Likewise.
18003         (FE_UPWARD): Likewise.
18004         (FE_DOWNWARD): Likewise.
18005         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18006         (FE_DIVBYZERO): Likewise.
18007         (FE_OVERFLOW): Likewise.
18008         (FE_UNDERFLOW): Likewise.
18009         (FE_INEXACT): Likewise.
18010         (FE_TONEAREST): Likewise.
18011         (FE_DOWNWARD): Likewise.
18012         (FE_UPWARD): Likewise.
18013         (FE_TOWARDZERO): Likewise.
18015 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
18017         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18019 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
18021         * scripts/cross-test-ssh.sh (command): Use newlines to separate
18022         commands.  Quote $PWD.
18023         (blacklist_exports): Don't use remove_newlines.  Replace "declare
18024         -x" by "export".
18025         (remove_newlines): Remove.
18027 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
18029         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18030         * stdlib/stdlib.h (atof): Moved to ...
18031         * include/bits/stdlib-float.h: Here.  New file.
18032         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18033         * stdlib/bits/stdlib-float.h: New file.
18034         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18035         -mno-sse -mno-mmx.
18036         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18037         <xmmintrin.h>.
18039 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18041         * conform/conformtest.pl (@headers): Add fenv.h.
18042         * conform/data/fenv.h-data: New file.
18043         * include/fenv.h [_ISOMAC]: Disable all contents of file except
18044         include of <math/fenv.h>.
18046         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18047         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18048         && !UNIX98].  Enables tests for XOPEN2K8.
18049         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18050         POSIX2008]: Likewise.
18052         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18053         (struct rusage): Do not expect type or its members.
18055         [BZ #3439]
18056         * math/math.h (FP_NAN): Define macro to integer constant usable in
18057         #if and use that to give value to enum constant.
18058         (FP_INFINITE): Likewise.
18059         (FP_ZERO): Likewise.
18060         (FP_SUBNORMAL): Likewise.
18061         (FP_NORMAL): Likewise.
18063 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
18065         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18066         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18067         arguments.
18069 2012-11-02  Roland McGrath  <roland@hack.frob.com>
18071         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18072         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18073         autoconf-time if not.
18074         * configure.in: Remove AC_PREREQ.
18076 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18078         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18079         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18080         of the internal implementation.
18082 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18084         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18085         except include of <misc/sys/syslog.h>.
18087 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18090         function returns with a NULL context exit with zero.
18092 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18094         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18096 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
18098         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18099         (run_program_cmd): This.
18100         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18101         (tst_langinfo): New variable.  Use it.
18103 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
18105         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18106         floating point opcodes.
18108 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18110         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18111         variable.
18113         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18115         * sysdeps/mach/hurd/powerpc: Remove directory.
18116         * sysdeps/mach/powerpc: Likewise.
18118 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18120         * scripts/check-local-headers.sh: Ignore c++ headers.
18122 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18124         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18125         __libc_cleanup_region_start argument.
18127 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
18129         [BZ #14784]
18130         [BZ #14785]
18131         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18132         x * y using scaling, not as x * y + z.
18133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18134         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18135         * math/libm-test.inc (fma_test): Add more tests.
18136         (fma_test_towardzero): Likewise.
18137         (fma_test_downward): Likewise.
18138         (fma_test_upward): Likewise.
18140 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18142         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18144 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18146         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18147         New variable.
18149 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
18151         * rt/tst-shm.c (worker): Correct checking for mmap failure.
18153 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18156         Fix sort order.
18157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18158         Likewise.
18160 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18163         Fix the order of the list for glibc 2.17.
18164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18165         Likewise.
18167 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18171 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18173         [BZ #14610]
18174         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18175         for low part of x being zero before using __atanl (y).
18176         * math/libm-test.inc (atan2_test): Add another test.
18178         * manual/install.texi (Configuring and compiling): Document
18179         general use of test-wrapper and test-wrapper-env.
18180         * INSTALL: Regenerated.
18182         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18183         (__fma): Do not extract and scale down low bits on after-rounding
18184         systems when result rounded to normal precision would have normal
18185         exponent.
18186         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18187         (__fmal): Do not extract and scale down low bits on after-rounding
18188         systems when result rounded to normal precision would have normal
18189         exponent.
18190         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18191         (__fmal): Do not extract and scale down low bits on after-rounding
18192         systems when result rounded to normal precision would have normal
18193         exponent.
18194         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18195         macro.
18196         (fma_test): Add more tests.
18197         (fma_test_towardzero): Likewise.
18198         (fma_test_downward): Likewise.
18199         (fma_test_upward): Likewise.
18201 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
18203         * sysdeps/i386/tininess.h: Renamed to ...
18204         * sysdeps/x86/tininess.h: This.
18205         * sysdeps/x86_64/tininess.h: Removed.
18207 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18209         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18210         input.  Use $(build-program-cmd).
18211         ($(objpfx)tst-array1-static.out): Likewise.
18212         ($(objpfx)tst-array2.out): Likewise.
18213         ($(objpfx)tst-array3.out): Likewise.
18214         ($(objpfx)tst-array4.out): Likewise.
18215         ($(objpfx)tst-array5.out): Likewise.
18216         ($(objpfx)tst-array5-static.out): Likewise.
18218 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
18220         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18221         if defined.
18223         * nss/nsswitch.h (nss_interface_function): Provide new
18224         macro for use with NSS functions.
18225         * grp/initgroups.c: Use new macro.
18226         * nss/getXXbyYY.c: Likewise.
18227         * nss/getXXbyYY_r.c: Likewise.
18228         * nss/getXXent.c: Likewise.
18229         * nss/getXXent_r.c: Likewise.
18230         * sysdeps/posix/getaddrinfo.c: Likewise.
18232 2012-10-30  Andreas Jaeger  <aj@suse.de>
18234         * po/ru.po: Update Russion translation from translation project.
18236 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18238         [BZ #14152]
18239         [BZ #14783]
18240         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18241         result and shift together with sticky bit instead of replicating
18242         round-to-nearest rounding.
18243         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18244         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18245         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
18246         missing underflow exceptions.
18247         (fma_test_towardzero): Add more tests.
18248         (fma_test_downward): Likewise.
18249         (fma_test_upward): Likewise.
18251         [BZ #14047]
18252         * sysdeps/generic/tininess.h: New file.
18253         * sysdeps/i386/tininess.h: Likewise.
18254         * sysdeps/sh/tininess.h: Likewise.
18255         * sysdeps/x86_64/tininess.h: Likewise.
18256         * stdlib/tst-strtod-underflow.c: Likewise.
18257         * stdlib/tst-tininess.c: Likewise.
18258         * stdlib/strtod_l.c: Include <tininess.h>.
18259         (round_and_return): Do not set errno for exact underflow cases.
18260         Force an underflow exception when setting errno for underflow.
18261         Determine underflow based on rounding to normal precision if
18262         TININESS_AFTER_ROUNDING.
18263         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18264         ERANGE for exact underflow cases.
18265         * stdlib/Makefile (tests): Add tst-tininess and
18266         tst-strtod-underflow.
18267         ($(objpfx)tst-tininess): Use $(link-libm).
18268         ($(objpfx)tst-strtod-underflow): Likewise.
18270 2012-10-30  Andreas Jaeger  <aj@suse.de>
18272         [BZ#14767]
18273         * elf/Makefile (tests): Remove conditional for have-initfini-array
18274         since this is now always required and the variable does not exist
18275         anymore.
18276         (tests-static): Likewise.
18277         (modules-names): Likewise.
18279         * po/eo.po: Add Esperanto translation from translation project.
18281         * elf/tst-array1.c (fini_array): Make writeable so that it can be
18282         merged with constructor/destructor.
18283         (init_array): Likewise.
18284         * elf/tst-array2dep.c (fini_array): Likewise.
18285         (init_array): Likewise.
18287 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
18289         * manual/message.texi: Delete @cartouche tags.
18291 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
18293         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18294         EOPNOTSUPP.
18295         * sysdeps/mach/hurd/fsync.c: Likewise.
18297         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18298         [_POSIX_REALTIME_SIGNALS]: Change condition to
18299         [_POSIX_REALTIME_SIGNALS > 0].
18301 2012-10-27  Andreas Jaeger  <aj@suse.de>
18303         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18304         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18305         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18306         [__WORDSIZE != 64]: Likewise.
18308 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
18310         *  iconvdata/tst-table.sh: Remove ${SHELL}.
18311         *  iconvdata/tst-tables.sh: Likewise.
18313 2012-10-25  David S. Miller  <davem@davemloft.net>
18315         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18316         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18317         of strtoull.
18319         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18320         ifunc-impl-list.c
18321         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18322         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18323         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18324         file.
18326 2012-10-25  Roland McGrath  <roland@hack.frob.com>
18328         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18329         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18330         __getdirentries.
18332 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18333             Jim Blandy  <jimb@codesourcery.com>
18335         * scripts/cross-test-ssh.sh: New file.
18336         * manual/install.texi (Configuring and compiling): Document use of
18337         cross-test-ssh.sh.
18338         * INSTALL: Regenerated.
18340 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
18342         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18343         EOPNOTSUPP.
18345 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18347         * Makeconfig (run-program-prefix): Fix comment.
18349 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18350             Jim Blandy  <jimb@codesourcery.com>
18352         * Makeconfig (test-wrapper): New variable,
18353         (test-wrapper-env): Likewise.
18354         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18355         (run-built-tests): Define to yes.
18356         (run-program-prefix): Use $(test-wrapper).
18357         (built-program-cmd): Likewise.
18358         * Rules (make-test-out): Use $(test-wrapper-env) and
18359         $(host-built-program-cmd).
18360         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18361         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18362         tst-pathopt.sh.
18363         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18364         $(test-wrapper-env) to tst-rtld-load-self.sh.
18365         ($(objpfx)order2.out): Use $(test-wrapper).
18366         ($(objpfx)tst-initorder.out): Likewise.
18367         ($(objpfx)tst-initorder2.out): Likewise.
18368         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18369         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18370         (test_wrapper_env): New variable.  Use it to run ld.so.
18371         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18372         Use it to run ld.so.
18373         (test_wrapper_env): Likewise.
18374         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18375         $(test-wrapper) to run-iconv-test.sh.
18376         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18377         (ICONV): Use $test_wrapper.
18378         * posix/Makefile ($(objpfx)globtest.out): Pass
18379         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18380         globtest.sh, not $(run-program-prefix).
18381         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18382         (test_wrapper): Likewise.
18383         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18384         set together with run_via_rtld_prefix.
18385         (run_program_prefix): Define in terms of test_wrapper and
18386         run_via_rtld_prefix.
18388 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18390         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18391         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18392         Targets removed.
18394         [BZ #14743]
18395         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18396         Declare __clock_getres, __clock_gettime, __clock_settime,
18397         __clock_nanosleep, and __clock_getcpuclockid.
18398         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18399         Remove librt_hidden_def (clock_gettime).
18400         * sysdeps/unix/clock_gettime.c: Likewise.
18401         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18402         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18403         * rt/clock_getres.c: Define __clock_getres as an alias.
18404         * sysdeps/posix/clock_getres.c: Likewise.
18405         * rt/clock_settime.c: Define __clock_settime as an alias.
18406         * sysdeps/unix/clock_settime.c: Likewise.
18407         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18408         * sysdeps/unix/clock_nanosleep.c: Likewise.
18409         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18410         * rt/clock-compat.c: New file.
18411         * rt/Makefile (librt-routines): Add clock-compat and move
18412         $(clock-routines) to ...
18413         (routines): ... here, new variable.
18414         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18415         Don't add get_clockfreq here.
18416         * rt/Versions (libc: GLIBC_2.17): New version set.
18417         Add clock_* symbols here.
18418         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18419         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18420         (GLIBC_2.17): Add clock_* symbols.
18421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18423         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18425         Likewise.
18426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18427         Likewise.
18428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18429         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18432         * NEWS: Mention the move.
18434         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18435         Use __open, __read, __close rather than their public counterparts.
18436         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18437         (__get_clockfreq_via_cpuinfo): Likewise.
18438         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18439         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18441         * config.h.in (HAVE_IFUNC): New #undef.
18442         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18443         was successful.
18444         * configure: Regenerated.
18446 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18448         * configure.in: Move READELF check to start of file.
18449         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18450         libc_cv_asm_gnu_indirect_function in the process.
18451         * configure: Regenerated.
18453 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18455         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18456         send the output to /dev/null.
18457         (libc_cv_cc_with_libunwind): Likewise.
18458         (libc_cv_as_noexecstack): Likewise.
18459         * configure: Regenerate.
18461 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18463         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18465         * posix/globtest.sh (TMPDIR): Do not set.
18466         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18467         (testout): Likewise.
18469 2012-10-24  Andreas Jaeger  <aj@suse.de>
18471         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18472         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18473         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18474         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18475         posix_fadvise64, posix_fallocate64.
18477         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18478         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18479         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18480         Likewise.
18481         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18482         Likewise.
18483         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18485         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18486         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18487         <bits/fcntl-linux.h>.
18488         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18490         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18491         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18492         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18493         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18494         [__WORDSIZE != 64]: Likewise.
18496 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18498         * Makeconfig (run-built-tests): New variable.
18499         * Rules [$(cross-compiling) = yes]: Change condition to
18500         [$(run-built-tests) = no].
18501         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18502         to [$(run-built-tests) = yes].
18503         * elf/Makefile [$(cross-compiling) = no]: Likewise
18504         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18505         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18506         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18507         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18508         * io/Makefile [$(cross-compiling) = no]: Likewise.
18509         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18510         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18511         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18512         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18513         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18514         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18515         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18516         * string/Makefile [$(cross-compiling) = no]: Likewise.
18518         * posix/Makefile ($(objpfx)globtest.out): Pass
18519         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18520         $(rtld-installed-name).
18521         * posix/globtest.sh (elf_objpfx): Remove variable.
18522         (rtld_installed_name): Likewise.
18523         (library_path): Likewise.
18524         (run_program_prefix): New variable.  Use for running globtest
18525         binary.
18527 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18528             Joseph Myers  <joseph@codesourcery.com>
18530         * Makeconfig (host-built-program-cmd): New variable.
18531         * elf/Makefile (tst-stackguard1-ARGS): Use
18532         $(host-built-program-cmd).
18533         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18534         (tst-spawn-ARGS): Likewise.
18535         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18537 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18538             Jim Blandy  <jimb@codesourcery.com>
18540         * Makeconfig (run-via-rtld-prefix): New variable.
18541         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18542         (built-program-cmd): Likewise.
18544 2012-10-22  Andreas Jaeger  <aj@suse.de>
18546         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18547         __O_RSYNC if it exists, otherwise to O_SYNC.
18549 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18550             Joseph Myers  <joseph@codesourcery.com>
18552         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18553         /dev/null.
18554         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18555         from /dev/null
18556         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18557         /dev/null.
18559 2012-10-22  Andreas Jaeger  <aj@suse.de>
18561         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18562         Define always.
18563         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18565         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18566         bits/fcntl-linux.h.
18568         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18569         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18571         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18572         to __O_LARGEFILE.
18573         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18574         to __O_LARGEFILE.
18576 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18577             Joseph Myers  <joseph@codesourcery.com>
18579         * config.make.in (NM): New variable.
18581 2012-10-21  Andreas Jaeger  <aj@suse.de>
18583         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18584         definitions and declarations that are provided by
18585         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18587 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18589         [BZ #14683]
18590         * elf/Makefile (tests-static): Add tst-leaks1-static.
18591         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18592         ($(objpfx)tst-leaks1-static): New rule.
18593         ($(objpfx)tst-leaks1-static-mem): Likewise.
18594         (tst-leaks1-static-ENV): New macro.
18595         * elf/dl-open.c (dl_open_worker): Check the main application
18596         only if SHARED is defined.
18597         * elf/tst-leaks1-static.c: New file.
18599 2012-10-20  Andreas Jaeger  <aj@suse.de>
18601         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18602         generic values for Linux.
18603         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18604         and declarations that are provided by <bits/fcntl-linux.h> and
18605         include <bits/fcntl-linux.h>.
18606         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18607         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18609 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18611         * io/fcntl.h: Move include of <bits/types.h> to the top and
18612         include it unconditionally.
18614 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18616         * wcsmbs/Makefile (tests-ifunc): New variable.
18617         (tests): Add $(tests-ifunc).
18618         * wcsmbs/test-wcschr-ifunc.c: New file.
18619         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18620         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18621         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18622         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18623         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18625         * string/Makefile (tests-ifunc): New variable.
18626         (tests): Add $(tests-ifunc).
18627         * string/test-memccpy.c (TEST_NAME): New macro.
18628         * string/test-memchr.c (TEST_NAME): Likewise.
18629         * string/test-memcmp.c (TEST_NAME): Likewise.
18630         * string/test-memcpy.c (TEST_NAME): Likewise.
18631         * string/test-memmem.c (TEST_NAME): Likewise.
18632         * string/test-memmove.c (TEST_NAME): Likewise.
18633         * string/test-memset.c (TEST_NAME): Likewise.
18634         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18635         * string/test-stpcpy.c (TEST_NAME): Likewise.
18636         * string/test-stpncpy.c (TEST_NAME): Likewise.
18637         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18638         * string/test-strcasestr.c (TEST_NAME): Likewise.
18639         * string/test-strcat.c (TEST_NAME): Likewise.
18640         * string/test-strchr.c (TEST_NAME): Likewise.
18641         * string/test-strcmp.c(TEST_NAME): Likewise.
18642         * string/test-strcpy.c (TEST_NAME): Likewise.
18643         * string/test-strcspn.c (TEST_NAME): Likewise.
18644         * string/test-strlen.c (TEST_NAME): Likewise.
18645         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18646         * string/test-strncmp.c (TEST_NAME): Likewise.
18647         * string/test-strncpy.c (TEST_NAME): Likewise.
18648         * string/test-strnlen.c (TEST_NAME): Likewise.
18649         * string/test-strpbrk.c (TEST_NAME): Likewise.
18650         * string/test-strrchr.c (TEST_NAME): Likewise.
18651         * string/test-strspn.c (TEST_NAME): Likewise.
18652         * string/test-strstr.c (TEST_NAME): Likewise.
18653         * string/test-bcopy-ifunc.c: New file.
18654         * string/test-bzero-ifunc.c: Likewise.
18655         * string/test-memccpy-ifunc.c: Likewise.
18656         * string/test-memchr-ifunc.c: Likewise.
18657         * string/test-memcmp-ifunc.c: Likewise.
18658         * string/test-memcpy-ifunc.c: Likewise.
18659         * string/test-memmem-ifunc.c: Likewise.
18660         * string/test-memmove-ifunc.c: Likewise.
18661         * string/test-mempcpy-ifunc.c: Likewise.
18662         * string/test-memset-ifunc.c: Likewise.
18663         * string/test-rawmemchr-ifunc.c: Likewise.
18664         * string/test-stpcpy-ifunc.c: Likewise.
18665         * string/test-stpncpy-ifunc.c: Likewise.
18666         * string/test-strcasecmp-ifunc.c: Likewise.
18667         * string/test-strcasestr-ifunc.c: Likewise.
18668         * string/test-strcat-ifunc.c: Likewise.
18669         * string/test-strchr-ifunc.c: Likewise.
18670         * string/test-strchrnul-ifunc.c: Likewise.
18671         * string/test-strcmp-ifunc.c: Likewise.
18672         * string/test-strcpy-ifunc.c: Likewise.
18673         * string/test-strcspn-ifunc.c: Likewise.
18674         * string/test-strlen-ifunc.c: Likewise.
18675         * string/test-strncasecmp-ifunc.c: Likewise.
18676         * string/test-strncat-ifunc.c: Likewise.
18677         * string/test-strncmp-ifunc.c: Likewise.
18678         * string/test-strncpy-ifunc.c: Likewise.
18679         * string/test-strnlen-ifunc.c: Likewise.
18680         * string/test-strpbrk-ifunc.c: Likewise.
18681         * string/test-strrchr-ifunc.c: Likewise.
18682         * string/test-strspn-ifunc.c: Likewise.
18683         * string/test-strstr-ifunc.c: Likewise.
18685         * debug/Makefile (tests-ifunc): New variable.
18686         (tests): Add $(tests-ifunc).
18687         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18688         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18689         * debug/test-stpcpy_chk-ifunc.c: New file.
18690         * debug/test-strcpy_chk-ifunc.c: Likewise.
18692 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18694         [BZ #13601]
18695         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18696         header is not read in.
18698 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18700         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18701         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18702         directly.  Pass built executable to script as
18703         $(built-program-cmd).
18704         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18705         $testprogram without using LD_LIBRARY_PATH and $ldso.
18707         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18708         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18709         $(rtld-installed-name).
18710         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18711         (rtld_installed_name): Likewise.
18712         (library_path): Likewise.
18713         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18714         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18715         $(run-program-prefix) to tst-tables.sh.
18716         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18717         it to run tst-table-from and tst-table-to.
18718         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18719         Pass it to tst-table.sh.
18720         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18721         $(run-program-prefix) to tst-gettext.sh.
18722         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18723         tst-translit.sh.
18724         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18725         tst-gettext2.sh.
18726         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18727         to run tst-gettext.
18728         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18729         to run tst-gettext2.
18730         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18731         to run tst-translit.
18732         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18733         $(run-program-prefix) to tst-mtrace.sh.
18734         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18735         to run tst-mtrace.
18736         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18737         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18738         $(rtld-installed-name).
18739         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18740         (rtld_installed_name): Likewise.
18741         (run_program_prefix): New variable.  Use it to run wordexp-test.
18743         * Makeconfig (ARCH): Remove all definitions.
18744         (machine): Likewise.
18745         [ARCH]: Remove conditional code.
18746         [!objdir]: Give error.
18747         [!objdir] (objpfx): Remove.
18748         [!objdir] (common-objpfx): Likewise.
18749         [!objdir] (common-objdir): Likewise.
18750         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18751         AC_CONFIG_FILES call.
18752         * configure: Regenerated.
18754         [BZ #13888]
18755         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18756         or TMPDIR.
18757         (testout): Likewise.
18759         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18760         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18761         $(rtld-installed-name).
18762         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18763         (rtld_installed_name): Likwise.
18764         (runit): Remove function.
18765         (run_getconf): New variable,  Use it for running getconf binary.
18767 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18769         [BZ #14716]
18770         * string/test-memmem.c (check_result): New function.
18771         (do_one_test): Use it.
18772         (check1): New function.
18773         (test_main): Use it.
18775 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18777         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18779 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18781         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18782         (_G_LSEEK64): Likewise.
18783         (_G_MMAP64): Likewise.
18784         (_G_FSTAT64): Likewise.
18785         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18786         (_G_LSEEK64): Likewise.
18787         (_G_MMAP64): Likewise.
18788         (_G_FSTAT64): Likewise.
18789         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18790         unconditional.  Call __mmap64 directly.
18791         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18792         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18793         __lseek64 directly.
18794         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18795         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18796         __mmap64 directly.
18797         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18798         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18799         __lseek64 directly.
18800         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18801         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18802         __lseek64 directly.
18803         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18804         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18805         __lseek64 directly.
18806         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18807         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18808         __fxstat64 directly.
18809         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18810         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18811         unconditional.
18812         (freopen64) [!_G_OPEN64]: Remove conditional code.
18813         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18814         unconditional.
18815         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18816         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18817         unconditional.
18818         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18819         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18820         unconditional.
18821         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18822         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18823         unconditional.
18824         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18825         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18826         unconditional.
18827         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18828         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18829         unconditional.
18830         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18831         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18832         unconditional.
18833         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18835 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18837         [BZ #12140]
18838         * manual/memory.texi (Malloc Tunable Parameters): Add note
18839         about free list pointers overwriting some perturb bytes.
18840         Wording suggested by Roland McGrath.
18842 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18844         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18845         (lgamma_test): Likewise.
18846         (tgamma_test): Likewise.
18848 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18850         [BZ #14700]
18851         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18852         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18854 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18856         * NEWS: Mention BZ #14716.
18857         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18858         when removing AVAILABLE1_USES_J macro.
18860 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18862         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18863         (__bswap_64): __uint64_t for unsigned 64-bit int.
18865 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18867         * include/string.h (memmem): Declare libc hidden alias.
18868         * string/memmem.c (memmem): Define libc hidden alias.
18869         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18870         __read, __close instead of open, read, close.
18872 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18874         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18875         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18876         global and hidden.
18877         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18878         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18879         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18880         Likewise.
18881         (__rawmemchr_sse2): Likewise.
18882         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18883         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18884         (__strchr_sse2): Likewise.
18885         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18886         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18887         (__strcasecmp_sse2): Likewise.
18888         (__strncasecmp_sse2): Likewise.
18889         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18890         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18891         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18892         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18893         (__strrchr_sse2): Likewise.
18894         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18895         ifunc-impl-list.c.
18896         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18897         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18898         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18899         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18900         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18901         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18902         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18903         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18904         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18905         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18906         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18907         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18908         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18909         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18910         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18911         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18912         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18913         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18914         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18915         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18916         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18917         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18918         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18919         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18920         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18921         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18922         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18923         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18924         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18925         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18927         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18928         global and hidden.
18929         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18930         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18931         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18932         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18933         Likewise.
18934         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18935         Likewise.
18936         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18937         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18938         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18939         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18940         ifunc-impl-list.c.
18941         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18942         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18943         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18944         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18945         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18946         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18947         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18948         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18949         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18950         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18951         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18952         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18953         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18954         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18955         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18956         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18957         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18958         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18959         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18960         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18961         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18962         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18963         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18964         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18965         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18966         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18967         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18968         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18969         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18970         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18971         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18972         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18973         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18974         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18975         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18976         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18977         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18978         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18979         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18980         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18981         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18983         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18984         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18985         * include/ifunc-impl-list.h: New file.
18986         * misc/ifunc-impl-list.c: Likewise.
18987         * misc/Makefile (routines): Add ifunc-impl-list.
18988         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18989         * string/test-string.h: Include <ifunc-impl-list.h>.
18990         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18991         impl_array): New variables.
18992         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18993         are defined.
18994         (test_init): Call __libc_ifunc_impl_list to initialize
18995         func_list if TEST_IFUNC and TEST_NAME are defined.
18997         * string/Makefile (strop-tests): Add bcopy and bzero.
18998         * string/test-bcopy.c: New file.
18999         * string/test-bzero.c: Likewise.
19000         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19001         defined.
19002         * string/test-memset.c: Support bzero test if TEST_BZERO is
19003         defined.
19004         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19005         __libc_memmove.
19006         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19007         __libc_memset.
19008         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19009         of memset.
19011 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
19013         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19014         * configure: Regenerated.
19016         * Makeconfig (+link-static-before-libc): Don't include
19017         $(link-static-libc).
19019         * libio/libio.h (_IO_pos_t): Remove.
19021 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19023         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
19024         McGrath.
19026 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19028         * crypt/crypt-entry.c: Include fips-private.h.
19029         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19030         * crypt/md5c-test.c (main): Tolerate disabled MD5.
19031         * sysdeps/unix/sysv/linux/fips-private.h: New file.
19032         * sysdeps/generic/fips-private.h: New file, dummy fallback.
19034 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19036         * crypt/crypt-private.h: Include stdbool.h.
19037         (_ufc_setup_salt_r): Return bool.
19038         * crypt/crypt-entry.c: Include errno.h.
19039         (__crypt_r): Return NULL with EINVAL for bad salt.
19040         * crypt/crypt_util.c (bad_for_salt): New.
19041         (_ufc_setup_salt_r): Check that salt is long enough and within
19042         the specified alphabet.
19043         * crypt/badsalttest.c: New file.
19044         * crypt/Makefile (tests): Add it.
19045         ($(objpfx)badsalttest): New.
19047 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
19049         * NEWS: Add entry for BZ #14602.
19051 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19053         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19054         type-generic.
19055         * math/libm-test.inc: Update comment listing what functions and
19056         macros are tested.
19057         (isgreater_test): New function.
19058         (isgreaterequal_test): Likewise.
19059         (isless_test): Likewise.
19060         (islessequal_test): Likewise.
19061         (islessgreater_test): Likewise.
19062         (isunordered_test): Likewise.
19063         (main): Call the new functions.
19065 2012-10-09  Roland McGrath  <roland@hack.frob.com>
19067         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19068         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19069         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19070         * sysdeps/i386/configure: Regenerated.
19071         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19072         * sysdeps/mach/configure: Regenerated.
19073         * sysdeps/mach/hurd/configure: Regenerated.
19074         * sysdeps/powerpc/configure: Regenerated.
19075         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19076         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19077         * sysdeps/s390/s390-32/configure: Regenerated.
19078         * sysdeps/s390/s390-64/configure: Regenerated.
19079         * sysdeps/sh/configure: Regenerated.
19080         * sysdeps/sparc/configure: Regenerated.
19081         * sysdeps/unix/sysv/linux/configure: Regenerated.
19082         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19083         * sysdeps/x86_64/configure: Regenerated.
19085         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19086         defined.  Don't check if MAP is NULL.
19088 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19090         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19091         (_G_stat64): Likewise.
19092         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19093         (_G_stat64): Likewise.
19094         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19095         instead of struct _G_stat64.
19096         * libio/fileops.c (mmap_remap_check): Likewise.
19097         (decide_maybe_mmap): Likewise.
19098         (_IO_new_file_seekoff): Likewise.
19099         (_IO_file_stat): Likewise.
19100         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19101         _G_off64_t.
19102         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19103         instead of struct _G_stat64.
19104         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19106 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
19108         [BZ #14602]
19109         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19110         Replace with ...
19111         (CHECK_EOL): New macro.
19112         (two_way_short_needle): Check beginning of haystack for EOL.  Use
19113         CHECK_EOL.
19114         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19115         Replace with CHECK_EOL.
19116         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19117         Replace with CHECK_EOL.
19119 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
19121         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19122         type-generic.
19123         * math/libm-test.inc: Update comment listing what functions and
19124         macros are tested.
19125         (finite_test): New function.
19126         (isinf_test): Likewise.
19127         (isnan_test): Likewise.
19128         (fpclassify_test): Test subnormal input.
19129         (isfinite_test): Likewise.
19130         (isnormal_test): Likewise.
19131         (main): Call the new functions.
19133 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
19135         [BZ #14660]
19136         * Makerules (%.dynsym): Force C locale when running
19137         $(OBJDUMP) --dynamic-syms.
19139 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
19141         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19142         <stdint.h>.
19144 2012-10-06  David S. Miller  <davem@davemloft.net>
19146         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19147         upper 32-bits of the length value in %o2 since we use branch-on-register
19148         tests which consider the entire 64-bit register.
19150 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
19152         * string/test-strstr.c (check2): Add a test for page boundary.
19154 2012-10-05  David S. Miller  <davem@davemloft.net>
19156         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19157         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19158         file.
19159         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19160         sysdep_routines.
19161         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19162         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19163         and bzero when HWCAP_SPARC_CRYPTO is present.
19165 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
19167         [BZ #14602]
19168         * string/test-strstr.c (check2): New function.
19169         (test_main): Call check2.
19171         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19172         and bug-strchr1.
19173         * string/bug-strcasestr1.c (do_test): Moved to ...
19174         * string/test-strcasestr.c (check1): Here.  New function.
19175         (do_one_test): Break out result checking code into ...
19176         (check_result): This.  New function.
19177         (do_one_test): Call check_result.
19178         (test_main): Call check1.
19179         * string/bug-strchr1.c (do_test): Moved to ...
19180         * string/test-strchr.c (check1): Here.  New function.
19181         (do_one_test): Break out result checking code into ...
19182         (check_result): This.  New function.
19183         (do_one_test): Call check_result.
19184         (test_main): Call check1.
19185         * string/bug-strstr1.c (main): Moved to ...
19186         * string/test-strstr.c (check1): Here.  New function.
19187         (do_one_test): Break out result checking code into ...
19188         (check_result): This.  New function.
19189         (do_one_test): Call check_result.
19190         (test_main): Call check1.
19191         * string/bug-strcasestr1.c: Removed.
19192         * string/bug-strchr1.c: Likewise.
19193         * string/bug-strstr1.c: Likewise.
19195         * elf/Makefile (dl-routines): Add hwcaps.
19196         * elf/dl-support.c (_dl_important_hwcaps): Removed.
19197         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19198         (_dl_important_hwcaps): Moved to ...
19199         * elf/dl-hwcaps.c: Here.  New file.
19200         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19202         [BZ #14557]
19203         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19204         if IS_IN_rtld isn't defined.
19206         * elf/dl-support.c (_dl_sysinfo_map): New.
19207         Include "get-dynamic-info.h" and "setup-vdso.h".
19208         (_dl_non_dynamic_init): Call setup_vdso.
19209         * elf/dynamic-link.h: Don't include <assert.h>.
19210         (elf_get_dynamic_info): Moved to ...
19211         * elf/get-dynamic-info.h: Here.  New file.
19212         * elf/dynamic-link.h: Include "get-dynamic-info.h".
19213         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19214         * elf/setup-vdso.h: Here.  New file.
19215         * elf/rtld.c: Include "setup-vdso.h".
19216         (dl_main): Call setup_vdso.
19218 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
19220         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19221         creal in comment listing functions tested.  List finite, isinf,
19222         isnan, isless, islessequal, isgreater, isgreaterequal,
19223         islessgreater, isunordered, lgamma_r and pow10 as functions and
19224         macros not tested.  Mention which functions not tested are aliases
19225         for other functions.  Fix typo.  Note that signs of NaNs are not
19226         tested.
19228         * scripts/config.guess: Update from config.git.
19229         * scripts/config.sub: Likewise.
19231 2012-10-04  Roland McGrath  <roland@hack.frob.com>
19233         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19234         * misc/madvise.c (madvise): Renamed to __madvise.
19235         Make madvise a weak alias.
19236         * include/sys/mman.h: Declare __madvise.
19237         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19238         * sysdeps/unix/syscalls.list
19239         (madvise): Make __madvise the strong name, and madvise a weak alias.
19240         * sysdeps/unix/sysv/linux/syscalls.list
19241         (madvise, mmap): Remove redundant entries.
19242         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19243         * malloc/malloc.c (mtrim): Likewise.
19244         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19246 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19248         * sysdeps/mach/hurd/dl-cache.c: File removed.
19249         * config.h.in (USE_LDCONFIG): New #undef.
19250         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19251         * configure: Regenerated.
19252         * elf/Makefile (dl-routines): Add dl-cache only under
19253         [$(use-ldconfig) = yes].
19254         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19255         cache on [USE_LDCONFIG].
19256         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19257         [USE_LDCONFIG].
19258         * elf/rtld.c (dl_main): Likewise.
19260 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
19262         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19263         _SC_LEVEL4_CACHE_LINESIZE.
19265 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19267         * sysdeps/unix/bsd/confstr.h: File removed.
19269 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
19271         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19272         sys/sdt-config.h.
19274 2012-10-02  Roland McGrath  <roland@hack.frob.com>
19276         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19277         Make 'mapoff' field ElfW(Off) rather than off_t.
19279 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
19281         * nscd/Makefile: Remove nscd-cflags and all its users.
19282         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19283         (CFLAGS-nonlib): Add compiler flags for nscd modules.
19285         [BZ #10631]
19286         * malloc.c (malloc_printerr): Clarify error message.
19288 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
19290         [BZ #14648]
19291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19292         Set bit_FMA_Usable if FMA is supported.
19293         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19294         macro.
19295         (bit_FMA4_Usable): Updated.
19296         (index_FMA_Usable): New macro.
19297         (CPUID_FMA): Likewise
19298         (HAS_FMA): Defined with bit_FMA_Usable.
19300 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19302         * bits/types.h (__swblk_t): Type removed.
19303         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19304         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19305         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19306         (__SWBLK_T_TYPE): Likewise.
19307         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19308         (__SWBLK_T_TYPE): Likewise.
19309         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19310         (__SWBLK_T_TYPE): Likewise.
19311         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19312         (__SWBLK_T_TYPE): Likewise.
19314 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
19315             Honza Horak <hhorak@redhat.com>
19317         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19318         (xdr_mapname): Use YPMAXMAP as maxsize.
19319         (xdr_peername): Use YPMAXPEER as maxsize.
19320         (xdr_keydat): Use YPAXRECORD as maxsize.
19321         (xdr_valdat): Use YPMAXRECORD as maxsize.
19323 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19325         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19327         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19328         * csu/init-first.c: ... here.
19329         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19330         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19331         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19332         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19333         * sysdeps/i386/init-first.c: File removed.
19334         * sysdeps/sh/init-first.c: File removed.
19336 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
19338         [BZ #14645]
19339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19340         if x * y might underflow to zero and z is zero.
19341         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19342         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19343         * math/libm-test.inc (min_subnorm_value): New variable.
19344         (fma_test): Add more tests.
19345         (fma_test_towardzero): Likewise.
19346         (fma_test_downward): Likewise
19347         (fma_test_upward): Likewise.
19348         (initialize): Set min_subnorm_value.
19350 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19352         [BZ #14638]
19353         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19354         0 + 0.
19355         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19356         mode for addition resulting in exact zero.
19357         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19358         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19359         exact 0 + 0.
19360         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19361         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19362         * math/libm-test.inc (fma_test): Add more tests.
19363         (fma_test_towardzero): New function.
19364         (fma_test_downward): Likewise.
19365         (fma_test_upward): Likewise.
19366         (main): Call the new functions.
19368 2012-09-28  David S. Miller  <davem@davemloft.net>
19370         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19372 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19374         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19375         instead of SIGALRM.
19377         * sysdeps/gnu/_G_config.h: Moved to ...
19378         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19379         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19380         * sysdeps/generic/_G_config.h: ... here.
19382         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19384         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19386         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19387         Conditionalize target on [libnss_test1.so-version].
19389         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19391         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19392         (elfobjdir): Move out of conditionals.
19394         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19395         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19396         (__nss_lookup_function): Conditionalize label remove_from_tree on
19397         [!DO_STATIC_NSS || SHARED], matching its only use.
19399 2012-09-28  David S. Miller  <davem@davemloft.net>
19401         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19402         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19403         file.
19404         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19405         sysdep_routines.
19406         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19407         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19408         when HWCAP_SPARC_CRYPTO is present.
19410 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19412         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19414 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19416         [BZ #6530]
19417         * stdio-common/vfprintf.c (process_string_arg): Revert
19418         2000-07-22 change.
19420 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19422         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19423         for testcase.
19424         * stdio-common/tst-sprintf.c: Include <locale.h>
19425         (main): Test sprintf's handling of incomplete multibyte
19426         characters.
19428 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19430         * elf/dl-runtime.c (VERSYMIDX): Removed.
19431         * elf/dl-version.c (VERSYMIDX): Likewise.
19432         * elf/do-rel.h (VERSYMIDX): Likewise.
19433         (VALIDX): Likewise.
19434         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19435         * elf/rtld.c (VALIDX): Likewise.
19436         (ADDRIDX): Likewise.
19437         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19438         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19439         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19440         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19441         (VALIDX): Likewise.
19442         (ADDRIDX): Likewise.
19444 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19446         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19448 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19450         [BZ #11438]
19451         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19452         to global scope.
19453         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19454         addresses are in the same scope as 192.0.2/24.
19455         * posix/gai.conf: Document new scope table defaults.
19457 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19459         [BZ #5298]
19460         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19461         for ftell.  Compute offsets from write pointers instead.
19462         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19464 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19466         [BZ #14543]
19467         * libio/Makefile (tests): New test case tst-fseek.
19468         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19469         combination works in wide mode.
19470         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19471         state when the external buffer state changes.
19473 2012-09-27  David S. Miller  <davem@davemloft.net>
19475         [BZ #14376]
19476         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19477         pass reloc->r_addend in as the 'high' argument to
19478         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19482 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19484         * rt/tst-aio2.c: Include <pthread.h>.
19485         * rt/tst-aio3.c: Likewise.
19487 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19489         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19491 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19493         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19494         contents on [SHARED].
19496 2012-09-26  Marek Polacek  <polacek@redhat.com>
19498         [BZ #14530]
19499         [BZ #13741]
19500         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19501         for C++ and GCC <4.3 as well as for non GCC compilers.
19503 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19507 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19509         * Makefile.in (all, install): Declare with .PHONY.
19510         Reported by Michael Hope <michael.hope@linaro.org>.
19512 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19514         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19515         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19516         system header.
19517         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19518         Likewise.
19519         (sydep_routines): Add the new and the internal functions.
19520         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19521         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19523         (GLIBC_2.17): Add the new function.
19524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19525         (GLIBC_2.17): Likewise.
19526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19527         (GLIBC_2.17): Likewise.
19528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19529         (GLIBC_2.17): Likewise.
19530         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19532 2012-09-25  Alan Modra  <amodra@gmail.com>
19534         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19535         Add release barrier before setting once_control to say
19536         initialisation is done.  Add hints on lwarx.  Use macro in
19537         place of isync.
19538         (clear_once_control): Add release barrier.
19540 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19542         [BZ #13629]
19543         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19544         specially.
19545         * math/s_clog10.c (__clog10): Likewise.
19546         * math/s_clog10f.c (__clog10f): Likewise.
19547         * math/s_clog10l.c (__clog10l): Likewise.
19548         * math/s_clogf.c (__clogf): Likewise.
19549         * math/s_clogl.c (__clogl): Likewise.
19550         * math/Makefile (libm-calls): Add x2y2m1.
19551         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19552         (__x2y2m1): Likewise.
19553         (__x2y2m1l): Likewise.
19554         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19555         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19556         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19557         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19558         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19559         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19560         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19561         * sysdeps/i386/fpu/libm-test-ulps: Update.
19562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19564         [BZ #14621]
19565         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19566         int as type of variable DEPTH.
19567         (glob): Use size_t instead of int as type of variables NEWCOUNT
19568         and OLD_PATHC.
19570 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19572         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19573         Add s_sincosf-sse2.
19574         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19575         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19576         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19577         macros for using routine as __sincosf_ia32.
19578         Use macro for function declaration and weak_alias.
19579         * sysdeps/i386/fpu/libm-test-ulps: Update.
19581         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19582         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19584         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19585         subnormal argument.
19586         * math/s_cexpf.c (__cexpf): Likewise.
19587         * math/s_csinf.c (__csinf): Likewise.
19588         * math/s_csinhf.c (__csinhf): Likewise.
19589         * math/s_ctanf.c (__ctanf): Likewise.
19590         * math/s_ctanhf.c (__ctanhf): Likewise.
19591         * math/s_ccosh.c (__ccoshf): Likewise.
19592         * math/s_cexp.c (__cexpl): Likewise.
19593         * math/s_csin.c (__csin): Likewise.
19594         * math/s_csinh.c (__csinh): Likewise.
19595         * math/s_ctan.c (__ctan): Likewise.
19596         * math/s_ctanh.c (ctanh): Likewise.
19597         * math/s_ccoshl.c (__ccoshl): Likewise.
19598         * math/s_cexpl.c (__cexpl): Likewise.
19599         * math/s_csinl.c (__csinl): Likewise.
19600         * math/s_csinhl.c (__csinhl): Likewise.
19601         * math/s_ctanl.c (__ctanl): Likewise.
19602         * math/s_ctanhl.c (__ctanhl): Likewise.
19604 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19606         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19607         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19608         (_IO_off_t): Define to __off_t, not _G_off_t.
19609         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19610         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19611         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19612         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19613         type of __dummy and __dummy2 fields.
19614         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19615         (_G_ssize_t): Likewise.
19616         (_G_off_t): Likewise.
19617         (_G_pid_t): Likewise.
19618         (_G_uid_t): Likewise.
19619         (_G_wchar_t): Likewise.
19620         (_G_wint_t): Likewise.
19621         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19622         (_G_ssize_t): Likewise.
19623         (_G_off_t): Likewise.
19624         (_G_pid_t): Likewise.
19625         (_G_uid_t): Likewise.
19626         (_G_wchar_t): Likewise.
19627         (_G_wint_t): Likewise.
19628         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19629         (_G_ssize_t): Likewise.
19630         (_G_off_t): Likewise.
19631         (_G_pid_t): Likewise.
19632         (_G_uid_t): Likewise.
19633         (_G_wchar_t): Likewise.
19634         (_G_wint_t): Likewise.
19636 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19638         * malloc/arena.c: Include malloc-sysdep.h.
19639         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19640         is sufficient to shrink the heap or an unmap is needed.
19641         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19642         new function check_may_shrink_heap.
19643         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19644         new function check_may_shrink_heap.
19646 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19648         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19649         comments.
19651 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19653         * catgets/test-gencat.sh: Add "set -e".
19654         * elf/tst-pathopt.sh: Likewise.
19655         * grp/tst_fgetgrent.sh: Likewise.
19656         * iconvdata/run-iconv-test.sh: Likewise.
19657         * intl/tst-gettext.sh: Likewise.
19658         * intl/tst-gettext2.sh: Likewise.
19659         * intl/tst-gettext4.sh: Likewise.
19660         * intl/tst-gettext6.sh: Likewise.
19661         * intl/tst-translit.sh: Likewise.
19662         * io/ftwtest-sh: Likewise.
19663         * libio/test-freopen.sh: Likewise.
19664         * malloc/tst-mtrace.sh: Likewise.
19665         * posix/globtest.sh: Likewise.
19666         * posix/tst-getconf.sh: Likewise.
19667         * posix/wordexp-tst.sh: Likewise.
19668         * stdio-common/tst-printf.sh: Likewise.
19669         * stdio-common/tst-unbputc.sh: Likewise.
19670         * stdlib/tst-fmtmsg.sh: Likewise.
19671         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19672         * catgets/Makefile: Do not specify -e option when running
19673         testsuite shell scripts.
19674         * elf/Makefile: Likewise.
19675         * grp/Makefile: Likewise.
19676         * iconvdata/Makefile: Likewise.
19677         * intl/Makefile: Likewise.
19678         * io/Makefile: Likewise.
19679         * libio/Makefile: Likewise.
19680         * malloc/Makefile: Likewise.
19681         * posix/Makefile: Likewise.
19682         * stdio-common/Makefile: Likewise.
19683         * stdlib/Makefile: Likewise.
19684         * sysdeps/x86_64/Makefile: Likewise.
19686         * io/ftwtest-sh: Add copyright header.
19687         * posix/globtest.sh: Likewise.
19688         * posix/tst-getconf.sh: Likewise.
19689         * posix/wordexp-tst.sh: Likewise.
19690         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19692 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19694         [BZ #13679]
19695         * Makeconfig (+link): Defined as $(+link-static) if
19696         $(build-shared) isn't yes.
19697         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19698         isn't yes.
19699         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19701         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19703         [BZ #14562]
19704         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19705         new chunk size with MALLOC_ALIGN_MASK.
19707 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19709         [BZ #5044]
19710         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19711         <rounding-mode.h>.
19712         (__printf_fphex): Determine rounding using get_rounding_mode and
19713         round_away.
19714         * stdio-common/tst-printf-round.c (struct hex_test): New
19715         structure.
19716         (hex_tests): New variable.
19717         (test_hex_in_one_mode): New function.
19718         (do_test): Also run tests for hex float output.
19720 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19722         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19723         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19724         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19725         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19726         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19727         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19728         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19729         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19731 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19733         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19734         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19735         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19736         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19738 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19740         [BZ #14579]
19741         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19742         mode only.
19743         * elf/tst-rtld-load-self.sh: New test.
19744         * elf/Makefile: Run it.
19746 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19748         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19749         (tst-writev-ENV): Remove.
19750         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19752 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19754         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19756 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19758         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19759         unconditional.
19760         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19761         Likewise.
19762         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19763         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19764         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19765         Likewise.
19767 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19769         [BZ #14587]
19770         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19771         * config.make.in (have-cpp-asm-debuginfo): Removed.
19772         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19773         * configure: Regenerated.
19775 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19777         [BZ #5044]
19778         * stdio-common/printf_fp.c: Include <stdbool.h> and
19779         <rounding-mode.h>.
19780         (___printf_fp): Determine rounding using get_rounding_mode and
19781         round_away.
19782         * stdio-common/tst-printf-round.c: New file.
19783         * stdio-common/Makefile (tests): Add tst-printf-round.
19784         (link-libm): New variable.
19785         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19787 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19789         [BZ #14576]
19790         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19791         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19792         Likewise.
19793         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19794         Likewise.
19796 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19798         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19799         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19800         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19801         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19803 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19805         [BZ #14518]
19806         * include/rounding-mode.h: New file.
19807         * sysdeps/generic/get-rounding-mode.h: Likewise.
19808         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19809         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19810         (MAX_VALUE): New macro.
19811         (MIN_VALUE): Likewise.
19812         (overflow_value): New function.
19813         (underflow_value): Likewise.
19814         (round_and_return): Use overflow_value and underflow_value to
19815         determine return values in overflow and underflow cases.  Use
19816         round_away to determine rounding depending on rounding mode.
19817         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19818         determine return values in overflow and underflow cases.
19819         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19820         (struct test_results): New structure.
19821         (struct test): Use struct test_results to store expected results
19822         for all rounding modes.
19823         (TEST): Include expected results for all rounding modes.
19824         (test_in_one_mode): New function.
19825         (do_test): Use test_in_one_mode to compute and check results.
19826         Check results for all rounding modes.
19827         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19828         $(link-libm).
19830 2012-12-09  Allan McRae  <allan@archlinux.org>
19832         * sysdeps/i386/fpu/libm-test-ulps: Update
19834 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19836         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19837         (_G_int32_t): Likewise.
19838         (_G_uint16_t): Likewise.
19839         (_G_uint32_t): Likewise.
19840         (_G_HAVE_BOOL): Likewise.
19841         (_G_HAVE_ATEXIT): Likewise.
19842         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19843         (_G_HAVE_IO_FILE_OPEN): Likewise.
19844         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19845         (_G_int32_t): Likewise.
19846         (_G_uint16_t): Likewise.
19847         (_G_uint32_t): Likewise.
19848         (_G_HAVE_BOOL): Likewise.
19849         (_G_HAVE_ATEXIT): Likewise.
19850         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19851         (_G_HAVE_IO_FILE_OPEN): Likewise.
19852         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19853         (_G_int32_t): Likewise.
19854         (_G_uint16_t): Likewise.
19855         (_G_uint32_t): Likewise.
19856         (_G_HAVE_BOOL): Likewise.
19857         (_G_HAVE_ATEXIT): Likewise.
19858         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19859         (_G_HAVE_IO_FILE_OPEN): Likewise.
19861 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19863         * csu/libc-tls.c: Update copyright years.
19865 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19867         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19868         [!_G_USING_THUNKS]: Remove conditional code.
19869         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19870         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19872         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19873         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19874         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19875         (_G_VTABLE_LABEL_PREFIX): Likewise.
19876         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19877         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19878         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19879         (_G_VTABLE_LABEL_PREFIX): Likewise.
19880         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19881         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19882         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19883         (_G_VTABLE_LABEL_PREFIX): Likewise.
19884         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19886 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19888         * libio/Makefile: Include ../Makeconfig before tests.
19889         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19890         only if $(build-shared) is yes.
19892         * iconv/gconv_db.c: Update copyright years.
19894 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19896         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19897         unwind info if defined PIC. Fix special cases description.
19898         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19900         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19901         DP_HI_MASK entry.
19902         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19904 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19906         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19908         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19909         is NULL.
19911         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19912         (LDLIBS-tst-chk4): This.
19913         (LDFLAGS-tst-chk5): Renamed to ...
19914         (LDLIBS-tst-chk5): This.
19915         (LDFLAGS-tst-chk6): Renamed to ...
19916         (LDLIBS-tst-chk6): This.
19917         (LDFLAGS-tst-lfschk4): Renamed to ...
19918         (LDLIBS-tst-lfschk4): This.
19919         (LDFLAGS-tst-lfschk5): Renamed to ...
19920         (LDLIBS-tst-lfschk5): This.
19921         (LDFLAGS-tst-lfschk6): Renamed to ...
19922         (LDLIBS-tst-lfschk6): This.
19924         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19925         on $(common-objpfx)soversions.mk.
19927 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19929         [BZ #10014]
19930         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19931         example host name.
19933 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19935         * malloc/arena.c (arena_get_retry): New function that gets
19936         another arena for the caller to try its request on.
19937         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19938         current arena cannot fulfill the request.
19939         (__libc_memalign): Likewise.
19940         (__libc_memalign): Likewise.
19941         (__libc_pvalloc): Likewise.
19942         (__libc_calloc): Likewise.
19944 2012-09-05  John Tobey  <john.tobey@gmail.com>
19946         [BZ #13542]
19947         * manual/arith.texi (Operations on Complex): Fix description
19948         of carg branch cut.
19950 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19952         [BZ #10014]
19953         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19954         host name.
19956         [BZ #10038]
19957         * manual/memory.texi (Memory): Make order of menu items match
19958         order of sections.
19960 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19962         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19963         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19964         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19966 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19968         * csu/libc-tls.c (static_dtv): Renamed to ...
19969         (_dl_static_dtv): This.  Make it global.
19970         (_dl_initial_dtv): Removed.
19971         (__libc_setup_tls): Updated.
19972         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19973         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19974         DL_INITIAL_DTV.
19976 2012-09-06  Petr Machata  <pmachata@redhat.com>
19978         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19979         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19980         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19981         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19983 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19985         [BZ #14545]
19986         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19987         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19988         freeing dtv[-1].
19990 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19992         [BZ #14544]
19993         * Makeconfig (link-static-before-libc): Replace $(+prector)
19994         with $(+prectorT).
19995         (link-static-after-libc): Replace $(+postctor) with
19996         $(+postctorT).
19997         (link-bounded): Replace $(+prector)/$(+postctor) with
19998         $(+prectorT)/$(+postctorT).
19999         (+prectorT): New macro.
20000         (+postctorT): Likewise.
20002 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20004         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20005         (round_str): Handle values above the maximum for IBM long double
20006         as inexact.
20007         * stdlib/tst-strtod-round.c (tests): Regenerated.
20009 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20011         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20012         assembler flag.
20013         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20014         zarch_nohighgprs around the zarch optimized routines.
20015         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20016         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20017         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20018         for zarch.
20020 2012-09-05  David S. Miller  <davem@davemloft.net>
20022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20024         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20025         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20026         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20027         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20028         entries.
20030 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20032         * malloc/arena.c: Fold copyright years.
20033         * malloc/mcheck.c, malloc/memusage.c: Likewise.
20035 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20037         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20039 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20041         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
20043 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20045         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20046         change internal state upon failure.
20048 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20050         * malloc/mcheck.c (mcheck_check_all): Fix typo.
20051         * malloc/memusage.c (mmap): Likewise.
20052         (mmap64, mremap): Likewise.  Adjust name in comment.
20054 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20056         * libio/fileops.c: Fix typos in comments.
20057         * libio/oldfileops.c: Likewise.
20058         * libio/wfileops.c: Likewise.
20060 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20062         [BZ #1349]
20063         * malloc/Makefile (tests): Add tst-malloc-usable test case.
20064         (tst-malloc-usable-ENV): Set environment for test case.
20065         * malloc/hooks.c (malloc_check_get_size): New function to get
20066         requested size.
20067         * malloc/malloc.c (musable): Use malloc_check_get_size.
20068         * malloc/tst-malloc-usable.c: New test case.
20070 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20072         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20074 2012-09-05  Allan McRae  <allan@archlinux.org>
20076         [BZ #13966]
20077         * configure.in (CXX_SYSINCLUDES): Use compiler output to
20078         determine header location.
20079         * configure: Regenerated.
20081 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20083         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20084         float format.
20085         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20086         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20087         format.
20088         (test): Regenerate.
20090 2012-09-04  David S. Miller  <davem@davemloft.net>
20092         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20093         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20094         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20096 2012-09-04  Florian Weimer  <fweimer@redhat.com>
20098         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20099         failures.
20101         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20103 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
20105         [BZ #9914]
20106         * libio/iogetdelim.c: Include <limits.h>.
20107         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20108         + len + 1 would overflow.
20110 2012-09-03  Andreas Jaeger  <aj@suse.de>
20112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20113         * sysdeps/i386/fpu/libm-test-ulps: Update.
20115 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20117         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20118         Add s_sinf-sse2, s_conf-sse2.
20120         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20121         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20122         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20123         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20125         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20126         for using routine as __sinf_ia32.
20127         Use macro for function declaration and weak_alias.
20128         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20129         for using routine as __cosf_ia32.
20130         Use macro for function declaration and weak_alias.
20132         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20133         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20135         * sysdeps/x86_64/fpu/s_sinf.S: New file.
20136         * sysdeps/x86_64/fpu/s_cosf.S: New file.
20137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20139         * math/libm-test.inc (cos_test): Add more test cases.
20140         (sin_test): Likewise.
20141         (sincos_test): Likewise.
20143 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20145         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20146         (IFUNC_RESOLVE): Make pointers to the specialized implementations
20147         hidden.
20148         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20150 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
20152         [BZ #14538]
20153         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20154         first element of the GOT.
20155         (elf_machine_load_address): Return the difference between
20156         the runtime address of _DYNAMIC and elf_machine_dynamic ().
20158 2012-09-01  Allan McRae  <allan@archlinux.org>
20160         [BZ #13412]
20161         * configure.in (AWK): Require gawk version 3.0 or later.
20162         * configure: Regenerated.
20164 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
20166         * sysdeps/unix/sysv/linux/kernel-features.h
20167         (__ASSUME_POSIX_CPU_TIMERS): Remove.
20168         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20169         [__NR_clock_getres]: Make code unconditional.
20170         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20171         (clock_getcpuclockid): Remove code left unreachable by removal of
20172         conditionals.
20173         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20174         code unconditional.
20175         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20176         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20177         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20178         Make code unconditional.
20179         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20180         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20181         * sysdeps/unix/sysv/linux/clock_settime.c
20182         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20183         conditional code.
20184         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20185         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20187 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
20189         [BZ #14476]
20190         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20191         scripts/test-installation.pl.
20193         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20194         and $ld_so_version if it is set.
20196 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20198         [BZ #14516]
20199         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20200         failure if reading from procfs failed.
20201         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20203 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20205         * sysdeps/unix/sysv/linux/kernel-features.h
20206         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20207         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20208         Remove conditional code.
20209         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20210         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20211         Remove conditional code.
20212         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20213         * sysdeps/unix/sysv/linux/i386/fxstat.c
20214         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20215         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20216         * sysdeps/unix/sysv/linux/i386/fxstatat.c
20217         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20218         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20219         * sysdeps/unix/sysv/linux/i386/lxstat.c
20220         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20221         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20222         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20223         Remove conditional code.
20224         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20225         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20226         Remove conditional code.
20227         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20228         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20229         <kernel-features.h>.
20230         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20231         Remove.
20232         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20233         Remove conditional code.
20234         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20235         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20236         Remove conditional.
20238 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
20240         [BZ #5400]
20241         * NEWS: Add fixed bug number.
20243 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20245         [BZ #14519]
20246         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20247         underflowing exponent in case of negative sign.
20248         * stdlib/tst-strtod-round-data: Add more tests.
20249         * stdlib/tst-strtod-round.c (tests): Regenerated.
20251         [BZ #3479]
20252         * stdlib/strtod_l.c (NDIG): Remove.
20253         (HEXNDIG): Likewise.
20254         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20255         smallest representable value.
20256         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20257         lie within an exact representation of 1/2 ulp of the result.
20258         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20259         unconditionally.
20260         (TENS_P9_IDX): Define unconditionally.
20261         (TENS_P9_SIZE): Likewise.
20262         (TENS_P10_IDX): Likewise.
20263         (TENS_P10_SIZE): Likewise.
20264         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20265         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20266         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20267         entries for 10^2^13 and 10^2^14.
20268         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20269         (TENS_P13_IDX): Define.
20270         (TENS_P13_SIZE): Likewise.
20271         (TENS_P14_IDX): Likewise.
20272         (TENS_P14_SIZE): Likewise.
20273         (_fpioconst_pow10): Change array size to
20274         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
20275         unconditional.
20276         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20277         1024]: Add entries for 10^2^13 and 10^2^14.
20278         [LAST_POW10 > _LAST_POW10]: Remove #error.
20279         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20280         (_fpioconst_pow10): Change array size to
20281         FPIOCONST_POW10_ARRAY_SIZE.
20282         * stdlib/gen-fpioconst.c: New file.
20283         * stdlib/gen-tst-strtod-round.c: Likewise.
20284         * stdlib/tst-strtod-round-data: Likewise.
20285         * stdlib/tst-strtod-round.c: Likewise.
20286         * stdlib/Makefile (tests): Add tst-strtod-round.
20288         [BZ #14459]
20289         * stdlib/strtod_l.c: Include <stdint.h>.
20290         (NDEBUG): Do not define.
20291         (round_and_return): Change EXPONENT parameter to type intmax_t.
20292         Rearrange calculations to avoid internal overflow possibilities.
20293         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20294         Rearrange calculations to avoid internal overflow possibilities.
20295         Assert that number fits inside MPNSIZE limbs.
20296         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20297         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
20298         calculations and add assertions to avoid internal overflow
20299         possibilities.  Add casts to avoid signed/unsigned operations.
20300         * stdlib/tst-strtod-overflow.c: New file.
20301         * stdlib/Makefile (tests): Add tst-strtod-overflow.
20303 2012-08-25  Marek Polacek  <polacek@redhat.com>
20305         * time/time.h: Fix some typos in comments.
20307 2012-08-23  Roland McGrath  <roland@hack.frob.com>
20309         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20310         * posix/tst-rfc3484-2.c: Likewise.
20311         * posix/tst-rfc3484-3.c: Likewise.
20313 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
20315         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20316         (EF_ARM_ABI_FLOAT_HARD): Likewise.
20318 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
20320         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20321         #include of fxstatat64.c.
20323 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20325         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20326         * shadow/getspent_r.c: Likewise.
20327         * shadow/getspnam.c: Likewise.
20328         * shadow/getspnam_r.c: Likewise.
20329         * gshadow/getsgent.c: Likewise.
20330         * gshadow/getsgent_r.c: Likewise.
20331         * gshadow/getsgnam.c: Likewise.
20332         * gshadow/getsgnam_r.c: Likewise.
20333         * inet/getnetbyad.c: Likewise.
20334         * inet/getnetbyad_r.c: Likewise.
20335         * inet/getnetbynm.c: Likewise.
20336         * inet/getnetbynm_r.c: Likewise.
20337         * inet/getnetent.c: Likewise.
20338         * inet/getnetent_r.c: Likewise.
20339         * inet/getproto.c: Likewise.
20340         * inet/getproto_r.c: Likewise.
20341         * inet/getprtent.c: Likewise.
20342         * inet/getprtent_r.c: Likewise.
20343         * inet/getprtname.c: Likewise.
20344         * inet/getprtname_r.c: Likewise.
20345         * inet/getrpcbyname.c: Likewise.
20346         * inet/getrpcbyname_r.c: Likewise.
20347         * inet/getrpcbynumber.c: Likewise.
20348         * inet/getrpcbynumber_r.c: Likewise.
20349         * inet/getrpcent.c: Likewise.
20350         * inet/getrpcent_r.c: Likewise.
20351         * inet/getaliasent.c: Likewise.
20352         * inet/getaliasent_r.c: Likewise.
20353         * inet/getaliasname.c: Likewise.
20354         * inet/getaliasname_r.c: Likewise.
20355         * nscd/getgrgid_r.c: Likewise.
20356         * nscd/getgrnam_r.c: Likewise.
20357         * nscd/gethstbyad_r.c: Likewise.
20358         * nscd/gethstbynm3_r.c: Likewise.
20359         * nscd/getpwnam_r.c: Likewise.
20360         * nscd/getpwuid_r.c: Likewise.
20361         * nscd/getsrvbynm_r.c: Likewise.
20362         * nscd/getsrvbypt_r.c: Likewise.
20363         * nscd/gai.c: Likewise.
20365         * configure.in (build_nscd): New substituted variable, set
20366         by --disable-build-nscd and defaults to $use_nscd.
20367         * configure: Regenerated.
20368         * config.make.in (build-nscd): New substituted variable.
20369         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20370         Change conditional to require [$(build-nscd) = yes] as well.
20371         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20373         [BZ# 13696]
20374         * configure.in (use_nscd): New substituted variable, set by
20375         --disable-nscd.  If enabled, define USE_NSCD.
20376         * configure: Regenerated.
20377         * config.h.in: Add USE_NSCD.
20378         * config.make.in (use-nscd): New substituted variable.
20379         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20380         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20381         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20382         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20383         (CFLAGS-getgrnam_r.c): Likewise.
20384         (CFLAGS-initgroups.c): Likewise.
20385         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20386         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20387         Variables removed.
20388         * inet/getnetgrent_r.c
20389         (nscd_setnetgrent): New function, broken out of ...
20390         (setnetgrent): ... here.  Call it.
20391         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20392         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20393         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20394         * nscd/Makefile (routines, aux): Move definitions after include of
20395         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20396         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20397         Conditionalize on [USE_NSCD].
20398         (is_nscd, nscd_init_cb): Likewise.
20399         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20400         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20401         * nss/nss_db/db-init.c: Likewise.
20402         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20403         [USE_NSCD].
20404         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20405         (make_request): Use it.
20406         (cache_valid_p): New function.
20407         (__check_pf): Use it.
20408         * NEWS: Add item for --disable-nscd.
20410 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20412         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20413         to support sed >= 4.2.1-20-ga9bf076.
20414         * configure: Regenerated.
20416 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20418         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20419         Conditionalize whole body on [IREL].
20421 2012-08-22  Jeff Law <law@redhat.com>
20423         [BZ #14505]
20424         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20425         if the family is PF_UNSPEC.
20427 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20429         * Makerules (lib-version): Rename from V.
20430         (install-lib-nosubdir): Change V to lib-version.
20432 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20434         [BZ #14252]
20435         * powerpc32/power6/wcschr.c: New file.
20436         * powerpc32/power6/wcscpy.c: New file.
20437         * powerpc32/power6/wcsrchr.c: New file.
20438         * powerpc64/power6/wcschr.c: New file.
20439         * powerpc64/power6/wcscpy.c: New file.
20440         * powerpc64/power6/wcsrchr.c: New file.
20442 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20444         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20445         (two_way_short_needle): Use it.
20446         * string/strstr.c (AVAILABLE1_USES_J): Define.
20447         * string/strcasestr.c: Likewise.
20449         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20450         array references.
20451         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20453         [BZ #11607]
20454         * NEWS: Add an entry.
20455         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20456         define their defaults.
20457         (two_way_short_needle): Detect end-of-string on-the-fly.
20458         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20459         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20460         * string/bug-strcasestr1.c: New test.
20461         * string/Makefile: Run it.
20463 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20465         [BZ #11607]
20466         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20467         the first character.
20469 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20471         * csu/elf-init.c (__libc_csu_irel): Function removed.
20472         * csu/libc-start.c (apply_irel): New function.
20473         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20475 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20477         * sysdeps/unix/sysv/linux/kernel-features.h
20478         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20479         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20480         <kernel-features.h>.
20481         [__NR_fadvise64_64]: Make code unconditional.
20482         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20483         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20484         !__NR_fadvise64_64)]: Likewise.
20485         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20486         !__NR_fadvise64_64))]: Likewise.
20487         [__NR_fadvise64]: Make code unconditional.
20488         [!__NR_fadvise64]: Remove conditional code.
20489         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20490         <kernel-features.h>.
20491         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20492         unconditional.
20493         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20494         conditional code.
20495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20496         not include <kernel-features.h>.
20497         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20498         unconditional.
20499         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20500         conditional code.
20501         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20502         include <kernel-features.h>.
20503         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20504         unconditional.
20505         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20506         conditional code.
20508 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20510         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20511         slight instruction rearrangements per scrollpipe analysis.
20512         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20514 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20516         * manual/syslog.texi (syslog; vsyslog, closelog):
20517         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20518         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20520         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20521         DSOCAPS to match condition on defining it.
20523 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20525         * sysdeps/unix/sysv/linux/kernel-features.h
20526         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20528         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20529         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20531         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20532         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20534         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20535         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20537         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20538         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20540         * sysdeps/unix/sysv/linux/kernel-features.h
20541         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20542         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20543         unconditional.
20544         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20545         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20546         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20547         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20548         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20549         Make code unconditional.
20550         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20551         (__mmap64) [!__NR_mmap2]: Likewise.
20552         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20553         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20554         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20555         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20556         [__NR_mmap2]: Make code unconditional.
20557         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20558         (__mmap64) [!__NR_mmap2]: Likewise.
20560 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20562         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20564 2012-08-18  Andreas Jaeger  <aj@suse.de>
20566         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20568 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20570         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20571         * include/unistd.h (__have_sock_cloexec): Likewise.
20572         (__have_pipe2): Likewise.
20573         (__have_dup3): Likewise.
20575 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20577         [BZ #9685]
20578         * include/unistd.h (__have_pipe2): Change define into an extern int.
20579         (__have_dup3): Likewise.
20580         * socket/have_sock_cloexec.c: Include fcntl.h.
20581         (__have_pipe2): New variable.
20582         (__have_dup3): Likewise.
20584 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20586         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20588 2012-08-17  Marek Polacek  <polacek@redhat.com>
20590         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20591         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20593 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20595         * configure.in: Add AC_SUBST for sysheaders.
20596         * configure: Regenerated.
20597         * config.make.in (sysheaders): New substituted variable.
20599         * sysdeps/unix/mkfifo.c: Moved ...
20600         * sysdeps/posix/mkfifo.c: ... here.
20601         * sysdeps/unix/mkfifoat.c: Moved ...
20602         * sysdeps/posix/mkfifoat.c: ... here.
20604         * sysdeps/unix/utime.c: Moved ...
20605         * sysdeps/posix/utime.c: ... here.
20607         * sysdeps/unix/time.c: Moved ...
20608         * sysdeps/posix/time.c: ... here.
20609         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20610         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20612         * sysdeps/unix/nice.c: Moved ...
20613         * sysdeps/posix/nice.c: ... here.
20615         * sysdeps/unix/alarm.c: Moved ...
20616         * sysdeps/posix/alarm.c: ... here.
20618         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20620 2012-08-17  Jeff Law <law@redhat.com>
20622         * intl/Makefile (codeset_mo): New variable.
20623         ($(codeset_mo)): New target.
20624         (tst-codeset.out): Depend on that.  Remove explicit rule.
20625         (tst-gettext3.out, tst-gettext5.out): Likewise.
20626         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20627         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20628         * intl/tst-codeset.sh: Remove.
20629         * intl/tst-gettext3.sh: Likewise.
20630         * intl/tst-gettext5.sh: Likewise.
20632 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20634         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20635         * sysdeps/unix/syscalls.list: ... here.
20637         * sysdeps/posix/getaddrinfo.c
20638         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20639         (gaiconf_init, gaiconf_reload): Use them.
20640         [!_STATBUF_ST_NSEC]
20641         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20642         Define using time_t rather than struct timespec.
20644         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20645         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20646         Macros removed.
20647         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20648         [!NO_THREADS].
20649         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20650         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20651         Likewise.
20653         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20654         __libc_cleanup_push argument.
20656         * bits/param.h: New file.
20657         * misc/sys/param.h: New file.
20658         * include/sys/param.h: New file.
20659         * misc/Makefile (headers): Add bits/param.h.
20660         * sysdeps/generic/sys/param.h: File removed.
20661         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20662         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20663         * sysdeps/mach/hurd/bits/param.h: New file.
20664         * sysdeps/mach/hurd/sys/param.h: File removed.
20666         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20667         last change.
20669         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20670         [_IO_MTSAFE_IO].
20671         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20672         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20673         New macros.
20675         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20676         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20677         rather than -D_IO_MTSAFE_IO conditionally.
20678         * stdio-common/Makefile (CPPFLAGS): Likewise.
20679         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20680         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20681         Use $(libio-mtsafe).
20682         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20683         of -D_IO_MTSAFE_IO.
20684         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20685         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20686         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20687         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20688         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20689         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20690         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20691         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20692         (CFLAGS-fread_u_chk.c): Likewise.
20693         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20694         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20695         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20696         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20697         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20698         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20699         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20700         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20701         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20703         * libio/Makefile: Test [$(libc-reentrant) = yes]
20704         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20706         * Makeconfig
20707         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20708         * sysdeps/pthread/configure: File removed.
20709         * sysdeps/pthread/Makeconfig: New file.
20710         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20711         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20713 2012-08-16  Gary Benson  <gbenson@redhat.com>
20715         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20716         unmapping the first object in a namespace.
20718 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20720         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20721         (__internal_setnetgrent): ... this.  Add internal_function to
20722         definition.  Add libc_hidden_def.
20723         (setnetgrent): Update caller.
20724         (internal_endnetgrent): Renamed to ...
20725         (__internal_endnetgrent): ... this.  Add internal_function to
20726         definition.  Add libc_hidden_def.
20727         (endnetgrent): Update caller.
20728         (internal_getnetgrent_r): Renamed to ...
20729         (__internal_getnetgrent_r): ... this.  Add internal_function to
20730         definition.  Add libc_hidden_def.
20731         (__getnetgrent_r): Update caller.
20732         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20734 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20736         * stdlib/longlong.h: Update from GCC.
20738 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20740         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20741         on _QL, which is set by umul_ppmm but never used.
20742         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20743         variables, which are set by GMP macros but never used.
20744         * stdio-common/_itowa.c (_itowa): Likewise.
20745         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20746         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20748 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20750         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20751         struct La_sh_regs is not constant.
20752         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20753         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20754         and struct La_sparc64_regs are not constant.
20756 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20758         * sysdeps/unix/sysv/linux/kernel-features.h
20759         (__ASSUME_POSIX_TIMERS): Remove.
20760         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20761         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20762         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20763         Make code unconditional.
20764         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20765         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20766         Make code unconditional.
20767         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20768         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20769         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20770         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20771         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20772         Make code unconditional.
20773         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20774         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20775         (__libc_missing_posix_timers): Remove.
20777 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20779         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20780         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20782         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20784         * elf/dl-sym.c: Include <stdlib.h>.
20786         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20787         constants, which avoids warnings in 32-bit builds.
20789         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20790         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20792         * misc/lseek.c: File moved to ...
20793         * io/lseek.c: ... here.
20795         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20797         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20798         shifting LEN more than 31 bits at once.
20800 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20802         [BZ #14195]
20803         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20804         segmentation fault for a case of two empty input strings.
20805         * string/test-strncasecmp.c (check1): Renamed to...
20806         (bz12205): ...this.
20807         (bz14195): Add new testcase for two empty input strings and N > 0.
20808         (test_main): Call new testcase, adapt for renamed function.
20810 2012-08-15  Andreas Jaeger  <aj@suse.de>
20812         [BZ #14090]
20813         * crypt/md5test2.c: New test, based on test supplied by Serge
20814         Belyshev <belyshev@depni.sinp.msu.ru>.
20815         * crypt/Makefile (xtests): Add md5test-giant..
20816         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20818 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20820         [BZ #14090]
20821         * crypt/md5.c (md5_process_block): Don't assume the buffer
20822         length is less than 2**32.
20823         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20824         length is less than 2**64.
20826 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20828         * string/str-two-way.h: Include <sys/param.h>.
20829         (MAX): Macro removed.
20831         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20832         Move #define and #undef of memmove to just before and after
20833         including <string.h>.
20835         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20836         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20837         and after including <string.h>.  Move declarations of
20838         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20839         to before #include "string/memmove.c".
20841         * include/dirent.h: Declare __getdirentries.
20843         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20844         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20846 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20848         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20849         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20850         * sysdeps/i386/configure: Regenerated.
20851         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20852         STABS_CURRENT_FILE, and STABS_FUN.
20853         (END): Remove call to STABS_FUN_END.
20854         (STABS_CURRENT_FILE1): Delete.
20855         (STABS_CURRENT_FILE): Likewise.
20856         (STABS_FUN): Likewise.
20857         (STABS_FUN_END): Likewise.
20858         (STABS_FUN2): Likewise.
20859         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20860         * sysdeps/x86_64/configure: Regenerated.
20862 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20864         * elf/dl-open.c: Include <atomic.h>.
20865         * elf/dl-lookup.c: Likewise.
20867 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20869         * sysdeps/unix/sysv/linux/kernel-features.h
20870         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20871         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20872         unconditionally.
20873         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20874         unconditionally.
20875         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20876         condition on __ASSUME_CLONE_THREAD_FLAGS.
20878 2012-08-14  Andreas Jaeger  <aj@suse.de>
20880         * sysdeps/i386/fpu/libm-test-ulps: Update.
20882 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20884         * include/atomic.h (atomic_exchange_and_add): Split into ...
20885         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20886         New atomic macros.
20888 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20892 2012-08-13  Jeff Law <law@redhat.com>
20894         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20895         null byte in the output string.
20897 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20899         * sysdeps/unix/sysv/linux/kernel-features.h
20900         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20901         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20902         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20903         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20904         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20905         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20906         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20908 2012-08-09  Jeff Law <law@redhat.com>
20910         [BZ #13939]
20911         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20912         When avoid_arena is set, don't retry in the that arena.  Pick the
20913         next one, whatever it might be.
20914         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20915         (arena_lock): Pass in new parameter to arena_get2.
20916         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20917         arena_get2.
20918         (__libc_malloc): Unify retrying after main arena failure with
20919         __libc_memalign version.
20920         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20922 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20924         [BZ #14166]
20925         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20926         to __redirect_strstr.
20927         (__strstr_sse42): Use typeof __redirect_strstr.
20928         (__strstr_ia32): Likewise.
20929         (__libc_strstr): New prototype.
20930         (strstr): Renamed to ...
20931         (__libc_strstr): This.
20932         (strstr): New strong alias of __libc_strstr.
20933         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20934         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20935         __redirect_time.
20936         Include <time.h>.
20937         (__libc_time): New prototype.
20938         (time_ifunc): Replace time with __libc_time.
20939         (time): New strong alias and hidden definition of __libc_time.
20940         (__GI_time): Remove strong alias.
20941         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20942         Include <stddef.h>.
20943         (memmove): Redefined to __redirect_memmove.
20944         (__memmove_sse2): Use typeof __redirect_memmove.
20945         (__memmove_ssse3): Likewise.
20946         (__memmove_ssse3_back): Likewise.
20947         (__libc_memmove): New prototype.
20948         (memmove): Renamed to ...
20949         (__libc_memmove): This.
20950         (memmove): New strong alias of __libc_memmove.
20952 2012-08-08  Mark Salter  <msalter@redhat.com>
20954         * elf/elf.h
20955         (R_MN10300_TLS_GD): Define.
20956         (R_MN10300_TLS_LD): Likewise.
20957         (R_MN10300_TLS_LDO): Likewise.
20958         (R_MN10300_TLS_GOTIE): Likewise.
20959         (R_MN10300_TLS_IE): Likewise.
20960         (R_MN10300_TLS_LE): Likewise.
20961         (R_MN10300_TLS_DTPMOD): Likewise.
20962         (R_MN10300_TLS_DTPOFF): Likewise.
20963         (R_MN10300_TLS_TPOFF): Likewise.
20964         (R_MN10300_SYM_DIFF): Likewise.
20965         (R_MN10300_ALIGN): Likewise.
20966         (R_MN10300_NUM): Update.
20968 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20970         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20971         Remove.
20973 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20975         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20977         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20978         sysdeps/unix -> sysdeps/posix move.
20979         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20981 2012-08-07      Allan McRae     <allan@archlinux.org>
20983         [BZ #14303]
20984         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20985         (SUNOS_CPP): Likewise.
20986         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20987         not found.
20988         (open_input): Call CPP using execvp.
20990 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20992         * sysdeps/unix/sysv/linux/kernel-features.h
20993         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20994         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20995         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20996         (__ASSUME_WAITID_SYSCALL): Likewise.
20997         * sysdeps/unix/sysv/linux/dl-execstack.c
20998         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20999         code unconditional.
21000         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21001         conditional code.
21002         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21003         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21004         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21005         code.
21006         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21007         unconditional.
21008         [__ASSUME_WAITID_SYSCALL]: Likewise.
21009         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21011 2012-08-07  Roland McGrath  <roland@hack.frob.com>
21013         * sysdeps/unix/closedir.c: Renamed to ...
21014         * sysdeps/posix/closedir.c: ... here.
21015         * sysdeps/unix/dirfd.c: Renamed to ...
21016         * sysdeps/posix/dirfd.c: ... here.
21017         * sysdeps/unix/dirstream.h: Renamed to ...
21018         * sysdeps/posix/dirstream.h: ... here.
21019         * sysdeps/unix/fdopendir.c: Renamed to ...
21020         * sysdeps/posix/fdopendir.c: ... here.
21021         * sysdeps/unix/opendir.c: Renamed to ...
21022         * sysdeps/posix/opendir.c: ... here.
21023         * sysdeps/unix/readdir.c: Renamed to ...
21024         * sysdeps/posix/readdir.c: ... here.
21025         * sysdeps/unix/readdir_r.c: Renamed to ...
21026         * sysdeps/posix/readdir_r.c: ... here.
21027         * sysdeps/unix/rewinddir.c: Renamed to ...
21028         * sysdeps/posix/rewinddir.c: ... here.
21029         * sysdeps/unix/seekdir.c: Renamed to ...
21030         * sysdeps/posix/seekdir.c: ... here.
21031         * sysdeps/unix/telldir.c: Renamed to ...
21032         * sysdeps/posix/telldir.c: ... here.
21033         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21034         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21035         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21036         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21038         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21039         * bits/fcntl.h: ... here.
21041         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21042         not 0.
21043         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21044         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21045         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21046         (struct flock): Move l_start, l_len to the beginning.
21047         Use __pid_t for l_pid.
21048         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21049         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21050         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21051         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21052         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21053         [__USE_LARGEFILE64] (struct flock64): New type.
21054         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21056         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21057         * bits/dirent.h: ... here.
21059         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21060         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21062 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21064         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21065         Change from 2.6.0 to 2.6.16.
21066         * sysdeps/unix/sysv/linux/configure: Regenerated.
21067         * sysdeps/unix/sysv/linux/kernel-features.h
21068         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21069         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21070         version.
21071         (__ASSUME_UTIMES): Likewise.
21072         (__ASSUME_CLONE_STOPPED): Remove.
21073         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21074         architectures, not kernel version.
21075         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21076         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21077         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21078         (__ASSUME_WAITID_SYSCALL): Likewise.
21079         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21080         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21081         * README: State 2.6.16 as minimum Linux kernel version.  Do not
21082         refer to older versions.
21084 2012-08-06  Roland McGrath  <roland@hack.frob.com>
21086         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21087         Define alphasort64 as an alias.
21088         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21089         Define versionsort64 as an alias.
21090         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21091         Define scandir64 as an alias.
21092         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21093         Define scandirat64 as an alias.
21094         * dirent/alphasort64.c (alphasort64):
21095         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21096         * dirent/versionsort64.c: Likewise.
21097         * dirent/scandir64.c: Likewise.
21098         * dirent/scandirat64.c: Likewise.
21099         * sysdeps/wordsize-64/alphasort.c: File removed.
21100         * sysdeps/wordsize-64/alphasort64.c: File removed.
21101         * sysdeps/wordsize-64/scandir.c: File removed.
21102         * sysdeps/wordsize-64/scandir64.c: File removed.
21103         * sysdeps/wordsize-64/scandirat.c: File removed.
21104         * sysdeps/wordsize-64/scandirat64.c: File removed.
21105         * sysdeps/wordsize-64/versionsort.c: File removed.
21106         * sysdeps/wordsize-64/versionsort64.c: File removed.
21107         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21108         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21109         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21110         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21111         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21112         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21113         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21114         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21116         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21117         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21118         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21119         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21120         [defined __arch64__ || defined __sparcv9]
21121         (__INO_T_MATCHES_INO64_T): New macro.
21122         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21123         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21124         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21125         * sysdeps/unix/sysv/linux/bits/dirent.h
21126         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21127         (_DIRENT_MATCHES_DIRENT64): New macro.
21129         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21130         Define lockf64 as an alias.
21131         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21132         Define fseeko64 as an alias.
21133         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21134         Define ftello64 as an alias.
21135         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21136         Define _IO_fgetpos64 and fgetpos64 as aliases.
21137         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21138         Define _IO_fsetpos64 and fsetpos64 as aliases.
21139         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21140         Conditionalize body on this.
21141         * libio/fseeko64.c: Likewise.
21142         * libio/ftello64.c: Likewise.
21143         * libio/iofgetpos64.c: Likewise.
21144         * libio/iofsetpos64.c: Likewise.
21145         * sysdeps/wordsize-64/lockf.c: File removed.
21146         * sysdeps/wordsize-64/lockf64.c: File removed.
21147         * sysdeps/wordsize-64/fseeko.c: File removed.
21148         * sysdeps/wordsize-64/fseeko64.c: File removed.
21149         * sysdeps/wordsize-64/ftello.c: File removed.
21150         * sysdeps/wordsize-64/ftello64.c: File removed.
21151         * sysdeps/wordsize-64/iofgetpos.c: File removed.
21152         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21153         * sysdeps/wordsize-64/iofsetpos.c: File removed.
21154         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21155         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21156         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21157         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21158         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21159         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21160         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21161         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21162         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21163         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21164         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21166         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21167         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21168         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21169         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21170         [defined __arch64__ || defined __sparcv9]
21171         (__OFF_T_MATCHES_OFF64_T): New macro.
21172         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21173         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21174         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21175         (__OFF_T_MATCHES_OFF64_T): New macro.
21177 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21179         * stdlib/secure-getenv.c (__secure_getenv): Replace
21180         GLIBC_2_16 with GLIBC_2_17.
21182 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21184         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21185         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21187 2012-08-03  David S. Miller  <davem@davemloft.net>
21189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21191 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21193         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21194         Remove.
21195         (__ASSUME_CORRECT_SI_PID): Likewise.
21196         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21197         (__ASSUME_TMPFS_NAME): Likewise.
21198         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21199         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21200         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21201         (HAVE_AUX_SECURE): Make definition unconditional.
21202         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21203         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21205 2012-08-03  Roland McGrath  <roland@hack.frob.com>
21207         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21208         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21209         * sysdeps/mach/hurd/eloop-threshold.h: New file.
21210         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21211         __eloop_threshold instead of SYMLOOP_MAX.
21213         * sysdeps/generic/eloop-threshold.h: New file.
21214         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21215         of MAXSYMLINKS.
21216         * elf/chroot_canon.c (chroot_canon): Likewise.
21218 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21220         [BZ #13717]
21221         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21222         Change to 2.6.0 everywhere.
21223         * sysdeps/unix/sysv/linux/configure: Regenerated.
21224         * sysdeps/unix/sysv/linux/kernel-features.h
21225         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21226         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21227         kernel versions.
21228         (__ASSUME_POSIX_TIMERS): Define unconditionally.
21229         (__ASSUME_FUTEX_REQUEUE): Remove.
21230         (__ASSUME_STATFS64): Define unconditionally.
21231         (__ASSUME_AT_SECURE): Likewise.
21232         (__ASSUME_CORRECT_SI_PID): Likewise.
21233         (__ASSUME_TGKILL): Define without depending on kernel version for
21234         i386.
21235         (__ASSUME_UTIMES): Likewise.
21236         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21237         kernel version.
21238         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21239         (__ASSUME_TMPFS_NAME): Likewise.
21240         * README: Update reference to Linux kernel versions.
21242 2012-08-02  Marek Polacek  <polacek@redhat.com>
21244         [BZ# 14150]
21245         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
21246         libc_cv_asm_type_prefix with %.
21247         * configure: Regenerated.
21248         * include/libc-symbols.h: Remove comment about
21249         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21250         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21251         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21252         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21253         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21254         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21255         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21256         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21257         * elf/tst-unique2mod1.c: Likewise.
21258         * elf/tst-unique1mod2.c: Likewise.
21259         * elf/tst-unique1mod1.c: Likewise.
21260         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21261         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21262         Replace ASM_TYPE_DIRECTIVE with .type.
21263         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21264         * sysdeps/i386/sysdep.h: Likewise.
21265         * sysdeps/x86_64/sysdep.h: Likewise.
21266         * sysdeps/sh/sysdep.h: Likewise.
21267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21268         Do not define ASM_TYPE_DIRECTIVE.
21269         * sysdeps/powerpc/sysdep.h: Likewise.
21270         * sysdeps/powerpc/powerpc32/sysdep.h:
21271         Replace ASM_TYPE_DIRECTIVE with .type.
21272         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21273         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21274         * sysdeps/i386/fpu/e_powf.S: Likewise.
21275         * sysdeps/i386/fpu/e_expl.S: Likewise.
21276         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21277         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21278         * sysdeps/i386/fpu/e_pow.S: Likewise.
21279         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21280         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21281         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21282         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21283         * sysdeps/i386/fpu/e_log2.S: Likewise.
21284         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21285         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21286         * sysdeps/i386/fpu/e_powl.S: Likewise.
21287         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21288         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21289         * sysdeps/i386/fpu/e_logl.S: Likewise.
21290         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21291         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21292         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21293         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21294         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21295         * sysdeps/i386/fpu/e_log.S: Likewise.
21296         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21297         * sysdeps/i386/fpu/e_logf.S: Likewise.
21298         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21299         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21300         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21301         * sysdeps/i386/fpu/e_log10.S: Likewise.
21302         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21303         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21304         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21305         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21306         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21307         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21308         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21309         * sysdeps/i386/i686/strtok.S: Likewise.
21310         * sysdeps/i386/i386-mcount.S: Likewise.
21311         * sysdeps/i386/strtok.S: Likewise.
21312         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21313         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21314         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21315         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21316         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21317         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21318         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21319         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21320         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21321         * sysdeps/x86_64/_mcount.S: Likewise.
21322         * sysdeps/x86_64/strtok.S: Likewise.
21323         * sysdeps/sh/_mcount.S: Likewise.
21325 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21327         * libio/iofopen.c: Include <fcntl.h>.
21328         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21329         (_IO_fopen64, fopen64): Define as aliases.
21330         * libio/iofopen64.c: Include <fcntl.h>.
21331         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21332         Conditionalize body on this.
21333         * sysdeps/wordsize-64/iofopen.c: File removed.
21334         * sysdeps/wordsize-64/iofopen64.c: File removed.
21336 2012-08-01  Marek Polacek  <polacek@redhat.com>
21338         * libc/Makeconfig: Use elf in place of binfmt-subdir.
21339         Use dlfcn directly instead of a variable.
21340         (binfmt-subdir): Do not define.
21341         (dlfcn): Likewise.
21343 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21345         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21346         Remove all definitions.
21347         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21348         <kernel-features.h>.
21349         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21350         (miss_F_GETOWN_EX): Remove all definitions.
21351         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21352         macro definition.
21353         [!__ASSUME_FCNTL64]: Remove conditional code.
21354         [__ASSUME_FCNTL64]: Make code unconditional.
21355         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21356         <kernel-features.h>.
21357         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21358         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21359         (lockf64) [__NR_fcntl64]: Make code unconditional.
21360         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21362         * sysdeps/unix/sysv/linux/kernel-features.h
21363         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21364         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21365         Make code unconditional.
21366         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21367         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21369         [__NR_vfork]: Make code unconditional.
21370         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21371         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21373         [__NR_vfork]: Make code unconditional.
21374         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21375         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21377 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21379         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21380         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21382         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21383         Define mkstemp64 as an alias.
21384         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21385         Define mkstemps64 as an alias.
21386         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21387         Define mkostemp64 as an alias.
21388         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21389         Define mkostemps64 as an alias.
21390         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21391         Conditionalize body on this.
21392         * misc/mkostemp64.c: Likewise.
21393         * misc/mkostemps64.c: Likewise.
21394         * misc/mkstemps64.c: Likewise.
21395         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21396         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21397         * sysdeps/wordsize-64/mkostemp.c: File removed.
21398         * sysdeps/wordsize-64/mkstemp.c: File removed.
21399         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21400         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21401         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21402         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21404         [BZ #14138]
21405         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21406         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21407         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21408         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21410         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21411         compat_symbol macros from <shlib-compat.h> rather than the underlying
21412         default_symbol_version and symbol_version macros, so that DEFAULT
21413         lines in shlib-versions are respected.
21414         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21416 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21418         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21419         Declare with warn_unused_result.
21420         (setgid, setregid, setegid, setresgid): Likewise.
21421         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21422         Likewise.
21423         * WUR-REPORT: Remove set*id functions.
21425 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21427         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21429 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21431         [BZ #10191]
21432         * include/sys/socket.h (__libc_accept, __libc_accept4):
21433         Add attribute_hidden.
21434         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21436         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21437         use of PTR_MANGLE.
21438         * inet/getnetgrent_r.c (setup): Likewise.
21440         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21442 2012-07-31  David S. Miller  <davem@davemloft.net>
21444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21446 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21448         [BZ #13629]
21449         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21450         value between 1.0 and 2.0 and smaller part has absolute value less
21451         than 1.0.
21452         * math/s_clog10.c (__clog10): Likewise.
21453         * math/s_clog10f.c (__clog10f): Likewise.
21454         * math/s_clog10l.c (__clog10l): Likewise.
21455         * math/s_clogf.c (__clogf): Likewise.
21456         * math/s_clogl.c (__clogl): Likewise.
21457         * math/libm-test.inc (clog_test): Add more tests.
21458         (clog10_test): Likewise.
21459         * sysdeps/i386/fpu/libm-test-ulps: Update.
21460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21462 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21464         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21465         Exit with zero in case no suitable GID is found, and write a
21466         message to standard error.
21468 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21470         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21471         rather than to 1.
21472         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21473         (MAXPATHLEN): Removed.
21474         (NOGROUP, NODEV): New macros.
21475         (setbit, clrbit, isset, isclr): New macros.
21476         (howmany, roundup, powerof2): New macros.
21477         (DEV_BSIZE): New macro.
21479         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21480         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21482         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21483         definition on [!__NO_LONG_DOUBLE_MATH].
21485         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21486         PTR_MANGLE and PTR_DEMANGLE.
21488         * socket/accept4.c (accept4): Rename to __libc_accept4.
21489         Define accept4 as a weak alias.
21491         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21492         on [_DIRENT_HAVE_D_TYPE].
21493         * io/ftw.c (ftw_dir): Likewise.
21495         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21497         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21499         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21500         Use the BSD numbers rather than the arbitrary ones we had.
21501         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21502         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21503         (SIGXCPU, SIGXFSZ): New macros.
21504         (_NSIG): Now 32.
21506         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21507         initializer on [_LIBC_REENTRANT].
21509         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21510         definitions inside [_POSIX_MAPPED_FILES].
21512         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21514         * dirent/opendir.c: Include <fcntl.h>.
21516         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21517         (__libc_getspecific): Likewise.
21518         (__libc_key_create): Likewise.
21520         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21521         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21522         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21523         (tmpfile64): Define as alias.
21524         * sysdeps/wordsize-64/tmpfile.c: File removed.
21525         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21526         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21527         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21529         * stdio-common/vfscanf.c: Include <stdbool.h>.
21530         * nss/makedb.c: Likewise.
21531         * stdio-common/_i18n_number.h: Likewise.
21532         * argp/argp-help.c: Likewise.
21533         * posix/wordexp.c: Likewise.
21534         * sysdeps/posix/spawni.c: Likewise.
21535         * nss/nss_files/files-initgroups.c: Likewise.
21536         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21537         * nss/nss_files/files-initgroups.c: Likewise.
21538         * nss/nss_db/db-netgrp.c: Likewise.
21539         * nss/nss_db/db-initgroups.c: Likewise.
21540         * io/fchmodat.c: Include <sys/stat.h>.
21542         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21543         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21545         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21546         [HAVE_MMAP].
21548         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21549         Add multiple inclusion protection.
21551 2012-07-27  David S. Miller  <davem@davemloft.net>
21553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21555 2012-07-27  Gary Benson  <gbenson@redhat.com>
21557         [BZ #14298]
21558         * elf/rtld.c: Include <stap-probe.h>.
21559         (dl_main): Added static probes "init_start" and "init_complete".
21560         * elf/dl-load.c: Include <stap-probe.h>.
21561         (lose): Take new parameter "nsid".
21562         Added static probe "map_failed".
21563         (_dl_map_object_from_fd): Pass namespace id to lose.
21564         Added static probe "map_start".
21565         (open_verify): Pass namespace id to lose.
21566         * elf/dl-open.c: Include <stap-probe.h>.
21567         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21568         and "reloc_complete".
21569         * elf/dl-close.c: Include <stap-probe.h>.
21570         (_dl_close_worker): Added static probes "unmap_start" and
21571         "unmap_complete".
21572         * elf/rtld-debugger-interface.txt: New file documenting the above.
21574 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21576         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21577         rather than a string variable.
21578         * sunrpc/rpc_main.c (h_output): Likewise.
21579         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21581 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21583         * inet/check_native.c: New file.
21585 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21587         [BZ #13629]
21588         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21589         if larger part has absolute value 1.0.
21590         * math/s_clog10.c (__clog10): Likewise.
21591         * math/s_clog10f.c (__clog10f): Likewise.
21592         * math/s_clog10l.c (__clog10l): Likewise.
21593         * math/s_clogf.c (__clogf): Likewise.
21594         * math/s_clogl.c (__clogl): Likewise.
21595         * math/libm-test.inc (clog_test): Add more tests.
21596         (clog10_test): Likewise.
21597         * sysdeps/i386/fpu/libm-test-ulps: Update.
21598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21600         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21601         (pltexit): Likewise.
21602         (La_regs): Likewise.
21603         (La_retval): Likewise.
21604         (int_retval): Likewise.
21605         Update #error for removed macros to refer only to definitions in
21606         tst-audit.h.
21607         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21608         macro.
21609         (pltexit): Likewise.
21610         (La_regs): Likewise.
21611         (La_retval): Likewise.
21612         (int_retval): Likewise.
21613         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21614         macro.
21615         (pltexit): Likewise.
21616         (La_regs): Likewise.
21617         (La_retval): Likewise.
21618         (int_retval): Likewise.
21619         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21620         macro.
21621         (pltexit): Likewise.
21622         (La_regs): Likewise.
21623         (La_retval): Likewise.
21624         (int_retval): Likewise.
21625         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21626         macro.
21627         (pltexit): Likewise.
21628         (La_regs): Likewise.
21629         (La_retval): Likewise.
21630         (int_retval): Likewise.
21631         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21632         macro.
21633         (pltexit): Likewise.
21634         (La_regs): Likewise.
21635         (La_retval): Likewise.
21636         (int_retval): Likewise.
21637         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21638         macro.
21639         (pltexit): Likewise.
21640         (La_regs): Likewise.
21641         (La_retval): Likewise.
21642         (int_retval): Likewise.
21643         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21644         macro definitions in tst-audit.h.
21645         * sysdeps/i386/tst-audit.h: New file.
21646         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21647         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21648         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21649         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21650         * sysdeps/sh/tst-audit.h: Likewise.
21651         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21652         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21653         * sysdeps/x86_64/tst-audit.h: Likewise.
21655 2012-07-26  Andreas Jaeger  <aj@suse.de>
21657         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21658         ptrace.
21660         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21661         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21662         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21663         PTRACE_O_MASK.
21664         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21665         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21666         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21668         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21669         value.
21671         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21672         _sigsys.
21673         (si_call_addr, si_syscall, si_arch): Define new macro.
21674         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21675         _sigsys.
21676         (si_call_addr, si_syscall, si_arch): Define new marcro.
21677         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21678         _sigsys.
21679         (si_call_addr, si_syscall, si_arch): Define new macro.
21680         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21681         _sigsys.
21682         (si_call_addr, si_syscall, si_arch): Define new macro.
21684 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21686         [BZ #13717]
21687         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21688         Change to 2.4.21 where previously 2.4.1.
21689         * sysdeps/unix/sysv/linux/configure: Regenerated.
21690         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21691         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21692         Linux kernel version.
21693         (__ASSUME_STD_AUXV): Remove.
21694         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21695         kernel version.
21696         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21697         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21698         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21699         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21700         (__ASSUME_NETLINK_SUPPORT): Likewise.
21701         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21702         (__no_netlink_support): Remove conditional definition.
21703         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21704         Remove.
21705         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21706         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21707         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21708         (if_nameindex_ioctl): Remove.
21709         (if_nameindex_netlink): Do not handle __no_netlink_support.
21710         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21711         code.
21712         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21713         Remove conditional code.
21714         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21715         code.
21716         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21717         unconditional.
21718         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21719         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21720         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21721         Remove.
21722         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21723         [!__ASSUME_STD_AUXV]: Remove conditional code.
21724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21725         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21726         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21728         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21729         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21730         code.
21731         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21733         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21734         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21735         conditional code.
21736         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21738         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21739         code.
21740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21741         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21742         conditional code.
21743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21744         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21745         code unconditional.
21746         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21747         conditional code.
21748         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21749         unconditional.
21750         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21751         conditional code.
21752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21753         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21754         unconditional.
21755         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21756         conditional code.
21757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21758         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21759         code unconditional.
21760         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21761         conditional code.
21762         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21763         unconditional.
21764         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21765         conditional code.
21766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21767         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21768         code unconditional.
21769         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21770         conditional code.
21771         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21772         unconditional.
21773         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21774         conditional code.
21776 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21778         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21779         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21780         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21781         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21782         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21783         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21784         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21785         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21786         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21787         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21788         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21789         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21790         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21791         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21792         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21793         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21794         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21795         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21796         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21797         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21798         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21799         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21800         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21802 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21804         * Versions.def: Add GLIBC_2.17.
21805         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21806         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21807         Introduce __libc_secure_getenv.
21808         * stdlib/Versions (2.17): Add secure_getenv
21809         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21810         * stdlib/secure-getenv.c: Rename __secure_getenv to
21811         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21812         symbol __secure_getenv for GLIBC_2.0.
21813         * stdlib/tst-secure-getenv.c: New.
21814         * stdlib/Makefile (tests): Add testcase.
21815         * manual/startup.texi (Environment Access): Document
21816         secure_getenv.
21817         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21818         __libc_secure_getenv.
21819         * inet/ruserpass.c (ruserpass): Likewise.
21820         * malloc/mtrace.c (mtrace): Likewise.
21821         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21822         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21823         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21824         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21825         HAVE_SECURE_GETENV.
21826         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21827         __secure_getenv to __libc_secure_getenv.
21828         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21830         Likewise.
21831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21832         Likewise.
21833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21835         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21841 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21843         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21844         (struct La_i86_retval): Likewise.
21845         (struct La_x86_64_regs): Likewise.
21846         (struct La_x86_64_retval): Likewise.
21847         (struct La_x32_regs): Likewise.
21848         (struct La_x32_retval): Likewise.
21849         (struct La_ppc32_regs): Likewise.
21850         (struct La_ppc32_retval): Likewise.
21851         (struct La_ppc64_regs): Likewise.
21852         (struct La_ppc64_retval): Likewise.
21853         (struct La_sh_regs): Likewise.
21854         (struct La_sh_retval): Likewise.
21855         (struct La_s390_32_regs): Likewise.
21856         (struct La_s390_32_retval): Likewise.
21857         (struct La_s390_64_regs): Likewise.
21858         (struct La_s390_64_retval): Likewise.
21859         (struct La_sparc32_regs): Likewise.
21860         (struct La_sparc32_retval): Likewise.
21861         (struct La_sparc64_regs): Likewise.
21862         (struct La_sparc64_retval): Likewise.
21863         (struct audit_ifaces): Remove architecture-specific pltenter and
21864         pltexit members.
21865         * sysdeps/i386/ldsodefs.h: New file.
21866         * sysdeps/powerpc/ldsodefs.h: Likewise.
21867         * sysdeps/s390/ldsodefs.h: Likewise.
21868         * sysdeps/sh/ldsodefs.h: Likewise.
21869         * sysdeps/sparc/ldsodefs.h: Likewise.
21870         * sysdeps/x86_64/ldsodefs.h: Likewise.
21872 2012-07-25  Marek Polacek  <polacek@redhat.com>
21874         [BZ #6808]
21875         * math/libm-test.inc (yn_test): Add another test.
21876         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21877         to ERANGE when the result is +-Inf.
21878         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21879         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21880         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21881         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21883 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21885         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21886         equal to 0.
21887         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21888         clock_t.
21889         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21891 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21893         * configure.in <sysdeps resolving>: Correct printing
21894         Implies_before.
21895         * configure: Regenerate.
21897 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21899         * math/w_ilogb.c: Include <limits.h>.
21900         * math/w_ilogbl.c: Likewise.
21902 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21904         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21905         va_copy.  Document allowing for unavailable va_copy only as
21906         pre-C99 compatibility.
21907         * manual/string.texi (Copying and Concatenation): Use va_copy
21908         instead of __va_copy in concat example.
21910 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21912         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21913         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21914         it if not null.
21916         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21917         with O_NOLINK passed to __file_name_lookup.
21919         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21920         with O_NOLINK passed to __file_name_lookup.
21922         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21923         negative N or less than NGIDS.
21925         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21926         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21927         enough.  Use memcpy instead of strncpy.
21929 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21931         * elf/Makefile (check-data): Remove.
21932         (localplt.data): New vpath directive.
21933         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21934         instead of $(check-data).
21935         * scripts/data/localplt-generic.data: Move to ...
21936         * sysdeps/generic/localplt.data: ... here.
21937         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21938         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21939         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21941         ... here.
21942         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21944         ... here.
21945         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21947         ... here.
21948         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21950         ... here.
21951         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21953         ... here.
21954         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21956         ... here.
21958 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21960         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21961         PPC32 and PPC64 files.
21962         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21963         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21965 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21967         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21968         __makecontext_ret to ...
21969         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21970         ... here and call exit if uc_link is NULL.  New file.
21971         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21972         __makecontext_ret.S.
21973         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21974         __makecontext_ret to ...
21975         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21976         ... here and call exit if uc_link is NULL.  New file.
21977         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21978         __makecontext_ret.S.
21980 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21982         * elf/elf.h (R_390_IRELATIVE): New definition.
21983         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21984         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21985         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21986         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21987         (elf_machine_lazy_rel): Likewise.
21988         * sysdeps/s390/dl-irel.h: New file.
21989         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21990         * sysdeps/s390/s390-64/memset.S: New asm code.
21991         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21992         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21993         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21994         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21995         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21996         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21997         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21998         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21999         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22000         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22001         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22002         * sysdeps/s390/s390-32/memcpy.S: New asm code.
22003         * sysdeps/s390/s390-32/memset.S: New asm code.
22004         * sysdeps/s390/s390-32/memcmp.S: New asm code.
22006 2012-07-17  Marek Polacek  <polacek@redhat.com>
22008         [BZ #14349]
22009         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22010         * sysdeps/s390/s390-64/configure.in: Likewise.
22011         * sysdeps/sparc/configure.in: Likewise.
22012         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22013         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22014         * sysdeps/i386/configure.in: Likewise.
22015         * sysdeps/x86_64/configure.in: Likewise.
22016         * sysdeps/sh/configure.in: Likewise.
22017         * sysdeps/s390/s390-32/configure: Regenerated.
22018         * sysdeps/s390/s390-64/configure: Likewise.
22019         * sysdeps/x86_64/configure: Likewise.
22020         * sysdeps/sh/configure: Likewise.
22021         * sysdeps/powerpc/powerpc64/configure: Likewise.
22022         * sysdeps/powerpc/powerpc32/configure: Likewise.
22023         * sysdeps/sparc/configure: Likwise.
22024         * sysdeps/i386/configure: Likewise.
22026         * elf/dl-open.c: Comment fixes.
22028 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
22030         * Makefile [CXX] (check-data): Remove.
22031         [CXX] (c++-types.data): New vpath directive.
22032         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22033         vpath.  Do not allow for C++ type data being missing.
22034         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22035         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22036         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22037         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22038         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22039         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22040         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22042         ... here.
22043         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22045         ... here.
22046         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22048         ... here.
22049         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22051         ... here.
22052         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22054         ... here.
22055         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22057         ... here.
22058         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22060         ... here.
22061         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22064         * elf/tls-macros.h (TLS_LE): Move architecture-specific
22065         definitions to architecture-specific files.
22066         (TLS_IE): Likewise.
22067         (TLS_LD): Likewise.
22068         (TLS_GD): Likewise.
22069         * sysdeps/i386/tls-macros.h: New file.
22070         * sysdeps/powerpc/tls-macros.h: Likewise.
22071         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22072         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22073         * sysdeps/sh/tls-macros.h: Likewise.
22074         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22075         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22076         * sysdeps/x86_64/tls-macros.h: Likewise.
22078 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22080         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22081         zero value for regular exit case.
22083         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22084         (__start_context): Preserve zero value for regular exit case.
22086 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22087             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22089         * manual/setjmp.texi (setcontext): Clarify normal process
22090         termination when uc_link is the null pointer.
22091         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22092         exit call.
22094 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
22096         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22097         preprocessor.  Test for each exception mask separately.
22099 2012-07-16  Andreas Jaeger  <aj@suse.de>
22101         * po/ru.po: Update from translation team.
22103 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
22105         * conform/data/string.h-data (NULL): Use macro-constant.  Require
22106         equal to 0.
22107         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22108         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22109         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22110         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22111         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22113 2012-07-13  Andreas Jaeger  <aj@suse.de>
22115         * po/fr.po: Update from translation team.
22117 2012-07-12  Marek Polacek  <polacek@redhat.com>
22119         [BZ #14173]
22120         * math/libm-test.inc (yn_test): Add test for BZ #14173.
22121         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22122         loop condition.
22124 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
22126         [BZ #13717]
22127         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22128         Change to 2.4.1 where previously 2.4.0.
22129         * sysdeps/unix/sysv/linux/configure: Regenerated.
22130         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22131         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22132         version.
22133         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22134         (__ASSUME_AT_CLKTCK): Remove.
22135         (__ASSUME_AT_PAGESIZE): Likewise.
22136         (__ASSUME_AT_XID): Likewise.
22137         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22138         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22139         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22140         unconditionally.
22141         (HAVE_AUX_PAGESIZE): Likewise.
22142         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22143         [__ASSUME_AT_CLKTCK]: Make code unconditional.
22144         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22146 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
22148         [BZ #14307]
22149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22150         the temporary buffer used to invoke __gethostbyname2_r,
22151         __gethostbyaddr_r and gethostbyname4_r to make room for struct
22152         host_data / struct gaih_addrtuple.
22153         * resolv/nss_dns/dns-host.c (global scope): Move definition of
22154         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22155         header file nss/nsswitch.h.
22156         * nss/nsswitch.h (global scope): Add definition of implementation
22157         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22158         resolv/nss_dns/dns-host.c).
22160 2012-07-11  Andreas Jaeger  <aj@suse.de>
22162         * po/fr.po: Update from translation team.
22164         * po/sv.po: Update from translation team
22165         * po/fr.po: Another update from translation team.
22167 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22169         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22170         for subnormals or multiply small sinh result by itself.
22171         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22174 2012-07-11  David S. Miller  <davem@davemloft.net>
22176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22178 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
22180         [BZ #14347]
22181         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22182         (INTERNAL_MARK): Shift it here.
22184 2012-07-10  Marek Polacek  <polacek@redhat.com>
22186         [BZ #14151]
22187         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
22188         libc_cv_asm_global_directive with .globl.
22189         * configure: Regenerated.
22190         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22191         with .globl.
22192         * sysdeps/i386/configure: Regenerated.
22193         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22194         with .globl.
22195         * sysdeps/x86_64/configure: Regenerated.
22196         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22197         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22198         * elf/tst-unique2mod2.c: Likewise.
22199         * elf/tst-unique2mod1.c: Likewise.
22200         * elf/tst-unique1mod2.c: Likewise.
22201         * elf/tst-unique1mod1.c: Likewise.
22202         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22203         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22204         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22205         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22206         * sysdeps/mach/sysdep.h: Likewise.
22207         * sysdeps/i386/sysdep.h: Likewise.
22208         * sysdeps/i386/i386-mcount.S: Likewise.
22209         * sysdeps/x86_64/_mcount.S: Likewise.
22210         * sysdeps/x86_64/sysdep.h: Likewise.
22211         * sysdeps/sh/_mcount.S: Likewise.
22212         * sysdeps/sh/sysdep.h: Likewise.
22213         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22214         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22215         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22216         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22217         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22218         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22219         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22220         * locale/localeinfo.h: Likewise.
22221         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22222         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22224 2012-07-09  Roland McGrath  <roland@hack.frob.com>
22226         [BZ #14336]
22227         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22228         system".
22229         * manual/message.texi (The Uniforum approach): Likewise.
22230         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22231         (glibc iconv Implementation): Likewise.
22233 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
22235         [BZ #14337]
22236         * math/s_clog.c (__clog): Avoid scaling a value down where that
22237         could result in underflow.
22238         * math/s_clog10.c (__clog10): Likewise.
22239         * math/s_clog10f.c (__clog10f): Likewise.
22240         * math/s_clog10l.c (__clog10l): Likewise.
22241         * math/s_clogf.c (__clogf): Likewise.
22242         * math/s_clogl.c (__clogl): Likewise.
22243         * math/libm-test.inc (clog_test): Add more tests.
22244         (clog10_test): Likewise.
22245         * sysdeps/i386/fpu/libm-test-ulps: Update.
22246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22248 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
22250         [BZ #14283]
22251         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22252         by 7 not 8 to examine high bit of fractional part.
22254         [BZ #14042]
22255         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22256         for call to __mcount_internal.
22257         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22258         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22259         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22261 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
22263         [BZ #14154]
22264         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22265         approximation for values within 0x1p-13f of an odd multiple of
22266         pi/4.
22267         * math/libm-test.inc (tan_test): Do not allow spurious underflow
22268         exception.  Add more tests.
22269         * sysdeps/i386/fpu/libm-test-ulps: Update.
22271         [BZ #6778]
22272         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22273         inputs and return -1 for them.  Do not check for +Inf in case not
22274         reachable for +Inf.
22275         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22276         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22277         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22278         and return -1 for them.  Do not check for +Inf in case not
22279         reachable for +Inf.
22280         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22281         define.
22282         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22283         and return -1 for them.  Do not check for +Inf in case not
22284         reachable for +Inf.
22285         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
22286         spurious underflow.
22287         * sysdeps/i386/fpu/libm-test-ulps: Update.
22288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22290 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
22292         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22294 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
22296         [BZ #14157]
22297         [BZ #14331]
22298         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22299         could result in spurious underflow.  Scale down values above
22300         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22301         * math/s_csqrtf.c (__csqrtf): Likewise.
22302         * math/s_csqrtl.c (__csqrtl): Likewise.
22303         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
22304         spurious underflow.
22305         * sysdeps/i386/fpu/libm-test-ulps: Update.
22306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22308 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
22310         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22311         xopen-msg.sed.
22312         * catgets/xopen-msg.awk: New file.
22313         * catgets/xopen-msg.sed: Removed.
22315         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22316         po2text.sed.
22317         * intl/po2test.awk: New file.
22318         * intl/po2test.sed: Removed.
22320 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
22322         [BZ #14328]
22323         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22324         or multiply small sinh result by itself.
22325         * math/s_ctanf.c (__ctanf): Likewise.
22326         * math/s_ctanh.c (__ctanh): Likewise.
22327         * math/s_ctanhf.c (__ctanhf): Likewise.
22328         * math/s_ctanhl.c (__ctanhl): Likewise.
22329         * math/s_ctanl.c (__ctanl): Likewise.
22330         * math/libm-test.inc (ctan_test_tonearest): New function.
22331         (ctan_test_towardzero): Likewise.
22332         (ctan_test_downward): Likewise.
22333         (ctan_test_upward): Likewise.
22334         (ctanh_test_tonearest): Likewise.
22335         (ctanh_test_towardzero): Likewise.
22336         (ctanh_test_downward): Likewise.
22337         (ctanh_test_upward): Likewise.
22338         (main): Call these new functions.
22339         * sysdeps/i386/fpu/libm-test-ulps: Update.
22340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22342 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22344         * .gitignore: Delete /ports entry.
22346 2012-07-03  Andreas Jaeger  <aj@suse.de>
22348         * po/bg.po: Update from translation team.
22349         * po/cs.po: Likewise.
22350         * po/de.po: Likewise.
22351         * po/hr.po: Likewise.
22352         * po/nl.pl: Likewise.
22353         * po/pl.po: Likewise.
22354         * po/vi.po: Likewise.
22356 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22358         * Makeconfig [!+link] (+link-before-libc): New variable.
22359         [!+link] (+link-after-libc): Likewise.
22360         [!+link] (+link-tests): Likewise.
22361         [!+link] (+link): Define in terms of $(+link-before-libc) and
22362         $(+link-after-libc).
22363         [!+link-static] (+link-static-before-libc): New variable.
22364         [!+link-static] (+link-static-after-libc): Likewise.
22365         [!+link-static] (+link-static-tests): Likewise.
22366         [!+link-static] (+link-static): Define in terms of
22367         $(+link-static-before-libc) and $(+link-static-after-libc).
22368         [build-shared] (link-libc-before-gnulib): New variable.
22369         [build-shared] (link-libc-tests): Likewise.
22370         [build-shared] (link-libc): Define in terms of
22371         $(link-libc-before-gnulib).
22372         [!build-shared] (link-libc-tests): New variable.
22373         (link-libc-static-tests): New variable.
22374         [!gnulib] (gnulib-arch): New variable.
22375         [!gnulib] (gnulib-tests): Likewise.
22376         [!gnulib] (static-gnulib-arch): Likewise.
22377         [!gnulib] (static-gnulib-tests): Likewise.
22378         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22379         Define with "=" instead of ":=".
22380         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22381         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22382         * Rules (binaries-all-notests): New variable.
22383         (binaries-all-tests): Likewise.
22384         (binaries-static-notests): Likewise.
22385         (binaries-static-tests): Likewise.
22386         (binaries-all): Define using $(binaries-all-notests) and
22387         $(binaries-all-tests).
22388         (binaries-static): Define using $(binaries-static-notests) and
22389         $(binaries-static-tests).
22390         (binaries-shared-tests): New variable.
22391         (binaries-shared-notests): Likewise.
22392         (binaries-shared): Remove variable.
22393         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22394         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22395         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22396         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22397         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22398         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22399         * elf/Makefile (sln-modules): New variable.
22400         (extra-objs): Add $(sln-modules:=.o).
22401         (ldconfig-modules): Add static-stubs.
22402         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22403         * elf/static-stubs.c: New file.
22405         [BZ #14283]
22406         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22407         by 7 not 8 to examine high bit of fractional part.  Use volatile
22408         variables when splitting into final array of floats if
22409         __FLT_EVAL_METHOD__ != 0.
22410         * math/libm-test.inc (cos_test): Add another test.
22411         (sin_test): Likewise.
22412         * sysdeps/i386/fpu/libm-test-ulps: Update.
22414         [BZ #14273]
22415         * math/libm-test.inc (cosh_test): Add more tests.
22417         * version.h (RELEASE): Set to "development".
22418         (VERSION): Set to "2.16.90".
22420 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22422         * NEWS: Update copyright. Remove last-updated date.
22423         Mention math library bug fixes and timezone data changes.
22424         * README: Mention GNU/Hurd, x32, and HPPA support status.
22426 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22428         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22430 2012-06-27  Andreas Jaeger  <aj@suse.de>
22432         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22434 2012-06-25  Andreas Jaeger  <aj@suse.de>
22436         * sysdeps/s390/fpu/libm-test-ulps: Update.
22438 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22439             Thomas Schwinge  <thomas@codesourcery.com>
22441         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22442         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22443         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22444         fanotify_mark.
22446 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22448         * sysdeps/mach/start.c: Remove file.
22449         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22450         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22451         * sysdeps/sh/init-first.c: Likewise.
22453         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22454         registers for frame unwinding purposes, add CFI directives.
22455         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22456         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22457         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22458         Likewise.
22460         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22461         __fortify_fail returning.
22462         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22464         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22465         sysdeps/sh/____longjmp_chk.S.
22466         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22467         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22468         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22469         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22471         * sysdeps/sh/abort-instr.h: New file.
22472         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22473         process in case exit returns.
22475         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22476         initialize the GOT register before use.
22478         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22479         calculation of ARGC > 4.
22481         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22482         meaningful names to some local labels.
22484 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22485             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22487         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22488         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22489         (__arch_compare_and_exchange_val_16_acq): Likewise.
22490         (__arch_compare_and_exchange_val_32_acq): Likewise.
22491         (atomic_exchange_and_add): Fix gUSA sequence.
22492         (atomic_add): Likewise.
22493         (atomic_add_negative): Likewise.
22494         (atomic_add_zero): Likewise.
22495         (atomic_bit_test_set): Likewise.
22497 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22499         [BZ #13579]
22500         * include/link.h (struct link_map): Add l_free_initfini.
22501         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22502         l_initfini.
22503         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22504         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22505         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22506         set.
22508 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22510         * configure.in: Use AC_LANG_SOURCE.
22511         * configure: Regenerate.
22513 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22515         * configure.in (libc_cv_localstatedir): New substituted variable.
22516         * configure: Regenerated.
22517         * config.make.in (localstatedir): New variable, substituted from
22518         libc_cv_localstatedir.
22519         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22520         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22521         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22522         * sysdeps/gnu/configure: Regenerated.
22524 2012-06-21  Jeff Law  <law@redhat.com>
22526         [BZ #14277]
22527         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22528         free.  Simplify list management for _LIBC case.
22530 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22532         [BZ #14273]
22533         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22534         Clear sign bit of 64-bit integer value before comparing against
22535         overflow value.
22537         * sysdeps/mach/configure: Regenerated.
22539 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22541         [BZ #14278]
22542         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22544 2012-06-21  Jeff Law  <law@redhat.com>
22546         [BZ #13882]
22547         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22548         uint16_t for elements in the "seen" array to avoid char overflows.
22549         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22550         * elf/dl-open.c (dl_open_worker): Likewise.
22552 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22554         * scripts/list-sources.sh: Scan PORTS for translations.
22555         * po/libc.pot: Regenerated.
22557 2012-06-21  Andreas Jaeger  <aj@suse.de>
22559         [BZ #12194]
22560         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22561         warning.
22562         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22563         * bits/byteswap-16.h (__bswap_16): Likewise.
22564         * bits/byteswap.h (__bswap_constant_16): Likewise.
22566 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22568         [BZ #14117]
22569         * sysdeps/i386/fpu_control.h: Removed.
22570         * sysdeps/x86_64/fpu_control.h: Moved to ...
22571         * sysdeps/x86/fpu_control.h: Here.
22573         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22574         (_FPU_SETCW): Likewise.
22576 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22578         [BZ #14117]
22579         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22580         * sysdeps/x86/fpu/bits/mathinline.h: This.
22581         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22583         [BZ #14050]
22584         [BZ #14117]
22585         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22586         functions if __x86_64__ is defined.
22588 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22590         * string/endian.h: Add !__ASSEMBLER__ condition for including
22591         conversion interfaces.
22593 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22595         [BZ #14241]
22596         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22597         of ABS(x) in calculating zero to negative powers other than odd
22598         integers.
22599         * math/libm-test.inc (pow_test): Add more tests.
22601 2012-06-15  Andreas Jaeger  <aj@suse.de>
22603         * manual/contrib.texi (Contributors): Update entry of Liubov
22604         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22605         Machado Filho.
22607 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22609         * string/string.h: Add __wur to GNU version of strerror_r.
22611 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22613         [BZ #14229]
22614         * string/Makefile (tests): Add tst-strtok_r.
22615         * string/tst-strtok_r.c: New file.
22616         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22617         RAX_LP/RDX_LP on SAVE_PTR.
22619 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22621         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22623 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22625         * libm_test.inc (csqrt_test): Allow more spurious underflow
22626         exceptions.
22627         (j0_test): Likewise.
22628         (j1_test): Likewise.
22629         (y0_test): Likewise.
22630         (y1_test): Likewise.
22632 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22634         * po/Makefile (libc.pot): Use UTF-8 charset.
22636 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22638         [BZ #14210]
22639         Suppress sign-conversion warning from FD_SET.
22640         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22641         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22642         not unsigned long int.
22643         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22645 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22647         [BZ #14050]
22648         [BZ #14117]
22649         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22650         __extern_always_inline instead of __extern_inline.
22651         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22652         (__signbit): Likewise.
22653         (__signbitl): Support C++ namespace.
22654         (lrintf): New inline function.
22655         (lrint): Likewise.
22656         (llrintf): Likewise.
22657         (llrint): Likewise.
22658         (fmaxf): Likewise.
22659         (fmax): Likewise.
22660         (fminf): Likewise.
22661         (fmin): Likewise.
22662         (rint): Likewise.
22663         (rintf): Likewise.
22664         (ceil): Likewise.
22665         (ceilf): Likewise.
22666         (floor): Likewise.
22667         (floorf): Likewise.
22668         (nearbyint): Likewise.
22669         (nearbyintf): Likewise.
22671 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22673         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22674         non-default versions.
22676 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22678         [BZ #14218]
22679         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22681 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22683         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22684         (FE_UPWARD, FE_DOWNWARD): Don't define.
22685         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22686         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22688         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22689         reading it.
22690         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22691         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22693 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22695         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22696         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22697         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22698         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22700 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22702         [BZ #14117]
22703         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22704         * sysdeps/i386/fpu/Implies: New file.
22705         * sysdeps/x86_64/fpu/Implies: Likewise.
22706         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22707         * sysdeps/x86/fpu/bits/fenv.h: This.
22709         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22710         __SSE_MATH__.
22712 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22714         [BZ #14134]
22715         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22716         character 0xffff that matches the last element of the
22717         conversion table.
22719 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22721         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22722         fmodl commit.
22724 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22726         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22727         values higher than 25.6283.
22729 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22731         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22732         subnormal exponent extraction and add some __builtin_expect.
22733         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22734         Fix for subnormal mantissa calculation.
22736 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22738         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22739         cpu2 is -1 and errno is not ENOSYS.
22741 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22743         [BZ #14117]
22744         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22745         * sysdeps/x86/bits/string.h: This.
22746         * sysdeps/x86_64/bits/string.h: Removed.
22748         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22749         if not compiling for x86-64, but compiling for >= i486.
22751         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22752         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22754         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22755         New macro from Linux kernel 3.4.0.
22756         (FP_XSTATE_MAGIC2): Likewise.
22757         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22758         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22759         (struct _fpx_sw_bytes): New struct.
22760         (struct _xsave_hdr): Likewise.
22761         (struct _ymmh_state): Likewise.
22762         (struct _xstate): Likewise.
22764         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22765         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22766         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22767         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22768         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22769         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22771         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22772         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22773         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22774         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22775         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22776         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22778 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22780         [BZ #13743]
22781         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22782         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22783         (sysdep_headers): Include sys/platform/ppc.h.
22784         * sysdeps/powerpc/test-gettimebase.c: Test for
22785         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22786         * manual/Makefile (appendices): Include platform.texi.
22787         * manual/contrib.texi (Contributors): Update @node pointers.
22788         * manual/maint.texi (Maintenance): Likewise.
22789         (Platform): New node.
22790         * manual/platform.texi: New file.  Document the new features.
22792 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22793             Jakub Jelinek  <jakub@redhat.com>
22795         [BZ #14188]
22796         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22797         where __builtin_expect is unavailable.
22799 2012-06-03  David S. Miller  <davem@davemloft.net>
22801         * stdlib/longlong.h: Updated from GCC.
22803 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22805         [BZ #14042]
22806         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22807         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22808         __mcount_internal.
22809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22810         (GLIBC_2.16): Likewise.
22812 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22814         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22816 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22819         (default-abi): New variable.
22820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22821         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22822         variable.
22823         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22824         Likewise.
22825         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22826         Likewise.
22827         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22828         Likewise.
22830         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22831         definition.  Document in comment.
22833 2012-06-01  David S. Miller  <davem@davemloft.net>
22835         * stdlib/longlong.h: Updated from GCC.
22837 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22839         [BZ #14117]
22840         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22841         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22842         sys/debugreg.h sys/io.h here.
22843         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22844         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22845         sys/io.h.
22846         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22847         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22848         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22849         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22850         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22851         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22853         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22854         Define only if __x86_64__ is defined.
22856 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22858         [BZ #14048]
22859         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22860         Use int64_t for variable i.
22861         * math/libm-test.inc (fmod_test): Add more tests.
22863         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22864         z computation is not scheduled after fetestexcept.
22865         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22866         Use math_force_eval instead of asm to ensure calculation scheduled
22867         before exception test.
22868         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22869         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22871 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22874         computation is not scheduled after fetestexcept.
22876 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22878         [BZ #14117]
22879         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22880         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22882 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22884         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22885         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22887 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22889         [BZ #14117]
22890         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22891         <bits/wordsize.h>.
22892         (__WCHAR_MIN): Support __WORDSIZE == 64.
22893         (__WCHAR_MAX): Likewise.
22895         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22896         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22898         [BZ #14183]
22899         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22900         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22902         [BZ #14117]
22903         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22904         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22906         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22907         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22909         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22910         Defined to 1 if __x86_64__ isn't defined.
22911         (_STAT_VER_LINUX_OLD): New.
22912         (st_atime): Remove duplicate.
22913         (st_mtime): Likewise.
22914         (st_ctime): Likewise.
22916 2012-05-31  David S. Miller  <davem@davemloft.net>
22918         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22919         entries.
22921 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22923         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22924         gen-libm-test.pl.
22926         [BZ #14132]
22927         * elf/dl-reloc.c: Include <_itoa.h>.
22928         (_dl_reloc_bad_type): Remove use of INTUSE.
22929         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22930         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22931         * stdio-common/psiginfo.c (psiginfo): Likewise.
22932         * stdio-common/psignal.c (psignal): Likewise.
22933         * string/strsignal.c (strsignal): Likewise.
22934         * include/signal.h (_sys_siglist): Declare hidden proto.
22935         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22936         INTVARDEF with libc_hidden_data_def.
22937         * stdio-common/itoa-udigits.c: Likewise.
22938         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22939         (_itoa_lower_digits_internal): Remove declaration.
22940         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22941         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22942         (_sys_sigabbrev_internal): Remove aliases.
22943         (_sys_siglist): Define hidden alias.
22945 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22947         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22948         bits/sysctl.h.
22950 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22952         [BZ #14117]
22953         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22954         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22956         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22957         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22958         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22959         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22960         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22961         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22963         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22964         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22965         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22967         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22968         with __addr.
22969         (insw): Likewise.
22970         (insl): Likewise.
22971         (outsb): Likewise.
22972         (outsw): Likewise.
22973         (outsl): Likewise.
22975         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22976         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22977         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22979         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22980         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22981         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22982         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22983         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22984         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22986         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22987         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22989         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22990         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22992         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22993         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22994         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22996         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22997         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22998         to ...
22999         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23001         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23002         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23003         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23005         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23006         for x86-64.
23007         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23009 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
23011         * math/math.h (M_El): Use two more decimal places.
23012         (M_LOG2El): Likewise.
23013         (M_LOG10El): Likewise.
23014         (M_LN2l): Likewise.
23015         (M_LN10l): Likewise.
23016         (M_PIl): Likewise.
23017         (M_PI_2l): Likewise.
23018         (M_PI_4l): Likewise.
23019         (M_1_PIl): Likewise.
23020         (M_2_PIl): Likewise.
23021         (M_2_SQRTPIl): Likewise.
23022         (M_SQRT2l): Likewise.
23023         (M_SQRT1_2l): Likewise.
23025 2012-05-31  David S. Miller  <davem@davemloft.net>
23027         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23028         values between float registers.
23029         * sysdeps/sparc/sparc64/memset.S: Likewise.
23030         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23032 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
23034         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23035         -D_FORTIFY_SOURCE=1.
23036         (CPPFLAGS-tst-longjmp_chk.c): Define.
23037         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23038         (CPPFLAGS-tst-longjmp_chk2.c): Define.
23039         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23040         CFLAGS-tst-wchar-h.c.
23042 2012-05-31  Marek Polacek  <polacek@redhat.com>
23044         [BZ #14132]
23045         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23046         __endmntent_internal): Remove declaration.
23047         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23048         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23049         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23051 2012-05-30  David S. Miller  <davem@davemloft.net>
23053         * sysdeps/sparc/sparc32/soft-fp/q_util.c
23054         (___Q_simulate_exceptions): Use real FP ops rather than writing
23055         into the %fsr.
23056         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23057         Likewise.
23059 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23061         [BZ #14117]
23062         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23063         * sysdeps/x86/bits/xtitypes.h: This.
23065         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23066         * sysdeps/x86/bits/wordsize.h: This.
23068         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23069         * sysdeps/x86/bits/huge_vall.h: This.
23071         * sysdeps/i386/bits/select.h: Removed.
23072         * sysdeps/x86_64/bits/select.h: Renamed to ...
23073         * sysdeps/x86/bits/select.h: This.
23075         * sysdeps/i386/bits/setjmp.h: Removed.
23076         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23077         * sysdeps/x86/bits/setjmp.h: This.
23079         * sysdeps/i386/bits/mathdef.h: Removed.
23080         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23081         * sysdeps/x86/bits/mathdef.h: This.
23083 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
23085         [BZ #14132]
23086         * include/sys/socket.h (__connect_internal)
23087         (__libc_sa_len_internal): Remove declaration.
23088         (__connect, __libc_sa_len): Declare hidden_proto.
23089         (SA_LEN): Remove use of INTUSE.
23090         * socket/connect.c: Add libc_hidden_def.
23091         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23092         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23093         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23094         alias.
23095         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23096         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23097         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23098         of adding _internal alias.
23100 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23102         [BZ #14117]
23103         * sysdeps/i386/bits/link.h: Removed.
23104         * sysdeps/i386/bits/linkmap.h: Likewise.
23105         * sysdeps/x86_64/bits/link.h: Renamed to ...
23106         * sysdeps/x86/bits/link.h: This.
23107         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23108         * sysdeps/x86/bits/linkmap.h: This.
23110         * sysdeps/i386/bits/endian.h: Removed.
23111         * sysdeps/x86_64/bits/endian.h: Renamed to ...
23112         * sysdeps/x86/bits/endian.h: This.
23114         * sysdeps/i386/bits/byteswap.h: Removed.
23115         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23116         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23117         * sysdeps/x86/bits/byteswap.h: This.
23118         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23119         * sysdeps/x86/bits/byteswap-16.h: This.
23120         * sysdeps/i386/Implies: Add x86.
23121         * sysdeps/x86_64/Implies: Likewise.
23123 2012-05-30  David S. Miller  <davem@davemloft.net>
23125         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23126         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23127         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23128         (FP_TRAPPING_EXCEPTIONS): Define.
23129         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23130         (FP_TRAPPING_EXCEPTIONS): Define.
23131         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23132         subnormals only when inexact has been signalled or underflow
23133         exceptions are enabled.
23134         (_FP_PACK_CANONICAL): Likewise.
23136 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23138         [BZ #14183]
23139         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23140         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23142 2012-05-30  Richard Henderson  <rth@twiddle.net>
23144         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23145         with #ifndef NOT_IN_libc.
23147         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
23148         marked to avoid plt entry.
23150 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23152         [BZ #14112]
23153         * Makeconfig (default-abi): New macro.
23154         (abi-includes): Likewise.
23155         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
23156         $(abi-$(default-abi)-lib-soname) for soname if defined.
23157         ($(common-objpfx)gnu/lib-names.stmp): Generate from
23158         abi-variants.
23159         * Makefile (installed-stubs): Likewise.
23160         * include/stubs-biarch.h: Removed.
23161         * scripts/lib-names.awk: Only handle one library at a time.
23162         * scripts/soversions.awk: Remove WORDSIZE support.
23163         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23164         entries.
23165         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23166         Removed.
23167         (syscall-list-default-condition): Likewise.
23168         (syscall-list-default-condition): Likewise.
23169         (syscall-list-includes): Likewise.
23170         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23171         syscall-list-* with abi-*.  Handle undefined abi-variants.
23172         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23173         * sysdeps/unix/sysv/linux/i386/Implies: New file.
23174         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23175         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23176         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23177         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23178         Removed.
23179         (syscall-list-32-options): Likewise.
23180         (syscall-list-32-condition): Likewise.
23181         (syscall-list-64-options): Likewise.
23182         (syscall-list-64-condition): Likewise.
23183         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23184         macro.
23185         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23186         Renamed to ...
23187         (abi-*): This.
23188         (abi-64-ld-soname): New macro.
23189         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23190         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23191         Renamed to ...
23192         (abi-*): This.
23193         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23194         * sysdeps/x86_64/x32/shlib-versions: Likewise.
23196 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
23198         * sysdeps/unix/sysv/linux/kernel-features.h
23199         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23200         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23201         include <kernel-features.h>.
23202         [!__NR_ftruncate64]: Remove conditional code.
23203         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23204         [__NR_ftruncate64]: Make code unconditional.
23205         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23206         * sysdeps/unix/sysv/linux/truncate64.c: Do not
23207         include <kernel-features.h>.
23208         [!__NR_ftruncate64]: Remove conditional code.
23209         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23210         [__NR_ftruncate64]: Make code unconditional.
23211         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23213         include <kernel-features.h>.
23214         [!__NR_ftruncate64]: Remove conditional code.
23215         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23216         [__NR_ftruncate64]: Make code unconditional.
23217         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23219         include <kernel-features.h>.
23220         [!__NR_ftruncate64]: Remove conditional code.
23221         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23222         [__NR_ftruncate64]: Make code unconditional.
23223         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23225         * configure.in (libc_cv_fpie): Weaken to a compile test using
23226         LIBC_TRY_CC_OPTION.
23227         * configure: Regenerated.
23229 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23235         Refreshed.
23236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23242         Refreshed.
23244 2012-05-27  David S. Miller  <davem@davemloft.net>
23246         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23247         (___Q_zero): New.
23248         (__Q_simulate_exceptions): Return void.  Change to simulate
23249         exceptions by writing into the %fsr.
23250         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23251         (__Qp_handle_exceptions): Likewise.
23252         (numbers): Delete.
23253         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23254         __Qp_handle_exceptions.
23255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23256         __Qp_handle_exceptions.
23257         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23258         as unused and give dummy FP_RND_NEAREST initializer.
23259         (FP_INHIBIT_RESULTS): Define.
23260         (___Q_simulate_exceptions): Update declaration.
23261         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23262         formatting.
23263         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23264         as unused and give dummy FP_RND_NEAREST initializer.
23265         (__Qp_handle_exceptions): Update declaration.
23266         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23267         formatting.
23269 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
23271         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23272         the temporary FPU control word.
23273         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23274         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23275         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23276         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23277         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23278         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23279         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23280         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23281         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23282         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23283         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23285 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23287         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23288         fields.
23290 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
23292         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23293         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23294         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23295         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23296         Likewise.
23297         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23298         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23299         Likewise.
23301 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
23303         * po/h.po: Update from translation team.
23305 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
23307         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23309         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23310         handling of denormals.
23311         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23312         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23313         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23314         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23315         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23316         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23317         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23318         Likewise.
23320 2012-05-26  Marek Polacek  <polacek@redhat.com>
23322         [BZ #14152]
23323         * math/libm-test.inc (fma_test): Don't always expect underflow
23324         exception.
23326 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23328         [BZ #12416]
23329         * elf/tst-execstack.c: Include stackinfo.h.
23330         (do_test): Adjust test case to ensure that pthread_getattr_np
23331         behaviour remains the same after marking stack executable.
23333 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23335         * sysdeps/unix/sysv/linux/kernel-features.h
23336         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23337         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23338         kernel-features.h.
23339         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23340         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23341         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23342         kernel-features.h.
23343         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23344         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23346 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23348         * configure.in: Define the default includes to being none.
23349         * configure: Regenerated.
23351 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23353         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23354         * sysdeps/x86_64/setjmp.S: Likewise.
23355         * sysdeps/i386/bsd-setjmp.S: Likewise.
23356         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23357         * sysdeps/i386/setjmp.S: Likewise.
23358         * sysdeps/i386/__longjmp.S: Likewise.
23359         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23360         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23362         * include/stap-probe.h: New file.
23363         * configure.in: Handle --enable-systemtap.
23364         * configure: Regenerated.
23365         * config.h.in (USE_STAP_PROBE): New #undef.
23366         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23367         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23368         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23370 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23372         [BZ #13717]
23373         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23374         to 2.4.0 where earlier.
23375         * sysdeps/unix/sysv/linux/configure: Regenerated.
23376         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23377         <kernel-features.h>.
23378         [__ASSUME_32BITUIDS]: Make code unconditional.
23379         [!__ASSUME_32BITUIDS]: Remove conditional code.
23380         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23381         <kernel-features.h>.
23382         [__ASSUME_32BITUIDS]: Make code unconditional.
23383         [!__ASSUME_32BITUIDS]: Remove conditional code.
23384         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23385         [__ASSUME_32BITUIDS]: Make code unconditional.
23386         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23387         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23388         <kernel-features.h>.
23389         [__ASSUME_32BITUIDS]: Make code unconditional.
23390         [!__ASSUME_32BITUIDS]: Remove conditional code.
23391         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23392         <kernel-features.h>.
23393         [__ASSUME_32BITUIDS]: Make code unconditional.
23394         [!__ASSUME_32BITUIDS]: Remove conditional code.
23395         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23396         <kernel-features.h>.
23397         [__ASSUME_32BITUIDS]: Make code unconditional.
23398         [!__ASSUME_32BITUIDS]: Remove conditional code.
23399         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23400         <kernel-features.h>.
23401         [__ASSUME_32BITUIDS]: Make code unconditional.
23402         [!__ASSUME_32BITUIDS]: Remove conditional code.
23403         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23404         <kernel-features.h>.
23405         [__ASSUME_32BITUIDS]: Make code unconditional.
23406         [!__ASSUME_32BITUIDS]: Remove conditional code.
23407         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23408         <kernel-features.h>.
23409         [__ASSUME_32BITUIDS]: Make code unconditional.
23410         [!__ASSUME_32BITUIDS]: Remove conditional code.
23411         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23412         <kernel-features.h>.
23413         [__ASSUME_32BITUIDS]: Make code unconditional.
23414         [!__ASSUME_32BITUIDS]: Remove conditional code.
23415         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23416         <kernel-features.h>.
23417         [__ASSUME_32BITUIDS]: Make code unconditional.
23418         [!__ASSUME_32BITUIDS]: Remove conditional code.
23419         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23420         <kernel-features.h>.
23421         [__ASSUME_32BITUIDS]: Make code unconditional.
23422         [!__ASSUME_32BITUIDS]: Remove conditional code.
23423         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23424         <kernel-features.h>.
23425         [__ASSUME_32BITUIDS]: Make code unconditional.
23426         [!__ASSUME_32BITUIDS]: Remove conditional code.
23427         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23428         <kernel-features.h>.
23429         [__NR_setresgid] (__setresgid): Do not declare.
23430         [__ASSUME_32BITUIDS]: Make code unconditional.
23431         [!__ASSUME_32BITUIDS]: Remove conditional code.
23432         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23433         <kernel-features.h>.
23434         [__NR_setresuid] (__setresuid): Do not declare.
23435         [__ASSUME_32BITUIDS]: Make code unconditional.
23436         [!__ASSUME_32BITUIDS]: Remove conditional code.
23437         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23438         <kernel-features.h>.
23439         [__ASSUME_32BITUIDS]: Make code unconditional.
23440         [!__ASSUME_32BITUIDS]: Remove conditional code.
23441         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23442         <kernel-features.h>.
23443         [__ASSUME_32BITUIDS]: Make code unconditional.
23444         [!__ASSUME_32BITUIDS]: Remove conditional code.
23445         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23446         <kernel-features.h>.
23447         [__ASSUME_32BITUIDS]: Make code unconditional.
23448         [!__ASSUME_32BITUIDS]: Remove conditional code.
23449         * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.c: Do not include
23458         <kernel-features.h>.
23459         [__ASSUME_32BITUIDS]: Make code unconditional.
23460         [!__ASSUME_32BITUIDS]: Remove conditional code.
23461         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23462         <kernel-features.h>.
23463         [__ASSUME_32BITUIDS]: Make code unconditional.
23464         [!__ASSUME_32BITUIDS]: Remove conditional code.
23465         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23466         <kernel-features.h>.
23467         [__ASSUME_32BITUIDS]: Make code unconditional.
23468         [!__ASSUME_32BITUIDS]: Remove conditional code.
23469         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23470         <kernel-features.h>.
23471         [__ASSUME_32BITUIDS]: Make code unconditional.
23472         [!__ASSUME_32BITUIDS]: Remove conditional code.
23473         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23474         <kernel-features.h>.
23475         [__ASSUME_32BITUIDS]: Make code unconditional.
23476         [!__ASSUME_32BITUIDS]: Remove conditional code.
23477         * sysdeps/unix/sysv/linux/kernel-features.h
23478         (__ASSUME_SETRESUID_SYSCALL): Remove.
23479         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23480         (__ASSUME_32BITUIDS): Likewise.
23481         (__ASSUME_LDT_WORKS): Likewise.
23482         (__ASSUME_O_DIRECTORY): Likewise.
23483         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23484         architecture but not kernel version.
23485         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23486         (__ASSUME_MMAP2_SYSCALL): Likewise.
23487         (__ASSUME_STAT64_SYSCALL): Likewise.
23488         (__ASSUME_IPC64): Likewise.
23489         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23490         <kernel-features.h>.
23491         [__ASSUME_32BITUIDS]: Make code unconditional.
23492         [!__ASSUME_32BITUIDS]: Remove conditional code.
23493         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23494         <kernel-features.h>.
23495         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23496         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23497         132096]: Remove conditional code.
23498         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23499         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23500         <kernel-features.h>.
23501         [__ASSUME_32BITUIDS]: Make code unconditional.
23502         [!__ASSUME_32BITUIDS]: Remove conditional code.
23503         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23504         <kernel-features.h>.
23505         [__ASSUME_32BITUIDS]: Make code unconditional.
23506         [!__ASSUME_32BITUIDS]: Remove conditional code.
23507         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23508         <kernel-features.h>.
23509         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23510         unconditional.
23511         (__setresgid): Do not declare.
23512         [__ASSUME_32BITUIDS]: Make code unconditional.
23513         [!__ASSUME_32BITUIDS]: Remove conditional code.
23514         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23515         <kernel-features.h>.
23516         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23517         unconditional.
23518         (__setresuid): Do not declare.
23519         [__ASSUME_32BITUIDS]: Make code unconditional.
23520         [!__ASSUME_32BITUIDS]: Remove conditional code.
23521         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23522         <kernel-features.h>.
23523         [__ASSUME_32BITUIDS]: Make code unconditional.
23524         [!__ASSUME_32BITUIDS]: Remove conditional code.
23525         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23526         <kernel-features.h>.
23527         [__ASSUME_32BITUIDS]: Make code unconditional.
23528         [!__ASSUME_32BITUIDS]: Remove conditional code.
23530 2012-05-25  Richard Henderson  <rth@twiddle.net>
23532         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23533         dl_hwcap to ifunc resolver.
23534         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23535         elf_ifunc_invoke.
23536         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23537         dl_hwcap to ifunc resolver.
23538         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23540 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23542         [BZ #14153]
23543         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23544         for |x| <= 2**-26, not 2**-57.
23545         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23546         exception.
23548 2012-05-24  Jeff Law  <law@redhat.com>
23550         * stdio-common/Makefile (tests): Add bug25.
23551         * stdio-common/bug25.c: New test.
23553 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23555         [BZ #13576]
23556         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23557         multiple of MALLOC_ALIGNMENT in size.
23558         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23560 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23562         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23563         Require >= 256.
23564         (FILENAME_MAX): Use macro-int-constant.
23565         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23566         (_IOFBF): Use macro-int-constant.
23567         (_IOLBF): Likewise.
23568         (_IONBF): Likewise.
23569         (SEEK_CUR): Likewise.
23570         (SEEK_END): Likewise.
23571         (SEEK_SET): Likewise.
23572         (TMP_MAX): Likewise.
23573         (EOF): Use macro-int-constant.  Require < 0.
23574         (NULL): Use macro-constant.  Require == 0.
23575         (stdin): Require type to be FILE *.
23576         (stdout): Likewise.
23577         (stderr): Likewise.
23578         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23579         macro-int-constant.
23580         (EXIT_SUCCESS): Likewise.
23581         (NULL): Use macro-constant.  Require == 0.
23582         (RAND_MAX): Use macro-int-constant.
23583         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23584         [C99-based standards] (strtof): Require function.
23585         [C99-based standards] (strtold): Likewise.
23586         [C99-based standards] (strtoll): Likewise.
23587         [C99-based standards] (strtoull): Likewise.
23588         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23589         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23590         [ISO || ISO99 || ISO11] (math.h): Likewise.
23591         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23592         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23593         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23595 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23597         [BZ #14132]
23598         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23599         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23600         * intl/dgettext.c (DCGETTEXT): Likewise.
23601         * intl/gettext.c (DCGETTEXT): Likewise.
23602         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23603         * posix/regex_internal.h (gettext): Likewise.
23604         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23605         Remove declaration.
23606         * include/argz.h (__argz_count_internal)
23607         (__argz_stringify_internal): Remove declaration.
23608         (__argz_count, __argz_stringify): Declare hidden proto.
23609         * intl/dcgettext.c: Remove use of INTDEF.
23610         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23611         * string/argz-stringify.c: Likewise.
23612         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23613         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23614         Declare hidden proto.
23615         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23616         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23617         Declare hidden proto.
23618         * include/stdio.h (__asprintf_internal): Don't declare.
23619         (__asprintf): Don't define as macro.  Declare hidden proto.
23620         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23621         (__fsetlocking): Declare hidden proto.
23622         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23623         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23624         hidden proto.
23625         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23626         (_IO_setlinebuf): Remove use of INTUSE.
23627         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23628         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23629         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23630         Remove declaration.
23631         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23632         (_IO_do_flush): Remove use of INTUSE.
23633         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23634         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23635         (_IO_adjust_column, _IO_least_wmarker)
23636         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23637         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23638         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23639         (_IO_default_doallocate, _IO_wdefault_doallocate)
23640         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23641         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23642         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23643         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23644         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23645         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23646         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23647         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23648         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23649         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23650         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23651         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23652         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23653         proto.
23654         (_IO_flush_all_internal, _IO_adjust_column_internal)
23655         (_IO_default_uflow_internal, _IO_default_finish_internal)
23656         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23657         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23658         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23659         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23660         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23661         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23662         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23663         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23664         (_IO_file_close_internal, _IO_file_close_it_internal)
23665         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23666         (_IO_file_init_internal, _IO_file_attach_internal)
23667         (_IO_file_fopen_internal, _IO_file_read_internal)
23668         (_IO_file_sync_internal, _IO_file_seek_internal)
23669         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23670         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23671         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23672         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23673         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23674         (_IO_list_all_internal, _IO_link_in_internal)
23675         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23676         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23677         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23678         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23679         (_IO_do_write_internal, _IO_padn_internal)
23680         (_IO_getline_info_internal, _IO_getline_internal)
23681         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23682         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23683         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23684         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23685         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23686         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23687         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23688         with libc_hidden_ver, remove use of INTUSE.
23689         * libio/genops.c: Likewise.
23690         * libio/freopen.c: Likewise.
23691         * libio/freopen64.c: Likewise.
23692         * libio/iofclose.c: Likewise.
23693         * libio/iofdopen.c: Likewise.
23694         * libio/iofflush.c: Likewise.
23695         * libio/iofflush_u.c: Likewise.
23696         * libio/iofgets.c: Likewise.
23697         * libio/iofgets_u.c: Likewise.
23698         * libio/iofopen.c: Likewise.
23699         * libio/iofopncook.c: Likewise.
23700         * libio/iofread.c: Likewise.
23701         * libio/iofread_u.c: Likewise.
23702         * libio/ioftell.c: Likewise.
23703         * libio/iofwrite.c: Likewise.
23704         * libio/iogetline.c: Likewise.
23705         * libio/iogets.c: Likewise.
23706         * libio/iogetwline.c: Likewise.
23707         * libio/iopadn.c: Likewise.
23708         * libio/iopopen.c: Likewise.
23709         * libio/ioseekoff.c: Likewise.
23710         * libio/ioseekpos.c: Likewise.
23711         * libio/iosetbuffer.c: Likewise.
23712         * libio/iosetvbuf.c: Likewise.
23713         * libio/ioungetc.c: Likewise.
23714         * libio/ioungetwc.c: Likewise.
23715         * libio/iovdprintf.c: Likewise.
23716         * libio/iovsprintf.c: Likewise.
23717         * libio/iovsscanf.c: Likewise.
23718         * libio/memstream.c: Likewise.
23719         * libio/obprintf.c: Likewise.
23720         * libio/oldfileops.c: Likewise.
23721         * libio/oldiofclose.c: Likewise.
23722         * libio/oldiofdopen.c: Likewise.
23723         * libio/oldiofopen.c: Likewise.
23724         * libio/oldiopopen.c: Likewise.
23725         * libio/oldstdfiles.c: Likewise.
23726         * libio/putc.c: Likewise.
23727         * libio/setbuf.c: Likewise.
23728         * libio/setlinebuf.c: Likewise.
23729         * libio/stdfiles.c: Likewise.
23730         * libio/strops.c: Likewise.
23731         * libio/vasprintf.c: Likewise.
23732         * libio/vscanf.c: Likewise.
23733         * libio/vsnprintf.c: Likewise.
23734         * libio/vswprintf.c: Likewise.
23735         * libio/wfiledoalloc.c: Likewise.
23736         * libio/wfileops.c: Likewise.
23737         * libio/wgenops.c: Likewise.
23738         * libio/wmemstream.c: Likewise.
23739         * libio/wstrops.c: Likewise.
23740         * libio/__fpurge.c: Likewise.
23741         * libio/__fsetlocking.c: Likewise.
23742         * assert/assert.c: Likewise.
23743         * debug/fgets_chk.c: Likewise.
23744         * debug/fgets_u_chk.c: Likewise.
23745         * debug/fread_chk.c: Likewise.
23746         * debug/fread_u_chk.c: Likewise.
23747         * debug/gets_chk.c: Likewise.
23748         * debug/obprintf_chk.c: Likewise.
23749         * debug/vasprintf_chk.c: Likewise.
23750         * debug/vdprintf_chk.c: Likewise.
23751         * debug/vsnprintf_chk.c: Likewise.
23752         * debug/vsprintf_chk.c: Likewise.
23753         * malloc/mtrace.c: Likewise.
23754         * misc/error.c: Likewise.
23755         * misc/syslog.c: Likewise.
23756         * stdio-common/asprintf.c: Likewise.
23757         * stdio-common/fxprintf.c: Likewise.
23758         * stdio-common/getw.c: Likewise.
23759         * stdio-common/isoc99_fscanf.c: Likewise.
23760         * stdio-common/isoc99_scanf.c: Likewise.
23761         * stdio-common/isoc99_vfscanf.c: Likewise.
23762         * stdio-common/isoc99_vscanf.c: Likewise.
23763         * stdio-common/isoc99_vsscanf.c: Likewise.
23764         * stdio-common/printf-prs.c: Likewise.
23765         * stdio-common/printf_fp.c: Likewise.
23766         * stdio-common/printf_fphex.c: Likewise.
23767         * stdio-common/printf_size.c: Likewise.
23768         * stdio-common/putw.c: Likewise.
23769         * stdio-common/scanf.c: Likewise.
23770         * stdio-common/sprintf.c: Likewise.
23771         * stdio-common/tmpfile.c: Likewise.
23772         * stdio-common/vfprintf.c: Likewise.
23773         * stdio-common/vfscanf.c: Likewise.
23774         * stdlib/strfmon_l.c: Likewise.
23775         * sunrpc/openchild.c: Likewise.
23776         * sunrpc/xdr_stdio.c: Likewise.
23777         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23778         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23780 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23782         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23784         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23785         in the third column, to generate for the shared library an IFUNC
23786         that uses _dl_vdso_vsym.
23787         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23788         * Makeconfig (object-suffixes-noshared): New variable.
23790         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23791         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23792         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23793         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23795         [BZ #14132]
23796         * include/sys/time.h (__gettimeofday): Remove macro.
23797         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23798         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23799         Remove INTDEF.
23800         (__gettimeofday): Add libc_hidden_def.
23801         (gettimeofday): Add libc_hidden_weak.
23802         * sysdeps/mach/gettimeofday.c: Likewise.
23803         * sysdeps/posix/gettimeofday.c: Likewise.
23804         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23805         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23806         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23807         (__gettimeofday_internal): Remove strong_alias.
23808         (__gettimeofday): Add libc_hidden_def.
23809         (gettimeofday): Add libc_hidden_weak.
23810         * sysdeps/unix/syscalls.list (gettimeofday):
23811         Remove __gettimeofday_internal alias.
23813 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23814             H.J. Lu  <hongjiu.lu@intel.com>
23816         [BZ #12495]
23817         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23818         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23819         (largebin_index_32_big): New.
23820         (largebin_index): Use it for 16-byte alignment.
23821         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23822         correction with front_misalign.
23824 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23828         Likewise.
23829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23830         Likewise.
23831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23832         Likewise.
23833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23834         Likewise.
23835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23836         Likewise.
23837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23838         Likewise.
23839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23840         Likewise.
23841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23842         Likewise.
23843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23844         Likewise.
23845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23846         Likewise.
23847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23848         Likewise.
23849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23850         Likewise.
23852         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23853         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23855 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23857         [BZ #10846]
23858         [BZ #14036]
23859         * math/libm-test.inc (exp_test): Add test from bug 14036.
23860         (pow_test): Add test from bug 10846.
23862         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23863         and other flags.
23864         (special_function): Do not include flags in test name.
23865         (parse_args): Likewise.
23866         * sysdeps/i386/fpu/libm-test-ulps: Update.
23867         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23868         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23869         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23872         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23873         exceptions.
23874         * math/libm-test.inc ("Philosophy"): Update comment about
23875         exception testing.
23876         (UNDERFLOW_EXCEPTION): New macro.
23877         (UNDERFLOW_EXCEPTION_OK): Likewise.
23878         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23879         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23880         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23881         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23882         (INVALID_EXCEPTION_OK): Update value.
23883         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23884         (OVERFLOW_EXCEPTION_OK): Likewise.
23885         (IGNORE_ZERO_INF_SIGN): Likewise.
23886         (test_exceptions): Handle underflow exceptions.
23887         (acos_test): Update for underflow exception expectations.
23888         (cexp_test): Likewise.
23889         (clog_test): Likewise.
23890         (clog10_test): Likewise.
23891         (csqrt_test): Likewise.
23892         (ctan_test): Likewise.
23893         (ctanh_test): Likewise.
23894         (exp_test): Likewise.
23895         (exp10_test): Likewise.
23896         (exp2_test): Likewise.
23897         (expm1_test): Likewise.
23898         (fma_test): Likewise.
23899         (j0_test): Likewise.
23900         (jn_test): Likewise.
23901         (nexttoward_test): Likewise.
23902         (pow_test): Likewise.
23903         (scalbn_test): Likewise.
23904         (scalbln_test): Likewise.
23905         (tan_test): Likewise.
23906         (y1_test): Likewise.
23907         * sysdeps/i386/fpu/libm-test-ulps: Update.
23908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23910 2012-05-23  David S. Miller  <davem@davemloft.net>
23912         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23913         (__libc_sigaction): Remove unused local variables.
23915 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23917         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23919 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23921         mktime: avoid signed integer overflow
23922         * time/mktime.c (__mktime_internal): Do not mishandle the case
23923         where diff == INT_MIN.
23925         mktime: simplify computation of average
23926         * time/mktime.c (ranged_convert): Use new time_t_avg function
23927         instead of rolling our own (probably-slower) code.
23929         mktime: do not assume signed right shift propagates sign bit
23930         * time/mktime.c (isdst_differ): New static function.
23931         (__mktime_internal): No need to normalize tm_isdst now.
23932         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23933         tm_isdst values.
23935         mktime: merge another wrapv change from gnulib
23936         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23937         from some compilers.
23939         mktime: remove incorrect attempt at unusual arithmetics
23940         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23941         The code didn't really work on such machines anyway.
23942         (TYPE_MINIMUM): Assume two's complement.
23943         (twos_complement_arithmetic): Verify that long_int and time_t
23944         are two's complement (or unsigned, in the latter case).
23946         mktime: check signed shifts on long_int and time_t, too
23947         * time/mktime.c (SHR): Check that shifts work as desired
23948         on the types long_int and time_t too, as SHR is used on
23949         such types.
23951         mktime: do not assume 'long' is wide enough
23952         * time/mktime.c (verify): Move decl up.
23953         (long_int): New type.
23954         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23955         to remove assumption in the code that 'long' is wide enough to
23956         store year values.  This assumption is not true on x32 and on
23957         some non-glibc platforms.
23959         mktime: merge wrapv change from gnulib
23960         * time/mktime.c (WRAPV): New macro.
23961         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23962         (guess_time_tm, __mktime_internal): Do not assume that signed
23963         integer overflow wraps around; modern compilers generate code
23964         where this assumption is no longer valid.
23966 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23968         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23969         Replace "jmp L(pseudo_end)" with "ret".
23970         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23971         Likewise.
23973 2012-05-23  Andreas Jaeger  <aj@suse.de>
23975         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23976         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23978 2012-05-23  Andreas Jaeger  <aj@suse.de>
23979             Maximilian Attems  <max@stro.at>
23981         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23982         New macros.
23984 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23986         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23987         code so that pseudo_end is just ret and the stack pointer is
23988         correct also for static library in error case.
23990 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23992         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23993         move to syscalls.list.
23994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23999         * manual/install.texi (Running make install): Do not mention Linux
24000         kernel version for which pt_chown is not needed.
24001         (Linux): Do not mention problems with nscd with 2.0 kernels.
24002         * INSTALL: Regenerated.
24004 2012-05-23  Andreas Jaeger  <aj@suse.de>
24006         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24007         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24008         macro.
24009         * sysdeps/unix/sysv/linux/s390/bits/mman.h
24010         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24011         * sysdeps/unix/sysv/linux/sh/bits/mman.h
24012         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24013         * sysdeps/unix/sysv/linux/i386/bits/mman.h
24014         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24015         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24016         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24017         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24018         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24019         * sysdeps/unix/sysv/linux/bits/in.h
24020         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24022 2012-05-22  Roland McGrath  <roland@hack.frob.com>
24024         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24025         (PREPARE_VERSION): Just use assert instead, it will be elided
24026         under [NDEBUG] anyway.
24028 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24030         * sysdeps/unix/sysv/linux/Makefile: Include
24031         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24032         (sysdep_routines): Remove sysctl.
24033         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24034         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24035         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24036         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24037         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24039 2012-05-22  Andreas Jaeger  <aj@suse.de>
24041         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24042         that pseudo_end is just ret and the stack pointer is correct also
24043         for static library in error case.
24045 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24047         [BZ #14122]
24048         * nss/nsswitch.c (defconfig_entries): New variable.
24049         (__nss_database_lookup): Don't leak defconfig entries.
24050         (nss_parse_service_list): Don't leak on error paths.
24051         (free_database_entries): New function.
24052         (free_defconfig): New function.
24053         (free_mem): Move common code to free_database_entries.
24055 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24057         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24058         Add arch_prctl.
24059         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24061         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24062         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24063         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24064         New macro.
24065         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24066         (INTERNAL_SYSCALL_TYPES): Likewise.
24067         (LOAD_ARGS_TYPES_[1-6]): Likewise.
24068         (LOAD_REGS_TYPES_[1-6]): Likewise.
24069         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24070         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24072 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24074         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24075         copysignl for GLIBC_2_0.
24076         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24077         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24078         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24079         logbl for GLIBC_2_0.
24080         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24081         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24083 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24085         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24086         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24088         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24089         Use "neg %eax".
24091         * time/mktime.c: Update copyright years.
24093 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24095         mktime: merge comment-quoting-style change from gnulib
24096         * time/mktime.c: Quote 'like this' in comments.
24097         The GNU coding standards suggest that we no longer quote `like this',
24098         as "`" and "'" are typically rendered asymmetrically nowadays.
24099         The typical gnulib style is to quote 'like this' when quoting
24100         code, and "like this" when quoting English.
24102         * time/mktime.c (compile-command): Add "-I.".
24104         mktime: merge mktime-internal.h change from gnulib
24105         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24107         mktime: merge time_r change from gnulib
24108         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24110         mktime: merge DEBUG change from gnulib
24111         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24112         case system <time.h> has a #define.
24114         mktime: merge <sys/types.h> change from gnulib
24115         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24116         since <time.t> is now guaranteed to define time_t.
24118         mktime: merge HAVE_CONFIG_H change from gnulib
24119         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24121 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24123         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24124         Use "neg %eax".
24126         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24127         __rlim_t cast.
24128         (struct rusage): Use anonymous union to pad each field to
24129         __syscall_slong_t.
24131 2012-05-21  David S. Miller  <davem@davemloft.net>
24133         * Makefules (o-iterator): Remove .s cases.
24134         (compile-command.s): Delete.
24135         (COMPILE.s): Delete.
24136         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24138 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
24140         * configure.in (libc_cv_predef_stack_protector): Only consider
24141         "foobar" and "__stack_chk_fail" lines in libc_undefs.
24142         * configure: Regenerated.
24144 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24147         New macro.  Use R*LP on int and pointer.
24148         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24149         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24150         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24151         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24153         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24154         [__WORDSIZE_TIME64_COMPAT32] instead of
24155         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24156         (struct utmp): Likewise.
24157         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24158         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24159         Renamed to ...
24160         (__WORDSIZE_TIME64_COMPAT32): This.
24161         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24162         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24163         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24164         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24165         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24166         (__WORDSIZE_TIME64_COMPAT32): New macro.
24168 2012-05-21  Andreas Jaeger  <aj@suse.de>
24170         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24171         only if [SHARED]. Add prototype for __wcschr_ia32.
24173 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24175         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24176         of %rbp unmolested in the jmp_buf while mangling the low bits.
24177         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24178         unmolested high bits of %rbp while demangling the low bits.
24179         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24181 2012-05-21  Andreas Jaeger  <aj@suse.de>
24183         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24184         * sunrpc/svc_simple.c: Use it for registerrpc.
24185         * sunrpc/xcrypt.c: Use it for passwd2des.
24187         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24189 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24191         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24192         Don't define if [__SYSCALL_WORDSIZE != 32].
24193         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24194         New macro.
24196 2012-05-21  Bruno Haible  <bruno@clisp.org>
24197             Andreas Jaeger  <aj@suse.de>
24199         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24200         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24201         inptr and inend for must_buffer_ch.
24202         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24203         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24204         * stdio-common/Makefile (tests): Remove bug15.
24205         (bug15-ENV): Remove macro.
24206         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24207         anymore.
24209 2012-05-19  Andreas Jaeger  <aj@suse.de>
24210             Roland McGrath  <roland@hack.frob.com>
24212         * manual/contrib.texi: Completely rewritten. It contains now an
24213         alphabetical list of contributors and their contributions.
24215 2012-05-21  Richard Henderson  <rth@twiddle.net>
24217         * misc/getauxval.c (__getauxval): Use unsigned long int.
24218         * misc/sys/auxv.h: Include <sys/cdefs.h>.
24219         (getauxval): Use unsigned long int.
24221 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24223         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24225 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24227         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24228         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24229         __alignof__ (long double).
24231 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24235 2012-05-20  Richard Henderson  <rth@twiddle.net>
24237         * misc/getauxval.c: New file.
24238         * misc/sys/auxv.h: New file.
24239         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24240         (routines): Add getauxval.
24241         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24242         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24243         * elf/dl-sysdep.c (_dl_auxv): Remove.
24244         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24245         * elf/dl-support.c (_dl_auxv): New variable.
24246         (_dl_aux_init): Initialize it.
24247         * manual/startup.texi (Auxiliary Vector): New node.
24248         * sysdeps/generic/bits/hwcap.h: New file.
24249         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24250         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
24251         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24252         * sysdeps/sparc/sysdep.h: ... here.  Include it.
24253         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24254         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24256         Update.
24257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24260         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24266 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24270 2012-05-19  David S. Miller  <davem@davemloft.net>
24272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24274 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24276         [BZ #14123]
24277         * math/s_ccosh.c: Include <float.h>
24278         (__ccosh): Avoid internal overflow calculating sinh and cosh
24279         values before multiplying by sin and cos values.
24280         * math/s_ccoshf.c: Likewise.
24281         * math/s_ccoshl.c: Likewise.
24282         * math/s_csin.c: Likewise.
24283         * math/s_csinf.c: Likewise.
24284         * math/s_csinl.c: Likewise.
24285         * math/s_csinh.c: Likewise.
24286         * math/s_csinhf.c: Likewise.
24287         * math/s_csinhl.c: Likewise.
24288         * math/libm-test.inc (ccos_test): Add more tests.
24289         (ccosh_test): Likewise.
24290         (csin_test): Likewise.
24291         (csinh_test): Likewise.
24292         * sysdeps/i386/fpu/libm-test-ulps: Update.
24293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24295 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
24297         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24298         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24300         * sysdeps/x86_64/x32/_itoa.h: Add comment.
24302 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24304         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24305         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24306         * sysdeps/powerpc/soft-fp/Versions: Likewise.
24307         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24308         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24309         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24310         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24311         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24312         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24313         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24314         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24315         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24316         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24317         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24318         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24319         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24320         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24321         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24322         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24323         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24324         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24325         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24326         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24327         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24328         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24329         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24330         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24331         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24332         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24333         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24334         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24336 2012-05-18  Andreas Jaeger  <aj@suse.de>
24338         * csu/.gitignore: Delete.
24340 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24342         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24343         (timex): Use __syscall_slong_t.
24345 2012-05-18  Andreas Jaeger  <aj@suse.de>
24346             Carlos O'Donell  <carlos_odonell@mentor.com>
24348         * manual/install.texi (Configuring and compiling): Update
24349         description about files modified in the source directory.
24350         * INSTALL: Regenerated.
24352 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24354         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24355         value.  Use "or" to set return value to -1.
24356         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24357         negate return value.
24359 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24361         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24362         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24363         failure if the compiler has Graphite support disabled.
24364         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24365         Likewise.
24366         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24367         CFLAGS-memmove.c): Likewise.
24368         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24369         Likewise.
24371 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24373         * sysdeps/x86_64/x32/_itoa.h: New file.
24375         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24376         getdents system call only if kernel and user dirents have the
24377         same d_ino and d_off.
24379         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24380         LLONG_MAX != LONG_MAX.
24381         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24382         (_fitoa_word): Likewise.
24384         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24385         years.
24386         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24387         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24388         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24390         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24391         include <bits/wordsize.h>.  Check __x86_64__ instead of
24392         __WORDSIZE.
24393         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24394         if __x86_64__ is defined.  Use anonymous union on fpstate.
24396         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24397         anonymous union.
24399 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24401         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24402         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24403         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24404         Refer to _rtld_local_ro instead of _rtld_global_ro.
24405         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24406         Likewise.
24407         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24408         Likewise.
24409         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24410         Likewise.
24411         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24412         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24413         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24415         * sysdeps/powerpc/powerpc32/dl-machine.c
24416         (__elf_machine_runtime_setup) [PROF]: Don't reference
24417         _dl_prof_resolve.
24419 2012-05-18  Andreas Jaeger  <aj@suse.de>
24421         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24422         function only available for GCCs before 3.4 since GCC 3.4
24423         introduced a builtin.
24424         (lrint): Likewise.
24425         (llrintf): Likewise.
24426         (llrint): Likewise.
24427         (fmaxf): Likewise.
24428         (fmax): Likewise.
24429         (fminf): Likewise.
24430         (fmin): Likewise.
24431         (rint): Likewise.
24432         (rintf): Likewise.
24433         (nearbyint): Likewise.
24434         (nearbyintf): Likewise.
24435         (ceil): Likewise.
24436         (ceilf): Likewise.
24437         (floor): Likewise.
24438         (floorf): Likewise.
24440 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24442         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24443         on both fields and cast pointer to __syscall_ulong_t.
24445         * bits/types.h (__fsword_t): New type.
24446         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24447         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24448         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24449         (__FSWORD_T_TYPE): Likewise.
24450         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24451         (__FSWORD_T_TYPE): Likewise.
24452         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24453         (__FSWORD_T_TYPE): Likewise.
24454         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24455         (__FSWORD_T_TYPE): Likewise.
24456         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24457         __SWORD_TYPE with __fsword_t.
24458         (statfs64): Likewise.
24460 2012-05-17  David S. Miller  <davem@davemloft.net>
24462         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24464 2012-05-17  Andreas Jaeger  <aj@suse.de>
24466         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24467         warning.
24469 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24471         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24473 2012-05-17  Andreas Jaeger  <aj@suse.de>
24475         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24476         when it is used.
24478 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24480         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24482 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24484         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24485         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24487 2012-05-17  Andreas Jaeger  <aj@suse.de>
24488             Carlos O'Donell  <carlos_odonell@mentor.com>
24490         [BZ #14059]
24491         * sysdeps/x86_64/multiarch/init-arch.h
24492         (bit_YMM_Usable): Rename to...
24493         (bit_AVX_Usable): ... this.
24494         (bit_FMA4_Usable): New macro.
24495         (bit_XMM_state): New macro.
24496         (bit_YMM_state): New macro.
24497         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24498         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24499         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24500         (CPUID_OSXSAVE): New macro.
24501         (CPUID_AVX): New macro.
24502         (CPUID_FMA4): New macro.
24503         (index_YMM_Usable): Rename to...
24504         (index_AVX_Usable): ... this.
24505         (HAS_AVX): Use HAS_ARCH_FEATURE.
24506         (HAS_FMA4): Likewise.
24507         (HAS_YMM_USABLE): Remove.
24508         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24509         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24510         are present.
24511         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24512         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24513         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24514         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24515         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24517 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24519         * math/libm-test.c: Support platforms without multiple rounding modes.
24520         * math/bug-nextafter.c: Support platforms without FP exceptions.
24521         * math/bug-nexttoward.c: Likewise.
24522         * math/test-fenv.c: Likewise.
24523         * math/test-misc.c: Likewise.
24524         * stdlib/bug-getcontext.c: Likewise.
24526 2012-05-17  Andreas Jaeger  <aj@suse.de>
24528         * manual/examples/search.c (critter_cmp): Change signature to
24529         avoid warnings.
24530         * manual/string.texi (Collation Functions): Likewise.
24532 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24534         * bits/types.h: Fold copyright years.
24535         * bits/typesizes.h: Likewise.
24536         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24537         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24538         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24539         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24540         * time/time.h: Likewise.
24542 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24544         [BZ #208]
24545         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24546         in instead of returning them.  Return void.
24547         (__libc_mallinfo): Accumulate over all arenas.
24548         (__malloc_stats): Adjust for change in int_mallinfo interface.
24550 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24552         [BZ #10375]
24553         * configure.in (NM): Add AC_CHECK_TOOL for it.
24554         (libc_extra_cflags): New substituted variable.
24555         Check for -fstack-protector being used implicitly.
24556         * configure: Regenerated.
24557         * config.make.in (config-extra-cflags): New variable,
24558         gets @libc_extra_cflags@.
24559         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24561         [BZ #10375]
24562         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24563         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24564         * configure: Regenerated.
24565         * config.make.in (CPPUNDEFS): New substituted variable.
24566         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24567         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24568         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24570 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24572         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24573         (mq_attr): Use __syscall_slong_t.
24575 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24577         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24578         Check __x86_64__ instead of __WORDSIZE.
24579         (_STAT_VER_LINUX): Likewise.
24580         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24581         __syscall_ulong_t and __syscall_slong_t.
24582         (stat64): Likewise.
24584 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24586         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24588 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24590         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24592 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24594         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24595         __syscall_ulong_t.
24597         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24598         include <bits/wordsize.h>.  Check __x86_64__ instead of
24599         __WORDSIZE.
24600         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24601         defined.
24602         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24604         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24605         include <bits/wordsize.h>.  Check __x86_64__ instead of
24606         __WORDSIZE.
24607         (user_regs_struct): Use "__extension__ unsigned long long"
24608         instead of "unsigned long" if __x86_64__ is defined.
24609         (user): Likewise.  Pad after pointer field if __ILP32__ is
24610         defined.
24612 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24614         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24615         versions 5 to 9.
24616         * configure: Regenerated.
24617         * manual/install.texi (texinfo): Increase version requirement to
24618         4.5 or later.
24619         * INSTALL: Regenerated.
24621         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24623 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24625         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24627         * sysdeps/x86_64/x32/ffs.c: New file.
24629         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24630         __syscall_ulong_t.
24631         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24632         defined.  Use __syscall_ulong_t.
24633         (shminfo): Use __syscall_ulong_t.
24634         (shm_info): Likewise.
24636         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24637         __syscall_ulong_t.
24639         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24640         <bits/wordsize.h>.
24641         (msgqnum_t): Use __syscall_ulong_t.
24642         (msglen_t): Likewise.
24643         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24644         __syscall_ulong_t.
24646         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24647         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24649         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24651         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24652         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24654         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24655         __syscall_slong_t.
24657         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24658         include <bits/wordsize.h>.  Check __x86_64__ instead of
24659         __WORDSIZE.
24661         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24662         "unsigned long long int" if __x86_64__ is defined.
24663         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24665         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24666         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24667         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24669         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24670         <stdint.h>.
24671         (GET_PC): Cast to uintptr_t first.
24672         (GET_FRAME): Likewise.
24673         (GET_STACK): Likewise.
24675         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24676         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24677         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24678         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24679         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24680         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24681         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24682         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24683         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24684         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24685         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24686         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24687         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24688         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24689         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24690         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24691         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24692         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24693         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24694         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24695         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24696         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24697         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24698         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24699         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24700         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24701         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24702         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24703         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24705 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24707         * Makerules (+depfiles): Also collect depfiles from .oS in
24708         $(extra-objs).
24709         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24710         .oS, $(libnldbl-routines)).
24712         * Makerules (native-compile-mkdep-flags): Define.
24713         * sunrpc/Makefile (extra-objs): Add $(addprefix
24714         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24715         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24716         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24717         calling $(make-target-directory).
24719 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24721         * bits/types.h (__snseconds_t): Removed.
24722         * time/time.h (struct timespec): Replace __snseconds_t with
24723         __syscall_slong_t.
24724         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24725         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24726         Likewise.
24727         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24728         (__SNSECONDS_T_TYPE): Likewise.
24729         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24730         (__SNSECONDS_T_TYPE): Likewise.
24731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24732         (__SNSECONDS_T_TYPE): Likewise.
24734 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24736         * sysdeps/mach/hurd/bits/typesizes.h
24737         (__SYSCALL_SLONG_TYPE): New macro.
24738         (__SYSCALL_ULONG_TYPE): Likewise.
24740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24742         * bits/types.h (__syscall_slong_t): New type.
24743         (__syscall_ulong_t): Likewise.
24745         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24746         (__SYSCALL_ULONG_TYPE): Likewise.
24747         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24748         (__SYSCALL_SLONG_TYPE): Likewise.
24749         (__SYSCALL_ULONG_TYPE): Likewise.
24750         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24751         (__SYSCALL_SLONG_TYPE): Likewise.
24752         (__SYSCALL_ULONG_TYPE): Likewise.
24753         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24754         (__SYSCALL_SLONG_TYPE): Likewise.
24755         (__SYSCALL_ULONG_TYPE): Likewise.
24757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24759         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24760         Add sigaltstack-offsets.sym.
24761         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24762         <sigaltstack-offsets.h>.
24763         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24764         longjmp_msg pointer.
24765         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24766         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24767         signal stack.
24768         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24770 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24772         * elf/stackguard-macros.h: Remove file.
24773         * sysdeps/generic/stackguard-macros.h: New file.
24774         * sysdeps/i386/stackguard-macros.h: Likewise.
24775         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24776         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24777         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24778         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24779         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24780         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24781         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24782         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24783         <elf/stackguard-macros.h>.
24785         [BZ #14109]
24786         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24787         __aligned__ in attribute.
24788         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24789         (gregset_t): Likewise.
24791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24793         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24794         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24795         * sysdeps/x86_64/x32/Implies-after: New file.
24797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24799         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24800         and access return value for _dl_profile_fixup.  Use R10_LP to
24801         load frame size.
24803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24805         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24809         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24810         * sysdeps/x86_64/x32/sysdep.h: New file.
24812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24814         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24815         * sysdeps/x86_64/setjmp.S: Likewise.
24817 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24819         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24820         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24821         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24822         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24823         remove unused global constant.
24825 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24827         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24828         include of <not-cancel.h>.
24830 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24832         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24834 2012-05-15  Jeff Law  <law@redhat.com>
24835             Andreas Jaeger  <aj@suse.de>
24837         [BZ #13594]
24838         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24839         out from...
24840         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24841         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24842         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24843         code changing __hst_map_handle.map.
24845 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24847         * configure.in (sysnames): Look for Implies-before and Implies-after
24848         files.
24849         * configure: Regenerated.
24851 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24853         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24854         8-byte data alignment with LP_SIZE alignment.
24856 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24858         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24859         into R10_LP.
24861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24863         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24867         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24868         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24869         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24870         Likewise.
24871         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24875         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24876         (stackinfo_sub_sp): Likewise.
24878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24880         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24881         RAX_LP.
24883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24885         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24886         into R*_LP.
24888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24890         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24891         sizes into R*_LP.
24893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24895         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24899         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24900         into R11_LP and load __x86_64_shared_cache_size_half into
24901         R8_LP.
24903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24905         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24906         R8_LP.
24908 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24910         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24911         logb for POWER7.
24912         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24913         logbf for POWER7.
24914         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24915         logbl for POWER7.
24916         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24917         powerpc32/power7/fpu/s_logb.c via #include.
24918         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24919         powerpc32/power7/fpu/s_logbf.c via #include.
24920         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24921         powerpc32/power7/fpu/s_logbl.c via #include.
24923 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24925         * README.libm: Remove file.
24927 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24929         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24930         count for x32.  Use R*_LP and omit operand-size suffix.
24932 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24934         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24935         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24936         * sysdeps/x86_64/x32/shlib-versions: New file.
24938 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24940         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24941         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24942         Use _dl_fatal_printf instead.
24944 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24946         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24947         set if not set by the user.  Do not allow for being unset.
24948         * sysdeps/unix/sysv/linux/configure: Regenerated.
24950 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24952         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24953         the `q' suffix from lea and replace .quad with ASM_ADDR.
24955 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24958         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24959         instead of $17.
24960         (PTR_DEMANGLE): Likewise.
24962 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24964         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24965         (LP_OP): Likewise.
24966         (ASM_ADDR): Likewise.
24967         (RAX_LP): Likewise.
24968         (RBP_LP): Likewise.
24969         (RBX_LP): Likewise.
24970         (RCX_LP): Likewise.
24971         (RDI_LP): Likewise.
24972         (RSI_LP): Likewise.
24973         (RSP_LP): Likewise.
24974         (R8_LP): Likewise.
24975         (R9_LP): Likewise.
24976         (R10_LP): Likewise.
24977         (R10_LP): Likewise.
24978         (R11_LP): Likewise.
24979         (R12_LP): Likewise.
24980         (R13_LP): Likewise.
24981         (R14_LP): Likewise.
24982         (R15_LP): Likewise.
24984 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24986         * sysdeps/x86_64/x32/dl-machine.h: New file.
24988 2012-05-14  Andreas Jaeger  <aj@suse.de>
24990         * manual/Makefile (subdir): Remove export of subdir.
24991         (all): Remove target.
24992         (.PHONY): Remove all from list.
24993         (mkinstalldirs): Remove.
24994         (.PHONY): Remove installdirs from list.
24995         ($(inst_infodir)/libc.info): Use make-target-directory.
24996         (installdirs): Remove.
24997         (subdir_%): Remove.
24998         (glibc-targets): Remove.
24999         (lib): Remove.
25000         (stubs): Remove.
25001         ($(objpfx)stubs ../po/manual.pot): Remove.
25002         ($(objpfx)stamp%): Remove.
25003         (make-target-directory): Remove.
25004         (subdir_install): Remove.
25005         (routines): Remove.
25006         (aux): Remove.
25007         (sources): Remove.
25008         (objects): Remove.
25009         (headers): Remove.
25011         [BZ #13750]
25012         * manual/.gitignore: Remove, it's not needed anymore.
25013         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25014         all files in it.
25015         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25016         directory.
25017         (texis): Renamed to $(objpfx)texis.
25018         (texis-path): New, contains path to generated files.
25019         (chapters.%): Use texis-path for complete path, add extra argument
25020         libc-texinfo.sh.
25021         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25022         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25023         (summary,texi, stamp-summary): Use complete path of
25024         files. Generate files in build dir.
25025         (dir-add.texi): Build in build dir.
25026         (libm-err.texi,stamp-libm-err): Likewise.
25027         (version.texi, stamp-version): Likewise.
25028         (.%c.texi): Likewise.
25029         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25030         (mostlyclean): Remove target.
25031         (realclean): Remove target.
25032         (generated): Add new variable with contents from mostlyclean and
25033         realclean, remove entries duplicated in common-mostlyclean, add
25034         stamp-libm-err and stamp-version.
25035         (generated-dirs): Add libc directory.
25036         ($(inst_infodir)/libc.info): Install files from build dir.
25038         * manual/install.texi (Configuring and compiling): Adjust since
25039         the info files are not part of the tar ball anymore.
25041 2012-05-14  Andreas Jaeger  <aj@suse.de>
25043         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25044         variable.
25046 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25048         [BZ #13717]
25049         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25050         to 2.2.0 where earlier.
25051         * sysdeps/unix/sysv/linux/configure: Regenerated.
25052         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25053         Remove conditional code.
25054         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25055         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25056         Remove conditional code.
25057         [!__NR_lchown]: Likewise.
25058         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25059         [__NR_lchown]: Likewise.
25060         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25061         comment referencing __ASSUME_LCHOWN_SYSCALL.
25062         * sysdeps/unix/sysv/linux/i386/sigaction.c
25063         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25064         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25065         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25066         Remove conditional code.
25067         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25068         (__protocol_available): Remove #if 0 code.
25069         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25070         conditional code.
25071         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25072         * sysdeps/unix/sysv/linux/kernel-features.h
25073         (__ASSUME_GETCWD_SYSCALL): Don't define.
25074         (__ASSUME_REALTIME_SIGNALS): Likewise.
25075         (__ASSUME_PREAD_SYSCALL): Likewise.
25076         (__ASSUME_PWRITE_SYSCALL): Likewise.
25077         (__ASSUME_POLL_SYSCALL): Likewise.
25078         (__ASSUME_LCHOWN_SYSCALL): Likewise.
25079         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25080         non-SPARC.
25081         (__ASSUME_SIOCGIFNAME): Don't define.
25082         (__ASSUME_MSG_NOSIGNAL): Likewise.
25083         (__ASSUME_SENDFILE): Define unconditionally.
25084         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25085         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25086         conditional code.
25087         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25088         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25089         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25090         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25091         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25092         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25093         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25095         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25096         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25098         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25099         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25101         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25102         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25104         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25105         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25107         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25108         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25110         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25111         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25113         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25114         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25116         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25117         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25118         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25119         Remove conditional code.
25120         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25121         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25122         Remove conditional code.
25123         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25124         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25125         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25126         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25127         Remove conditional code.
25128         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25129         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25130         Remove conditional code.
25131         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25132         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25133         Remove conditional code.
25134         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25135         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25136         Remove conditional code.
25137         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25138         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25139         Remove conditional code.
25140         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25141         * sysdeps/unix/sysv/linux/sh/pwrite64.c
25142         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25143         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25144         * sysdeps/unix/sysv/linux/sigaction.c
25145         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25146         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25147         * sysdeps/unix/sysv/linux/sigpending.c
25148         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25149         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25150         * sysdeps/unix/sysv/linux/sigprocmask.c
25151         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25152         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25153         * sysdeps/unix/sysv/linux/sigsuspend.c
25154         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25155         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25156         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25157         (__libc_missing_rt_sigs): Remove.
25158         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25159         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25160         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25161         Remove conditional code.
25162         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25163         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25164         return 1.
25165         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25166         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25167         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25168         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25170 2012-05-14  Andreas Jaeger  <aj@suse.de>
25172         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25173         it's not used in glibc.
25174         (__coshm1): Likewise.
25175         (__acosh1p): Likewise.
25176         (__sgn): Likewise.
25178         * manual/string.texi (Copying and Concatenation): Add missing
25179         variable in concat example.
25180         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25182 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25184         [BZ #14103]
25185         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25186         __builtin_clzl with __builtin_clzll.
25188 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25190         [BZ #14104]
25191         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25192         libc_freeres_ptr.
25194 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25196         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25197         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25198         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25199         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25201 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
25203         * NEWS: Update ia64 info.
25205 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
25207         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25208         used as bcopy.
25210 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
25212         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25213         * sysdeps/unix/syscalls.list (dup3): Likewise.
25214         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25215         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25217 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25219         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25220         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25222 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25224         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25225         thread pointer.
25226         (TLS_IE): Use mov/add instead of movq/addq to load thread
25227         pointer.
25228         (TLS_GD_PREFIX): New.
25229         (TLS_GD): Use it.
25231 2012-05-11  David S. Miller  <davem@davemloft.net>
25233         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25234         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25235         (_FPU_SETCW): Likewise.
25237 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25239         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25240         is 32-byte aligned.
25242 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
25244         [BZ #11837]
25245         * iconvdata/gb18030.c: Update tables.
25246         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
25247         characters specially.
25248         (BODY for TO_LOOP): Add encoding of missing ranges.
25250 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
25252         [BZ #13673]
25253         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25254         * sysdeps/mach/hurd/dup3.c: Likewise.
25255         * sysdeps/mach/hurd/readlinkat.c: Likewise.
25256         * sysdeps/powerpc/memmove.c:: Likewise.
25258 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25260         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25261         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25263 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25265         * elf/elf.h (R_X86_64_RELATIVE64): New.
25266         (R_X86_64_NUM): Updated.
25267         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25268         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
25269         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25270         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25271         tst-quad1pie tst-quad2pie
25272         (modules-names): Add tst-quadmod1 tst-quadmod2.
25273         ($(objpfx)tst-quad1): New dependency.
25274         ($(objpfx)tst-quad2): Likewise.
25275         ($(objpfx)tst-quad1pie): Likewise.
25276         ($(objpfx)tst-quad2pie): Likewise.
25277         * sysdeps/x86_64/tst-quad1.c: New file.
25278         * sysdeps/x86_64/tst-quad1pie.c: New file.
25279         * sysdeps/x86_64/tst-quad2.c: Likewise.
25280         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25281         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25282         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25283         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25284         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25286 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25288         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25289         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25290         * streams/stropts.h (t_scalar_t): Define type.
25292         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25293         (_PATH_PRESERVE): Set to "/var/lib".
25294         (_PATH_RWHODIR): Set to "/var/spool/rwho".
25296         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25297         instead of int.
25299         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25300         if __dir_mkfile succeeded.
25302         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25303         checking for _hurd_dtablesize.  Unlock it right after having
25304         finished _hurd_dtable allocation.
25306 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25308         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25309         * sysdeps/mach/hurd/configure: Regenerated.
25310         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25311         special-casing to...
25312         * sysdeps/gnu/configure.in: ... this new file.
25313         * sysdeps/unix/sysv/linux/configure: Regenerated.
25314         * sysdeps/gnu/configure: New generated file.
25316         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25317         for Linux: use nsec instead of usec, as well as:
25318         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25319         members of type struct timespec.
25320         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25321         New macros.
25322         (struct stat64): Likewise.
25323         (_STATBUF_ST_NSEC): New macro.
25324         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25326         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25327         __strtoul_internal rather than strtoul.
25329 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25331         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25332         and reject them.
25334 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25336         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25337         which preserves existing values.
25338         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25340 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25342         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25343         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25344         greater than FD_SETSIZE.
25346 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25348         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25349         allocated, call __vm_protect to finish enabling the existing space, and
25350         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25351         allocate the remainder.
25353 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25355         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25356         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25358 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25360         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25361         sysdeps/mach/hurd/readlink.c.
25363         * posix/tst-sysconf.c (posix_options): Only use
25364         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25365         _POSIX_SYNCHRONIZED_IO when they are defined
25366         * sysdeps/mach/hurd/bits/posix_opt.h:
25367         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25368         (_XOPEN_REALTIME): Undefine macro.
25369         (_XOPEN_REALTIME_THREADS): Undefine macro.
25370         (_XOPEN_SHM): Undefine macro.
25371         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25372         macro to -1.
25373         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25374         macro to -1.
25375         (_POSIX_ASYNC_IO): Undefine macro.
25376         (_POSIX_PRIORITIZED_IO): Undefine macro.
25377         (_POSIX_SPIN_LOCKS): Define macro to -1.
25379         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25380         SA_NODEFER, SA_RESETHAND.
25381         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25382         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25383         F_DUPFD_CLOEXEC.
25385 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25387         * elf/Makefile (pldd-modules): Define unconditionally.
25389 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25391         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25393 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25395         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25396         Return ENOENT when name is empty.
25397         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25401         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25403         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25405 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25407         Fix mlock in all cases except non-readable pages.
25408         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25409         instead of VM_PROT_ALL as parameter to __vm_wire function.
25411         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25412         (__mkdir): When path is `/', just fail with EEXIST.
25413         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25417         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25418         <sys/uio.h> (for writev).
25419         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25420         and <sys/param.h> (for MIN).
25422 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25424         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25425         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25426         if interrupted.
25428 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25430         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25431         Depend on against $(link-rpcuserlibs).
25433 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25435         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25436         (__libc_stack_end): Do not use attribute_relro.
25437         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25438         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25439         to libthread-provided value.
25440         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25441         attribute_relro.
25443 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25445         [BZ #3748]
25446         * bits/libc-lock.h (__libc_once_get): New macro.
25447         * sysdeps/mach/bits/libc-lock.h: Likewise.
25448         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25449         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25450         instead of using implementation details.
25452         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25453         * libio/freopen.c: Likewise.
25454         * libio/freopen64.c: Likewise.
25455         * misc/syslog.c: Likewise.
25456         * nscd/connections.c: Likewise.
25457         * nscd/netgroupcache.c: Likewise.
25458         * sysdeps/posix/getcwd.c: Likewise.
25460 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25462         * math/w_ilogbf.c: Add #include <limits.h>.
25464 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25466         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25467         path instead of returning without unlocking.
25469         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25470         immediate-write ioctls.
25471         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25473 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25475         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25476         __builtin_frame_address instead of making assumptions about the
25477         location of the return address relative to DATA.  Force early load of
25478         the return address.
25479         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25480         __builtin_frame_address.
25482         dup3 for GNU Hurd.
25483         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25484         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25485         implement dup3 and do some further code clean-ups.
25486         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25487         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25489 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25491         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25493         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25494         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25495         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25496         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25497         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25498         d->port.lock.
25500         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25501         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25502         when handler == SIG_ERR, not when handler != SIG_ERR.
25504 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25506         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25507         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25508         definitions.
25510         accept4 for GNU Hurd.
25511         * include/sys/socket.h (__libc_accept4): New prototype.
25512         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25513         to implement __libc_accept4.
25514         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25515         __libc_accept4.
25516         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25518         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25519         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25520         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25521         signal-defines.sym.
25523 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25525         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25527 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25529         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25530         assertion on O_CLOEXEC flag.
25531         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25532         * hurd/intern-fd.c: Likewise.
25533         * hurd/port2fd.c: Likewise.
25535 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25537         [BZ #3906]
25538         * bits/in.h (IPV6_PKTINFO): Define new macro.
25539         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25541 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25543         [BZ #13954]
25544         [BZ #13955]
25545         [BZ #13956]
25546         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25547         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25548         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25549         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25550         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25551         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25552         * math/libm-test.inc (logb_test) : Additional logb tests.
25554 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25555             Andreas Jaeger  <aj@suse.de>
25557         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25558         * configure: Regenerated.
25559         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25560         * config.make.in (link-obsolete-rpc): New substituted variable.
25561         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25562         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25563         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25564         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25565         so that libc.a contains the symbols.
25566         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25567         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25568         * sunrpc/auth_none.c: Likewise.
25569         * sunrpc/auth_unix.c: Likewise.
25570         * sunrpc/authdes_prot.c: Likewise.
25571         * sunrpc/authuxprot.c: Likewise.
25572         * sunrpc/clnt_gen.c: Likewise.
25573         * sunrpc/clnt_perr.c: Likewise.
25574         * sunrpc/clnt_raw.c: Likewise.
25575         * sunrpc/clnt_simp.c: Likewise.
25576         * sunrpc/clnt_tcp.c: Likewise.
25577         * sunrpc/clnt_udp.c: Likewise.
25578         * sunrpc/clnt_unix.c: Likewise.
25579         * sunrpc/des_crypt.c: Likewise.
25580         * sunrpc/des_soft.c: Likewise.
25581         * sunrpc/get_myaddr.c: Likewise.
25582         * sunrpc/key_call.c: Likewise.
25583         * sunrpc/key_prot.c: Likewise.
25584         * sunrpc/netname.c: Likewise.
25585         * sunrpc/pm_getmaps.c: Likewise.
25586         * sunrpc/pm_getport.c: Likewise.
25587         * sunrpc/pmap_clnt.c: Likewise.
25588         * sunrpc/pmap_prot.c: Likewise.
25589         * sunrpc/pmap_prot2.c: Likewise.
25590         * sunrpc/pmap_rmt.c: Likewise.
25591         * sunrpc/publickey.c: Likewise.
25592         * sunrpc/rpc_cmsg.c: Likewise.
25593         * sunrpc/rpc_common.c: Likewise.
25594         * sunrpc/rpc_dtable.c: Likewise.
25595         * sunrpc/rpc_prot.c: Likewise.
25596         * sunrpc/rpc_thread.c: Likewise.
25597         * sunrpc/rtime.c: Likewise.
25598         * sunrpc/svc.c: Likewise.
25599         * sunrpc/svc_auth.c: Likewise.
25600         * sunrpc/svc_raw.c: Likewise.
25601         * sunrpc/svc_run.c: Likewise.
25602         * sunrpc/svc_tcp.c: Likewise.
25603         * sunrpc/svc_udp.c: Likewise.
25604         * sunrpc/svc_unix.c: Likewise.
25605         * sunrpc/svcauth_des.c: Likewise.
25606         * sunrpc/xcrypt.c: Likewise.
25607         * sunrpc/xdr.c: Likewise.
25608         * sunrpc/xdr_array.c: Likewise.
25609         * sunrpc/xdr_float.c: Likewise.
25610         * sunrpc/xdr_intXX_t.c: Likewise.
25611         * sunrpc/xdr_mem.c: Likewise.
25612         * sunrpc/xdr_rec.c: Likewise.
25613         * sunrpc/xdr_ref.c: Likewise.
25614         * sunrpc/xdr_sizeof.c: Likewise.
25615         * sunrpc/xdr_stdio.c: Likewise.
25617 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25619         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25620         change.  Update copyright years.
25622 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25624         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25626 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25627             Joseph Myers  <joseph@codesourcery.com>
25628             Paul Pluzhnikov  <ppluzhnikov@google.com>
25630         [BZ #14012]
25631         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25632         requiring rpcgen.
25633         [cross-compiling] (extra-libs): Likewise.
25634         [cross-compiling] (extra-libs-others): Likewise.
25635         [cross-compiling] (librpcsvc-routines): Likewise.
25636         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25637         [cross-compiling] (omit-deps): Likewise.
25638         (sunrpc-CPPFLAGS): New variable.
25639         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25640         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25641         (cross-rpcgen-objs): New variable.
25642         (extra-objs): Append $(cross-rpcgen-objs).
25643         ($(cross-rpcgen-objs)): New rule.
25644         ($(objpfx)cross-rpcgen): Likewise.
25645         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25646         comment.
25647         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25648         ($(objpfx)x%.stmp): Likewise.
25649         * sunrpc/proto.h [IS_IN_build] (_): Define.
25650         [IS_IN_build] (_libc_intl_domainname): Likewise.
25652 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25654         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25655         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25656         and R_X86_64_TPOFF64.
25658 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25660         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25661         sysdeps/unix/sysv/syscalls.list.
25662         (stime): Likewise.
25663         (utime): Likewise.
25664         * sysdeps/unix/sysv/syscalls.list: Remove file.
25666 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25668         [BZ #3440]
25669         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25670         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25671         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25672         (__LC_IDENTIFICATION): Make these macros useful in #if
25673         expressions, as required by C99.
25675 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25677         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25678         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25679         after this.
25681 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25683         * stdlib/longlong.h: Updated from GCC.
25685 2012-05-09  Andreas Jaeger  <aj@suse.de>
25687         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25688         default is first entry.
25689         (run_mode): Set type.
25690         (main): Remove informal message about syslog.
25691         (options): Fix typo.
25693         [BZ #14053]
25694         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25695         to asm.
25696         (lrint): Likewise.
25697         (llrintf): Likewise.
25698         (llrint): Likewise.
25699         (rint): Likewise.
25700         (rintf): Likewise.
25701         (nearbyint): Likewise.
25702         (nearbyintf): Likewise.
25704 2012-05-09  Andreas Jaeger  <aj@suse.de>
25705             Pedro Alves  <palves@redhat.com>
25707         * nscd/nscd.c (run_mode): Use enum.
25708         (main): Cleanup coding style issue.
25710 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25711             Andreas Jaeger  <aj@suse.de>
25713         * nscd/nscd.c (go_background): Replaced with...
25714         (run_mode): ... this.
25715         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25716         (options): Add -F --foreground.
25717         (main): Implement it.
25718         (parse_opt): Parse it.
25720 2012-05-09  Andreas Jaeger  <aj@suse.de>
25722         [BZ #14083]
25723         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25724         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25725         -Wconversion warning.
25726         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25727         Likewise.
25729 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25731         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25732         == 0.
25733         (LC_ALL): Use macro-int-constant.
25734         (LC_COLLATE): Likewise.
25735         (LC_CTYPE): Likewise.
25736         (LC_MESSAGES): Likewise.
25737         (LC_MONETARY): Likewise.
25738         (LC_NUMERIC): Likewise.
25739         (LC_TIME): Likewise.
25740         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25741         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25742         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25743         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25744         Specify type.
25745         [C99-based standards] (float_t): Expect type.
25746         [C99-based standards] (double_t): Expect type.
25747         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25748         type.
25749         [C99-based standards] (HUGE_VALL): Likewise.
25750         [C99-based standards] (INFINITY): Likewise.
25751         [C99-based standards] (NAN): Likewise.
25752         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25753         [C99-based standards] (FP_NAN): Likewise.
25754         [C99-based standards] (FP_NORMAL): Likewise.
25755         [C99-based standards] (FP_SUBNORMAL): Likewise.
25756         [C99-based standards] (FP_ZERO): Likewise.
25757         [C99-based standards] (FP_FAST_FMA): Use
25758         optional-macro-int-constant.  Specify type.  Require == 1.
25759         [C99-based standards] (FP_FAST_FMAF): Likewise.
25760         [C99-based standards] (FP_FAST_FMAL): Likewise.
25761         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25762         [C99-based standards] (FP_ILOGBNAN): Likewise.
25763         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25764         Specify type.
25765         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25766         [C99-based standards] (math_errhandling): Specify type.
25767         [ISO99 || ISO11] (signgam): Do not allow.
25768         [non-C99-based standards] (copysignf): Do not allow.
25769         [non-C99-based standards] (exp2f): Likewise.
25770         [non-C99-based standards] (log2f): Likewise.
25771         [non-C99-based standards] (modff): Allow.
25772         [non-C99-based standards] (erff): Do not allow.
25773         [non-C99-based standards] (erfcf): Likewise.
25774         [non-C99-based standards] (gammaf): Likewise.
25775         [non-C99-based standards] (hypotf): Likewise.
25776         [non-C99-based standards] (j0f): Likewise.
25777         [non-C99-based standards] (j1f): Likewise.
25778         [non-C99-based standards] (jnf): Likewise.
25779         [non-C99-based standards] (lgammaf): Likewise.
25780         [non-C99-based standards] (tgammaf): Likewise.
25781         [non-C99-based standards] (y0f): Likewise.
25782         [non-C99-based standards] (y1f): Likewise.
25783         [non-C99-based standards] (ynf): Likewise.
25784         [non-C99-based standards] (isnanf): Likewise.
25785         [non-C99-based standards] (acoshf): Likewise.
25786         [non-C99-based standards] (asinhf): Likewise.
25787         [non-C99-based standards] (atanhf): Likewise.
25788         [non-C99-based standards] (cbrtf): Likewise.
25789         [non-C99-based standards] (expm1f): Likewise.
25790         [non-C99-based standards] (ilogbf): Likewise.
25791         [non-C99-based standards] (log1pf): Likewise.
25792         [non-C99-based standards] (logbf): Likewise.
25793         [non-C99-based standards] (nextafterf): Likewise.
25794         [non-C99-based standards] (remainderf): Likewise.
25795         [non-C99-based standards] (rintf): Likewise.
25796         [non-C99-based standards] (scalbf): Likewise.
25797         [non-C99-based standards] (copysignl): Likewise.
25798         [non-C99-based standards] (exp2l): Likewise.
25799         [non-C99-based standards] (log2l): Likewise.
25800         [non-C99-based standards] (modfl): Allow.
25801         [non-C99-based standards] (erfl): Do not allow.
25802         [non-C99-based standards] (erfcl): Likewise.
25803         [non-C99-based standards] (gammal): Likewise.
25804         [non-C99-based standards] (hypotl): Likewise.
25805         [non-C99-based standards] (j0l): Likewise.
25806         [non-C99-based standards] (j1l): Likewise.
25807         [non-C99-based standards] (jnl): Likewise.
25808         [non-C99-based standards] (lgammal): Likewise.
25809         [non-C99-based standards] (tgammal): Likewise.
25810         [non-C99-based standards] (y0l): Likewise.
25811         [non-C99-based standards] (y1l): Likewise.
25812         [non-C99-based standards] (ynl): Likewise.
25813         [non-C99-based standards] (isnanl): Likewise.
25814         [non-C99-based standards] (acoshl): Likewise.
25815         [non-C99-based standards] (asinhl): Likewise.
25816         [non-C99-based standards] (atanhl): Likewise.
25817         [non-C99-based standards] (cbrtl): Likewise.
25818         [non-C99-based standards] (expm1l): Likewise.
25819         [non-C99-based standards] (ilogbl): Likewise.
25820         [non-C99-based standards] (log1pl): Likewise.
25821         [non-C99-based standards] (logbl): Likewise.
25822         [non-C99-based standards] (nextafterl): Likewise.
25823         [non-C99-based standards] (remainderl): Likewise.
25824         [non-C99-based standards] (rintl): Likewise.
25825         [non-C99-based standards] (scalbl): Likewise.
25826         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25827         [non-C99-based standards] (FP_*): Do not allow.
25828         [C99-based standards] (FP_*): Change to
25829         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25830         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25831         allow.
25832         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25833         (SIG_ERR): Likewise.
25834         [X/Open-based standards] (SIG_HOLD): Likewise.
25835         (SIG_IGN): Likewise.
25836         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25837         positive value.
25838         (SIGFPE): Likewise.
25839         (SIGILL): Likewise.
25840         (SIGINT): Likewise.
25841         (SIGSEGV): Likewise.
25842         (SIGTER): Likewise.
25843         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25844         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25845         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25846         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25847         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25848         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25849         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25850         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25851         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25852         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25853         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25854         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25855         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25856         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25857         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25858         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25859         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25860         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25861         [X/Open-based standards] (SIGTRAP): Likewise.
25862         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25863         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25864         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25865         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25866         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25867         allow.
25869 2012-05-08  Ian Wienand  <ianw@vmware.com>
25871         [BZ #14080]
25872         * time/tzset.c (__tzset_parse_tz): Update default rules for
25873         daylight time changes in the Energy Policy Act of 2005.
25875 2012-05-09  Andreas Jaeger  <aj@suse.de>
25877         [BZ #13983]
25878         * elf/ldconfig.c (parse_conf): Change string to make clear that
25879         ldconfig only issued a warning if ld.so.conf does not exist.
25881 2012-05-08  David S. Miller  <davem@davemloft.net>
25883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25884         movxtod instead of popping the value on the stack.
25886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25888 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25890         * config.h.in: Add HAVE_ARM_PCS_VFP.
25892 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25894         [BZ #13979]
25895         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25896         checking but the checks are disabled for any reason.
25898 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25900         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25901         and ELF64_R_TYPE with ELFW(R_TYPE).
25903 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25905         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25906         (ulimit): Likewise.
25908         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25909         (settimeofday): Likewise.
25911 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25913         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25914         a struct th_u2 inside the union, and move tu_block/tu_code into
25915         a new th_u3 union of tu_block/tu_code inside of that.  Move
25916         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25917         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25918         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25919         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25920         (th_stuff): Change to th_u1.tu_stuff.
25921         (th_data): Define.
25922         (th_msg): Change to th_u1.th_u2.tu_data.
25924 2012-05-07  David S. Miller  <davem@davemloft.net>
25926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25928         [BZ #14074]
25929         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25930         (SETUP_PIC_REG): Use it.
25931         (SETUP_PIC_REG_LEAF): Use it.
25933 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25935         [BZ #13885]
25936         [BZ #13923]
25937         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25938         USE_AS_EXPM1L.
25939         (EXPL_FINITE): Likewise.
25940         (FLDLOG): Likewise.
25941         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25942         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25943         e_expl.S.
25944         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25945         USE_AS_EXPM1L.
25946         (EXPL_FINITE): Likewise.
25947         (FLDLOG): Likewise.
25948         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25949         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25950         e_expl.S.
25951         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25952         test of -max_value argument for long double.
25953         * sysdeps/i386/fpu/libm-test-ulps: Update.
25954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25956 2012-05-06  David S. Miller  <davem@davemloft.net>
25958         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25959         quad soft-float symbols whose references which are compiler
25960         generated.
25961         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25963 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25965         [BZ #13884]
25966         [BZ #13914]
25967         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25968         USE_AS_EXP10L.
25969         (EXPL_FINITE): Likewise.
25970         (FLDLOG): Likewise.
25971         (c0): Likewise.
25972         (c1): Likewise.
25973         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25974         Adjust comments for base varying.
25975         (__expl_finite): Change alias to EXPL_FINITE.
25976         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25977         e_expl.S.
25978         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25979         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25980         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25981         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25982         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25983         USE_AS_EXP10L.
25984         (EXPL_FINITE): Likewise.
25985         (FLDLOG): Likewise.
25986         (c0): Likewise.
25987         (c1): Likewise.
25988         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25989         Adjust comments for base varying.
25990         (__expl_finite): Change alias to EXPL_FINITE.
25991         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25992         tests for bugs.
25993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25995         [BZ #14064]
25996         * math/libm-test.inc (check_float_internal): Correct ulp
25997         calculation for subnormal expected results.
25999 2012-05-06  Andreas Jaeger  <aj@suse.de>
26001         * Makeconfig (+math-flags): New, set to -frounding-math.
26002         (+cflags): Add +math-flags so that all of glibc gets compiled with
26003         it.
26005         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26007 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
26009         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26010         Disable one test.
26012         [BZ #13787]
26013         [BZ #13922]
26014         [BZ #14036]
26015         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26016         (__ieee754_expl): Allow for and saturate large arguments.
26017         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26018         (u_threshold): Likewise.
26019         (__exp): Call __ieee754_exp before checking for overflow and
26020         underflow.
26021         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26022         (u_threshold): Likewise.
26023         (__expf): Call __ieee754_expf before checking for overflow and
26024         underflow.
26025         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26026         (u_threshold): Likewise.
26027         (__expl): Call __ieee754_expl before checking for overflow and
26028         underflow.
26029         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26030         (__ieee754_expl): Allow for and saturate large arguments.
26031         * math/libm-test.inc (exp_test): Add another test.  Do not allow
26032         missing overflow exception on overflow.
26033         (expm1_test): Do not allow missing overflow exception on overflow.
26035         * sysdeps/i386/fpu/e_expl.c: Move to ...
26036         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
26037         rather than using inline asm.
26038         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26039         * sysdeps/x86_64/fpu/e_expl.S: Copy from
26040         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26042         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26043         (nice): Likewise.
26044         (poll): Likewise.
26045         (signal): Likewise.
26046         (time): Likewise.
26047         (times): Likewise.
26049 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26051         * sysdeps/unix/syscalls.list (adjtime): Add entry from
26052         sysdeps/unix/common/syscalls.list.
26053         (fchmod): Likewise.
26054         (fchown): Likewise.
26055         (ftruncate): Likewise.
26056         (getrusage): Likewise.
26057         (gettimeofday): Likewise.
26058         (setpgid): Likewise.
26059         (setregid): Likewise.
26060         (setreuid): Likewise.
26061         (sigaction): Likewise.
26062         (truncate): Likewise.
26063         (vhangup): Likewise.
26064         * sysdeps/unix/common/syscalls.list: Remove file.
26065         * sysdeps/unix/bsd/Implies: Don't include unix/common.
26066         * sysdeps/unix/sysv/linux/Implies: Likewise.
26068 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
26070         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26072         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26073         Moved to ...
26074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26075         Here.
26076         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26077         to ...
26078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26079         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26080         to ...
26081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26082         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26083         to ...
26084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26085         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26086         to ...
26087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26088         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26089         to ...
26090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26091         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26092         to ...
26093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26094         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26095         to ...
26096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26097         Here.
26098         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26099         to ...
26100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26101         Here.
26102         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26103         to ...
26104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26105         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26106         Moved to ...
26107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26108         Here.
26109         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26110         to ...
26111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26113 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26115         * sysdeps/unix/common/bits/dirent.h: Remove file.
26116         * sysdeps/unix/common/bits/fcntl.h: Likewise.
26118         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26119         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26120         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26121         * sysdeps/unix/bsd/isatty.c: Likewise.
26122         * sysdeps/unix/bsd/tcdrain.c: Likewise.
26123         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26124         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26126 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26128         [BZ #13563]
26129         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26130         long double comparison inaccuracies.
26131         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26134 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
26136         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26137         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26139 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26141         [BZ #14049]
26142         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26143         nonzero digits before rounding a hex value.
26144         * stdlib/tst-strtod.c (tests): Add another test.
26146 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26148         * sysdeps/s390/fpu/libm-test-ulps: Update.
26150 2012-05-03  Andreas Jaeger  <aj@suse.de>
26152         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26153         does not get optimized out.
26154         (malloc_opt_barrier): New.
26156 2012-05-03  Andreas Jaeger  <aj@suse.de>
26157             Roland McGrath  <roland@hack.frob.com>
26159         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26160         intermediate file deletion.
26161         (generated): Add .symlist files.
26163 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
26165         [BZ #13775]
26166         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26167         Redirect under this condition.
26168         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26169         [__USE_GNU] (__dprintf_chk): Not under this condition.
26170         [__USE_GNU] (__vdprintf_chk): Likewise.
26171         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26172         under this condition.
26173         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26174         [__USE_XOPEN2K8] (dprintf): Define under this condition.
26175         [__USE_XOPEN2K8] (vdprintf): Likewise.
26176         [__USE_GNU] (__dprintf_chk): Not under this condition.
26177         [__USE_GNU] (__vdprintf_chk): Likewise.
26178         [__USE_GNU] (dprintf): Likewise.
26179         [__USE_GNU] (vdprintf): Likewise.
26181 2012-05-03  Roland McGrath  <roland@hack.frob.com>
26183         * elf/Makefile (common-generated): Set this instead of generated for
26184         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
26185         $(all-built-dso)-derived lists.
26187 2012-05-03  Andreas Jaeger  <aj@suse.de>
26189         * sysdeps/i386/fpu/libm-test-ulps: Update.
26191         * FAQ: Removed.
26192         * FAQ.in: Likewise.
26193         * scripts/gen-FAQ.pl: Likewise.
26194         * manual/install.texi (Installation): Point to online location of
26195         FAQ.
26196         * Makefile (files-for-dist): Remove FAQ.
26197         (FAQ): Remove.
26199 2012-05-02  Allan McRae  <allan@archlinux.org>
26201         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26202         (LDFLAGS-reldepmod5.so): Likewise.
26203         (LDFLAGS-reldep6mod1.so): Likewise.
26204         (LDFLAGS-reldep6mod4.so): Likewise.
26205         (LDFLAGS-reldep8mod3.so): Likewise.
26206         (LDFLAGS-unload4mod1.so): Likewise.
26207         (LDFLAGS-unload4mod2.so): Likewise.
26208         (LDFLAGS-tst-initorder): Likewise.
26209         (LDFLAGS-tst-initordera2.so): Likewise.
26210         (LDFLAGS-tst-initordera3.so): Likewise.
26211         (LDFLAGS-tst-initordera4.so): Likewise.
26212         (LDFLAGS-tst-initorderb2.so): Likewise.
26213         (LDFLAGS-noload): Likewise.
26214         (LDFLAGS-next): Likewise.
26215         (LDFLAGS-order2mod1.so): Likewise.
26216         (LDFLAGS-order2mod2.so): Likewise.
26217         (LDFLAGS-tst-initorder2): Likewise.
26218         (LDFLAGS-tst-initorder2a.so): Likewise.
26219         (LDFLAGS-tst-initorder2b.so): Likewise.
26220         (LDFLAGS-tst-initorder2c.so): Likewise.
26221         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26223 2012-05-02  David S. Miller  <davem@davemloft.net>
26225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26227 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26229         [BZ #14055]
26230         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26232 2012-05-02  Andreas Jaeger  <aj@suse.de>
26234         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26235         since we manipulate rounding mode.
26236         (CPPFLAGS-test-idouble.c): Likewise.
26237         (CPPFLAGS-test-ifloat.c): Likewise.
26238         (CFLAGS-test-ldouble.c): Likewise.
26239         (CFLAGS-test-double.c): Likewise.
26240         (CFLAGS-test-float.c): Likewise.
26241         (CFLAGS-test-misc.c): Likewise.
26242         (CFLAGS-test-test-fenv.c): Likewise.
26244 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26246         [BZ #2550]
26247         [BZ #2570]
26248         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26249         comparisons to determine direction to adjust input.
26251 2012-05-01  Roland McGrath  <roland@hack.frob.com>
26253         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26254         output to the target.
26256         * scripts/localplt.awk: New file.
26257         * elf/Makefile ($(objpfx)check-localplt): Target removed.
26258         (check-localplt-CFLAGS): Variable removed.
26259         ($(all-built-dso:=.jmprel)): New static pattern rule.
26260         (generated): Add those targets.
26261         (localplt-built-dso): New variable.
26262         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26264         * elf/check-localplt.c: File removed.
26266         * scripts/check-execstack.awk: New file.
26267         * elf/Makefile ($(objpfx)check-execstack): Target removed.
26268         (check-execstack-CFLAGS): Variable removed.
26269         ($(objpfx)check-execstack.h): Target removed.
26270         ($(objpfx)execstack-default): New target.
26271         (generated): Add that instead of check-execstack.h.
26272         ($(all-built-dso:=.phdr)): New static pattern rule.
26273         (generated): Add those targets.
26274         * elf/check-execstack.c: File removed.
26276         * scripts/check-textrel.awk: New file.
26277         * elf/Makefile ($(objpfx)check-textrel): Target removed.
26278         (check-textrel-CFLAGS): Variable removed.
26279         (all-built-dso): Use := to define.o
26280         ($(all-built-dso:=.dyn)): New static pattern rule.
26281         (generated): Add those targets.
26282         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26283         * config.make.in (READELF): New substituted variable.
26284         * elf/check-textrel.c: File removed.
26286 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26288         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26289         allow.
26290         * conform/data/ctype.h-data [C99-based standards] (isblank):
26291         Expect function.
26292         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26293         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26294         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26295         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26296         Specify type.  Require positive value.
26297         (EILSEQ): Likewise.
26298         (ERANGE): Likewise.
26299         [ISO || POSIX] (EILSEQ): Do not expect.
26300         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26301         Specify type.  Require positive value.
26302         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26303         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26304         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26305         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26306         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26307         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26308         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26309         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26310         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26311         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26312         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26313         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26314         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26315         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26316         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26317         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26318         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26319         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26320         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26321         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26322         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26323         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26324         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26325         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26326         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26327         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26328         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26329         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26330         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26331         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26332         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26333         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26334         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26335         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26336         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26337         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26338         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26339         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26340         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26341         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26342         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26343         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26344         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26345         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26346         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26347         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26348         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26349         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26350         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26351         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26352         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26353         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26354         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26355         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26356         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26357         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26358         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26359         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26360         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26361         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26362         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26363         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26364         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26365         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26366         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26367         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26368         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26369         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26370         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26371         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26372         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26373         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26374         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26375         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26376         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26377         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26378         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26379         Require >= 2.
26380         (FLT_ROUNDS): Expect as macro, not constant.
26381         (FLT_MANT_DIG): Use macro-int-constant.
26382         (DBL_MANT_DIG): Likewise.
26383         (LDBL_MANT_DIG): Likewise.
26384         (FLT_DIG): Likewise.
26385         (DBL_DIG): Likewise.
26386         (LDBL_DIG): Likewise.
26387         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26388         (DBL_MIN_EXP): Likewise.
26389         (LDBL_MIN_EXP): Likewise.
26390         (FLT_MAX_EXP): Use macro-int-constant.
26391         (DBL_MAX_EXP): Likewise.
26392         (LDBL_MAX_EXP): Likewise.
26393         (FLT_MAX_10_EXP): Likewise.
26394         (DBL_MAX_10_EXP): Likewise.
26395         (LDBL_MAX_10_EXP): Likewise.
26396         (FLT_MAX): Use macro-constant.
26397         (DBL_MAX): Likewise.
26398         (LDBL_MAX): Likewise.
26399         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26400         (DBL_EPSILON): Likewise.
26401         (LDBL_EPSILON): Likewise.
26402         (FLT_MIN): Likewise.
26403         (DBL_MIN): Likewise.
26404         (LDBL_MIN): Likewise.
26405         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26406         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26407         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26408         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26409         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26410         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26411         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26412         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26413         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26414         [ISO11] (FLT_TRUE_MIN): Likewise.
26415         [ISO11] (LDBL_TRUE_MIN): Likewise.
26416         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26417         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26418         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26419         (SCHAR_MAX): Likewise.
26420         (UCHAR_MAX): Likewise.
26421         (CHAR_MIN): Likewise.
26422         (CHAR_MAX): Likewise.
26423         (MB_LEN_MAX): Use macro-int-constant.
26424         (SHRT_MIN): Use macro-int-constant.  Specify type.
26425         (SHRT_MAX): Likewise.
26426         (USHRT_MAX): Likewise.
26427         (INT_MAX): Likewise.
26428         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26429         bound negative.
26430         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26431         bound with "U".
26432         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26433         bound with "L".
26434         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26435         bound negative.  Suffix upper bound with "L".
26436         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26437         bound with "UL".
26438         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26439         Specify type.
26440         [C99-based standards] (LLONG_MAX): Likewise.
26441         [C99-based standards] (ULLONG_MAX): Likewise.
26442         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26443         == 0.
26444         [ISO11] (max_align_t): Require type.
26445         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26447         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26448         from $CFLAGS, without defining away __attribute__ calls.
26449         (checknamespace): Use $CFLAGS_namespace.
26451         * conform/conformtest.pl (@keywords): Only include C99 keywords
26452         for standards based on C99 or C11.
26454         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26455         Disable tests.
26456         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26457         UNIX98]: Likewise.
26459         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26460         usability of symbols in #if.
26462         * conform/conformtest.pl: If macro or constant types start
26463         "promoted:", expect the symbol to be of the following type
26464         promoted by the integer promotions.
26466         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26467         in one place.  Also handle "macro-constant".
26469         * conform/conformtest.pl: Only accept expected macro values with
26470         "==".  Parse all "macro" lines in one place.
26471         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26473         * conform/conformtest.pl: Handle braced types on "constant" lines
26474         instead of handling "typed-constant".
26475         * conform/data/signal.h-data: Use "constant" instead of
26476         "typed-constant".
26478         * conform/conformtest.pl: Handle "optional-" at start of lines in
26479         one place rather than duplicating several cases.  Handle each
26480         format of "macro" line with initial "optional-".
26482         * conform/conformtest.pl: Only accept expected constant or
26483         optional-constant values with "==".  Parse all "constant" lines in
26484         one place.  Parse all "optional-constant" lines in one place.
26485         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26486         * conform/data/fmtmsg.h-data: Likewise.
26487         * conform/data/netinet/in.h-data: Likewise.
26488         * conform/data/tar.h-data: Likewise.
26489         * conform/data/limits.h-data: Use "==" form on "constant" and
26490         "optional-constant" lines.
26492         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26493         Use -std=c99 for XOPEN2K.
26494         (@knownproblems): Remove.
26495         (newtoken): Don't check %isknown.
26497         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26498         Do not expect macro.
26499         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26500         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26501         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26502         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26503         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26504         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26505         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26506         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26507         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26508         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26509         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26510         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26511         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26512         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26513         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26514         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26515         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26516         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26517         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26518         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26519         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26520         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26521         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26522         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26523         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26524         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26525         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26526         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26527         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26528         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26529         [XPG3] (acosh): Likewise.
26530         [XPG3] (asinh): Likewise.
26531         [XPG3] (atanh): Likewise.
26532         [XPG3] (cbrt): Likewise.
26533         [XPG3] (expm1): Likewise.
26534         [XPG3] (ilogb): Likewise.
26535         [XPG3] (log1p): Likewise.
26536         [XPG3] (logb): Likewise.
26537         [XPG3] (nextafter): Likewise.
26538         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26539         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26540         [XPG3] (remainder): Likewise.
26541         [XPG3] (rint): Likewise.
26542         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26543         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26544         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26545         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26546         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26547         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26548         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26549         [UNIX98 || XOPEN2K] (scalb): Expect.
26550         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26551         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26552         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26553         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26554         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26555         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26556         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26557         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26558         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26559         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26560         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26561         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26562         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26563         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26564         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26565         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26566         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26567         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26568         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26569         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26570         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26571         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26572         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26573         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26574         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26575         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26576         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26577         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26578         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26579         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26580         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26581         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26582         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26583         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26584         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26585         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26586         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26587         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26588         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26589         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26590         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26591         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26592         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26593         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26594         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26595         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26596         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26597         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26598         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26599         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26600         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26601         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26602         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26603         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26604         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26605         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26606         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26607         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26608         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26609         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26610         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26611         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26612         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26613         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26614         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26615         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26616         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26617         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26618         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26619         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26620         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26621         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26622         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26623         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26624         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26625         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26626         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26627         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26628         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26629         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26630         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26631         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26632         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26633         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26634         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26635         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26636         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26637         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26638         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26639         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26640         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26641         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26642         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26643         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26644         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26645         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26646         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26647         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26648         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26649         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26650         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26651         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26652         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26653         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26654         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26655         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26656         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26657         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26658         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26659         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26660         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26661         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26662         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26663         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26664         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26665         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26666         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26667         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26668         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26669         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26670         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26671         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26672         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26673         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26674         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26675         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26676         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26677         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26678         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26679         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26680         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26681         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26682         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26683         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26684         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26685         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26686         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26688         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26689         _XOPEN_SOURCE_EXTENDED for XPG4.
26691         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26693         * Makeconfig (localtime): Remove variable.
26694         (inst_localtime-file): Likewise.
26696 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26699         Update.
26700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26701         Update.
26702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26703         Update.
26704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26705         Update.
26706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26707         Update.
26708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26709         Update.
26710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26711         Update.
26712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26713         Update.
26714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26715         Update.
26717 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26719         [BZ #2550]
26720         [BZ #2570]
26721         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26722         comparisons to determine direction to adjust input.
26723         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26724         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26725         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26726         Likewise.
26727         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26728         Likewise.
26729         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26730         Likewise.
26731         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26732         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26733         Likewise.
26734         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26735         Likewise.
26736         * math/libm-test.inc (nexttoward_test): Add more tests.
26738 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26740         [BZ #14040]
26741         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26742         in version GLIBC_2.1, not GLIBC_2.0.
26743         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26744         Likewise.
26746 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26748         [BZ #13942]
26749         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26750         (1 - x) * (1 + x).
26751         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26752         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26753         * math/libm-test.inc (acos_test): Add more tests.
26754         (asin_test): Likewise.
26755         * sysdeps/i386/fpu/libm-test-ulps: Update.
26756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26758         [BZ #14034]
26759         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26760         of square root.
26761         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26762         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26763         * math/libm-test.inc (acos_test_tonearest): New function.
26764         (acos_test_towardzero): Likewise.
26765         (acos_test_downward): Likewise.
26766         (acos_test_upward): Likewise.
26767         (asin_test_tonearest): Likewise.
26768         (asin_test_towardzero): Likewise.
26769         (asin_test_downward): Likewise.
26770         (asin_test_upward): Likewise.
26771         (main): Call the new functions.
26772         * sysdeps/i386/fpu/libm-test-ulps: Update.
26773         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26775         [BZ #13884]
26776         [BZ #13924]
26777         * math/e_exp10.c: Include <float.h>.
26778         (__ieee754_exp10): Handle underflow here rather than multiplying
26779         large negative argument by M_LN10.
26780         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26781         of __ieee754_expf.
26782         * math/e_exp10l.c: Include <float.h>.
26783         (__ieee754_exp10l): Handle underflow here rather than multiplying
26784         large negative argument by M_LN10l.
26785         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26786         spurious overflow exception on underflow.
26788 2012-04-29  Marek Polacek  <polacek@redhat.com>
26790         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26791         (__fortify_function): New macro.
26792         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26793         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26794         __extern_always_inline.
26795         * libio/bits/stdio2.h: Likewise.
26796         * libio/bits/stdio.h: Likewise.
26797         * string/string.h: Likewise.
26798         * string/bits/string3.h: Likewise.
26799         * include/stdio.h: Likewise.
26800         * stdlib/bits/stdlib.h: Likewise.
26801         * stdlib/stdlib.h: Likewise.
26802         * rt/bits/mqueue2.h: Likewise.
26803         * rt/mqueue.h: Likewise.
26804         * posix/bits/unistd.h: Likewise.
26805         * posix/unistd.h: Likewise.
26806         * io/bits/poll2.h: Likewise.
26807         * io/bits/fcntl2.h: Likewise.
26808         * io/fcntl.h: Likewise.
26809         * io/sys/poll.h: Likewise.
26810         * misc/bits/syslog.h: Likewise.
26811         * misc/bits/syslog-ldbl.h: Likewise.
26812         * misc/sys/syslog.h: Likewise.
26813         * socket/bits/socket2.h: Likewise.
26814         * socket/sys/socket.h: Likewise.
26815         * debug/tst-chk1.c: Likewise.
26816         * wcsmbs/bits/wchar2.h: Likewise.
26817         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26818         * wcsmbs/wchar.h: Likewise.
26820 2012-04-29  Andreas Jaeger  <aj@suse.de>
26822         * Makerules (tests): Remove enable-check-abi protection.
26823         (check-abi-warn): Remove.
26824         (check-abi-%): Remove check-abi-warn usage.
26826         * configure.in: Remove check-abi configure option.
26827         * configure: Regenerated.
26828         * config.make.in (enable-check-abi): Remove.
26830 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26832         [BZ #14033]
26833         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26834         double functions to double *_finite functions.
26836         [BZ #13941]
26837         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26838         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26839         LDBL_MIN_EXP.
26840         * stdio-common/Makefile (tests): Add tst-sprintf3.
26841         * stdio-common/tst-sprintf3.c: New file.
26843         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26844         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26846 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26848         * conform/conformtest.pl: Remove duplicate typed-constant
26849         handling.
26851 2012-04-28  David S. Miller  <davem@davemloft.net>
26853         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26854         (check-abi-%): Remove AWK script prerequisite and explicit
26855         abilist directory.
26856         (check-abi): Rewrite to just diff the symlist with the abilist.
26857         (config-tls, config-abi-config): Delete, no longer used.
26858         (update-abi-%): Remove AWK script and explicit abilist directory.
26859         (update-abi): Rewrite to simply compare and conditionally copy the
26860         symlist and the sysdep abilist file.  Remove update-abi-config
26861         checks.
26862         * abilist/ld.abilist: Remove.
26863         * abilist/libBrokenLocale.abilist: Remove.
26864         * abilist/libanl.abilist: Remove.
26865         * abilist/libcrypt.abilist: Remove.
26866         * abilist/libdl.abilist: Remove.
26867         * abilist/librt.abilist: Remove.
26868         * abilist/libthread_db.abilist: Remove.
26869         * abilist/libutil.abilist: Remove.
26870         * scripts/extract-abilist.awk: Remove.
26871         * scripts/merge-abilist.awk: Remove.
26872         * sysdeps/generic/libcidn.abilist: New file.
26873         * sysdeps/generic/libnss_compat.abilist: New file.
26874         * sysdeps/generic/libnss_db.abilist: New file.
26875         * sysdeps/generic/libnss_dns.abilist: New file.
26876         * sysdeps/generic/libnss_files.abilist: New file.
26877         * sysdeps/generic/libnss_hesiod.abilist: New file.
26878         * sysdeps/generic/libnss_nis.abilist: New file.
26879         * sysdeps/generic/libnss_nisplus.abilist: New file.
26880         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26881         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26882         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26883         file.
26884         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26885         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26886         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26887         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26888         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26889         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26890         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26891         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26892         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26893         file.
26894         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26895         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26896         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26897         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26898         file.
26899         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26900         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26901         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26902         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26903         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26904         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26905         file.
26906         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26907         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26908         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26909         file.
26910         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26912         New file.
26913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26914         New file.
26915         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26916         New file.
26917         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26918         New file.
26919         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26920         New file.
26921         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26922         New file.
26923         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26924         New file.
26925         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26926         New file.
26927         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26928         New file.
26929         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26930         New file.
26931         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26932         New file.
26933         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26934         New file.
26935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26936         New file.
26937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26938         file.
26939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26940         New file.
26941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26942         New file.
26943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26944         file.
26945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26946         New file.
26947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26948         New file.
26949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26950         file.
26951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26952         New file.
26953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26954         New file.
26955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26956         New file.
26957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26958         New file.
26959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26960         New file.
26961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26962         New file.
26963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26965         file.
26966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26967         New file.
26968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26969         file.
26970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26971         file.
26972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26973         file.
26974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26975         file.
26976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26977         file.
26978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26979         New file.
26980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26981         file.
26982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26983         file.
26984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26985         New file.
26986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26987         file.
26988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26990         file.
26991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26992         New file.
26993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26994         file.
26995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26996         file.
26997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26998         file.
26999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27000         file.
27001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27002         file.
27003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27004         New file.
27005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27006         file.
27007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27008         file.
27009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27010         New file.
27011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27012         file.
27013         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27014         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27015         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27016         file.
27017         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27018         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27019         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27020         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27021         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27022         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27023         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27024         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27025         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27026         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27029         file.
27030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27031         New file.
27032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27033         file.
27034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27035         file.
27036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27037         file.
27038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27039         file.
27040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27041         file.
27042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27043         New file.
27044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27045         New file.
27046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27047         file.
27048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27049         New file.
27050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27051         file.
27052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27054         file.
27055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27056         New file.
27057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27058         file.
27059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27060         file.
27061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27062         file.
27063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27064         file.
27065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27066         file.
27067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27068         New file.
27069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27070         New file.
27071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27072         file.
27073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27074         New file.
27075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27076         file.
27078 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27080         * conform/conformtest.pl: Fix typo in handling typed-constant from
27081         allow-header.
27083 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27085         * README: Cut down references to pre-2.6 Linux kernels and
27086         Linuxthreads.  Update lists of configurations in libc and ports
27087         and sort alphabetically.  Say "or newer" with Linux kernel version
27088         requirements.
27090         * config.h.in [IS_IN_build]: Allow compiling without optimization.
27092 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27094         [BZ #887]
27095         * math/libm-test.inc (logb_test_downward): New test to expose
27096         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27097         rounding mode.
27099 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27101         [BZ #14027]
27102         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27103         to be done.
27104         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27105         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27107 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
27109         * sysdeps/unix/i386/brk.S: Remove file.
27110         * sysdeps/unix/i386/dl-brk.S: Likewise.
27111         * sysdeps/unix/i386/pipe.S: Likewise.
27112         * sysdeps/unix/i386/sigreturn.S: Likewise.
27113         * sysdeps/unix/i386/syscall.S: Likewise.
27114         * sysdeps/unix/i386/vfork.S: Likewise.
27115         * sysdeps/unix/i386/wait.S: Likewise.
27117         * sysdeps/unix/common/tcsendbrk.c: Move to ...
27118         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27120         * configure.in (arm*-none*): Do not allow without
27121         --enable-hacker-mode.
27122         (netbsd*): Remove case setting base_os.
27123         (386bsd*): Likewise.
27124         (freebsd*): Likewise.
27125         (bsdi*): Likewise.
27126         (osf*): Likewise.
27127         (sunos*): Likewise.
27128         (ultrix*): Likewise.
27129         (newsos*): Likewise.
27130         (dynix*): Likewise.
27131         (*bsd*): Likewise.
27132         (sysv*): Likewise.
27133         (isc*): Likewise.
27134         (esix*): Likewise.
27135         (sco*): Likewise.
27136         (minix*): Likewise.
27137         (irix4*): Likewise.
27138         (irix6*): Likewise.
27139         (solaris[2-9]*): Likewise.
27140         (none): Likewise.
27141         * configure: Regenerated.
27143 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27145         [BZ #11521]
27146         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27147         overflow or cancellation in calculating denominator.
27148         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27149         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27150         down expression to avoid unexpected rounding in newer GCCs.
27151         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27153 2012-04-26  David S. Miller  <davem@davemloft.net>
27155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27156         long-double compat symbols.
27157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27171 2012-04-25  David S. Miller  <davem@davemloft.net>
27173         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27174         HWCAP_* values only after the memory barriers have been defined.
27175         (atomic_full_barrier): Define.
27176         (atomic_read_barrier): Define.
27177         (atomic_write_barrier): Define.
27179 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27181         * shlib-versions: Add libgcc_s version information.
27182         * sysdeps/generic/libgcc_s.h: Remove.
27183         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27184         libgcc_s.h.
27185         * sysdeps/gnu/unwind-resume.c: Likewise.
27186         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27188 2012-04-25  David S. Miller  <davem@davemloft.net>
27190         * sysdeps/unix/sparc/brk.S: Delete.
27191         * sysdeps/unix/sparc/dl-brk.S: Delete.
27192         * sysdeps/unix/sparc/pipe.S: Delete.
27193         * sysdeps/unix/sparc/sysdep.S: Delete.
27194         * sysdeps/unix/sparc/sysdep.h: Delete.
27195         * sysdeps/unix/sparc/vfork.S: Delete.
27196         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27197         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27198         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27199         ret_ERRVAL, r0, r1, MOVE): Define.
27200         (JUMPTARGET): Remove.
27201         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27202         sysdeps/unix/sparc/sysdep.h
27203         (ENTRY, END): Remove.
27204         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27206 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
27208         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27209         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27210         -DIS_IN_build.
27212         * timezone/README: Update upstream location and email address for
27213         tzcode and tzdata.
27214         * timezone/zdump.c: Update from tzcode 2012b.
27215         * timezone/zic.c: Likewise.
27217         * configure.in (libc_cv_as_needed): Remove test.
27218         * configure: Regenerated.
27219         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27220         conditional definition.
27221         [$(have-as-needed) != yes] (no-as-needed): Likewise.
27222         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27223         * config.make.in (have-as-needed): Remove variable.
27225 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27226             Paul Pluzhnikov  <ppluzhnikov@google.com>
27228         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27229         strings correctly.
27231 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
27233         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27234         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27235         * sysdeps/sh/strlen.S: Likewise.
27237 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27239         * sysdeps/unix/fork.S: Remove file.
27240         * sysdeps/unix/i386/fork.S: Likewise.
27241         * sysdeps/unix/sparc/fork.S: Likewise.
27243         * sysdeps/unix/system.c: Remove file.
27244         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27246         * sysdeps/unix/getegid.S: Remove file.
27247         * sysdeps/unix/geteuid.S: Likewise.
27249 2012-04-24  Roland McGrath  <roland@hack.frob.com>
27251         * scripts/check-localplt.awk: New file.
27252         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27253         of diff.
27254         * scripts/data/localplt-generic.data: Add a comment.
27256         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27257         NODE when __dir_mkfile failed.
27258         * sysdeps/mach/hurd/symlinkat.c: Likewise.
27259         Reported by Ludovic Courtès <ludo@gnu.org>.
27261 2012-04-24  Andreas Jaeger  <aj@suse.de>
27263         * Makerules (common-clean): Also remove gen-as-const-headers
27264         files.
27266 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27268         * Makerules (native-compile): Do not change working directory for
27269         build.  Use $(OUTPUT_OPTION) in command.
27270         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27272 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27274         [BZ #13886]
27275         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27276         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27277         * math/libm-test.inc (floor_test): Add more tests.
27278         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27280 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27282         * sysdeps/unix/getdents.c: Remove file.
27283         * sysdeps/unix/sysv/getdents.c: Likewise.
27284         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27286         * sysdeps/unix/syscalls.list (madvise): Add syscall from
27287         sysdeps/unix/mman/syscalls.list.
27288         (mmap): Likewise.
27289         (mprotect): Likewise.
27290         (msync): Likewise.
27291         (munmap): Likewise.
27292         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27293         * sysdeps/unix/mman/syscalls.list: Remove.
27294         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27296         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27297         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27298         * configure: Regenerated.
27299         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27300         $(libgcc_s_suffix).
27301         * config.make.in (libgcc_s_suffix): Remove variable.
27303 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
27305         * sysdeps/unix/sysv/gethostname.c: Move to ...
27306         * sysdeps/posix/gethostname.c: ... here.
27308         * sysdeps/unix/execve.S: Remove file.
27310         * sysdeps/unix/_exit.S: Remove file.
27312 2012-04-23  Andreas Jaeger  <aj@suse.de>
27314         [BZ #13739]
27315         * manual/Makefile: Remove make dist support, there's no
27316         need for a stand-alone documentation tar ball.
27317         (TEXI2DVI): Define always, it's not in Makeconfig.
27318         (dist): Removed.
27319         (tar-it): Removed.
27320         (edition): Removed.
27321         (glibc-doc-$(edition).tar): Removed
27322         (%.Z): Removed.
27323         (%.gz): Removed.
27324         (%.uu): Removed.
27325         (ETAGS): Remove, it's in Makeconfig.
27326         (move-if-change): Remove, it's in Makeconfig.
27328 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
27330         [BZ #13970]
27331         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27332         (strtod, strtof, strtold, strtol, strtoul, strtoq)
27333         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27334         (strtod_l, strtof_l, strtold_l): Remove __wur.
27335         It is not necessarily an error to ignore strtol's return value.
27336         One can reliably look at the stored endptr to decide whether
27337         the number had valid syntax.
27339 2012-04-21  Andreas Jaeger  <aj@suse.de>
27341         [BZ #13739]
27342         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27344 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27346         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27347         * sysdeps/unix/sysv/Versions: Remove file.
27349 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27351         [BZ #13927]
27352         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27354 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27356         [BZ #7064]
27357         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27358         version from __vm86.
27360 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27362         * sysdeps/unix/common/lxstat.c: Remove file.
27363         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27365         * sysdeps/unix/sysv/Makefile: Remove file.
27367         * sysdeps/unix/sysv/direct.h: Remove file.
27369         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27370         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27371         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27372         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27373         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27374         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27375         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27377         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27379         * sysdeps/unix/xmknod.c: Remove file.
27380         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27382         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27384         * sysdeps/unix/sysv/i386/time.S: Remove file.
27386         * sysdeps/unix/fxstat.c: Remove file.
27387         * sysdeps/unix/xstat.c: Likewise.
27388         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27390         * sysdeps/unix/sysv/sigaction.c: Remove file.
27392         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27393         (sysdep_headers): Remove variable.
27394         [termio.h not in sysdep_headers] (generated): Likewise.
27395         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27396         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27397         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27398         * sysdeps/unix/sysv/tcflow.c: Likewise.
27399         * sysdeps/unix/sysv/tcflush.c: Likewise.
27400         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27401         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27402         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27403         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27404         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27406         * sysdeps/unix/siglist.c: Remove file.
27408         * sysdeps/unix/getppid.S: Remove file.
27410         * sysdeps/unix/mkdir.c: Remove file.
27411         * sysdeps/unix/rmdir.c: Likewise.
27413 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27415         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27416         ERR_MAX value.
27417         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27418         errlist-compat value.
27420 2012-04-18  David S. Miller  <davem@davemloft.net>
27422         * sysdeps/generic/memcopy.h (reg_char): Delete.
27423         * debug/strcat_chk.c: Use char, not reg_char.
27424         * debug/strcpy_chk.c: Likewise.
27425         * debug/strncat_chk.c: Likewise.
27426         * debug/strncpy_chk.c: Likewise.
27427         * string/memchr.c: Likewise.
27428         * string/memrchr.c: Likewise.
27429         * string/rawmemchr.c: Likewise.
27430         * string/strcat.c: Likewise.
27431         * string/strchr.c: Likewise.
27432         * string/strchrnul.c: Likewise.
27433         * string/strcmp.c: Likewise.
27434         * string/strcpy.c: Likewise.
27435         * string/strncat.c: Likewise.
27436         * string/strncmp.c: Likewise.
27437         * string/strncpy.c: Likewise.
27439 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27441         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27442         __builtin_memcopy is called when src and dest ranges are known to not
27443         overlap.
27445 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27447         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27448         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27449         fwd_align_merge macro call.
27450         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27451         bwd_align_merge macro call.
27452         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27454 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27456         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27457         bwd_align_merge macros.
27458         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27459         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27460         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27462 2012-04-18  David S. Miller  <davem@davemloft.net>
27464         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27466 2012-04-18  Andreas Jaeger  <aj@suse.de>
27468         [BZ# 6794]
27469         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27470         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27471         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27473         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27474         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27475         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27477         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27478         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27479         Adjust for changed ldbl-128 files.
27481         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27482         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27483         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27485 2012-04-17  David S. Miller  <davem@davemloft.net>
27487         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27489 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27491         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27492         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27493         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27494         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27495         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27496         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27498 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27500         [BZ #6794]
27501         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27502         * math/libm-test.inc: Add ilogb errno and exception tests.
27503         * math/w_ilogb.c: New file: ilogb wrapper.
27504         * math/w_ilogbf.c: New file: ilogbf wrapper.
27505         * math/w_ilogbl.c: New file: ilogbl wrapper.
27506         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27507         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27508         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27509         exception being thrown with 0.0 as argument.
27510         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27511         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27512         exception being thrown with 0.0 as argument.
27513         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27514         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27515         exception being thrown with 0.0 as argument.
27516         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27517         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27518         exception being thrown with 0.0 as argument.
27519         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27520         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27521         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27522         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27523         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27524         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27525         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27526         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27527         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27529 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27531         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27532         with altivec.
27534 2012-04-16  Marek Polacek  <polacek@redhat.com>
27536         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27538 2012-04-16  Marek Polacek  <polacek@redhat.com>
27540         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27541         operands of fdivp instruction.
27543 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27545         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27546         * elf/tst-auditmod3b.c: Likewise.
27547         * elf/tst-auditmod4b.c: Likewise.
27548         * elf/tst-auditmod5b.c: Likewise.
27549         * elf/tst-auditmod6b.c: Likewise.
27550         * elf/tst-auditmod6c.c: Likewise.
27551         * elf/tst-auditmod7b.c: Likewise.
27552         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27553         * sysdeps/x86_64/preconfigure.in: Likewise.
27554         * sysdeps/x86_64/preconfigure: Regenerated.
27556 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27558         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27559         __ILP32__.
27561 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27563         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27564         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27566 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27568         [BZ #13973]
27569         * locale/iso-639.def: Fix gl language name. Spotted by
27570         Yaron Shahrabani.
27572 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27574         [BZ #2074]
27575         * libio/libio.h (__io_write_fn): Update comment.
27577 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27579         [BZ #2074]
27580         * stdio.texi (Hook Functions): The user provided writer function
27581         is not allowed to return -1.
27583 2012-04-11  David S. Miller  <davem@davemloft.net>
27585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27587 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27589         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27590         Add a leading slash to rtkaio.
27592 2012-04-11  Jim Meyering  <meyering@redhat.com>
27594         [BZ #11959]
27595         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27596         It is not necessarily an error to ignore fwrite's return
27597         value.  One can reliably use ferror to test for errors after
27598         the fact.
27600 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27602         * bits/types.h (__snseconds_t): New type.
27603         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27605         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27606         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27607         (__SNSECONDS_T_TYPE): Likewise.
27608         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27609         (__SNSECONDS_T_TYPE): Likewise.
27610         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27611         (__SNSECONDS_T_TYPE): Likewise.
27613 2012-04-10  Andreas Jaeger  <aj@suse.de>
27615         [BZ #2636]
27616         * manual/time.texi (Processor Time): Return type of times is
27617         elapsed real time since an arbitrary point in the past.
27618         (CPU Time): Move CLK_TCK from here...
27619         (Processor Time): ...to here.  Correct description.
27620         * manual/conf.texi (Constants for Sysconf): Correct description of
27621         _SC_CLK_TCK.
27623 2012-04-10  David S. Miller  <davem@davemloft.net>
27625         [BZ #13967]
27626         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27627         where the is a gap between DT_REL(A) and DT_JMPREL.
27629 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27631         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27632         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27633         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27635 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27637         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27638         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27639         (dl_main): Handle --inhibit-cache.
27640         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27641         _dl_inhibit_cache.
27642         * elf/dl-load.c (_dl_map_object): Use it.
27643         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27645 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27647         [BZ #13872]
27648         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27649         (__ieee754_powl): Saturate large exponents rather than testing for
27650         overflow of y*log2(x).
27651         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27652         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27653         exceptions.
27655         [BZ #11521]
27656         * math/s_ctan.c: Include <float.h>.
27657         (__ctan): Avoid internal overflow or cancellation in calculating
27658         denominator.
27659         * math/s_ctanf.c: Likewise.
27660         * math/s_ctanl.c: Likewise.
27661         * math/s_ctanh.c: Likewise.
27662         * math/s_ctanhf.c: Likewise.
27663         * math/s_ctanhl.c: Likewise.
27664         * math/libm-test.inc (ctan_test): Add more tests.
27665         (ctanh_test): Likewise.
27666         * sysdeps/i386/fpu/libm-test-ulps: Update.
27667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27669 2012-04-09  Andreas Jaeger  <aj@suse.de>
27671         [BZ #6894]
27672         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27673         is an optional BSD extension.
27675         [BZ #10254]
27676         * manual/stdio.texi (Opening Streams): Document additional fopen
27677         parameters.
27679 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27681         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27682         %eax without telling the compiler.
27684 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27686         [BZ # 13963]
27687         * manual/install.texi: Use sourceware.org.
27689 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27691         [BZ #13873]
27692         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27693         (__ieee754_pow): Generate overflow and underflow using huge*huge
27694         and tiny*tiny rather than just returning constant infinity or zero
27695         for large exponents.
27696         * math/libm-test.inc (pow_test): Require overflow exceptions for
27697         applicable cases of large exponents.
27699         [BZ #706]
27700         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27701         (__ieee754_pow): Use iterative multiplication algorithm only for
27702         integer exponents with absolute value below 1024.  Check for odd
27703         integer exponents when using algorithm for real exponents.
27704         * math/libm-test.inc (pow_test): Add more tests.
27705         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27707 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27709         [BZ #13705]
27710         * math/libm-test.inc (exp_test): Do not allow overflow exception
27711         on underflow test.
27713 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27715         [BZ #13705]
27716         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27717         instead of __kernel_standard_f.
27719 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27721         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27722         * sysdeps/x86_64/memset_chk.S: Likewise.
27724 2012-04-08  Andreas Jaeger  <aj@suse.de>
27726         [BZ #10153]
27727         * manual/startup.texi (Environment Access): Describe return value
27728         for putenv and setenv.
27730         [BZ #6895]
27731         * manual/filesys.texi (Directory Entries): Add description for
27732         DT_LNK.
27734         [BZ #6890]
27735         * manual/filesys.texi (Directory Entries): Clarify that it's file
27736         system not operating system in the description of DT_UNKNOWN.
27738         [BZ #6578]
27739         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27741 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27743         [BZ #6649]
27744         * manual/llio.texi (Opening and Closing Files): Add cross
27745         reference to explain mode argument.
27747 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27749         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27750         * sysdeps/x86_64/memset_chk.S: Likewise.
27752 2012-04-07  David S. Miller  <davem@davemloft.net>
27754         * elf/elf.h (R_SPARC_WDISP10): Define.
27755         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27756         R_SPARC_SIZE32.
27757         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27758         R_SPARC_SIZE64 and R_SPARC_H34.
27760 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27762         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27763         conditions and remove no longer applicable assertion.
27765 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27767         * bits/byteswap.h: Include <features.h>.
27768         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27769         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27771 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27773         * bits/byteswap.h (__bswap_16): Removed.
27774         Include <bits/byteswap-16.h> to get __bswap_16.
27775         * sysdeps/i386/bits/byteswap.h: Likewise.
27776         * sysdeps/s390/bits/byteswap.h: Likewise.
27777         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27778         * bits/byteswap-16.h: New file.
27779         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27780         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27781         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27782         * string/Makefile (headers): Add bits/byteswap-16.h.
27784 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27786         [BZ #13895]
27787         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27788         extra indirection.
27789         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27790         * nss/tst-nss-static.c: New.
27792 2012-04-06  Robert Millan  <rmh@gnu.org>
27794         [BZ #6486]
27795         * manual/llio.texi (File Position Primitive): lseek
27796         refers to WHENCE when it really means OFFSET.
27798 2012-04-06  Andreas Jaeger  <aj@suse.de>
27800         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27801         strncmp declarations.
27803         * abilist/libc.abilist: Add __poll and __ppoll.
27805 2012-04-05  David S. Miller  <davem@davemloft.net>
27807         * scripts/check-local-headers.sh: Accept a host triplet in the
27808         path matched by the exclude regexp.
27810         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27811         definition.
27812         * sysdeps/powerpc/powerpc32/dl-machine.h
27813         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27814         * sysdeps/s390/s390-32/dl-machine.h
27815         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27816         * sysdeps/sparc/sparc32/dl-machine.h
27817         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27818         * sysdeps/sparc/sparc64/dl-machine.h
27819         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27821         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27822         lazy binding.
27823         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27824         undefined symbol errors.
27826         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27827         DT_NEEDED entries.
27829 2012-04-05  Michael Matz  <matz@suse.de>
27831         [BZ #13592]
27832         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27834 2012-04-05  Andreas Jaeger  <aj@suse.de>
27836         [BZ #13908]
27837         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27838         comment.
27840 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27842         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27843         which ROUND is no valid rounding mode.
27845 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27847         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27848         read again.
27849         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27851 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27853         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27854         an exception using FPU order intentionally.
27856 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27858         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27859         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27860         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27861         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27863 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27865         [BZ #12340]
27866         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27867         EINVAL when BUFLEN is too smal.
27869 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27871         [BZ #13553]
27872         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27873         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27875 2012-04-03  Andreas Jaeger  <aj@suse.de>
27877         [BZ #13938]
27878         * manual/setjmp.texi (System V contexts): Fix sentence.
27880         [BZ #13926]
27881         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27882         New macro for this case.
27883         [!__GNUC__] (__bswap_64): New inline function for this case.
27884         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27885         * bits/byteswap.h: Likewise.
27886         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27887         ull, guard with __GLIBC_HAVE_LONG_LONG.
27889         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27890         __GLIBC_HAVE_LONG_LONG.
27892         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27893         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27895 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27897         [BZ #13691]
27898         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27899         inptr and inend, rather than using last_ch.
27901 2012-04-02  David S. Miller  <davem@davemloft.net>
27903         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27904         * stdio-common/printf-parse.h (read_int): Change return type to
27905         'int', return -1 on INT_MAX overflow.
27906         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27907         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27908         overflows INT_MAX.  Check for overflow of in-format-string precision
27909         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27910         SIZE_MAX not INT_MAX for integer overflow test.
27911         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27912         skip the construct in the format string but do not record anything.
27913         * stdio-common/bug22.c: Adjust to test both width/prevision
27914         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27915         explicitly for proper errno values.
27917 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27919         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27920         CHAR_MAX.
27921         * string/test-strcmp.c [! WIDE]: Likewise.
27922         * time/tst-mktime2.c: Likewise for INT_MAX.
27923         * string/test-string.h: #include <sys/param.h> for MIN.
27925         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27926         * sysdeps/i386/init-first.c (init): Likewise.
27927         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27928         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27929         * sysdeps/sh/init-first.c (init): Likewise.
27931 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27933         * po/ru.po: Update from translation team.
27934         * po/vi.po: Likewise.
27936 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27938         * resolv/nss_dns/dns-host.c: Merge copyright years.
27940 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27942         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27943         Optimize memcpy with prefetch if
27944         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27945         src, dst pointers have unequal 16 byte alignments.
27947 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27949         [BZ #13928]
27950         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27951         from a CNAME entry and return the minimum ttl for the query.
27952         (gaih_getanswer_slice): Likewise.
27954 2012-03-30  Jeff Law  <law@redhat.com>
27956         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27957         due to long keys.
27958         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27959         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27961         * resolv/nss_dns/dns-host.c: Update copyright year.
27963 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27965         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27966         requests to save a system call.  Fix check that all bytes are sent.
27968         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27969         comments for sendmmsg.
27971 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27973         [BZ #13691]
27974         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27975         with only 1 character between 0x0041 and 0x01b0.
27976         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27977         * wcsmbs/tst-mbsnrtowcs.c: New file.
27979 2012-03-29  David S. Miller  <davem@davemloft.net>
27981         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27982         small copies by hand.
27984 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27986         [BZ #13761]
27987         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27988         _nss_compat_initgroups_dyn): Fall back to malloc/free
27989         for large group memberships.
27991 2012-03-28  David S. Miller  <davem@davemloft.net>
27993         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27994         that branches into memcpy.
27995         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27996         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27997         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27998         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27999         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28000         bits.
28001         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28002         implementation too.
28003         * sysdeps/sparc/mempcpy.S: New file.
28005         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28006         the IFUNC routine in the libc case.
28007         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28009         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28010         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28011         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28012         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28013         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28014         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28015         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28016         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28018         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28019         loop to 256 bytes instead of 64 bytes and fix test signedness.
28021         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28022         * sysdeps/sparc/sparc32/Makefile: rather than here...
28023         * sysdeps/sparc/sparc64/Makefile: and here.
28025 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
28027         * malloc/mallocbug.c: Avoid warnings about unused variables.
28029 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28031         [BZ #13760]
28032         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28033         in the right place. Discard and retry query if response is
28034         larger than input buffer size.
28036 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
28038         [BZ #369]
28039         [BZ #2678]
28040         [BZ #3866]
28041         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28042         x for large integer exponent.
28043         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28044         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
28045         sign of result as needed afterwards.
28046         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28047         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28048         result for underflowing pow the same as for overflow.
28049         (__kernel_standard_l): Handle powl overflow and underflow here
28050         rather than calling __kernel_standard.
28051         * math/libm-test.inc (pow_test): Add more tests.
28053         [BZ #3868]
28054         [BZ #13879]
28055         [BZ #13910]
28056         [BZ #13911]
28057         [BZ #13912]
28058         [BZ #13913]
28059         [BZ #13915]
28060         [BZ #13916]
28061         [BZ #13917]
28062         [BZ #13918]
28063         [BZ #13919]
28064         [BZ #13920]
28065         [BZ #13921]
28066         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28067         * sysdeps/ieee754/k_standard.c: Include <float.h>.
28068         (__kernel_standard_l): New function.
28069         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28070         __kernel_standard.
28071         * math/w_acosl.c (__acosl): Likewise.
28072         * math/w_asinl.c (__asinl): Likewise.
28073         * math/w_atan2l.c (__atan2l): Likewise.
28074         * math/w_atanhl.c (__atanhl): Likewise.
28075         * math/w_coshl.c (__coshl): Likewise.
28076         * math/w_exp10l.c (__exp10l): Likewise.
28077         * math/w_exp2l.c (__exp2l): Likewise.
28078         * math/w_fmodl.c (__fmodl): Likewise.
28079         * math/w_hypotl.c (__hypotl): Likewise.
28080         * math/w_j0l.c (__j0l, __y0l): Likewise.
28081         * math/w_j1l.c (__j1l, __y1l): Likewise.
28082         * math/w_jnl.c (__jnl, __ynl): Likewise.
28083         * math/w_lgammal.c (__lgammal): Likewise.
28084         * math/w_log10l.c (__log10l): Likewise.
28085         * math/w_log2l.c (__log2l): Likewise.
28086         * math/w_logl.c (__logl): Likewise.
28087         * math/w_powl.c (__powl): Likewise.
28088         * math/w_remainderl.c (__remainderl): Likewise.
28089         * math/w_scalbl.c (sysv_scalbl): Likewise.
28090         * math/w_sinhl.c (__sinhl): Likewise.
28091         * math/w_sqrtl.c (__sqrtl): Likewise.
28092         * math/w_tgammal.c (__tgammal): Likewise.
28093         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28094         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28095         * math/libm-test.inc (acos_test): Add more tests.
28096         (acosh_test): Likewise.
28097         (asin_test): Likewise.
28098         (atanh_test): Likewise.
28099         (exp_test): Likewise.
28100         (exp10_test): Likewise.
28101         (exp2_test): Likewise.
28102         (expm1_test): Likewise.
28103         (lgamma_test): Likewise.
28104         (log_test): Likewise.
28105         (log10_test): Likewise.
28106         (log1p_test): Likewise.
28107         (log2_test): Likewise.
28108         (pow_test): Do not allow some spurious overflow exceptions.
28109         (sqrt_test): Add more tests.
28110         (tgamma_test): Likewise.
28111         (y0_test): Likewise.
28112         (y1_test): Likewise.
28113         (yn_test): Likewise.
28115 2012-03-27  Anton Blanchard  <anton@samba.org>
28117         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28118         MAP_HUGETLB.
28119         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28120         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28121         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28123 2012-03-27  David S. Miller  <davem@davemloft.net>
28125         * conform/Makefile: Run run-conformtest.sh using $(BASH).
28127         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28128         have-as-vis3 check.
28130 2012-03-27  Andreas Jaeger  <aj@suse.de>
28132         * sysdeps/x86_64/elf/configure.in: Moved to ...
28133         * sysdeps/x86_64/configure.in: ... here.
28134         * sysdeps/x86_64/elf/start.S: Moved to ...
28135         * sysdeps/x86_64/start.S: ... here.
28136         * sysdeps/x86_64/elf/configure: Delete.
28138         * sysdeps/x86_64/configure.in: Merge contents from
28139         sysdeps/i386/configure.in (without i686 check).
28141         * sysdeps/i386/elf/Versions: Merge into ...
28142         * sysdeps/i386/Versions: ... this.
28143         * sysdeps/i386/elf/Versions: Delete file.
28144         * sysdeps/i386/elf/start.S: Moved to ...
28145         * sysdeps/i386/start.S: ...here.
28146         * sysdeps/i386/elf/configure.in: Merge into...
28147         * sysdeps/i386/configure.in: ...here.
28148         * sysdeps/i386/elf/configure.in: Delete file.
28149         * sysdeps/i386/elf/configure: Delete file.
28151         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28152         * debug/backtracesyms.c: ... here.
28153         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28154         * debug/backtracesymsfd.c: ... here.
28155         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28156         * sysdeps/generic/ifunc-sel.h: ... here.
28158         * sysdeps/unix/i386/start.c: Delete file.
28159         * sysdeps/unix/sparc/start.c: Delete file.
28160         * sysdeps/unix/start.c: Delete file.
28162         * sysdeps/sh/elf/configure.in: Moved to ...
28163         * sysdeps/sh/configure.in: ... here.
28164         * sysdeps/sh/elf/start.S: Moved to ...
28165         * sysdeps/sh/start.S: ... here.
28166         * sysdeps/sh/elf/configure: Delete file.
28168         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28169         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28170         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28171         * sysdeps/powerpc/powerpc64/entry.h: ... here.
28172         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28173         * sysdeps/powerpc/powerpc64/start.S: here.
28174         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28175         * sysdeps/powerpc/powerpc64/Makefile: ... this.
28176         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28177         * sysdeps/powerpc/powerpc64/configure.in: ... this.
28178         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28180         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28181         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28182         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28183         * sysdeps/powerpc/powerpc32/start.S: ... here.
28184         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28185         * sysdeps/powerpc/powerpc32/configure.in: ... this.
28186         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28188         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28189         * sysdeps/powerpc/ifunc-sel.h: ... here.
28190         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28191         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28193         * sysdeps/sparc/elf/configure.in: Moved to ...
28194         * sysdeps/sparc/configure.in: ... here.
28195         * sysdeps/sparc/elf/configure: Delete file.
28196         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28197         * sysdeps/sparc/sparc32/start.S: ... here.
28198         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28199         * sysdeps/sparc/sparc64/start.S: ... here.
28200         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28201         * sysdeps/sparc/sparc32/Makefile: ... this.
28202         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28203         * sysdeps/sparc/sparc64/Makefile: ... this.
28205         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28206         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28207         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28208         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28209         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28210         * sysdeps/s390/s390-32/setjmp.S: ... here.
28211         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28212         * sysdeps/s390/s390-32/configure.in: ... here.
28213         * sysdeps/s390/s390-32/elf/configure: Delete file.
28214         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28215         * sysdeps/s390/s390-32/start.S: ... here.
28217         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28218         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28219         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28220         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28221         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28222         * sysdeps/s390/s390-64/setjmp.S: ... here.
28223         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28224         * sysdeps/s390/s390-64/configure.in: ... here
28225         * sysdeps/s390/s390-64/elf/configure: Delete file.
28226         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28227         * sysdeps/s390/s390-64/start.S: ... here.
28228         * sysdeps/s390/s390-64/elf/configure: Delete.
28230         * configure.in: Remove support for elf directories in sysdeps.
28232         * configure: Regenerated.
28233         * sysdeps/i386/configure: Regenerated.
28234         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28235         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28236         * sysdeps/s390/s390-32/configure: Regenerated.
28237         * sysdeps/s390/s390-64/configure: Regenerated.
28238         * sysdeps/sh/configure: Regenerated.
28239         * sysdeps/sparc/configure: Regenerated.
28240         * sysdeps/x86_64/configure: Regenerated.
28242 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
28244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28246         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28247         denormal result into account.
28249 2012-03-25  Roland McGrath  <roland@hack.frob.com>
28251         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28252         Reported by Allan McRae <allan@archlinux.org>.
28254 2012-03-23  Jeff Law  <law@redhat.com>
28256         * nss/getnssent.c (__nss_getent): Fix typo.
28258 2012-03-23  David S. Miller  <davem@davemloft.net>
28260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28262 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
28264         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28265         to pad to uint64_t for each field.
28266         (dl_tls_index): Replace unsigned long with uint64_t.
28268 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
28269         Paul Pluzhnikov  <ppluzhnikov@google.com>
28271         [BZ #6528]
28272         * grp/Makefile (otherlibs): Don't set it.
28273         * inet/Makefile (otherlibs): Likewise.
28274         * login/Makefile (otherlibs): Likewise.
28275         * nscd/Makefile (otherlibs): Likewise.
28276         * posix/Makefile (otherlibs): Likewise.
28277         * pwd/Makefile (otherlibs): Likewise.
28278         * rt/Makefile (otherlibs): Likewise.
28279         * sunrpc/Makefile (otherlibs): Likewise.
28280         * nss/Makefile (otherlibs): Likewise.
28281         Add libnss_files to routines and static-only-routines.
28282         ($(objpfx)getent): Remove rule.
28283         * resolv/Makefile: Add libnss_dns and libresolv to routines and
28284         static-only-routines.
28286 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28288         [BZ #13892]
28289         * math/s_cexp.c: Include <float.h>.
28290         (__cexp): Handle exp result overflowing not necessarily
28291         overflowing both real and imaginary parts of result.
28292         * math/s_cexpf.c: Likewise.
28293         * math/s_cexpl.c: Likewise.
28294         * math/libm-test.inc (cexp_test): Add more tests.
28295         * sysdeps/i386/fpu/libm-test-ulps: Update.
28296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28298 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28300         * include/link.h (ELFW): New macro.
28301         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28302         Replace ELF64_R_TYPE with ELFW(R_TYPE).
28304 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28306         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28307         with uint64_t.
28309 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28311         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28312         declaration.
28313         (struct La_x32_retval): Likewise.
28315 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28317         * sysdeps/x86_64/preconfigure.in: New file.
28318         * sysdeps/x86_64/preconfigure: New generated file.
28320 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28322         [BZ #13824]
28323         * math/e_exp2l.c: Include <float.h>.
28324         (__ieee754_exp2l): Handle overflow and underflow cases
28325         separately.  Only pass fractional part of argument to
28326         __ieee754_expl.
28327         * math/libm-test.inc (exp2_test): Add more tests.
28329         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28330         negating x to take absolute value.
28331         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28332         Likewise.
28333         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28334         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28335         Likewise.
28336         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28337         computing low part if x was negated.
28338         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28340 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28342         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28343         la_x32_gnu_pltexit.
28344         (pltexit): Cast int_retval to ptrdiff_t.
28345         * elf/tst-auditmod3b.c: Likewise.
28346         * elf/tst-auditmod4b.c: Likewise.
28347         * elf/tst-auditmod5b.c: Likewise.
28348         * elf/tst-auditmod6b.c: Likewise.
28349         * elf/tst-auditmod6c.c: Likewise.
28350         * elf/tst-auditmod7b.c: Likewise.
28352         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28353         and x32_gnu_pltexit.
28355         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28356         __ELF_NATIVE_CLASS.
28357         (La_x32_regs): New macro.
28358         (La_x32_retval): Likewise.
28359         (la_x32_gnu_pltenter): New function prototype.
28360         (la_x32_gnu_pltexit): Likewise.
28362 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28364         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28365         exponent.
28367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28369         * configure.in (libc_cv_cc_nofma): Check for option to disable
28370         generation of FMA instructions.
28371         * configure: Regenerate.
28372         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28373         * sysdeps/ieee754/dbl-64/Makefile: New file.
28374         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28375         Remove brandred-fma4.
28376         (CFLAGS-brandred-fma4.c): Remove.
28377         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28378         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28379         define.
28380         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28381         define.
28383 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28385         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28386         LLONG_MAX != LONG_MAX.
28387         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28388         (_fitoa_word): Likewise.
28389         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28390         LLONG_MAX != LONG_MAX.
28391         * stdio-common/_itowa.h: Include <_itoa.h>.
28392         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28393         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28394         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28395         only if not defined.
28396         (_ITOA_WORD_TYPE): Likewise.
28397         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28398         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28400 2012-03-21  David S. Miller  <davem@davemloft.net>
28402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28404 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28406         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28407         of x86_64 when setting libc_cv_slibdir, libdir and
28408         libc_cv_localedir.
28409         * sysdeps/unix/sysv/linux/configure: Regenerated.
28411 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28413         * manual/lang.texi (Old Varargs): Remove section.
28414         (How Variadic): Update menu.
28415         (va_start): Do not mention varargs.h.
28417 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28418             Joseph Myers  <joseph@codesourcery.com>
28420         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28421         link test.
28422         * configure: Regenerated.
28424 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28426         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28427         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28428         conformtest.pl
28430 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28432         * NOTES: Remove.
28433         * Makefile (files-for-dist): Remove NOTES.
28434         (NOTES): Remove rule.
28435         * README: Don't refer to NOTES.
28436         * manual/creature.texi: Don't include macros.texi.
28437         * manual/intro.texi (creature.texi): Remove comment referring to
28438         NOTES.
28440         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28441         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28442         * configure: Regenerated.
28443         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28444         LIBC_TRY_CC_OPTION.
28445         (libc_cv_as_i686): Likewise.
28446         (libc_cv_cc_avx): Likewise.
28447         (libc_cv_cc_sse2avx): Likewise.
28448         (libc_cv_cc_fma4): Likewise.
28449         (libc_cv_cc_novzeroupper): Likewise.
28450         * sysdeps/i386/configure: Regenerated.
28452         [BZ #13883]
28453         * sysdeps/i386/fpu/s_cexp.S: Remove.
28454         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28455         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28456         * math/libm-test.inc (cexp_test): Add more tests.
28457         * sysdeps/i386/fpu/libm-test-ulps: Update.
28458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28460 2012-03-21  Allan McRae  <allan@archlinux.org>
28462         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28464 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28466         [BZ #13871]
28467         * math/w_exp2.c: Do not include <float.h>.
28468         (o_threshold, u_threshold): Remove.
28469         (__exp2): Calculate result before checking finiteness and calling
28470         __kernel_standard.
28471         * math/w_exp2f.c: Likewise.
28472         * math/w_exp2l.c: Likewise.
28473         * math/libm-test.inc (exp2_test): Require overflow exception for
28474         1e6 input.
28476         [BZ #3866]
28477         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28478         range of signed 64-bit integers before using fistpll.  Remove
28479         checks for whether integers fit in mantissa bits.
28480         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28481         the range of signed 32-bit integers before using fistpl.  Remove
28482         checks for whether integers fit in mantissa bits.
28483         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28484         (__ieee754_powl): Test for y outside the range of signed 64-bit
28485         integers before using fistpll.  Reduce 64-bit values to 63-bit
28486         ones as needed.
28487         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28488         divide-by-zero is raised for zero to large negative powers.
28489         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28490         (__ieee754_powl): Test for y outside the range of signed 64-bit
28491         integers before using fistpll.  Reduce 64-bit values to 63-bit
28492         ones as needed.
28493         * math/libm-test.inc (pow_test): Add more tests.
28495 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28497         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28498         <stdio-common/_itoa.h>.
28499         * debug/segfault.c: Likewise.
28500         * elf/dl-cache.c: Likewise.
28501         * elf/dl-minimal.c: Likewise.
28502         * elf/dl-misc.c: Likewise.
28503         * elf/dl-sysdep.c: Likewise.
28504         * elf/dl-version.c: Likewise.
28505         * elf/rtld.c: Likewise.
28506         * hurd/hurdsock.c: Likewise.
28507         * hurd/lookup-retry.c: Likewise.
28508         * malloc/malloc.c: Likewise.
28509         * malloc/mtrace.c: Likewise.
28510         * nscd/nscd_getgr_r.c: Likewise.
28511         * nscd/nscd_getpw_r.c: Likewise.
28512         * nscd/nscd_getserv_r.c: Likewise.
28513         * posix/getopt_init.c: Likewise.
28514         * posix/wordexp.c: Likewise.
28515         * stdio-common/_itoa.c: Likewise.
28516         * stdio-common/printf_fphex.c: Likewise.
28517         * stdio-common/vfprintf.c: Likewise.
28518         * string/_strerror.c: Likewise.
28519         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28520         * sysdeps/i386/i686/hp-timing.h: Likewise.
28521         * sysdeps/mach/_strerror.c: Likewise.
28522         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28523         * sysdeps/mach/hurd/sethostid.c: Likewise.
28524         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28525         * sysdeps/mach/xpg-strerror.c: Likewise.
28526         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28527         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28528         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28529         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28530         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28531         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28532         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28533         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28534         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28535         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28536         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28537         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28538         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28539         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28540         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28541         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28542         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28543         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28544         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28545         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28546         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28548         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28550         * stdio-common/_itoa.h: Moved to ...
28551         * sysdeps/generic/_itoa.h: Here.
28553         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28555         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28556         instead of "_itoa.h" and "_itowa.h".
28557         * stdio-common/vfprintf.: Likewise.
28559 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28561         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28562         <bits/wordsize.h>.
28563         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28564         (__signbit): Likwise.
28565         (llrintf): Likwise.
28566         (llrint): Likwise.
28568 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28570         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28571         __WORDSIZE != 64.
28573 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28575         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28576         OVERFLOW_EXCEPTION_OK.
28577         * math/libm-test.inc ("Philosophy"): Update comment about
28578         exception testing.
28579         (OVERFLOW_EXCEPTION): Define.
28580         (OVERFLOW_EXCEPTION_OK): Likewise.
28581         (INVALID_EXCEPTION_OK): Renumber.
28582         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28583         (IGNORE_ZERO_INF_SIGN): Likewise.
28584         (test_exceptions): Handle FE_OVERFLOW.
28585         (exp10_test): Expect overflow exceptions.
28586         (exp2_test): Likewise.
28587         (expm1_test): Likewise.
28588         (nextafter_test): Likewise.
28589         (pow_test): Likewise.
28590         (scalbn_test): Likewise.
28591         (scalbln_test): Likewise.
28593 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28595         * sysdeps/x86_64/bits/atomic.h
28596         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28597         64bit integer.
28598         (atomic_exchange_acq): Likewise.
28599         (__arch_exchange_and_add_body): Likewise.
28600         (__arch_add_body): Likewise.
28601         (atomic_add_negative): Likewise.
28602         (atomic_add_zero): Likewise.
28604 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28606         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28607         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28609 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28611         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28612         Check __x86_64__ instead of __WORDSIZE.
28614 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28616         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28618 2012-03-19  David S. Miller  <davem@davemloft.net>
28620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28622         * sysdeps/sparc/fpu/fenv_private.h: New file.
28623         * sysdeps/sparc/fpu/math_private.h: Use it.
28624         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28625         Remove.
28626         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28627         (libc_feholdexcept_setroundl): Remove.
28628         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28629         Remove.
28630         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28631         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28633 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28635         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28636         int64_t instead of long int.
28637         (INSERT_WORDS64): Likwise.
28639 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28641         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28642         _Unwind_GetCFA return to _Unwind_Ptr first.
28644 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28646         [BZ #13629]
28647         * math/s_clog.c: Include <float.h>.
28648         (__clog): Scale large or subnormal inputs.
28649         * math/s_clogf.c: Likewise.
28650         * math/s_clogl.c: Likewise.
28651         * math/s_clog10.c: Include <float.h>.
28652         (M_LOG10_2): Define.
28653         (__clog10): Scale large or subnormal inputs.
28654         * math/s_clog10f.c: Likewise.
28655         * math/s_clog10l.c: Likewise.
28656         * math/libm-test.inc (clog_test): Add more tests.
28657         (clog10_test): Likewise.
28658         * sysdeps/i386/fpu/libm-test-ulps: Update.
28659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28661         [BZ #11451]
28662         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28663         x and y.
28664         * math/libm-test.inc (atan2_test): Add another test.
28666         * Makerules (common-objdir-compile): Remove.
28667         * sysdeps/unix/Makefile (config-generated): Do not add
28668         $(unix-generated) to variable.
28669         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28670         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28671         Remove rule.
28672         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28673         Likewise.
28674         [generic bits/local_lim.h] (before-compile): Do not append to
28675         variable.
28676         [generic bits/local_lim.h] (common-generated): Likewise.
28677         [generic sys/param.h] (before-compile): Do not append to variable.
28678         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28679         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28680         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28681         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28682         include.
28683         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28684         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28685         [generic sys/param.h] ($(addprefix
28686         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28687         [generic sys/param.h] (common-generated): Do not append to
28688         variable.
28689         [generic sys/param.h] (sysdep_headers): Likewise.
28690         [generic bits/errno.h] (before-compile): Do not append to
28691         variable.
28692         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28693         rule.
28694         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28695         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28696         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28697         [generic bits/errno.h] (common-generated): Do not append to
28698         variable.
28699         [generic bits/ioctls.h] (before-compile): Do not append to
28700         variable.
28701         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28702         rule.
28703         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28704         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28705         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28706         rule.
28707         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28708         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28709         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28710         [generic bits/ioctls.h] (common-generated): Do not append to
28711         variable.
28712         [generic sys/syscall.h] (syscall.h): Remove variable.
28713         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28714         rule.
28715         [generic sys/syscall.h] (before-compile): Do not append to
28716         variable.
28717         [generic sys/syscall.h] (common-generated): Likewise.
28718         * sysdeps/unix/errnos-tmpl.c: Remove file.
28719         * sysdeps/unix/errnos.awk: Likewise.
28720         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28721         * sysdeps/unix/ioctls.awk: Likewise.
28722         * sysdeps/unix/mk-local_lim.c: Likewise.
28723         * sysdeps/unix/snarf-ioctls: Likewise.
28725 2012-03-19  Richard Henderson  <rth@twiddle.net>
28727         * sysdeps/i386/fpu/fenv_private.h: New file.
28728         * sysdeps/i386/fpu/math_private.h: Use it.
28729         (math_opt_barrier, math_force_eval): Remove.
28730         (libc_feholdexcept_setround_53bit): Remove.
28731         (libc_feupdateenv_53bit): Remove.
28732         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28733         (math_opt_barrier, math_force_eval): Remove.
28734         (libc_feholdexcept): Remove.
28735         (libc_feholdexcept_setround): Remove.
28736         (libc_fetestexcept, libc_fesetenv): Remove.
28737         (libc_feupdateenv_test): Remove.
28738         (libc_feupdateenv, libc_feholdsetround): Remove.
28739         (libc_feresetround): Remove.
28741         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28742         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28744         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28745         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28746         (libc_feupdateenv_testl): New.
28747         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28748         (libc_feupdateenv_testf): New.
28749         (libc_feupdateenv): Use libc_feupdateenv_test.
28750         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28751         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28753         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28754         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28755         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28756         (libc_feresetround_noex): New.
28757         (libc_feresetround_noexf): New.
28758         (libc_feresetround_noexl): New.
28759         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28760         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28761         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28762         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28763         SET_RESTORE_ROUND.
28764         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28765         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28766         (__cos): Likewise.
28767         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28768         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28769         SET_RESTORE_ROUND_NOEX.
28770         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28771         SET_RESTORE_ROUND_NOEXF.
28772         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28773         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28774         (libc_feholdsetroundf): New.
28775         (libc_feresetround, libc_feresetroundf): New.
28777         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28778         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28779         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28781         * sysdeps/generic/math_private.h: Include <fenv.h>.
28782         (default_libc_feholdexcept): New.
28783         (default_libc_feholdexcept_setround): New.
28784         (default_libc_fesetenv, default_libc_feupdateenv): New.
28785         (libc_feholdexcept): Only define if undefined.
28786         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28787         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28788         (libc_feholdexcept_setroundl): Likewise.
28789         (libc_feholdexcept_setround_53bit): Likewise.
28790         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28791         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28792         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28793         (libc_feupdateenv_53bit): Likewise.
28794         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28795         (libc_feholdexcept): Convert from macro to inline function.
28796         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28797         (libc_fesetenv, libc_feupdateenv): Likewise.
28799         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28800         not previously defined.
28801         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28802         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28803         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28804         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28805         * sysdeps/ieee754/flt-32/math_private.h: New file.
28806         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28807         math_private.h below SET_FLOAT_WORD.
28808         (__isnan, __isinf_ns, __finite): Remove.
28809         (__isnanf, __isinf_nsf, __finitef): Remove.
28811 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28815 2012-03-17  David S. Miller  <davem@davemloft.net>
28817         [BZ #6471]
28818         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28819         for 2.16.
28821 2012-03-16  David S. Miller  <davem@davemloft.net>
28823         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28824         warnings.
28826         [BZ #6471]
28827         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28828         properly.
28829         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28830         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28831         sysdep_routines when subdir is sysvipc.
28832         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28833         __getshmlba helper.
28835         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28837 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28839         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28840         [__LP64__].
28842 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28844         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28845         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28846         (__lround): Renamed to ...
28847         (__llround): This.  Replace long int with long long int.
28848         Define lround functions as aliases of llround functions.
28849         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28851 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28853         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28854         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28855         adresses to uintptr_t.  Replace "long int" and "unsigned long
28856         int" with "greg_t" on va_arg.
28858 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28860         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28861         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28863         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28864         Move e_machine check before EI_CLASS check.  Handle x32
28865         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28866         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28867         SKIP_EM_IA_64 and include
28868         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28870         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28871         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28872         (add_system_dir): New macro.
28874         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28875         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28877 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28879         [BZ #2551]
28880         [BZ #2552]
28881         [BZ #2553]
28882         [BZ #2554]
28883         [BZ #2562]
28884         [BZ #2563]
28885         [BZ #2565]
28886         [BZ #2566]
28887         [BZ #2576]
28888         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28889         (y0): Likewise.
28890         * math/w_j0f.c (j0f): Likewise.
28891         (y0f): Likewise.
28892         * math/w_j0l.c (__j0l): Likewise.
28893         (__y0l): Likewise.
28894         * math/w_j1.c (j1): Likewise.
28895         (y1): Likewise.
28896         * math/w_j1f.c (j1f): Likewise.
28897         (y1f): Likewise.
28898         * math/w_j1l.c (__j1l): Likewise.
28899         (__y1l): Likewise.
28900         * math/w_jn.c (jn): Likewise.
28901         (yn): Likewise.
28902         * math/w_jnf.c (jnf): Likewise.
28903         (ynf): Likewise.
28904         * math/w_jnl.c (__jnl): Likewise.
28905         (__ynl): Likewise.
28906         * math/libm-test.inc (j0_test): Add more tests.
28907         (j1_test): Likewise.
28908         (jn_test): Likewise.  Add trailing semicolon to existing test.
28909         (y0_test): Likewise.
28910         (y1_test): Likewise.
28911         * sysdeps/i386/fpu/libm-test-ulps: Update.
28912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28914         [BZ #13851]
28915         [BZ #13854]
28916         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28917         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28918         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28919         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28920         (__tanl): Set errno for infinite argument.
28921         * sysdeps/i386/fpu/mptan.c: Remove.
28922         * sysdeps/i386/fpu/s_tan.S: Likewise.
28923         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28924         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28925         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28926         * math/libm-test.inc (tan_test): Add more tests and enable more
28927         tests for double and long double.
28928         * sysdeps/i386/fpu/libm-test-ulps: Update.
28929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28931 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28933         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28934         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28936 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28938         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28939         * configure.in: Use it for both main tree and add-ons.
28940         * configure: Regenerated.
28942 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28944         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28946 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28948         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28949         in comment.
28951         [BZ #13851]
28952         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28953         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28954         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28955         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28956         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28957         infinite argument.
28958         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28959         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28960         != 0 for prec == 2.
28961         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28962         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28963         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28964         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28965         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28966         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28967         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28968         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28969         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28970         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28971         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28972         * math/libm-test.inc (cos_test): Add more tests and enable more
28973         tests for long double.
28974         (sin_test): Likewise.
28975         (sincos_test): Likewise.
28976         * sysdeps/i386/fpu/libm-test-ulps: Update.
28977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28979 2012-03-16  David S. Miller  <davem@davemloft.net>
28981         * sysdeps/sparc/fpu/math_private.h: New file.
28983 2012-03-15  David S. Miller  <davem@davemloft.net>
28985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28986         file.
28987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28989         file.
28990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28991         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28992         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28993         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28995         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28996         sysdep routines.
28997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28999         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29000         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29002         * sysdeps/sparc/sparc-ifunc.h: New file.
29003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29004         sparc-ifunc.h
29005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29007         Likewise.
29008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29009         Likewise.
29010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29014         Likewise.
29015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29020         Likewise.
29021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29022         Likewise.
29023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29027         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29028         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29029         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29030         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29031         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29032         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29033         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29034         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29035         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29036         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29037         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29038         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29039         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29040         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29041         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29042         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29043         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29044         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29045         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29046         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29048 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29050         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29051         scaling.
29052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29054 2012-03-15  Andreas Jaeger  <aj@suse.de>
29056         [BZ #13852]
29057         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29058         ieee754/flt-32 implementation for sin, cos and sincos.
29059         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29060         * sysdeps/i386/fpu/s_cosf.S: Likewise.
29061         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29062         * sysdeps/i386/fpu/s_sinf.S: Likewise.
29063         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29064         ieee754/flt-32 implementation for tan.
29066         * math/libm-test.inc (cos_test): Enable some large input tests for
29067         float as well
29068         (sin_test): Likewise.
29069         (sincos_test): Likewise.
29070         (tan_test): Add tests for large input.
29072         * sysdeps/i386/fpu/libm-test-ulps: Update.
29074 2012-03-15  Andreas Jaeger  <aj@suse.de>
29076         [BZ #13658]
29077         * math/libm-test.inc (cos_test): Add more test cases.
29078         (sin_test): Likewise.
29079         (sincos_test): Likewise.
29081 2012-03-15  Andreas Jaeger  <aj@suse.de>
29083         [BZ #13837]
29084         * math/libm-test.inc (cos_test): Add a test case for large input
29085         value.
29086         (sin_test): Likewise.
29087         (sincos_test): Likewise.
29089 2012-03-15  Andreas Jaeger  <aj@suse.de>,
29090         Joseph Myers  <joseph@codesourcery.com>
29092         [BZ #13658]
29093         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29094         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29095         * sysdeps/i386/fpu/branred.c: Likewise.
29096         * sysdeps/i386/fpu/dosincos.c: Likewise.
29097         * sysdeps/i386/fpu/mpa.c: Likewise.
29098         * sysdeps/i386/fpu/s_cos.S: Likewise.
29099         * sysdeps/i386/fpu/s_sin.S: Likewise.
29100         * sysdeps/i386/fpu/s_sincos.S: Likewise.
29101         * sysdeps/i386/fpu/sincos32.c: Likewise.
29103         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29104         Define.
29105         (libc_feupdateenv_53bit): Define.
29106         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29107         Define.
29108         (libc_feupdateenv_53bit): Define.
29110         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29111         53 bit (without extend i386 double precision).
29113         * math/libm-test.inc (sincos_test): Add tests for large input.
29114         (sin): Likewise.
29115         (cos): Likewise.
29117         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29119 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29123 2012-03-15  David S. Miller  <davem@davemloft.net>
29125         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29126         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29127         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29128         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29134         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29135         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29136         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29137         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29138         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29139         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29141         file.
29142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29144         file.
29145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29147         file.
29148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29150         file.
29151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29152         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29153         fmin/fmax sysdep routines.
29154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29156 2012-03-14  David S. Miller  <davem@davemloft.net>
29158         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29161         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29162         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29163         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29164         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29165         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29166         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29168         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29169         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29170         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29171         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29172         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29173         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29174         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29175         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29176         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29177         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29178         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29179         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29180         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29181         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29182         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29183         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29184         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29185         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29186         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29187         routines.
29188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29189         file.
29190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29192         file.
29193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29195         file.
29196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29198         file.
29199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29201         file.
29202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29204         file.
29205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29206         file.
29207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29208         file.
29209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29210         file.
29211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29212         New file.
29213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29214         file.
29215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29216         file.
29217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29219         file.
29220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29222         file.
29223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29225         file.
29226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29228         VIS3 routines.
29230         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29231         New file.
29233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29235         * sysdeps/sparc/configure.in: New file.
29236         * sysdeps/sparc/configure: Generate.
29237         * configure.in (libc_cv_sparc_as_vis3): Substitute.
29238         * configure: Regenerate.
29239         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29240         * config.make.in (have-as-vis3): New.
29241         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29242         available use -Av9d instead of -Av9a.
29243         * sysdeps/sparc/sparc64/Makefile: Likewise.
29244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29246         New file.
29247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29248         file.
29249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29250         New file.
29251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29252         file.
29253         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29254         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29255         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29256         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29257         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29259         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29260         fzeros/fnegs to load 0x80000000 into a float register instead of
29261         using the stack.
29262         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29264 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29266         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29267         bits/syscall.h.
29268         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29269         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29270         ($(inst_includedir)/bits/syscall.h): Remove rule.
29271         ($(objpfx)bits/syscall.d): Include instead of
29272         $(objpfx)syscall-list.d.
29273         (generated): Change syscall-list.h and syscall-list.d to
29274         bits/syscall.h and bits/syscall.d.
29276 2012-03-14  Roland McGrath  <roland@hack.frob.com>
29278         [BZ #13846]
29279         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29281 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29283         [BZ #13841]
29284         * math/s_csqrt.c: Include <float.h>.
29285         (__csqrt): Scale large or subnormal inputs.
29286         * math/s_csqrtf.c: Likewise.
29287         * math/s_csqrtl.c: Likewise.
29288         * math/libm-test.inc (csqrt_test): Add more tests.
29289         * sysdeps/i386/fpu/libm-test-ulps: Update.
29290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29292         [BZ #13840]
29293         * math/libm-test.inc (hypot_test): Add more tests.
29295 2012-03-13  David S. Miller  <davem@davemloft.net>
29297         [BZ #13840]
29298         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29299         double-precision for the calculation instead of scaling.
29301 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
29303         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29304         manipulate bits before adding and subtracting TWO52[sx].
29305         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29306         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29307         Likewise.
29308         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29310 2012-03-13  David S. Miller  <davem@davemloft.net>
29312         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29313         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29314         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29315         rtld-global-offsets.h
29316         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29318         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29319         large parameters.
29321         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29323         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29324         'err' in the ifdef scope in which it is actually used.
29326         * nss/nss_db/db-init.c: Include string.h
29328 2012-03-12  David S. Miller  <davem@davemloft.net>
29330         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29331         masking out of the most significant byte of random value used.
29332         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29333         Fix coding style in previous change.
29335         * sysdeps/unix/sysv/linux/kernel-features.h
29336         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29337         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29338         expression.
29339         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29340         later.
29342 2012-03-11  David S. Miller  <davem@davemloft.net>
29344         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29345         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29346         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29347         for 'resultvar' otherwise things get truncated on 64-bit.
29349         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29350         Fix masking out of the most significant byte of random value used.
29352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29354 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29358 2012-03-09  David S. Miller  <davem@davemloft.net>
29360         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29361         variables with appropriate CPP guards.
29362         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29363         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29364         on resulting framesize and the management of the outregs buffer for pltexit.
29365         Preserve floating point return values across _dl_call_pltexit call.
29366         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29367         framesize and the management of the outregs buffer for pltexit.
29368         Preserve floating point return values across _dl_call_pltexit
29369         call.
29370         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29371         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29372         (print_exit): Fix format string for return register value.
29374 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29376         * sunrpc/Makefile (others): Add rpcgen.
29377         ($(objpfx)rpcgen): Remove special build rule and dependency on
29378         libc.
29379         * sunrpc/rpcgen.c: New file.
29381 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29383         [BZ #13673]
29384         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29385         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29386         * sysdeps/i386/crti.S: Likewise.
29387         * sysdeps/i386/crtn.S: Likewise.
29388         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29389         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29390         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29391         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29392         * sysdeps/sh/crti.S: Likewise.
29393         * sysdeps/sh/crtn.S: Likewise.
29394         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29396         [BZ #13673]
29397         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29398         with URL.
29399         * locale/programs/locfile-kw.gperf: Likewise.
29400         * locale/programs/charmap-kw.h: Regenerated.
29401         * locale/programs/locfile-kw.h: Likewise.
29403         [BZ #13673]
29404         * intl/plural.y: Replace FSF snail mail address with URL.
29405         * intl/plural.c: Regenerated.
29407 2012-03-09  Richard Henderson  <rth@twiddle.net>
29409         * include/math_private.h: Remove file.
29410         * math/math_private.h: Move file ...
29411         * sysdeps/generic/math_private.h: ... here.
29413         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29414         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29415         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29417         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29418         and <math_private.h>.
29419         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29420         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29421         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29422         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29423         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29424         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29425         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29426         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29427         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29428         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29429         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29430         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29431         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29432         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29433         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29434         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29435         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29436         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29437         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29438         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29439         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29440         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29441         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29442         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29443         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29444         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29445         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29446         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29447         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29448         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29449         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29450         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29451         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29452         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29453         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29454         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29455         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29456         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29457         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29458         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29459         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29460         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29461         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29462         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29463         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29464         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29465         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29466         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29467         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29468         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29469         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29470         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29471         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29472         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29473         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29474         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29475         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29476         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29477         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29478         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29479         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29480         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29481         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29482         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29483         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29484         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29485         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29486         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29487         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29488         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29489         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29490         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29491         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29492         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29493         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29494         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29495         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29496         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29497         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29498         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29499         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29500         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29501         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29502         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29503         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29504         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29505         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29506         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29507         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29508         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29509         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29510         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29511         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29512         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29513         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29514         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29515         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29516         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29517         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29518         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29519         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29520         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29521         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29522         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29523         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29524         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29525         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29526         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29527         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29528         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29529         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29530         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29531         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29532         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29533         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29534         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29535         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29536         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29537         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29538         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29539         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29540         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29541         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29542         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29543         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29544         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29545         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29546         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29547         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29548         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29549         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29550         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29551         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29552         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29553         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29554         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29555         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29556         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29557         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29558         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29559         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29560         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29561         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29562         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29563         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29564         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29565         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29566         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29567         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29568         * sysdeps/ieee754/k_standard.c: Likewise.
29569         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29570         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29571         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29572         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29573         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29574         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29575         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29576         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29577         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29578         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29579         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29580         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29581         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29582         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29583         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29584         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29585         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29586         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29587         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29588         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29589         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29590         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29591         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29592         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29593         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29594         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29595         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29596         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29597         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29598         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29599         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29600         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29601         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29602         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29603         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29604         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29605         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29606         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29607         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29608         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29609         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29610         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29611         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29612         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29613         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29614         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29615         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29616         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29617         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29618         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29619         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29620         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29621         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29622         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29623         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29624         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29625         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29626         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29627         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29628         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29629         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29630         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29631         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29632         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29633         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29634         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29635         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29636         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29637         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29638         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29639         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29640         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29641         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29642         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29643         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29644         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29645         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29646         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29647         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29648         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29649         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29650         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29651         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29652         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29653         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29654         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29655         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29656         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29657         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29658         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29659         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29660         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29661         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29662         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29663         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29664         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29665         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29666         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29667         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29668         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29669         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29670         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29671         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29672         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29673         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29674         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29675         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29676         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29677         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29678         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29679         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29680         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29681         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29682         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29683         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29684         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29685         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29686         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29687         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29688         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29689         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29690         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29691         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29692         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29693         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29694         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29695         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29696         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29697         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29698         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29699         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29700         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29701         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29702         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29703         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29704         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29705         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29706         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29707         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29708         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29709         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29710         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29711         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29712         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29713         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29714         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29715         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29716         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29717         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29718         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29719         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29720         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29721         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29722         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29723         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29724         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29725         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29726         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29727         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29728         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29729         * sysdeps/ieee754/s_lib_version.c: Likewise.
29730         * sysdeps/ieee754/s_matherr.c: Likewise.
29731         * sysdeps/ieee754/s_signgam.c: Likewise.
29732         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29733         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29734         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29735         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29736         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29737         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29738         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29739         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29740         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29741         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29742         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29743         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29744         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29745         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29746         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29747         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29748         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29749         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29750         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29751         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29752         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29754 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29756         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29757         * sunrpc/rpc_main.c: Likewise.
29758         * sunrpc/rpc_svcout.c: Likewise.
29760 2012-03-09  David S. Miller  <davem@davemloft.net>
29762         * include/math_private.h: New file.
29764 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29766         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29767         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29768         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29769         from <bits/socket_type.h>.
29770         (enum __socket_type): Don't define here.
29771         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29772         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29773         bits/socket_type.h.
29775         [BZ #13566]
29776         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29777         checking __USE_GNU.
29779         * Makerules ($(inst_includedir)/%.h): New rule.
29780         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29781         (install-others): Remove variable setting.
29782         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29784 2012-03-08  Richard Henderson  <rth@twiddle.net>
29786         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29787         from macro to inline function; merge with the
29788         !__LIBC_INTERNAL_MATH_INLINES version.
29789         (__ieee754_sqrtf): Likewise.
29791         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29792         to inline function.
29793         (__rintf, __floor, __floorf): Likewise.
29795         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29796         macro to inline function.
29797         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29799         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29800         not <math/math_private.h>.
29802 2012-03-08  David S. Miller  <davem@davemloft.net>
29804         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29805         copyright year.
29806         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29808 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29810         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29811         normalization.
29812         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29813         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29815 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29817         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29818         be defined individually, they must be defined as a block.  Define
29819         S for printing a string instead of hidint the different by using a
29820         macro for adding the 'l'.
29821         * stdio-common/tst-fphex-wide.c: Adjust.
29823 2012-03-07  Marek Polacek  <polacek@redhat.com>
29825         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29827 2012-03-08  Marek Polacek  <polacek@redhat.com>
29829         [BZ #13806]
29830         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29831         * stdio-common/tst-fphex.c: Define a few macros to make the
29832         test reusable.  Use them.
29833         * stdio-common/tst-fphex-wide.c: New file.
29835 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29837         [BZ #6911]
29838         * manual/macros.texi (gnusystems): New macro.
29839         (nongnusystems): Likewise.
29840         (gnulinuxhurdsystems): Likewise.
29841         (gnuhurdsystems): Likewise..
29842         (gnulinuxsystems): Likewise.
29843         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29844         variants of the GNU system, not "GNU system".
29845         * manual/conf.texi: Likewise.
29846         * manual/errno.texi: Likewise.  Update example of errno macro
29847         expansion.
29848         * manual/filesys.texi: Likewise.
29849         (getumask): Document as specific to GNU/Hurd.
29850         * manual/install.texi: Likewise.  Reword some references to
29851         GNU/Linux.
29852         * manual/intro.texi: Likewise.
29853         * manual/io.texi: Likewise.
29854         (File Name Portability): Detail which constraints are inapplicable
29855         to all GNU systems and which are only inapplicable to GNU/Hurd.
29856         * manual/job.texi: Likewise.
29857         * manual/llio.texi: Likewise.
29858         (O_NOCTTY): Document as present on GNU/Linux.
29859         * manual/maint.texi: Likewise.
29860         * manual/memory.texi: Likewise.
29861         * manual/pattern.texi: Likewise.
29862         * manual/pipe.texi: Likewise.
29863         * manual/process.texi: Likewise.
29864         * manual/resource.texi: Likewise.
29865         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29866         child on GNU/Hurd.
29867         * manual/setjmp.texi: Likewise.
29868         * manual/signal.texi: Likewise.
29869         * manual/startup.texi: Likewise.
29870         * manual/stdio.texi: Likewise.
29871         * manual/terminal.texi: Likewise.
29872         (ONLCR): Document as POSIX.
29873         (OXTABS): Document availability on GNU/Linux as XTABS.
29874         (ONOEOT): Document availability separately from other bits.
29875         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29876         * manual/time.texi: Likewise.
29877         * manual/users.texi: Likewise.
29878         * INSTALL: Regenerated.
29879         * sysdeps/gnu/errlist.c: Regenerated.
29881         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29882         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29883         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29884         puts.
29885         * configure: Regenerated.
29887 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29889         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29890         default includes instead of AC_HEADER_CHECK.
29891         * sysdeps/i386/configure: Regenerated.
29893         [BZ #10716]
29894         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29895         * math/s_cacoshf.c (__cacoshf): Likewise.
29896         * math/s_cacoshl.c (__cacoshl): Likewise.
29897         * math/s_casinh.c (__casinh): Set signs of result from argument.
29898         * math/s_casinhf.c (__casinhf): Likewise.
29899         * math/s_casinhl.c (__casinhl): Likewise.
29900         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29901         (casinh_test): Add more tests.
29902         * sysdeps/i386/fpu/libm-test-ulps: Update.
29903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29905 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29907         * po/zh_TW.po: Update from translation team.
29909         * login/Makefile (distribute): Remove variable.
29910         * catgets/Makefile: Likewise.
29911         * mach/Makefile: Likewise.
29912         * malloc/Makefile: Likewise.
29913         * misc/Makefile: Likewise.
29914         * iconv/Makefile: Likewise.
29915         * nscd/Makefile: Likewise.
29916         * hurd/Makefile: Likewise.
29917         * manual/Makefile: Likewise.
29918         * locale/Makefile: Likewise.
29919         * intl/Makefile: Likewise.
29920         * conform/Makefile: Likewise.
29921         * nss/Makefile: Likewise.
29922         * time/Makefile: Likewise.
29923         * soft-fp/Makefile: Likewise.
29924         * dirent/Makefile: Likewise.
29925         * gmon/Makefile: Likewise.
29926         * po/Makefile: Likewise.
29927         * rt/Makefile: Likewise.
29928         * socket/Makefile: Likewise.
29929         * math/Makefile: Likewise.
29930         * signal/Makefile: Likewise.
29931         * debug/Makefile: Likewise.
29932         * elf/Makefile: Likewise.
29933         * timezone/Makefile: Likewise.
29934         * stdlib/Makefile: Likewise.
29935         * iconvdata/Makefile: Likewise.
29936         * sunrpc/Makefile: Likewise.
29937         * io/Makefile: Likewise.
29938         * argp/Makefile: Likewise.
29939         * inet/Makefile: Likewise.
29940         * hesiod/Makefile: Likewise.
29941         * grp/Makefile: Likewise.
29942         * csu/Makefile: Likewise.
29943         * wctype/Makefile: Likewise.
29944         * crypt/Makefile: Likewise.
29945         * libio/Makefile: Likewise.
29946         * string/Makefile: Likewise.
29947         * nis/Makefile: Likewise.
29948         * resolv/Makefile: Likewise.
29949         * stdio-common/Makefile: Likewise.
29950         * wcsmbs/Makefile: Likewise.
29951         * dlfcn/Makefile: Likewise.
29952         * posix/Makefile: Likewise.
29954         [BZ #6959]
29955         * timezone/Makefile: Don't install timezone files, just the programs
29956         and scripts.
29958 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29960         * nss/databases.def: Add missing gshadow entry.
29962         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29964 2012-03-06  Marek Polacek  <polacek@redhat.com>
29966         [BZ #13726]
29967         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29968         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29969         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29970         * stdio-common/tst-long-dbl-fphex.c: New file.
29972 2012-03-06  David S. Miller  <davem@davemloft.net>
29974         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29975         (set_obp_int): New function.
29976         (get_obp_int): New function.
29977         (__get_clockfreq_via_dev_openprom): Likewise.
29978         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29979         Avoid unused variable warnings on 'val' and use builtin_expect.
29980         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29981         __builtin_expect.
29982         (INLINE_CLONE_SYSCALL): Likewise.
29984 2012-03-05  David S. Miller  <davem@davemloft.net>
29986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29988 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29992         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29993         only for |x| >= 40.
29994         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29996 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29998         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29999         Replace gettimeofday with __vdso_gettimeofday.
30001         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30002         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30003         __vdso_clock_gettime and __vdso_getcpu.
30005         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30006         time with __vdso_time.
30008 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30010         * manual/lang.texi (size_t): Note types to which size_t may be
30011         equivalent with the GNU C Library, but do not describe when
30012         differences between them are significant.
30014 2012-03-05  Andreas Jaeger  <aj@suse.de>
30016         * sysdeps/i386/fpu/libm-test-ulps: Update.
30018 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30020         [BZ #3976]
30021         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30022         (__ieee754_pow): Save and restore rounding mode and use
30023         round-to-nearest for main computations.
30024         * math/libm-test.inc (pow_test_tonearest): New function.
30025         (pow_test_towardzero): Likewise.
30026         (pow_test_downward): Likewise.
30027         (pow_test_upward): Likewise.
30028         (main): Call the new functions.
30029         * sysdeps/i386/fpu/libm-test-ulps: Update.
30030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30032         [BZ #3976]
30033         * math/libm-test.inc (cosh_test_tonearest): New function.
30034         (cosh_test_towardzero): Likewise.
30035         (cosh_test_downward): Likewise.
30036         (cosh_test_upward): Likewise.
30037         (sinh_test_tonearest): Likewise.
30038         (sinh_test_towardzero): Likewise.
30039         (sinh_test_downward): Likewise.
30040         (sinh_test_upward): Likewise.
30041         (main): Call the new functions.
30042         * sysdeps/i386/fpu/libm-test-ulps: Update.
30043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30045 2012-03-05  Tom de Vries  <tom@codesourcery.com>
30047         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30048         default stack guard is set in last bytes.
30049         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30051 2012-03-05  Kees Cook  <keescook@chromium.org>
30053         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30055         [BZ #13656]
30056         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30057         possibly allocate from heap instead of stack.
30058         * stdio-common/bug-vfprintf-nargs.c: New file.
30059         * stdio-common/Makefile (tests): Add nargs overflow test.
30061 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
30063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30065 2012-03-03  Marek Polacek  <polacek@redhat.com>
30067         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30068         * math/math_private.h: Likewise.
30069         * stdlib/tst-strtod.c: Likewise.
30070         * sysdeps/i386/i486/bits/atomic.h: Likewise.
30071         * sysdeps/x86_64/bits/atomic.h: Likewise.
30073 2012-03-02  David S. Miller  <davem@davemloft.net>
30075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30079         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30080         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30081         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30082         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30084 2012-03-02  Roland McGrath  <roland@hack.frob.com>
30086         [BZ #13792]
30087         * manual/examples/README: New file, says the example source files
30088         can be used under GPL>=2.
30089         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30090         line containing just "*/".
30091         * manual/examples/add.c: Add copyright header (GPL>=2).
30092         * manual/examples/argp-ex1.c: Likewise.
30093         * manual/examples/argp-ex2.c: Likewise.
30094         * manual/examples/argp-ex3.c: Likewise.
30095         * manual/examples/argp-ex4.c: Likewise.
30096         * manual/examples/atexit.c: Likewise.
30097         * manual/examples/db.c: Likewise.
30098         * manual/examples/dir.c: Likewise.
30099         * manual/examples/dir2.c: Likewise.
30100         * manual/examples/execinfo.c: Likewise.
30101         * manual/examples/filecli.c: Likewise.
30102         * manual/examples/filesrv.c: Likewise.
30103         * manual/examples/fmtmsgexpl.c: Likewise.
30104         * manual/examples/genpass.c: Likewise.
30105         * manual/examples/inetcli.c: Likewise.
30106         * manual/examples/inetsrv.c: Likewise.
30107         * manual/examples/isockad.c: Likewise.
30108         * manual/examples/longopt.c: Likewise.
30109         * manual/examples/memopen.c: Likewise.
30110         * manual/examples/memstrm.c: Likewise.
30111         * manual/examples/mkfsock.c: Likewise.
30112         * manual/examples/mkisock.c: Likewise.
30113         * manual/examples/mygetpass.c: Likewise.
30114         * manual/examples/pipe.c: Likewise.
30115         * manual/examples/popen.c: Likewise.
30116         * manual/examples/rprintf.c: Likewise.
30117         * manual/examples/search.c: Likewise.
30118         * manual/examples/select.c: Likewise.
30119         * manual/examples/setjmp.c: Likewise.
30120         * manual/examples/sigh1.c: Likewise.
30121         * manual/examples/sigusr.c: Likewise.
30122         * manual/examples/stpcpy.c: Likewise.
30123         * manual/examples/strdupa.c: Likewise.
30124         * manual/examples/strftim.c: Likewise.
30125         * manual/examples/strncat.c: Likewise.
30126         * manual/examples/subopt.c: Likewise.
30127         * manual/examples/swapcontext.c: Likewise.
30128         * manual/examples/termios.c: Likewise.
30129         * manual/examples/testopt.c: Likewise.
30130         * manual/examples/testpass.c: Likewise.
30131         * manual/examples/timeval_subtract.c: Likewise.
30133         [BZ #13792]
30134         * manual/time.texi (Elapsed Time): Move timeval_subtract example
30135         function to ...
30136         * manual/timeval_subtract.c.texi: ... here, new file.
30138 2012-03-02  David S. Miller  <davem@davemloft.net>
30140         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30142 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
30144         [BZ #3976]
30145         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30146         (__sin): Save and restore rounding mode and use round-to-nearest
30147         for all computations.
30148         (__cos): Save and restore rounding mode and use round-to-nearest
30149         for all computations.
30150         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30151         <fenv.h>.
30152         (tan): Save and restore rounding mode and use round-to-nearest for
30153         all computations.
30154         * math/libm-test.inc (cos_test_tonearest): New function.
30155         (cos_test_towardzero): Likewise.
30156         (cos_test_downward): Likewise.
30157         (cos_test_upward): Likewise.
30158         (sin_test_tonearest): Likewise.
30159         (sin_test_towardzero): Likewise.
30160         (sin_test_downward): Likewise.
30161         (sin_test_upward): Likewise.
30162         (tan_test_tonearest): Likewise.
30163         (tan_test_towardzero): Likewise.
30164         (tan_test_downward): Likewise.
30165         (tan_test_upward): Likewise.
30166         (main): Call the new functions.
30167         * sysdeps/i386/fpu/libm-test-ulps: Update.
30168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30170         [BZ #10135]
30171         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30172         small n, then large n, before computing and testing k+n.
30173         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30174         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30175         Likewise.
30176         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30177         Likewise.
30178         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30179         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30180         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30181         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30182         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30183         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30184         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30185         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30186         * math/libm-test.inc (scalbn_test): Add more tests.
30187         (scalbln_test): Likewise.
30189         * manual/filesys.texi (mode_t): Describe constraints on size and
30190         signedness, not exact equivalence to a particular type.
30191         (ino_t): Likewise.
30192         (ino64_t): Likewise.
30193         (dev_t): Likewise.
30194         (nlink_t): Likewise.
30195         (blkcnt_t): Likewise.
30196         (blkcnt64_t): Likewise.
30197         * manual/llio.texi (off_t): Likewise.
30199         [BZ #3976]
30200         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30201         (__ieee754_exp): Save and restore rounding mode and use
30202         round-to-nearest for all computations.
30203         * math/libm-test.inc (exp_test_tonearest): New function.
30204         (exp_test_towardzero): Likewise.
30205         (exp_test_downward): Likewise.
30206         (exp_test_upward): Likewise.
30207         (main): Call the new functions.
30208         * sysdeps/i386/fpu/libm-test-ulps: Update.
30209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30211 2012-03-01  Chris Demetriou  <cgd@google.com>
30213         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30214         have predictable order.
30216 2012-03-01  David S. Miller  <davem@davemloft.net>
30218         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30220         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30221         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30222         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30223         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30225         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30226         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30227         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30229         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30230         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30231         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30232         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30233         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30237         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30238         * sysdeps/sparc/fpu/libm-test-ulps: to here.
30239         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30241         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30242         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30243         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30244         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30245         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30246         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30247         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30248         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30249         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30250         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30251         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30252         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30253         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30254         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30255         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30256         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30257         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30258         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30259         * sysdeps/sparc/elf/configure: Regenerated.
30261 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
30263         * configure.in (AS, LD): Require binutils 2.20 or later.
30264         * configure: Regenerated.
30265         * manual/install.texi (Tools for Compilation): Give binutils 2.20
30266         as required minimum version.
30267         * INSTALL: Regenerated.
30269         [BZ #2541]
30270         [BZ #4108]
30271         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30272         before squaring exponent.
30273         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30274         bottom long double and 27 bits of top long double before squaring
30275         exponent.
30276         * math/libm-test.inc (erfc_test): Add more tests.
30277         * sysdeps/i386/fpu/libm-test-ulps: Update.
30278         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30281 2012-03-01  Kai Tietz  <ktietz@redhat.com>
30283         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30284         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30285         containing bit-fields.
30286         * soft-fp/extended.h (_FP_UNION_E): Likewise.
30287         * soft-fp/single.h (_FP_UNION_S): Likewise.
30288         * soft-fp/double.h (_FP_UNION_D): Likewise.
30290 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30292         [BZ #13786]
30293         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30294         not include ../strcmp.S.
30295         [USE_AS_STRNCASECMP_L]: Likewise.
30296         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30297         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30298         * sysdeps/i386/i686/multiarch/strncase_l-c.c
30299         (__strncasecmp_l_ia32): Define as alias to
30300         __strncasecmp_l_nonascii.
30302         [BZ #5794]
30303         * math/libm-test.inc (expm1_test): Add test for bug 5794.
30304         * sysdeps/i386/fpu/libm-test-ulps: Update.
30305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30307         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30310 2012-02-29  Jeff Law  <law@redhat.com>
30312         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30313         out of bounds read.
30315 2012-02-29  Marek Polacek  <polacek@redhat.com>
30317         [BZ #13706]
30318         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30319         * elf/Makefile: Add rules to run tst-unused-dep.out.
30321 2012-02-28  David S. Miller  <davem@davemloft.net>
30323         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30324         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30325         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30326         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30327         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30328         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30330 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30332         * math/libm-test.inc (llround_test): Move one test from
30333         lround_test.  Use TEST_f_L in moved test.
30334         (lround_test): Move misplaced test to llround_test.  Add testcase
30335         from bug 2561.
30337 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
30339         * sysdeps/x86_64/fpu/e_expf.S: New file.
30340         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30342 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30344         [BZ #13637]
30345         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30346         of remain_len that may cause incomplete multi-byte character and
30347         false match.
30348         * posix/bug-regex33.c: New file.
30349         * posix/Makefile (tests): Add bug-regex33.
30351 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30353         * manual/macros.texi: New file.
30354         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30355         * manual/libc.texinfo: Include macros.texi.
30356         * manual/creatute.texi: Likewise.
30357         * manual/install.texi: Likewise.
30358         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30359         @glibcadj{} in references to the GNU C Library.
30360         * manual/charset.texi: Likewise.
30361         * manual/conf.texi: Likewise.
30362         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30363         when not using those macros.
30364         * manual/creature.texi: Likewise.
30365         * manual/crypt.texi: Likewise.
30366         * manual/errno.texi: Likewise.
30367         * manual/filesys.texi: Likewise.
30368         * manual/header.texi: Likewise.
30369         * manual/install.texi: Likewise.
30370         * manual/intro.texi: Likewise.
30371         * manual/io.texi: Likewise.
30372         * manual/job.texi: Likewise.
30373         * manual/lang.texi: Likewise.
30374         * manual/libc.texiinfo: Likewise.
30375         * manual/llio.texi: Likewise.
30376         * manual/locale.texi: Likewise.
30377         * manual/maint.texi: Likewise.
30378         * manual/math.texi: Likewise.
30379         * manual/memory.texi: Likewise.
30380         * manual/message.texi: Likewise.
30381         * manual/nss.texi: Likewise.
30382         * manual/pattern.texi: Likewise.
30383         * manual/process.texi: Likewise.
30384         * manual/resource.texi: Likewise.
30385         * manual/search.texi: Likewise.
30386         * manual/setjmp.texi: Likewise.
30387         * manual/signal.texi: Likewise.
30388         * manual/socket.texi: Likewise.
30389         * manual/startup.texi: Likewise.
30390         * manual/stdio.texi: Likewise.
30391         * manual/string.texi: Likewise.
30392         * manual/sysinfo.texi: Likewise.
30393         * manual/syslog.texi: Likewise.
30394         * manual/terminal.texi: Likewise.
30395         * manual/time.texi: Likewise.
30396         * manual/users.texi: Likewise.
30397         * INSTALL: Regenerated.
30398         * NOTES: Regenerated.
30399         * sysdeps/gnu/errlist.c: Regenerated.
30401 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30403         * include/dirent.h: Include <dirstream.h> before
30404         <dirent/dirent.h>.
30406 2012-02-28  David S. Miller  <davem@davemloft.net>
30408         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30409         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30410         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30411         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30413 2012-02-27  David S. Miller  <davem@davemloft.net>
30415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30417         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30418         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30421         frame pointer instead of stack pointer relative arg slot.
30422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30423         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30424         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30426 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30428         [BZ #3992]
30429         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30431 2012-02-27  David S. Miller  <davem@davemloft.net>
30433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30437         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30438         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30439         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30440         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30442 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30444         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30445         later.  Allow versions 5-9.
30446         * configure: Regenerated.
30447         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30448         required minimum version and 4.6 as recommended version.  Do not
30449         mention bugs in GCC 2.7 and 2.8.
30450         * INSTALL: Regenerated.
30452 2012-02-27  David S. Miller  <davem@davemloft.net>
30454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30458         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30459         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30460         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30461         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30463         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30464         manipulate bits before adding and subtracting TWO112[sx].
30465         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30467 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30469         [BZ #13775]
30470         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30471         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30472         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30473         being in POSIX, because they are in 1003.1-2008.
30475         * rt/tst-aio.c: Include <fcntl.h>.
30476         * rt/tst-aio7.c: Likewise.
30477         * rt/tst-aio64.c: Likewise.
30479         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30481 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30483         * manual/install.texi (--with-headers): Describe headers as
30484         interface headers, not private headers.
30485         (Specific advice for GNU/Linux systems): Describe use of headers
30486         from "make headers_install", not private headers from older
30487         kernels.
30488         * INSTALL: Regenerated.
30489         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30490         Change to 2.6.19.
30491         * sysdeps/unix/sysv/linux/configure: Regenerated.
30493         * manual/llio.texi (fclean): Remove documentation.
30495         * manual/Makefile (libc-texi-generated): New variable.  Include
30496         version.texi.
30497         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30498         $(libc-texi-generated), not duplicated list of files.
30499         (version.texi, stamp-version): New rules.
30500         (realclean): Remove $(libc-texi-generated), not individual files
30501         from that list.  Do not remove dir-add.texinfo.
30502         * manual/libc.texinfo: Comment out uses of edition numbers and
30503         references to printed manual.  Remove last-updated dates.
30504         (EDITION): Comment out.
30505         (ISBN): Likewise.
30506         (VERSION, UPDATED): Remove.
30507         (version.texi): Include.
30509 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30511         * sysdeps/posix/spawni.c: Include <signal.h>.
30512         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30513         * sysdeps/pthread/aio_fsync.c: Likewise.
30515 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30517         * conform/Makefile (tests): Run only when not cross-compiling and
30518         when fast-check is not defined.
30520         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30521         * conform/data/limits.h-data: Fixes for POSIX2008.
30522         * conform/run-conformtest.sh: Run all tests.
30523         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30524         headers.
30525         * include/bits/dlfcn.h: Likewise.
30526         * include/langinfo.h: Likewise.
30527         * include/monetary.h: Likewise.
30528         * include/sys/poll.h: Likewise.
30530         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30531         for __USE_GNU.
30532         * posix/spawn.h: Define __need_sigset_t.
30533         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30534         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30535         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30536         to get sigevent_t only.
30537         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30538         only for __USE_GNU.
30539         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30540         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30541         process_vm_writev only for __USE_GNU.
30542         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30544         * conform/Makefile: For now ignore errors from run-conformtest.
30545         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30546         POSIX to avoid namespace pollution.  Don't prepend headers.
30547         * conform/data/aio.h-data: Fixes for POSIX testing.
30548         * conform/data/fcntl.h-data: Likewise.
30549         * conform/data/glob.h-data: Likewise.
30550         * conform/data/grp.h-data: Likewise.
30551         * conform/data/pthread.h-data: Likewise.
30552         * conform/data/pwd.h-data: Likewise.
30553         * conform/data/signal.h-data: Likewise.
30554         * conform/data/spawn.h-data: Likewise.
30555         * conform/data/stdio.h-data: Likewise.
30556         * conform/data/stdlib.h-data: Likewise.
30557         * conform/data/stropts.h-data: Likewise.
30558         * conform/data/sys/mman.h-data: Likewise.
30559         * conform/data/sys/stat.h-data: Likewise.
30560         * conform/data/sys/types.h-data: Likewise.
30561         * conform/data/sys/wait.h-data: Likewise.
30562         * conform/data/time.h-data: Likewise.
30563         * conform/data/unistd.h-data: Likewise.
30564         * conform/data/utime.h-data: Likewise.
30566         * io/sys/stat.h: fchmod was always in POSIX.
30567         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30568         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30569         * rt/aio.h: Define __need_timespec before including <time.h>.
30570         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30571         struct.  Add forward declaration of pthread_attr_t and use it in
30572         sigevent.
30573         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30574         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30575         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30576         always remove CLK_TCK definition.
30578 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30580         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30582 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30584         * conform/run-conformtest.sh: New file.
30585         * conform/Makefile: Run run-conformtest for tests.
30586         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30587         support.
30589         * conform/data/uchar.h-data: New file.
30590         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30591         * conform/data/arpa/inet.h-data: Likewise.
30592         * conform/data/assert.h-data: Likewise.
30593         * conform/data/complex.h-data: Likewise.
30594         * conform/data/cpio.h-data: Likewise.
30595         * conform/data/ctype.h-data: Likewise.
30596         * conform/data/dirent.h-data: Likewise.
30597         * conform/data/dlfcn.h-data: Likewise.
30598         * conform/data/errno.h-data: Likewise.
30599         * conform/data/fcntl.h-data: Likewise.
30600         * conform/data/float.h-data: Likewise.
30601         * conform/data/fmtmsg.h-data: Likewise.
30602         * conform/data/fnmatch.h-data: Likewise.
30603         * conform/data/ftw.h-data: Likewise.
30604         * conform/data/glob.h-data: Likewise.
30605         * conform/data/grp.h-data: Likewise.
30606         * conform/data/iconv.h-data: Likewise.
30607         * conform/data/inttypes.h-data: Likewise.
30608         * conform/data/langinfo.h-data: Likewise.
30609         * conform/data/libgen.h-data: Likewise.
30610         * conform/data/limits.h-data: Likewise.
30611         * conform/data/locale.h-data: Likewise.
30612         * conform/data/math.h-data: Likewise.
30613         * conform/data/monetary.h-data: Likewise.
30614         * conform/data/mqueue.h-data: Likewise.
30615         * conform/data/ndbm.h-data: Likewise.
30616         * conform/data/net/if.h-data: Likewise.
30617         * conform/data/netdb.h-data: Likewise.
30618         * conform/data/netinet/in.h-data: Likewise.
30619         * conform/data/nl_types.h-data: Likewise.
30620         * conform/data/poll.h-data: Likewise.
30621         * conform/data/pthread.h-data: Likewise.
30622         * conform/data/pwd.h-data: Likewise.
30623         * conform/data/regex.h-data: Likewise.
30624         * conform/data/sched.h-data: Likewise.
30625         * conform/data/search.h-data: Likewise.
30626         * conform/data/semaphore.h-data: Likewise.
30627         * conform/data/setjmp.h-data: Likewise.
30628         * conform/data/signal.h-data: Likewise.
30629         * conform/data/spawn.h-data: Likewise.
30630         * conform/data/stdarg.h-data: Likewise.
30631         * conform/data/stdio.h-data: Likewise.
30632         * conform/data/stdlib.h-data: Likewise.
30633         * conform/data/string.h-data: Likewise.
30634         * conform/data/strings.h-data: Likewise.
30635         * conform/data/stropts.h-data: Likewise.
30636         * conform/data/sys/ipc.h-data: Likewise.
30637         * conform/data/sys/mman.h-data: Likewise.
30638         * conform/data/sys/msg.h-data: Likewise.
30639         * conform/data/sys/resource.h-data: Likewise.
30640         * conform/data/sys/select.h-data: Likewise.
30641         * conform/data/sys/sem.h-data: Likewise.
30642         * conform/data/sys/shm.h-data: Likewise.
30643         * conform/data/sys/socket.h-data: Likewise.
30644         * conform/data/sys/stat.h-data: Likewise.
30645         * conform/data/sys/statvfs.h-data: Likewise.
30646         * conform/data/sys/time.h-data: Likewise.
30647         * conform/data/sys/timeb.h-data: Likewise.
30648         * conform/data/sys/times.h-data: Likewise.
30649         * conform/data/sys/types.h-data: Likewise.
30650         * conform/data/sys/uio.h-data: Likewise.
30651         * conform/data/sys/un.h-data: Likewise.
30652         * conform/data/sys/utsname.h-data: Likewise.
30653         * conform/data/sys/wait.h-data: Likewise.
30654         * conform/data/syslog.h-data: Likewise.
30655         * conform/data/tar.h-data: Likewise.
30656         * conform/data/termios.h-data: Likewise.
30657         * conform/data/utime.h-data: Likewise.
30658         * conform/data/utmpx.h-data: Likewise.
30659         * conform/data/varargs.h-data: Likewise.
30660         * conform/data/wchar.h-data: Likewise.
30661         * conform/data/wctype.h-data: Likewise.
30662         * conform/data/wordexp.h-data: Likewise.
30664         * include/stropts.h: New file.
30665         * include/uchar.h: New file.
30666         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30667         * include/assert.h: Likewise.
30668         * include/ctype.h: Likewise.
30669         * include/dirent.h: Likewise.
30670         * include/dlfcn.h: Likewise.
30671         * include/fcntl.h: Likewise.
30672         * include/fnmatch.h: Likewise.
30673         * include/glob.h: Likewise.
30674         * include/grp.h: Likewise.
30675         * include/libio.h: Likewise.
30676         * include/locale.h: Likewise.
30677         * include/math.h: Likewise.
30678         * include/net/if.h: Likewise.
30679         * include/netdb.h: Likewise.
30680         * include/netinet/in.h: Likewise.
30681         * include/pthread.h: Likewise.
30682         * include/pwd.h: Likewise.
30683         * include/regex.h: Likewise.
30684         * include/sched.h: Likewise.
30685         * include/search.h: Likewise.
30686         * include/setjmp.h: Likewise.
30687         * include/signal.h: Likewise.
30688         * include/stdio.h: Likewise.
30689         * include/stdlib.h: Likewise.
30690         * include/string.h: Likewise.
30691         * include/sys/cdefs.h: Likewise.
30692         * include/sys/mman.h: Likewise.
30693         * include/sys/msg.h: Likewise.
30694         * include/sys/resource.h: Likewise.
30695         * include/sys/select.h: Likewise.
30696         * include/sys/socket.h: Likewise.
30697         * include/sys/stat.h: Likewise.
30698         * include/sys/statvfs.h: Likewise.
30699         * include/sys/time.h: Likewise.
30700         * include/sys/times.h: Likewise.
30701         * include/sys/uio.h: Likewise.
30702         * include/sys/utsname.h: Likewise.
30703         * include/sys/wait.h: Likewise.
30704         * include/termios.h: Likewise.
30705         * include/time.h: Likewise.
30706         * include/ulimit.h: Likewise.
30707         * include/unistd.h: Likewise.
30708         * include/utime.h: Likewise.
30709         * include/wchar.h: Likewise.
30710         * include/wctype.h: Likewise.
30711         * include/wordexp.h: Likewise.
30713         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30715         * time/time.h: TIME_UTC must be a macro.
30716         Make timespec_get available for ISO C11 only as well.
30718 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30720         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30721         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30723 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30725         * configure.in: Use -o not -a in test for unsupported multi-arch.
30727 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30729         * manual/texinfo.tex: Update to version 2012-01-19.16.
30731 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30733         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30735 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30737         [BZ #13738]
30738         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30739         * manual/fdl-1.3.texi: New file.
30740         * manual/fdl-1.1.texi: File removed.
30742         [BZ #13738]
30743         * manual/libc.texinfo (FDL_VERSION): New @set.
30744         Use it for mention of FDL in cover text.
30745         (Documentation License): Use it in @include file name.
30747 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30748             Roland McGrath  <roland@hack.frob.com>
30750         [BZ #5461]
30751         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30752         not LONG_LONG_MAX and LONG_LONG_MIN.
30753         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30754         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30755         name.
30756         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30758 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30760         [BZ #2547]
30761         [BZ #11365]
30762         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30763         manipulate bits before adding and subtracting TWO23[sx].
30764         * math/libm-test.inc (nearbyint_test): Add more tests.
30766 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30768         [BZ #2548]
30769         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30770         bits before adding and subtracting TWO23[sx].
30771         * math/libm-test.inc (rint_test): Add more tests.
30772         (rint_test_tonearest): Likewise.
30773         (rint_test_towardzero): Likewise.
30774         (rint_test_downward): Likewise.
30775         (rint_test_upward: Likewise.
30777 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30779         [BZ #10110]
30780         * include/stdc-predef.h: New file.  Extracted from features.h.
30781         * include/features.h: Include stdc-predef.h.
30782         * Makefile (headers): Add stdc-predef.h.
30783         * CONFORMANCE (Compiler limitations): Update.
30785 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30787         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30789 2012-02-21  David S. Miller  <davem@davemloft.net>
30791         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30792         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30794 2012-02-20  David S. Miller  <davem@davemloft.net>
30796         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30797         using a normal save/restore sequence, rather than allocating a
30798         dummy stack frame just to store a frame pointer and restore.
30799         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30801 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30803         * manual/install.texi: Fix stray word in line-wrapped comment.
30805 2012-02-20  David S. Miller  <davem@davemloft.net>
30807         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30808         both binutils and gcc support GOTDATA.
30810         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30811         "rd %pc" in the PIC register setup sequences.
30813         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30814         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30815         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30816         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30817         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30818         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30819         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30820         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30821         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30822         (SYSCALL_ERROR_HANDLER): Likewise.
30823         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30824         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30825         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30826         (SYSCALL_ERROR_HANDLER): Likewise.
30828         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30829         (HAVE_GCC_GOTDATA): New.
30830         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30831         relocation support in both binutils and gcc.
30832         * sysdeps/sparc/elf/configure: Regenerate.
30834         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30835         * sysdeps/sparc/sparc32/elf/configure: Delete.
30836         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30837         * sysdeps/sparc/sparc64/elf/configure: Delete.
30838         * sysdeps/sparc/elf/configure.in: New file.
30839         * sysdeps/sparc/elf/configure: Generate.
30841         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30842         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30843         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30844         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30845         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30847 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30849         * manual/install.texi: Do not mention specific glibc version
30850         numbers.
30851         * manual/libc.texinfo (VERSION, UPDATED): Update.
30852         (@copying): Use @copyright{} and range of years.
30854 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30856         [BZ #13695]
30857         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30858         [crti.S not in sysdirs] (generated): Do not append.
30859         [crti.S not in sysdirs] (omit-deps): Likewise.
30860         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30861         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30862         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30863         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30864         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30865         Likewise.
30866         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30867         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30868         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30869         * csu/defs.awk: Remove file.
30870         * sysdeps/generic/initfini.c: Likewise.
30871         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30872         variable.
30873         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30874         Likewise.
30876 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30878         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30879         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30880         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30881         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30882         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30883         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30884         <bits/epoll.h>.
30885         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30886         (__EPOLL_PACKED): Define to empty if not defined by
30887         <bits/epoll.h>.
30888         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30890         bits/epoll.h.
30892 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30894         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30895         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30896         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30897         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30898         <bits/timerfd.h>.
30899         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30900         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30901         bits/timerfd.h.
30903 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30905         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30906         in C locale.
30907         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30908         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30909         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30912 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30914         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30915         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30917 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30919         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30920         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30921         defined.
30922         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30923         Likewise.
30924         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30925         entry for 2.16.
30927 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30929         * math/w_acos.c: Use non-signaling floating-point comparisons.
30930         * math/w_acosf.c: Likewise.
30931         * math/w_acosh.c: Likewise.
30932         * math/w_acoshf.c: Likewise.
30933         * math/w_acoshl.c: Likewise.
30934         * math/w_acosl.c: Likewise.
30935         * math/w_asin.c: Likewise.
30936         * math/w_asinf.c: Likewise.
30937         * math/w_asinl.c: Likewise.
30938         * math/w_atanh.c: Likewise.
30939         * math/w_atanhf.c: Likewise.
30940         * math/w_atanhl.c: Likewise.
30941         * math/w_exp2.c: Likewise.
30942         * math/w_exp2f.c: Likewise.
30943         * math/w_exp2l.c: Likewise.
30944         * math/w_j0.c: Likewise.
30945         * math/w_j0f.c: Likewise.
30946         * math/w_j0l.c: Likewise.
30947         * math/w_j1.c: Likewise.
30948         * math/w_j1f.c: Likewise.
30949         * math/w_j1l.c: Likewise.
30950         * math/w_jn.c: Likewise.
30951         * math/w_jnf.c: Likewise.
30952         * math/w_log.c: Likewise.
30953         * math/w_log10.c: Likewise.
30954         * math/w_log10f.c: Likewise.
30955         * math/w_log10l.c: Likewise.
30956         * math/w_log2.c: Likewise.
30957         * math/w_log2f.c: Likewise.
30958         * math/w_log2l.c: Likewise.
30959         * math/w_logf.c: Likewise.
30960         * math/w_logl.c: Likewise.
30961         * math/w_sqrt.c: Likewise.
30962         * math/w_sqrtf.c: Likewise.
30963         * math/w_sqrtl.c: Likewise.
30964         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30965         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30966         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30967         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30968         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30970 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30972         [BZ #9739]
30973         * manual/string.texi (strnlen): Use correct parameter name in
30974         equivalent expression.
30976 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30978         [BZ #11174]
30979         * manual/users.texi (seteuid): Consistently use neweuid for
30980         argument name.
30982 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30984         [BZ #13704]
30985         * manual/nss.texi (Services in the NSS configuration): Correct
30986         list of services in example configuration file.
30988 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30990         [BZ #11322]
30991         * manual/arith.texi: Remove statements about negative zero
30992         behaving identically to zero.
30994 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30996         [BZ #5993]
30997         * manual/install.texi: Do not document upgrading from libc5.
30999 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31001         [BZ #4596]
31002         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31004 2012-02-18  David S. Miller  <davem@davemloft.net>
31006         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31007         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31008         %o7 across the call.
31009         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31010         instead.
31011         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31012         SETUP_PIC_REG_LEAF.
31013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31014         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31015         * sysdeps/sparc/crtn.S: Likewise.
31017 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
31019         * aout/Makefile: Remove.
31021 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
31023         [BZ #13058]
31024         * manual/examples/argp-ex1.c (main): Format definition in GNU
31025         style.
31026         * manual/examples/argp-ex2.c (main): Likewise.
31027         * manual/examples/argp-ex3.c (main): Likewise.
31028         * manual/examples/argp-ex4.c (main): Likewise.
31029         * manual/examples/longopt.c (main): Use new-style prototype
31030         definition.
31031         * manual/examples/strncat.c (main): Specify return type and use
31032         (void) for arguments.
31033         * manual/examples/subopt.c (main): Use char **argv argument.
31035 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31037         [BZ #5077]
31038         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31039         rounding modes.
31041 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
31043         [BZ #6907]
31044         * manual/string.texi (strchr): Change when strchrnul is
31045         recommended.
31047 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
31049         [BZ #174]
31050         * manual/locale.texi (setlocale): Document LOCPATH.
31052 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31054         [BZ #10210]
31055         * manual/process.texi (execle): Move @dots{} before last argument.
31057 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
31059         [BZ #12047]
31060         * manual/charset.texi (Generic Charset Conversion): Fix typo
31061         (LC_TYPE -> LC_CTYPE).
31063 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
31065         [BZ #5805]
31066         * manual/arith.texi (scalbn): Use @var{} on parameter names.
31067         (scalbnf): Likewise.
31068         (scalbnl): Likewise.
31069         (scalbln): Likewise.
31070         (scalblnf): Likewise.
31071         (scalblnl): Likewise.
31072         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31073         (vwarnx): Likewise.
31074         (verr): Likewise.
31075         (verrx): Likewise.
31076         * manual/filesys.texi (telldir): Use braces around return type.
31077         * manual/llio.texi (mmap): Add space after comma.
31078         (mmap64): Likewise.
31079         * manual/math.texi (jn): Use @var{} on parameter names.
31080         (jnf): Likewise.
31081         (jnl): Likewise.
31082         (yn): Likewise.
31083         (ynf): Likewise.
31084         (ynl): Likewise.
31085         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31086         line.
31087         * manual/resource.texi (ulimit): Use @dots{} instead of literal
31088         "...".
31089         (sched_get_priority_min): Remove semicolon on @deftypefun line.
31090         (sched_get_priority_max): Likewise.
31091         * manual/signal.texi (sigvec): Add space after comma.
31092         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31093         names.
31094         (if_indextoname): Likewise.
31095         (if_freenameindex): Likewise.
31096         (sendto): Use ',' instead of '.' in prototype.
31097         * manual/startup.texi (syscall): Use @dots{} instead of literal
31098         "...".
31099         * manual/stdio.texi (__fpending): Separate initial words of
31100         paragraph from @deftypefun line.
31101         * manual/syslog.texi (syslog): Use @dots{} instead of literal
31102         "...".
31103         (vsyslog): Use @var{} on parameter names.
31104         * manual/terminal.texi (stty): Use @var{} on parameter names.
31105         * manual/users.texi (getutmp): Use @var{} on parameter names.
31106         (getutmpx): Likewise.
31108 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31110         [BZ #6884]
31111         * manual/stdio.texi (fopen): Fix typos in description of
31112         ",ccs=STRING".
31114 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
31116         [BZ #4026]
31117         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31118         get clock_id definition.
31120 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
31122         [BZ #4822]
31123         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31124         (madvise): Cast every argument to void on its own.
31126 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31128         [BZ #9902]
31129         * manual/startup.texi (Exit Status): Fix typo.
31131 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31133         [BZ #10140]
31134         * manual/examples/argp-ex1.c: Include <stdlib.h>.
31135         * manual/examples/argp-ex2.c: Likewise.
31136         * manual/examples/argp-ex3.c: Likewise.
31138 2012-02-16  Richard Henderson  <rth@redhat.com>
31140         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31141         * sysdeps/s390/s390-32/initfini.c: Remove.
31142         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31143         * sysdeps/s390/s390-64/initfini.c: Remove.
31145 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31147         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31148         compiler output for sysdeps/generic/initfini.c.
31149         * sysdeps/sh/elf/initfini.c: Remove file.
31151 2012-02-16  David S. Miller  <davem@davemloft.net>
31153         [BZ #11494]
31154         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31156         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31157         * sysdeps/sparc/crti.S: New file.
31158         * sysdeps/sparc/crtn.S: New file.
31159         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31160         * sysdeps/sparc/sparc64/Makefile: Likewise.
31162 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
31164         [BZ #3335]
31165         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31167 2012-02-15  Roland McGrath  <roland@hack.frob.com>
31169         [BZ #4822]
31170         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31172         * mach/devstream.c (cookie_io_functions_t): Macro removed.
31173         (write, read, close): Likewise.
31174         Patch by Aurelien Jarno <aurelien@aurel32.net>.
31176 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
31178         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31179         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31180         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31181         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31182         <bits/signalfd.h>.
31183         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31185         bits/signalfd.h.
31187 2012-02-14  Marek Polacek  <polacek@redhat.com>
31189         * sysdeps/x86_64/crti.S: New file.
31190         * sysdeps/x86_64/crtn.S: New file.
31191         * sysdeps/x86_64/elf/initfini.c: Remove file.
31193 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31195         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31196         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31197         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31198         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31199         <bits/inotify.h>.
31200         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31202         bits/inotify.h.
31204 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31206         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31207         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31208         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31209         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31210         <bits/eventfd.h>.
31211         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31212         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31213         bits/eventfd.h.
31215 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
31217         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31218         __feraiseexcept instead of feraiseexcept.
31220         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31221         nanosleep invocations.
31222         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31223         strings, and add error checking for a nanosleep invocations.
31225 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
31227         Replace FSF snail mail address with URLs, as per GNU coding standards.
31228         Most of the snail mail addresses were wrong anyway, and omitting
31229         them makes the source code easier to maintain.  Almost all of the
31230         changes are to license notices and to locale LC_IDENTIFICATION
31231         addresses, except for this one:
31232         * manual/libc.texinfo: In "Published by", give the FSF's URL,
31233         not its snail mail address.
31235 2012-02-09  Richard Henderson  <rth@twiddle.net>
31237         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31238         of kernel-features.h.
31240         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31242 2012-02-08  Marek Polacek  <polacek@redhat.com>
31244         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31245         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31246         * sysdeps/gnu/_G_config.h: Likewise.
31247         * sysdeps/generic/_G_config.h: Likewise.
31249 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
31251         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31252         tests.
31253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31255         * sysdeps/powerpc/powerpc32/crti.S: New file.
31256         * sysdeps/powerpc/powerpc32/crtn.S: New file.
31257         * sysdeps/powerpc/powerpc64/crti.S: New file.
31258         * sysdeps/powerpc/powerpc64/crtn.S: New file.
31260         * Makeconfig (have-initfini): Don't set.
31261         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31262         * configure.in (nopic_initfini): Don't substitute.
31263         * config.h.in (HAVE_INITFINI): Don't #undef.
31264         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31265         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31267 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
31269         Support crti.S and crtn.S provided directly by architectures.
31270         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31271         [crti.S in sysdirs] (omit-deps): Likewise.
31272         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31273         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31274         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31275         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31276         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31277         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31278         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31279         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31280         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31281         compiler output for sysdeps/generic/initfini.c.
31282         * sysdeps/i386/elf/Makefile: Remove file.
31283         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31285 2012-02-07  Marek Polacek  <polacek@redhat.com>
31287         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31288         * sysdeps/gnu/_G_config.h: Likewise.
31289         * sysdeps/mach/hurd/_G_config.h: Likewise.
31291 2012-02-07  Marek Polacek  <polacek@redhat.com>
31293         * math/Makefile (tests): Add tst-CMPLX2.
31294         * math/tst-CMPLX2.c: New file.
31296 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
31298         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31300         * math/libm-test.inc (jn_test): Add missing L suffix.
31302 2012-02-06  Marek Polacek  <polacek@redhat.com>
31304         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31305         * sysdeps/i386/fpu/e_powf.S: Likewise.
31306         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31307         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31308         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31309         * sysdeps/i386/fpu/e_pow.S: Likewise.
31310         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31311         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31312         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31313         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31314         * sysdeps/i386/fpu/e_log2.S: Likewise.
31315         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31316         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31317         * sysdeps/i386/fpu/e_powl.S: Likewise.
31318         * sysdeps/i386/fpu/s_log1p.S: Likewise.
31319         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31320         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31321         * sysdeps/i386/fpu/e_logl.S: Likewise.
31322         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31323         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31324         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31325         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31326         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31327         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31328         * sysdeps/i386/fpu/e_log.S: Likewise.
31329         * sysdeps/i386/fpu/s_cexp.S: Likewise.
31330         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31331         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31332         * sysdeps/i386/fpu/e_logf.S: Likewise.
31333         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31334         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31335         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31336         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31337         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31338         * sysdeps/i386/fpu/e_log10.S: Likewise.
31339         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31340         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31341         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31342         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31343         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31344         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31345         * sysdeps/i386/asm-syntax.h: Likewise.
31346         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31347         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31348         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31349         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31350         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31351         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31352         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31353         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31354         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31355         * sysdeps/powerpc/sysdep.h: Likewise.
31356         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31357         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31359 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31361         [BZ #411]
31362         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31364 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31366         * sysdeps/i386/sysdep.h: Include <features.h>.
31367         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31368         version.
31370 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31372         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31373         Define.
31374         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31375         LOAD_PIC_REG_STR.
31377 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31379         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31380         (SETUP_PIC_REG): Use GET_PC_THUNK.
31381         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31382         macro.
31384 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31386         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31387         for non-PIC compilation.
31388         (SETUP_PIC_REG): Add .p2align directive.
31389         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31390         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31391         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31392         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31393         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31394         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31395         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31396         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31397         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31398         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31399         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31400         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31401         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31402         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31403         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31404         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31405         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31406         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31407         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31408         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31409         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31410         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31411         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31412         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31413         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31414         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31415         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31416         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31417         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31418         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31419         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31420         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31421         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31422         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31423         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31424         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31425         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31426         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31427         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31428         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31429         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31431 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31433         * math/tst-CMPLX.c: Include <stdio.h>.
31435 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31437         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31438         float.
31439         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31440         * sysdeps/sparc/bits/mathdef.h: Likewise.
31442 2012-01-31  Marek Polacek  <polacek@redhat.com>
31444         * libio/libio.h: Don't define _PARAMS.
31445         * locale/programs/config.h: Don't define PARAMS.
31446         * stdlib/strtol_l.c: Likewise.
31447         (__strtol_l): Remove PARAMS from the prototype.
31449 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31451         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31452         names.  Just use the correct names.  Remove unnecessary wrapper
31453         functions.
31454         * malloc/arena.c: Likewise.
31455         * malloc/hooks.c: Likewise.
31457         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31458         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31459         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31461 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31463         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31464         into tail calls.
31465         (update_get_addr): New function.
31466         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31467         GET_ADDR_MODULE parameter.
31469 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31471         * crypt/cert.c: Remove __STDC__ conditionals.
31472         * crypt/crypt-entry.c: Likewise.
31473         * crypt/crypt_util.c: Likewise.
31474         * libio/filedoalloc.c: Likewise.
31475         * libio/fileops.c: Likewise.
31476         * libio/genops.c: Likewise.
31477         * libio/iofclose.c: Likewise.
31478         * libio/iofdopen.c: Likewise.
31479         * libio/iofopen.c: Likewise.
31480         * libio/iofopen64.c: Likewise.
31481         * libio/iogetdelim.c: Likewise.
31482         * libio/iopopen.c: Likewise.
31483         * libio/obprintf.c: Likewise.
31484         * libio/oldfileops.c: Likewise.
31485         * libio/oldiofclose.c: Likewise.
31486         * libio/oldiofdopen.c: Likewise.
31487         * libio/oldiofopen.c: Likewise.
31488         * libio/oldiopopen.c: Likewise.
31489         * libio/wfiledoalloc.c: Likewise.
31490         * libio/wgenops.c: Likewise.
31491         * locale/programs/xmalloc.c: Likewise.
31492         * misc/syslog.c: Likewise.
31493         * stdio-common/xbug.c: Likewise.
31494         * string/memchr.c: Likewise.
31495         * string/memcmp.c: Likewise.
31496         * string/memrchr.c: Likewise.
31497         * string/rawmemchr.c: Likewise.
31498         * sysdeps/posix/getcwd.c: Likewise.
31499         * time/strftime_l.c: Likewise.
31501 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31503         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31504         * config.make.in (config-cflags-sse2avx): Define.
31505         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31506         Fix typo.
31508 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31510         * scripts/config.guess: Update from upstream config git repository.
31511         * scripts/config.sub: Likewise.
31513 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31515         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31516         (EM_NUM): Update.
31517         (R_TILEPRO_*, R_TILEGX_*): New macros.
31519         * scripts/firstversions.awk: Fix bug in version range handling.
31521         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31523         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31525         * include/sys/epoll.h: New file.
31526         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31527         libc_hidden_def.
31529 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31531         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31532         Avoid unnecessary __WORDSIZE == 64 test.
31533         (fmaxf): Use VEX format if possible.
31534         (fmax): Likewise.
31535         (fminf): Likewise.
31536         (fmin): Likewise.
31538         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31539         * math/math_private.h: Remove libc_fegetround* and
31540         libc_fesetround*.
31541         * sysdeps/i386/configure.in: Check for -msse2avx.
31542         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31543         also if SSE2AVX is defined.
31544         Remove libc_fegetround* and libc_fesetround*.
31545         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31546         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31547         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31548         of HAS_YMM_USABLE.
31549         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31550         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31551         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31552         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31553         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31555         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31557 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31559         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31560         size is not set.
31561         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31563 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31565         [BZ #13618]
31566         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31567         relocation.
31568         * Makeconfig (libm): Define.
31569         * elf/Makefile: Add rules to build and run tst-relsort1.
31570         * elf/tst-relsort1.c: New file.
31571         * elf/tst-relsort1mod1.c: New file.
31572         * elf/tst-relsort1mod2.c: New file.
31574 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31576         * math/s_ldexp.c: Remove __STDC__ conditionals.
31577         * math/s_ldexpf.c: Likewise.
31578         * math/s_ldexpl.c: Likewise.
31579         * math/s_nextafter.c: Likewise.
31580         * math/s_nexttowardf.c: Likewise.
31581         * math/s_significand.c: Likewise.
31582         * math/s_significandf.c: Likewise.
31583         * math/s_significandl.c: Likewise.
31584         * math/w_jnl.c: Likewise.
31585         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31586         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31587         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31588         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31589         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31590         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31591         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31592         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31593         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31594         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31595         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31596         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31597         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31598         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31599         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31600         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31601         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31602         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31604         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31605         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31606         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31607         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31608         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31609         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31610         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31611         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31612         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31613         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31614         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31615         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31616         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31617         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31618         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31619         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31620         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31621         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31622         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31623         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31624         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31625         * sysdeps/ieee754/k_standard.c: Likewise.
31626         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31627         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31628         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31629         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31630         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31631         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31632         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31633         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31634         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31635         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31636         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31637         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31638         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31639         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31640         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31641         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31642         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31643         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31644         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31645         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31646         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31647         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31648         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31649         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31650         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31651         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31652         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31653         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31654         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31655         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31656         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31657         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31658         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31659         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31660         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31661         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31662         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31663         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31664         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31665         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31666         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31667         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31668         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31669         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31670         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31671         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31672         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31673         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31674         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31675         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31676         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31677         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31678         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31679         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31680         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31681         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31682         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31683         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31684         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31685         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31686         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31687         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31688         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31689         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31690         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31691         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31692         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31693         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31694         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31695         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31696         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31697         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31698         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31699         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31700         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31701         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31702         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31703         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31704         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31705         * sysdeps/ieee754/s_matherr.c: Likewise.
31706         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31707         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31708         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31709         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31711 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31713         * crypt/md5.h: Remove __STDC__ conditionals.
31714         * libio/libioP.h: Likewise.
31715         * locale/programs/config.h: Likewise.
31716         * sysdeps/generic/sysdep.h: Likewise.
31717         * sysdeps/i386/asm-syntax.h: Likewise.
31718         * sysdeps/s390/asm-syntax.h: Likewise.
31719         * sysdeps/unix/sysdep.h: Likewise.
31720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31723 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31725         * libio/libio.h: Remove __STDC__ conditionals.
31726         * malloc/obstack.h: Likewise.
31727         * math/complex.h: Likewise.
31728         * math/math.h: Likewise.
31729         * sysdeps/generic/_G_config.h: Likewise.
31730         * sysdeps/gnu/_G_config.h: Likewise.
31731         * sysdeps/mach/hurd/_G_config.h: Likewise.
31732         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31733         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31734         * sysdeps/sparc/bits/mathdef.h: Likewise.
31736 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31738         [BZ #13583]
31739         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31740         Clean up HAS_* macros.
31741         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31742         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31743         possible.
31744         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31745         HAS_AVX.
31746         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31747         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31748         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31749         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31750         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31752 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31754         * elf/tst-unique3.cc (gets): Remove declaration.
31755         * elf/tst-unique3lib.cc (gets): Likewise.
31756         * elf/tst-unique3lib2.cc (gets): Likewise.
31757         * elf/tst-unique4.cc (gets): Likewise.
31759 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31761         * include/stdio.h: Add C++ protection.  Add gets declarations and
31762         definitions.
31763         * debug/tst-chk1.c: Don't declare gets here.
31764         * stdio-common/tst-gets.c: Likewise.
31766 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31768         * posix/glob: Remove directory.
31770 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31772         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31774 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31776         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31777         of the non-standard EPFNOSUPPORT.
31779 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31781         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31782         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31783         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31785 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31787         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31789 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31791         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31792         transient errors.
31793         * nscd/grpcache.c (cache_addgr): Likewise.
31794         * nscd/hstcache.c (cache_addhst): Likewise.
31795         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31796         * nscd/pwdcache.c (cache_addpw): Likewise.
31797         * nscd/servicescache.c (cache_addserv): Likewise.
31799 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31801         * malloc/malloc.c: Various cleanups.
31802         * malloc/hooks.c: Likewise.
31804         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31805         * stdlib/bug-fmtmsg1.c: New file.
31807         * stdlib/fmtmsg.c (init): Add missing unlock.
31808         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31810 2012-01-12  Marek Polacek  <polacek@redhat.com>
31812         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31813         and _GNU_SOURCE.
31815 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31817         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31818         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31819         macro to ensure uniqueness of label name.
31820         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31821         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31823 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31825         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31827         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31828         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31829         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31830         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31832 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31834         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31836         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31837         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31838         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31840         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31842         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31843         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31844         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31845         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31847         * math/bits/math-finite.h: Add ldexp support.
31849 2012-01-10  Marek Polacek  <polacek@redhat.com>
31851         * locale/programs/localedef.h (show_archive_content): Add noreturn
31852         attribute.
31854 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31856         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31858 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31860         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31862         * io/Makefile (headers): Add bits/poll2.h.
31864 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31867         typo #include statement.
31869 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31871         * include/sys/cdefs.h: Define __attribute_alloc_size.
31872         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31873         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31874         * elf/pldd.c: Likewise.
31875         * iconv/iconv_charmap.c: Likewise.
31876         * iconv/iconvconfig.c: Likewise.
31877         * iconv/strtab.c: Likewise.
31878         * locale/programs/locale.c: Likewise.
31879         * locale/programs/localedef.h: Likewise.
31880         * locale/programs/simple-hash.c: Likewise.
31881         * nscd/nscd.h: Likewise.
31882         * nss/makedb.c: Likewise.
31883         * sysdeps/generic/ldconfig.h: Likewise.
31884         * locale/programs/localedef.c: Remove xmalloc prototype.
31885         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31887 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31889         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31890         appropriate.
31892 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31894         * math/Makefile (tests): Add tst-CMPLX.
31895         * math/tst-CMPLX.c: New file.
31897         * math/complex.h (CMPLXL): Fix typo.
31899         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31900         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31901         GLIBC_2.16.
31902         * debug/tst-chk1.c: Add poll and ppoll tests.
31903         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31904         * include/sys/poll.h: Add hidden proto for ppoll.
31905         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31906         * sysdeps/mach/hurd/ppoll.c: Likewise.
31907         * io/ppoll.c: Likewise.
31908         * debug/poll_chk.c: New file.
31909         * debug/ppoll_chk.c: New file.
31910         * include/bits/poll2.h: New file.
31911         * io/bits/poll2.h: New file.
31913         [BZ #1350]
31914         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31916         * configure.in: static is always set to yes.  Remove.
31917         * config.make.in: Don't set build-static.
31918         * Makeconfig: Remove use of build-static.
31919         * dlfcn/Makefile: Likewise.
31920         * elf/Makefile: Likewise.
31921         * math/Makefile: Likewise.
31922         * misc/Makefile: Likewise.
31923         * nptl/Makefile: Likewise.
31924         * sysdeps/mach/hurd/Makefile: Likewise.
31926         * configure.in: PWD_P is not used anymore.
31927         * config.make.in: Remove PWD_P entry.
31929         * configure.in: Remove last remnants of RANLIB.
31930         No need to check for signed size_t anymore.
31931         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31932         and IA-64.
31933         Remove __builtin_expect test because we require at least gcc 3.4.
31934         * aclocal.m4: Likewise.
31936         * wcsmbs/mbrtoc16.c: Implement using towc function.
31937         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31938         * wcsmbs/wcsmbsload.c: Likewise.
31939         * iconv/gconv_simple.c: Likewise.
31940         * iconv/gconv_int.h: Likewise.
31941         * iconv/gconv_builtin.h: Likewise.
31942         * iconv/iconv_prog.c: Remove CHAR16 handling.
31944         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31946         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31948         * configure.in: Remove --with-elf and --enable-bounded options.
31949         Dont set base_machine for ia64.  More non-ELF conditions removed.
31950         Remove testing and setting of leading underscore information.
31951         * config.make.in (build-bounded): Set to no.
31952         * config.h.in: Remove NO_UNDERSCORES entry.
31953         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31954         them.
31955         * csu/start.c: Remove !NO_UNDERSCORE code.
31956         * locale/localeinfo.h: Likewise.
31957         * sysdeps/generic/machine-gmon.h: Likewise.
31958         * sysdeps/generic/sysdep.h: Likewise.
31959         * sysdeps/i386/sysdep.h: Likewise.
31960         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31961         * sysdeps/mach/sysdep.h: Likewise.
31962         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31963         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31964         * sysdeps/sh/sysdep.h: Likewise.
31965         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31966         * sysdeps/unix/i386/sysdep.S: Likewise.
31967         * sysdeps/unix/sparc/start.c: Likewise.
31968         * sysdeps/unix/sparc/sysdep.S: Likewise.
31969         * sysdeps/unix/sparc/sysdep.h: Likewise.
31970         * sysdeps/unix/start.c: Likewise.
31971         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31972         * sysdeps/x86_64/sysdep.h: Likewise.
31974 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31976         [BZ #13553]
31977         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31978         for non-gcc.
31979         * argp/argp-fmtstream.h: Use const instead __const.
31980         * argp/argp.h: Likewise.
31981         * assert/assert.h: Likewise.
31982         * bits/fenv.h: Likewise.
31983         * bits/sched.h: Likewise.
31984         * bits/sigset.h: Likewise.
31985         * bits/sigthread.h: Likewise.
31986         * catgets/nl_types.h: Likewise.
31987         * conform/data/pthread.h-data: Likewise.
31988         * crypt/crypt-private.h: Likewise.
31989         * crypt/crypt.h: Likewise.
31990         * crypt/crypt_util.c: Likewise.
31991         * ctype/ctype.h: Likewise.
31992         * debug/execinfo.h: Likewise.
31993         * debug/mbsnrtowcs_chk.c: Likewise.
31994         * debug/mbsrtowcs_chk.c: Likewise.
31995         * debug/wcsnrtombs_chk.c: Likewise.
31996         * debug/wcsrtombs_chk.c: Likewise.
31997         * debug/wcstombs_chk.c: Likewise.
31998         * dirent/dirent.h: Likewise.
31999         * dlfcn/dlfcn.h: Likewise.
32000         * elf/neededtest4.c: Likewise.
32001         * grp/grp.h: Likewise.
32002         * gshadow/gshadow.h: Likewise.
32003         * iconv/gconv.h: Likewise.
32004         * iconv/gconv_int.h: Likewise.
32005         * iconv/gconv_simple.c: Likewise.
32006         * iconv/iconv.h: Likewise.
32007         * iconv/loop.c: Likewise.
32008         * iconv/skeleton.c: Likewise.
32009         * include/aio.h: Likewise.
32010         * include/aliases.h: Likewise.
32011         * include/argz.h: Likewise.
32012         * include/arpa/inet.h: Likewise.
32013         * include/assert.h: Likewise.
32014         * include/dirent.h: Likewise.
32015         * include/dlfcn.h: Likewise.
32016         * include/execinfo.h: Likewise.
32017         * include/fcntl.h: Likewise.
32018         * include/fenv.h: Likewise.
32019         * include/glob.h: Likewise.
32020         * include/grp.h: Likewise.
32021         * include/libintl.h: Likewise.
32022         * include/mntent.h: Likewise.
32023         * include/netdb.h: Likewise.
32024         * include/pwd.h: Likewise.
32025         * include/rpc/netdb.h: Likewise.
32026         * include/sched.h: Likewise.
32027         * include/search.h: Likewise.
32028         * include/shadow.h: Likewise.
32029         * include/signal.h: Likewise.
32030         * include/stdio.h: Likewise.
32031         * include/stdlib.h: Likewise.
32032         * include/string.h: Likewise.
32033         * include/sys/socket.h: Likewise.
32034         * include/sys/stat.h: Likewise.
32035         * include/sys/statfs.h: Likewise.
32036         * include/sys/statvfs.h: Likewise.
32037         * include/sys/syslog.h: Likewise.
32038         * include/sys/time.h: Likewise.
32039         * include/sys/uio.h: Likewise.
32040         * include/time.h: Likewise.
32041         * include/unistd.h: Likewise.
32042         * include/utmp.h: Likewise.
32043         * include/wchar.h: Likewise.
32044         * include/wctype.h: Likewise.
32045         * inet/aliases.h: Likewise.
32046         * inet/arpa/inet.h: Likewise.
32047         * inet/netinet/ether.h: Likewise.
32048         * inet/netinet/in.h: Likewise.
32049         * intl/libintl.h: Likewise.
32050         * io/bits/fcntl2.h: Likewise.
32051         * io/fcntl.h: Likewise.
32052         * io/ftw.h: Likewise.
32053         * io/sys/poll.h: Likewise.
32054         * io/sys/stat.h: Likewise.
32055         * io/sys/statfs.h: Likewise.
32056         * io/sys/statvfs.h: Likewise.
32057         * io/utime.h: Likewise.
32058         * libio/bits/stdio.h: Likewise.
32059         * libio/bits/stdio2.h: Likewise.
32060         * libio/libio.h: Likewise.
32061         * libio/libioP.h: Likewise.
32062         * libio/stdio.h: Likewise.
32063         * locale/lc-ctype.c: Likewise.
32064         * locale/locale.h: Likewise.
32065         * login/utmp.h: Likewise.
32066         * malloc/arena.c: Likewise.
32067         * malloc/malloc.c: Likewise.
32068         * malloc/malloc.h: Likewise.
32069         * malloc/mcheck.c: Likewise.
32070         * malloc/mtrace.c: Likewise.
32071         * math/bits/mathcalls.h: Likewise.
32072         * math/fenv.h: Likewise.
32073         * math/math_private.h: Likewise.
32074         * misc/bits/error.h: Likewise.
32075         * misc/bits/syslog.h: Likewise.
32076         * misc/err.h: Likewise.
32077         * misc/error.h: Likewise.
32078         * misc/fstab.h: Likewise.
32079         * misc/mntent.h: Likewise.
32080         * misc/regexp.h: Likewise.
32081         * misc/search.h: Likewise.
32082         * misc/sgtty.h: Likewise.
32083         * misc/sys/mman.h: Likewise.
32084         * misc/sys/syslog.h: Likewise.
32085         * misc/sys/uio.h: Likewise.
32086         * misc/sys/xattr.h: Likewise.
32087         * misc/ttyent.h: Likewise.
32088         * nis/rpcsvc/ypclnt.h: Likewise.
32089         * nss/nss.h: Likewise.
32090         * posix/bits/unistd.h: Likewise.
32091         * posix/fnmatch.h: Likewise.
32092         * posix/glob.h: Likewise.
32093         * posix/sched.h: Likewise.
32094         * posix/spawn.h: Likewise.
32095         * posix/sys/wait.h: Likewise.
32096         * posix/unistd.h: Likewise.
32097         * posix/wordexp.h: Likewise.
32098         * pwd/pwd.h: Likewise.
32099         * resolv/netdb.h: Likewise.
32100         * resource/sys/resource.h: Likewise.
32101         * rt/aio.h: Likewise.
32102         * rt/bits/mqueue2.h: Likewise.
32103         * rt/mqueue.h: Likewise.
32104         * shadow/shadow.h: Likewise.
32105         * signal/signal.h: Likewise.
32106         * socket/send.c: Likewise.
32107         * socket/sendto.c: Likewise.
32108         * socket/sys/socket.h: Likewise.
32109         * stdio-common/printf.h: Likewise.
32110         * stdlib/bits/stdlib.h: Likewise.
32111         * stdlib/fmtmsg.h: Likewise.
32112         * stdlib/monetary.h: Likewise.
32113         * stdlib/stdlib.h: Likewise.
32114         * stdlib/ucontext.h: Likewise.
32115         * streams/stropts.h: Likewise.
32116         * string/argz.h: Likewise.
32117         * string/bits/string2.h: Likewise.
32118         * string/string.h: Likewise.
32119         * string/strings.h: Likewise.
32120         * sunrpc/rpc/auth.h: Likewise.
32121         * sunrpc/rpc/auth_des.h: Likewise.
32122         * sunrpc/rpc/clnt.h: Likewise.
32123         * sunrpc/rpc/netdb.h: Likewise.
32124         * sunrpc/rpc/pmap_clnt.h: Likewise.
32125         * sunrpc/rpc/xdr.h: Likewise.
32126         * sysdeps/generic/inttypes.h: Likewise.
32127         * sysdeps/generic/net/if.h: Likewise.
32128         * sysdeps/generic/sys/swap.h: Likewise.
32129         * sysdeps/gnu/net/if.h: Likewise.
32130         * sysdeps/gnu/utmpx.h: Likewise.
32131         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32132         * sysdeps/i386/i486/bits/string.h: Likewise.
32133         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32134         * sysdeps/s390/bits/string.h: Likewise.
32135         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32136         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32137         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32138         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32139         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32140         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32141         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32142         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32143         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32144         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32145         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32146         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32147         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32148         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32149         * sysdeps/unix/sysv/linux/readv.c: Likewise.
32150         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32151         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32152         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32153         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32154         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32155         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32156         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32157         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32158         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32159         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32160         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32161         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32162         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32163         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32164         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32165         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32166         * sysvipc/sys/ipc.h: Likewise.
32167         * sysvipc/sys/msg.h: Likewise.
32168         * sysvipc/sys/sem.h: Likewise.
32169         * sysvipc/sys/shm.h: Likewise.
32170         * termios/termios.h: Likewise.
32171         * time/sys/time.h: Likewise.
32172         * time/time.h: Likewise.
32173         * wcsmbs/bits/wchar2.h: Likewise.
32174         * wcsmbs/uchar.h: Likewise.
32175         * wcsmbs/wchar.h: Likewise.
32176         * wctype/wctype.h: Likewise.
32178         [BZ #13551]
32179         * Makeconfig: Remove all but ELF support including AIX support.
32180         * Makerules: Likewise.
32181         * config.h.in: Likewise.
32182         * config.make.in: Likewise.
32183         * configure: Likewise.
32184         * configure.in: Likewise.
32185         * csu/Makefile: Likewise.
32186         * csu/version.c: Likewise.
32187         * debug/Makefile: Likewise.
32188         * dlfcn/Makefile: Likewise.
32189         * elf/Makefile: Likewise.
32190         * extra-lib.mk: Likewise.
32191         * iconv/Makefile: Likewise.
32192         * include/libc-symbols.h: Likewise.
32193         * include/shlib-compat.h: Likewise.
32194         * resolv/Makefile: Likewise.
32195         * resolv/res_libc.c: Likewise.
32196         * rt/Makefile: Likewise.
32197         * sysdeps/i386/asm-syntax.h: Likewise.
32198         * sysdeps/i386/sysdep.h: Likewise.
32199         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32200         * sysdeps/mach/sysdep.h: Likewise.
32201         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32202         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32203         * sysdeps/s390/asm-syntax.h: Likewise.
32204         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32205         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32206         * sysdeps/sh/sysdep.h: Likewise.
32207         * sysdeps/unix/sparc/sysdep.h: Likewise.
32208         * sysdeps/wordsize-32/divdi3.c: Likewise.
32209         * sysdeps/x86_64/sysdep.h: Likewise.
32211         * argp/Versions: Remove _argp_unlock_xxx.
32213         [BZ #13559]
32214         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
32215         * abilist/libBrokenLocale.abilist: Likewise.
32216         * abilist/libanl.abilist: Likewise.
32217         * abilist/libc.abilist: Likewise.
32218         * abilist/libcrypt.abilist: Likewise.
32219         * abilist/libdl.abilist: Likewise.
32220         * abilist/libm.abilist: Likewise.
32221         * abilist/libnsl.abilist: Likewise.
32222         * abilist/libpthread.abilist: Likewise.
32223         * abilist/libresolv.abilist: Likewise.
32224         * abilist/librt.abilist: Likewise.
32225         * abilist/libthread_db.abilist: Likewise.
32226         * abilist/libutil.abilist: Likewise.
32227         * abilist/libnss_db.abilist: New file.
32229         * scripts/abilist.awk: Add support for indirect functions.
32231         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32233         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32235         * shlib-versions: Remove entries for ports architectures.
32237         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
32238         files in ports.
32239         * elf/stackguard-macros.h: Remove support for IA-64.
32240         * elf/tst-auditmod1.c: Likewise.
32241         * sysdeps/generic/ldsodefs.h: Likewise.
32243         * sysdeps/unix/sysv/linux/configure.in: Ports should define
32244         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32245         configure files.
32247         [BZ #13552]
32248         * configure.in: Remove --enable-omitfp support.
32249         * FAQ.in: Adjust.
32250         * config.make.in: Likewise.
32251         * Makeconfig: Likewise.
32252         * manual/install.texi: Likewise.
32254         In case anyone cares, the IA-64 architecture could move to ports.
32255         * sysdeps/ia64/*: Removed.
32256         * sysdeps/unix/sysv/linux/ia64/*: Removed.
32257         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32259         [BZ #13555]
32260         * configure.in: Remove entries for unsupported architectures.
32262         [BZ #13533]
32263         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32264         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
32265         routines.
32266         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32267         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32268         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
32269         fall back to using wcrtomb.
32270         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32271         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
32272         renaming.
32273         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32274         * wcsmbs/tst-c16c32-1.c: New file.
32276         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32277         local variable.
32279         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32281         * elf/tst-unique3.cc: Add explicit declaration of gets.
32282         * elf/tst-unique3lib.cc: Likewise.
32283         * elf/tst-unique3lib2.cc: Likewise.
32284         * elf/tst-unique4.cc: Likewise.
32286         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32288 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
32290         [BZ #13566]
32291         * assert/assert.h (static_assert): Don't define for C++.
32292         * libio/stdio.h (gets): Do declare for C++ <= C++11.
32293         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32295 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
32297         * iconv/loop.c (single loop): Fix assertion in storing of
32298         remaining bytes.
32300         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32302 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
32304         * posix/getconf.c: Update copyright year.
32305         * nss/getent.c: Likewise.
32306         * nss/makedb.c: Likewise.
32307         * iconv/iconvconfig.c: Likewise.
32308         * iconv/iconv_prog.c: Likewise.
32309         * elf/ldconfig.c: Likewise.
32310         * elf/pldd.c: Likewise.
32311         * elf/sotruss.ksh: Likewise.
32312         * catgets/gencat.c: Likewise.
32313         * csu/version.c: Likewise.
32314         * elf/ldd.bash.in: Likewise.
32315         * elf/sprof.c (print_version): Likewise.
32316         * locale/programs/locale.c: Likewise.
32317         * locale/programs/localedef.c: Likewise.
32318         * login/programs/pt_chown.c: Likewise.
32319         * nscd/nscd.c (print_version): Likewise.
32320         * debug/xtrace.sh: Likewise.
32321         * malloc/memusage.sh: Likewise.
32322         * malloc/mtrace.pl: Likewise.
32323         * debug/catchsegv.sh: Likewise.
32325 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
32327         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32328         pure attribute.
32330 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
32332         [BZ #13533]
32333         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32334         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32335         transformations.
32336         * iconv/gconv_int.h: Likewise.
32337         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32338         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32339         from libc for GLIBC_2.16.
32340         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32341         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32342         * wcsmbs/uchar.h: Really define mbstate_t.
32343         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32344         * wcsmbs/c16rtomb.c: New file.
32345         * wcsmbs/mbrtoc16.c: New file.
32346         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32347         for C/POSIX locale.
32348         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32349         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32351         * wcsmbs/wchar.h: Add missing __restrict.
32353 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32355         [BZ #13532]
32356         * time/Makefile (routines): Add timespec_get.
32357         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32358         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32359         timespec for ISO C11.
32360         * time/timespec_get.c: New file.
32361         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32362         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32364         [BZ #13531]
32365         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32366         * stdlib/stdlib.h: Declare aligned_alloc.
32367         * Versions.def: Add GLIBC_2.16 for libc.
32368         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32370         [BZ 13527]
32371         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32372         ISO C11.
32374         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32375         code.
32377         [BZ #13528]
32378         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32380         [BZ #13529]
32381         * assert/assert.h (static_assert): Define.
32383         * version.h: Update for 2.16 development version.
32385         [BZ #13526]
32386         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32387         _ISOC11_SOURCE.
32389         * version.h (RELEASE): Bump for 2.15 release.
32390         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32392         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32393         Patch by Marek Polacek <mpolacek@redhat.com>.
32395         * bits/byteswap.h: Protect long long constants with __extension__.
32396         * sysdeps/i386/bits/byteswap.h: Likewise.
32397         * sysdeps/ia64/bits/byteswap.h: Likewise.
32398         * sysdeps/s390/bits/byteswap.h: Likewise.
32399         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32401 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32403         [BZ #13540]
32404         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32405         destination buffer.
32406         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32408 2011-12-23  Marek Polacek  <polacek@redhat.com>
32410         * elf/dl-addr.c (determine_info): Add inline keyword.
32411         * elf/tst-auditmod4b.c (check_avx): Likewise.
32412         * elf/tst-auditmod6b.c (check_avx): Likewise.
32413         * elf/tst-auditmod6c.c (check_avx): Likewise.
32414         * elf/tst-auditmod7b.c (check_avx): Likewise.
32416 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32418         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32419         !__SSE_MATH__.
32421 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32423         [BZ #13540]
32424         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32425         processing for last bytes.
32427 2011-08-06  Bruno Haible  <bruno@clisp.org>
32429         [BZ #13061]
32430         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32431         U+0385, not to U+1FEE.
32433         [BZ #13062]
32434         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32435         entry for U+00A5 U+0301.
32437 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32439         [BZ #13166]
32440         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32441         buffer for the output is too small.
32443         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32444         optimization.
32446         [BZ #13185]
32447         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32448         SSE flags if possible.
32450 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32452         [BZ #13540]
32453         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32454         processing for last bytes.
32456 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32458         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32459         (syscall-list-default-options, syscall-list-default-condition)
32460         (syscall-list-includes): Define.
32461         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32462         list of ABIs and options and #if conditions for each ABI.  Do not
32463         handle common syscalls between ABIs specially.
32464         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32465         Remove.
32466         (syscall-list-variants, syscall-list-32bit-options)
32467         (syscall-list-32bit-condition, syscall-list-64bit-options)
32468         (syscall-list-64bit-condition): Define.
32469         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32470         (syscall-list-variants, syscall-list-32bit-options)
32471         (syscall-list-32bit-condition, syscall-list-64bit-options)
32472         (syscall-list-64bit-condition): Define.
32473         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32474         Remove.
32475         (syscall-list-variants, syscall-list-32bit-options)
32476         (syscall-list-32bit-condition, syscall-list-64bit-options)
32477         (syscall-list-64bit-condition): Define.
32478         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32479         Remove.
32480         (syscall-list-variants, syscall-list-32bit-options)
32481         (syscall-list-32bit-condition, syscall-list-64bit-options)
32482         (syscall-list-64bit-condition): Define.
32484 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32486         * locale/iso-639.def: Add brx entry.
32488         [BZ #13328]
32489         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32490         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32492         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32493         __feraiseexcept_renamed.
32495 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32497         [BZ #13538]
32498         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32499         EPOLLET with unsigned values.
32500         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32501         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32503         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32504         to large cancellation.
32505         * math/s_cacoshf.c: Likewise.
32506         * math/s_cacoshl.c: Likewise.
32508 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32510         [BZ #13305]
32511         [BZ #12786]
32512         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32513         * math/s_cacoshf.c: Likewise.
32514         * math/s_cacoshl.c: Likewise.
32516 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32518         [BZ #13439]
32519         * iconv/gconv.h: Define __GCONV_SWAP.
32520         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32521         * iconvdata/utf-16.c: Likewise.
32522         * iconvdata/utf-32.c: Likewise.
32524 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32526         [BZ #13524]
32527         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32528         numerator after shifting it by one limb.
32530 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32532         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32533         under [__USE_EXTERN_INLINES].
32535 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32537         [BZ #13446]
32538         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32540 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32542         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32543         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32544         optimized code.
32545         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32546         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32547         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32548         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32549         for strncasecmp/strncasecmp_l compilation.
32550         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32551         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32553 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32555         [BZ #13484]
32556         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32557         of __asm__.
32559 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32561         [BZ #13506]
32562         * time/tzfile.c (__tzfile_read): Check values from file header.
32564 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32566         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32567         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32568         * powerpc/powerpc32/dl-start.S: Likewise.
32569         * powerpc/powerpc32/elf/start.S: Likewise.
32570         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32571         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32572         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32573         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32574         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32575         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32576         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32577         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32578         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32579         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32580         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32581         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32582         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32583         * powerpc/powerpc32/memset.S: Likewise.
32584         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32585         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32586         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32587         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32588         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32589         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32590         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32591         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32592         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32593         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32594         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32595         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32596         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32598 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32600         * math/libm-test.inc: Added more nearbyint tests.
32601         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32602         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32603         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32604         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32606 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32608         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32609         FD_CLOEXEC.
32611 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32613         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32614         Add wcscpy-ssse3 wcscpy-c.
32615         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32616         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32617         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32618         * sysdeps/x86_64/wcschr.S: New file.
32619         * sysdeps/x86_64/wcsrchr.S: New file.
32620         * string/test-strcmp.c: Remove checking of wcscmp function for
32621         wrong alignments.
32622         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32623         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32624         wcsrchr-sse2 wcsrchr-c.
32625         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32626         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32627         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32628         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32629         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32630         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32631         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32632         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32633         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32634         * wcsmbc/wcschr.c (WCSCHR): New macro.
32636 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32638         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32639         * wcsmbs/test-wcsrchr.c: New file.
32640         * string/test-strrchr.c: Add wcsrchr support.
32641         (WIDE): New macro.
32642         * wcsmbs/test-wcscpy.c: New file.
32643         * string/test-strcpy.c: Add wcscpy support.
32644         (WIDE): New macro.
32646 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32648         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32649         the inner loop.
32651 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32653         [BZ #13472]
32654         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32656 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32658         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32659         Minor optimizations.
32661         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32662         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32663         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32665 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32667         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32668         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32669         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32670         for gcc to avoid warnings.
32671         * inet/Makefile (tests): Add tst-checks.
32672         * inet/tst-checks.c: New file.
32674         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32675         warning.
32677         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32678         __wmemcmp_sse2.
32680         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32681         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32683         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32685 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32687         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32688         problem.
32690         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32692 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32694         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32695         conditional on GCC version.
32696         (__arch_compare_and_exchange_val_8_acq)
32697         (__arch_compare_and_exchange_val_16_acq)
32698         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32699         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32700         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32702 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32704         * sysdeps/sh/backtrace.c: New file.
32706 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32708         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32709         parenthesis.
32711 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32713         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32714         falling back to utime.
32716 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32718         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32719         expectations for float.
32721 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32723         * locale/weight.h (findidx): Add parameter len.
32724         * locale/weightwc.h (findidx): Likewise.
32725         * posix/fnmatch_loop.c (FCT): Adjust caller.
32726         * posix/regcomp.c (build_equiv_class): Likewise.
32727         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32728         * posix/regexec.c (check_node_accept_bytes): Likewise.
32729         * string/strcoll_l.c (STRCOLL): Likewise.
32730         * string/strxfrm_l.c (STRXFRM): Likewise.
32732 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32734         * Makefile.in: Remove CVSOPT handling.
32735         * configure.in: Remove use of AC_REVISION.
32736         * iconvdata/Makefile (distribute): No need to filter out CVS.
32737         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32738         handling.
32740 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32742         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32743         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32744         [USE_AS_STRNCASECMP_L]: Likewise.
32745         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32746         NO_TLS_DIRECT_SEG_REFS.
32747         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32748         Fix argument offsets for non-PIC.
32749         [USE_AS_STRNCASECMP_L]: Likewise.
32750         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32751         NO_TLS_DIRECT_SEG_REFS.
32753 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32755         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32756         O_CLOEXEC.
32757         * locale/loadlocale.c (_nl_load_locale): Likewise.
32759 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32761         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32762         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32763         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32764         (SYSCALL_GETTIME): Set errno on error.
32766         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32767         count references to noai6ai_cached.
32769 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32771         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32773         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32774         FD_CLOEXEC for /proc/self/maps.
32776         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32777         FD_CLOEXEC for /proc/meminfo.
32779         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32780         gai.conf.
32782         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32783         FD_CLOEXEC for given file.
32785         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32787         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32788         FD_CLOEXEC for /etc/hosts.
32789         (_gethtent): Likewise.
32791         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32793         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32794         cancellation and set FD_CLOEXEC for /etc/netgroup.
32796         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32797         reading /etc/publickey.
32799         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32800         allow cancellation when reading /etc/group.
32802         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32803         cancellation.
32804         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32806         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32807         when using data file.
32809         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32811         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32812         (write_nis_obj): Use "c" and "e" in fopen.
32814         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32816         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32818         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32820         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32822         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32823         locale.alias.
32825         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32827         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32829         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32831         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32832         file parsing and set FD_CLOEXEC.
32834 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32836         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32838 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32840         * malloc/arena.c (arena_get2): Don't call reused_arena when
32841         _int_new_arena failed.
32843 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32845         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32846         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32847         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32848         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32849         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32850         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32851         to compile strcasecmp and strncasecmp.
32852         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32853         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32855         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32857 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32859         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32860         locale-defines.sym to gen-as-const-headers.
32861         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32862         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32863         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32864         to compile strcasecmp and strncasecmp.
32865         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32866         strcasecmp_l and strncasecmp_l.
32867         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32868         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32869         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32870         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32871         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32872         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32873         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32874         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32875         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32876         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32877         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32879 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32881         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32882         result of SYSDEP_GETTIME_CPU to retval.
32883         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32884         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32886         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32887         variable.
32889         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32890         mantissa words.
32891         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32893         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32894         from unused variable.
32896         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32897         DWARF definitions.
32898         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32899         for assembling.
32901         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32902         over namespaces.
32904         * sunrpc/rpc_prot.c (rejected): Fix case value.
32906         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32907         unsigned long long int to avoid warnings in shift.
32909         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32910         of use of trans.
32911         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32912         variable tmp.
32914         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32915         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32916         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32918         * nis/nis_table.c (nis_list): Use variable of correct type for
32919         result of __follow_path call.
32921 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32923         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32924         of math functions ceil, trunc, floor, round, and sqrt, when
32925         avaliable on the platform.
32926         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32927         name clash.
32928         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32929         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32930         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32932 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32934         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32935         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32937 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32939         * include/unistd.h: Fix __readlink return type.
32940         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32942 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32944         * stdlib/ucontext.h: Undo last change for makecontext.
32946 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32948         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32950         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32951         * setjmp/setjmp.h: Mark functions as non-leaf.
32952         * setjmp/bits/setjmp2.h: Likewise.
32953         * stdlib/ucontext.h: Likewise.
32955 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32957         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32958         (reused_arena): Don't check arena limit.
32959         (arena_get2): Atomically check arena limit.
32961 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32963         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32964         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32966         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32967         instructions.
32969 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32971         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32972         handler when locking.
32974         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32975         Fix size of allocated buffer.
32977 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32979         [BZ #10103]
32980         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32981         declarations for long double functions.
32982         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32984         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32986 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32988         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32989         installed.
32991         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32992         is disabled.
32994 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32996         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32998 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33000         * include/alloca.h (stackinfo_alloca_round): Define.
33001         (extend_alloca): Use it.
33002         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33003         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33004         here.
33006         * scripts/check-local-headers.sh: Ignore libaudit.h.
33008         * nscd/Makefile (extra-objs): Make recursively expanded.
33010 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
33012         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33013         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33015         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33016         * posix/tst-rfc3484-2.c: Likewise.
33017         * posix/tst-rfc3484-3.c: Likewise.
33019         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33020         process_vm_writev.
33021         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33022         process_vm_writev.
33023         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33024         process_vm_writev from libc using GLIBC_2.15 version.
33026         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33028 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
33030         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33031         stack usage.
33033 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
33035         [BZ #13367]
33036         * nss/getent.c (initgroups_keys): Show error message in case no group
33037         names are given.
33039         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33040         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33041         __bump_nl_timestamp.
33042         * nscd/connections (nscd_init): When host database is served open
33043         netlink socket and request notification about configuration changes.
33044         (main_loop_poll): Track netlink file descriptor and bump timestamp
33045         in case data becomes available.
33046         (main_loop_epoll): Likewise.
33047         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33048         (database_pers_head): Add extra_data fileds.
33049         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33050         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33051         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33052         Adjust caller.
33053         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33054         in6ai data, call __free_in6ai.
33055         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33056         Add -DHAVE_NETLINK.
33057         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
33058         interface information.  Reuse previous data if netlink timestamp
33059         is not changed.
33060         (__bump_nl_timestamp): New function.
33061         (__free_in6ai): New function.
33063 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
33065         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33066         close_not_cancel_no_status here.
33067         (__check_pf): Reorganize code a bit to not call close twice if OOM.
33069 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33071         [BZ #13276]
33072         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33073         return value.
33075         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33076         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33077         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33079 2011-07-03  Andreas Jaeger  <aj@suse.de>
33081         [BZ #10709]
33082         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33083         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33084         * math/libm-test.inc (sin_test): Add test case.
33086 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33088         [BZ #13337]
33089         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33090         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33092         * elf/chroot_canon.c (chroot_canon): Cleanups.
33094         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33096         [BZ #13335]
33097         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33098         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33100         * string/test-strchr.c: Make usable for strchrnul testing.
33101         * string/test-strchrnul.c: New file.
33102         * string/Makefile (strop-tests): Add strchrnul.
33104         * po/it.po: Update from translation team.
33105         * po/es.po: Likewise.
33107 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
33109         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33110         the three constants needed as parameters.  Drop the others.
33111         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33112         __m128i_strloadu_tolower.
33113         Create and initialize variable zero and use it in all the places
33114         where _mm_setzero_si128 was used.
33116         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33117         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33118         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33119         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33120         anymore.
33121         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33122         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33123         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33124         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33125         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33126         __mpranred, __mptan.
33127         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33128         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33129         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33130         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33131         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33132         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33133         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33134         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33135         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33137 2011-10-28  Andreas Schwab  <schwab@redhat.com>
33139         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33140         redefine if SHARED.
33141         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33143         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33144         wide char related routines to wcsmbs subdir.
33146 2011-10-27  Andreas Schwab  <schwab@redhat.com>
33148         [BZ #13344]
33149         * misc/sys/cdefs.h (__THROWNL): Define.
33150         * posix/unistd.h: Use __THREADNL instead of __THREAD
33151         for memory synchronization functions.
33153 2011-10-26  Roland McGrath  <roland@hack.frob.com>
33155         [BZ #13349]
33156         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33157         doesn't exist.
33158         * manual/stdio.texi (Obstack Streams): Node removed.
33160 2011-10-26  Andreas Schwab  <schwab@redhat.com>
33162         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33163         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33164         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33166         * math/math_private.h (math_force_eval): Allow non-addressable
33167         arguments.
33168         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33170 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33172         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33173         file is not needed.
33175         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33176         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33177         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33178         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33179         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33180         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33181         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33182         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33183         Add AVX variants.
33184         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33185         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33186         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33187         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33188         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33189         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33190         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33191         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33192         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33193         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33194         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33195         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33196         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33197         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33198         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33199         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33200         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33201         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33202         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33204         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33205         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
33207         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33208         place.  Use VEX encoding when compiling for AVX.
33210 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33212         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33213         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33215         * string/test-strchr.c (do_test): Don't generate NUL bytes.
33217 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33219         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33220         useless if() expression.
33221         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33222         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33223         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33224         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33225         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33226         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33227         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33228         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33229         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33230         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33231         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33232         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33233         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33234         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33235         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33236         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33237         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33238         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33239         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33241         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33243 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33245         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33246         condition.
33247         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33249 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33251         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33252         .text section.  Avoid duplicate constants.
33253         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33254         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33255         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33256         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33257         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33258         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33259         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33260         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33261         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33262         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33263         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33264         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33265         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33266         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33267         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33268         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33269         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33270         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33271         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33272         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33273         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33274         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33275         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33276         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33277         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33278         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33279         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33280         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33281         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33282         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33283         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33284         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33285         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33286         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33287         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33288         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33289         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33290         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33291         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33292         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33293         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33294         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33295         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33296         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33297         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33299 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
33301         * sysdeps/x86_64/dla.h: Move to ...
33302         * sysdeps/x86_64/fpu/dla.h: ...here.
33303         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33304         situations.  Use __builtin_fma only for gcc 4.6 and up.
33306         * config.make.in: Add have-mfma4 entry.
33307         * configure.in: Substitute libc_cv_cc_fma4.
33308         * math/Makefile (dbl-only-routines): Add sincostab.
33309         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33310         Use __sincostab not sincos.
33311         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33312         name is a macro.
33313         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33314         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33315         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33316         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
33317         using __copysign.
33318         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
33319         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
33320         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33321         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33322         and __inv.
33323         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33324         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33325         __copysign.
33326         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
33327         define aliases when function name is a macro.
33328         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33329         sysdeps/ieee754/dbl-64/sincos.tbl.
33330         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33331         fma4-enabled routines.
33332         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33333         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33334         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33335         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33336         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33337         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33338         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33339         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33340         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33341         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33342         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33343         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33344         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33345         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33346         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33347         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33348         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33349         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33350         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33351         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33352         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33353         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33354         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33355         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33356         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33357         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33358         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33359         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33360         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33361         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33363         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33364         rename.
33365         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33366         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33367         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33368         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33369         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33370         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33371         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33372         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33374 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33376         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33378 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33380         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33382         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33383         prediction.
33384         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33386         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33387         Remove unused variable magic_bits.
33388         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33390         * string/strnlen.c: Define and use STRNLEN macro.
33391         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33392         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33393         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33394         * wcsmbs/wcslen.c: Define and use WCSLEN.
33395         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33396         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33397         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33398         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33399         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33400         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33401         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33403 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33406         strnlen-sse2-no-bsf.
33407         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33408         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33409         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33410         Add strnlen support.
33411         (USE_AS_STRNLEN): New macro.
33412         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33413         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33414         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33415         * sysdeps/x86_64/wcslen.S: New file.
33417 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33419         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33420         XMM-moves are used for copying on small sizes.
33422 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33424         * wcsmbs/Makefile (strop-tests): Add wcschr.
33425         * wcsmbs/test-wcschr.c: New file.
33426         * string/test-strchr.c: Update.
33427         Add wcschr support.
33428         (WIDE): New macro.
33430 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33432         * wcsmbs/Makefile (strop-tests): Add wcslen.
33433         * wcsmbs/test-wcslen.c: New file.
33434         * string/test-strlen.c: Update.
33435         Add wcslen support.
33436         (WIDE): New macro.
33438 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33440         * po/it.po: Update from translation team.
33442 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33444         * sysdeps/x86_64/wcscmp.S: Update.
33445         Fix wrong comparison semantics.
33446         wcscmp shall use signed comparison not unsigned.
33447         Don't use substraction to avoid overflow bug.
33448         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33449         * wcsmbc/wcscmp.c: Likewise.
33450         * string/test-strcmp.c: Likewise.
33451         Add new tests to check cases with negative values.
33453 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33455         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33456         * sysdeps/x86_64/dla.h: ...here.  New file.
33457         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33458         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33459         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33460         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33461         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33462         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33463         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33464         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33465         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33467 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33469         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33470         __ynl_finite aliases.
33472 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33474         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33476         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33477         define DLA_FMA.
33478         [DLA_FMA] (EMULV): Use DLA_FMA.
33479         [DLA_FMA] (MUL12): Use EMULV.
33480         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33481         that are not needed.
33482         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33483         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33484         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33485         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33486         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33487         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33488         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33490 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33492         * math/s_nan.c: Undef __nan.
33493         * math/s_nanf.c: Undef __nanf.
33494         * math/s_nanl.c: Undef __nanl.
33495         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33496         "math_private.h".
33498 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33500         * math/s_catan.c: Add branch predictions.
33501         * math/s_catanf.c: Likewise.
33502         * math/s_catanh.c: Likewise.
33503         * math/s_catanhf.c: Likewise.
33504         * math/s_catanhl.c: Likewise.
33505         * math/s_catanl.c: Likewise.
33506         * math/s_cexp.c: Likewise.
33507         * math/s_cexpf.c: Likewise.
33508         * math/s_cexpl.c: Likewise.
33509         * math/s_clog.c: Likewise.
33510         * math/s_clog10.c: Likewise.
33511         * math/s_clog10f.c: Likewise.
33512         * math/s_clog10l.c: Likewise.
33513         * math/s_clogf.c: Likewise.
33514         * math/s_clogl.c: Likewise.
33515         * math/s_csqrt.c: Likewise.
33516         * math/s_csqrtf.c: Likewise.
33517         * math/s_csqrtl.c: Likewise.
33518         * math/s_ctanf.c: Likewise.
33519         * math/s_ctanh.c: Likewise.
33520         * math/s_ctanhf.c: Likewise.
33521         * math/s_ctanhl.c: Likewise.
33522         * math/s_ctanl.c: Likewise.
33524         * math/math_private.h: Define __nan, __nanf, __nanl.
33525         * math/s_cacosh.c: Include <math_private.h>.
33526         * math/s_cacoshl.c: Likewise.
33527         * math/s_casinh.c: Likewise.
33528         * math/s_casinhf.c: Likewise.
33529         * math/s_casinhl.c: Likewise.
33530         * math/s_ccos.c: Rely entire on ccosh.
33531         * math/s_ccosf.c: Rely entire on ccoshf.
33532         * math/s_ccosl.c: Rely entirely on ccoshl.
33533         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33534         Remove tests for FE_INVALID.
33535         * math/s_ccoshf.c: Likewise.
33536         * math/s_ccoshl.c: Likewise.
33537         * math/s_csin.c: Likewise.
33538         * math/s_csinf.c: Likewise.
33539         * math/s_csinh.c Likewise.
33540         * math/s_csinhf.c: Likewise.
33541         * math/s_csinhl.c: Likewise.
33542         * math/s_csinl.c: Likewise.
33543         * math/s_ctan.c: Likewise.
33544         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33545         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33546         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33548 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33551         compilation problems.
33553         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33554         __builtin_expect.
33556 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33558         * sysdeps/i386/configure.in: Test for -mfma4 option.
33559         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33560         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33561         COMMON_CPUID_INDEX_80000001.
33562         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33563         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33564         use it if FMA3 is not supported.
33565         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33567         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33568         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33570 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33572         [BZ #12892]
33573         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33574         it would create a cycle with a link time dependency.
33576 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33578         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33579         instruction.
33580         * string/Makefile (strop-tests): Add rawmemchr.
33581         * string/test-rawmemchr.c: New file.
33583         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33584         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33585         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33586         when compiling str{,n}casecmp and when AVX is available.  Hook up
33587         new optimized code in initializers.
33589 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33591         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33592         __feraiseexcept instead of feraiseexcept.
33594 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33596         * math/math_private.h: Define defaults for libc_fetestexcept and
33597         libc_feupdateenv.
33598         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33599         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33600         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33601         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33602         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33603         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33604         libc_fetestexcept and libc_feupdateenv.
33606         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33607         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33608         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33609         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33610         libc_feholdexcept_setround.
33612         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33613         Add s_nearbyint-c and s_nearbyintf-c.
33614         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33615         nearbyintf inlines.
33616         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33617         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33618         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33619         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33621         * math/math_private.h: Define defaults for libc_fegetround,
33622         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33623         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33624         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33625         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33626         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33627         standard functions.
33628         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33629         Remove comments and hacks for old compiler versions.
33630         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33631         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33632         libc_feholdexceptl.
33634 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33636         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33637         (__feraiseexcept_renamed): Add __NTH.
33638         (feraiseexcept): Add __NTH.  Rename local variables to fix
33639         namespace violations.
33641 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33643         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33645         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33647         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33648         recently added interfaces.
33649         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33651         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33652         about macro parameter expansion.
33654         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33655         __NO_MATH_INLINES is defined.  Cleanups.
33657         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33658         and __floorf is target has SSE4.1.
33659         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33660         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33661         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33662         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33664         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33665         name.
33666         (floorf): Likewise.
33668         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33670 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33672         * misc/sys/cdefs.h: Fix last change.
33674         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33675         database lookup.
33677 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33679         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33681         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33682         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33683         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33684         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33685         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33686         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33687         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33688         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33689         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33690         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33691         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33692         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33693         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33694         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33695         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33696         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33697         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33698         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33699         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33700         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33701         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33702         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33704         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33705         ceil, ceilf, floor, floorf.
33707         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33708         Perform IRELATIVE relocations last.
33710         * elf/do-rel.h: Add another parameter nrelative, replacing the
33711         local variable with the same name.  Change name of the function
33712         to end in Rel or Rela (uppercase).
33713         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33714         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33715         elf_dynamic_do_##reloc function.
33717 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33719         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33720         is sufficient, at least on modern CPUs.
33722         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33724         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33725         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33727         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33728         __expl_finite.
33729         * math/bits/math-finite.h: Add entries for exp.
33730         * math/e_expl.c: Add __*_finite alias.
33731         * sysdeps/i386/fpu/e_exp.S: Likewise.
33732         * sysdeps/i386/fpu/e_expf.S: Likewise.
33733         * sysdeps/i386/fpu/e_expl.c: Likewise.
33734         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33735         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33736         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33737         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33738         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33739         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33740         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33742         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33743         is sufficient, at least on modern CPUs.
33745         * ctype/ctype-info.c (__ctype_init): Define.
33746         * include/ctype.h (__ctype_init): Declare.
33747         (__ctype_b_loc): The variable is always initialized.
33748         (__ctype_toupper_loc): Likewise.
33749         (__ctype_tolower_loc): Likewise.
33750         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33751         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33753 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33755         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33757         * configure.in: Also look in $cxxmachine/include for C++ system
33758         headers.
33760 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33762         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33763         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33764         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33765         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33766         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33767         (USE_AS_WMEMCMP): New macro.
33768         Fixing indents.
33769         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33770         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33771         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33772         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33773         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33774         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33775         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33776         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33777         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33778         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33779         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33780         (USE_AS_WMEMCMP): New macro.
33781         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33782         * sysdeps/string/test-memcmp.c: Update.
33783         Fix simple_wmemcmp.
33784         Add new tests.
33785         * wcsmbs/wmemcmp.c: Update.
33786         (WMEMCMP): New macro.
33787         Fix overflow bug.
33789 2011-10-12  Andreas Jaeger  <aj@suse.de>
33791         [BZ #13268]
33792         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33794 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33796         * libio/iofwide.c (do_length): Avoid warning.
33798         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33800 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33802         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33804         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33805         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33806         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33807         * sysdeps/i386/i686/fpu/e_log.S: New file.
33808         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33809         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33811         * ctype/ctype.h: Add support for inlined isXXX functions when
33812         compiling C++ code.
33814 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33816         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33818         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33820 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33822         [BZ #13291]
33823         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33825 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33827         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33828         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33829         feraiseexcept.
33831         * sysdeps/x86_64/memrchr.S: Check for zero size.
33833         * string/stratcliff.c: Add memrchr tests.
33835 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33837         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33838         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33839         rawmemchr-sse2 rawmemchr-sse2-bsf.
33840         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33841         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33842         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33843         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33844         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33845         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33846         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33847         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33848         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33849         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33850         * string/memrchr.c (MEMRCHR): New macro.
33852 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33854         Add integration with gcc's -ffinite-math-only and optimize wrapper
33855         functions in libm.
33856         * Versions.def: Define GLIBC_2.15 version for libm.
33857         * math/Makefile (headers): Add bits/math-finite.h.
33858         * math/bits/math-finite.h: New file.
33859         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33860         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33861         * math/e_acoshl.c: Add __*_finite alias.
33862         * math/e_acosl.c: Likewise.
33863         * math/e_asinl.c: Likewise.
33864         * math/e_atan2l.c: Likewise.
33865         * math/e_atanhl.c: Likewise.
33866         * math/e_coshl.c: Likewise.
33867         * math/e_exp10.c: Likewise.
33868         * math/e_exp10f.c: Likewise.
33869         * math/e_exp10l.c: Likewise.
33870         * math/e_exp2l.c: Likewise.
33871         * math/e_fmodl.c: Likewise.
33872         * math/e_gammal_r.c: Likewise.
33873         * math/e_hypotl.c: Likewise.
33874         * math/e_j0l.c: Likewise.
33875         * math/e_j1l.c: Likewise.
33876         * math/e_jnl.c: Likewise.
33877         * math/e_lgammal_r.c: Likewise.
33878         * math/e_log10l.c: Likewise.
33879         * math/e_log2l.c: Likewise.
33880         * math/e_logl.c: Likewise.
33881         * math/e_powl.c: Likewise.
33882         * math/e_sinhl.c: Likewise.
33883         * math/e_sqrtl.c: Likewise.
33884         * math/e_scalb.c: Completely rewritten and optimized.
33885         * math/e_scalbf.c: Likewise.
33886         * math/e_scalbl.c: Likewise.
33887         * math/w_acos.c: Likewise.
33888         * math/w_acosf.c: Likewise.
33889         * math/w_acosl.c: Likewise.
33890         * math/w_acosh.c: Likewise.
33891         * math/w_acoshf.c: Likewise.
33892         * math/w_acoshl.c: Likewise.
33893         * math/w_asin.c: Likewise.
33894         * math/w_asinf.c: Likewise.
33895         * math/w_asinl.c: Likewise.
33896         * math/w_atan2.c: Likewise.
33897         * math/w_atan2f.c: Likewise.
33898         * math/w_atan2l.c: Likewise.
33899         * math/w_atanh.c: Likewise.
33900         * math/w_atanhf.c: Likewise.
33901         * math/w_atanhl.c: Likewise.
33902         * math/w_exp10.c: Likewise.
33903         * math/w_exp10f.c: Likewise.
33904         * math/w_exp10l.c: Likewise.
33905         * math/w_fmod.c: Likewise.
33906         * math/w_fmodf.c: Likewise.
33907         * math/w_fmodl.c: Likewise.
33908         * math/w_j0.c: Likewise.
33909         * math/w_j0f.c: Likewise.
33910         * math/w_j0l.c: Likewise.
33911         * math/w_j1.c: Likewise.
33912         * math/w_j1f.c: Likewise.
33913         * math/w_j1l.c: Likewise.
33914         * math/w_jn.c: Likewise.
33915         * math/w_jnf.c: Likewise.
33916         * math/w_log.c: Likewise.
33917         * math/w_logf.c: Likewise.
33918         * math/w_logl.c: Likewise.
33919         * math/w_log10.c: Likewise.
33920         * math/w_log10f.c: Likewise.
33921         * math/w_log10l.c: Likewise.
33922         * math/w_log2.c: Likewise.
33923         * math/w_log2f.c: Likewise.
33924         * math/w_log2l.c: Likewise.
33925         * math/w_pow.c: Likewise.
33926         * math/w_powf.c: Likewise.
33927         * math/w_powl.c: Likewise.
33928         * math/w_remainder.c: Likewise.
33929         * math/w_remainderf.c: Likewise.
33930         * math/w_remainderl.c: Likewise.
33931         * math/w_scalb.c: Likewise.
33932         * math/w_scalbf.c: Likewise.
33933         * math/w_scalbl.c: Likewise.
33934         * math/w_sqrt.c: Likewise.
33935         * math/w_sqrtf.c: Likewise.
33936         * math/w_sqrtl.c: Likewise.
33937         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33938         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33939         used.
33940         * math/math_private.h: Declare __kernel_standard_f.
33941         * math/w_cosh.c: Remove cruft and optimize a bit.
33942         * math/w_coshf.c: Likewise.
33943         * math/w_coshl.c: Likewise.
33944         * math/w_exp2.c: Likewise.
33945         * math/w_exp2f.c: Likewise.
33946         * math/w_exp2l.c: Likewise.
33947         * math/w_hypot.c: Likewise.
33948         * math/w_hypotf.c: Likewise.
33949         * math/w_hypotl.c: Likewise.
33950         * math/w_lgamma.c: Likewise.
33951         * math/w_lgamma_r.c: Likewise.
33952         * math/w_lgammaf.c: Likewise.
33953         * math/w_lgammaf_r.c: Likewise.
33954         * math/w_lgammal.c: Likewise.
33955         * math/w_lgammal_r.c: Likewise.
33956         * math/w_sinh.c: Likewise.
33957         * math/w_sinhf.c: Likewise.
33958         * math/w_sinhl.c: Likewise.
33959         * math/w_tgamma.c: Likewise.
33960         * math/w_tgammaf.c: Likewise.
33961         * math/w_tgammal.c: Likewise.
33962         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33963         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33964         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33965         Minor optimizations.  Pretty printing.  Remove cruft.
33966         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33967         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33968         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33969         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33970         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33971         * sysdeps/i386/fpu/e_asin.S: Likewise.
33972         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33973         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33974         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33975         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33976         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33977         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33978         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33979         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33980         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33981         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33982         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33983         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33984         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33985         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33986         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33987         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33988         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33989         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33990         * sysdeps/i386/fpu/e_log.S: Likewise.
33991         * sysdeps/i386/fpu/e_log10.S: Likewise.
33992         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33993         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33994         * sysdeps/i386/fpu/e_log2.S: Likewise.
33995         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33996         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33997         * sysdeps/i386/fpu/e_logf.S: Likewise.
33998         * sysdeps/i386/fpu/e_logl.S: Likewise.
33999         * sysdeps/i386/fpu/e_pow.S: Likewise.
34000         * sysdeps/i386/fpu/e_powf.S: Likewise.
34001         * sysdeps/i386/fpu/e_powl.S: Likewise.
34002         * sysdeps/i386/fpu/e_remainder.S: Likewise.
34003         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34004         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34005         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34006         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34007         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34008         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34009         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34010         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34011         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34012         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34013         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34014         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34015         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34016         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34017         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34018         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34019         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34020         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34021         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34022         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34023         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34024         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34025         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34026         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34027         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34028         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34029         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34030         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34031         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34032         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34033         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34034         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34035         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34036         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34037         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34038         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34039         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34040         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34041         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34042         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34043         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34044         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34045         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34046         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34047         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34048         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34049         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34050         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34051         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34052         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34053         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34054         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34055         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34056         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34057         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34058         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34059         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34060         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34061         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34062         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34063         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34064         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34065         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34066         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34067         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34068         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34069         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34070         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34071         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34072         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34073         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34074         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34075         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34076         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34077         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34078         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34079         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34080         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34081         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34082         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34083         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34084         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34085         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34086         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34087         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34088         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34089         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34090         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34091         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34092         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34093         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34094         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34095         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34096         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34097         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34098         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34099         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34100         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34101         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34102         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34103         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34104         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34105         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34106         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34107         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34108         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34109         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34110         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34111         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34112         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34113         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34114         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34115         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34116         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34117         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34118         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34119         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34120         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34121         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
34122         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34123         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34124         (__isnanf): Likewise.
34125         (__isinf_ns): Likewise.
34126         (__isinf_nsf): Likewise.
34127         (__finite): Likewise.
34128         (__finitef): Likewise.
34129         (__ieee754_sqrt): Define as macro.
34130         (__ieee754_sqrtf): Define as macro.
34131         (__ieee754_sqrtl): Define as macro.
34132         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34133         inlined copy.
34134         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34135         __FINITE_MATH_ONLY__ consistent.
34136         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34138 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
34140         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34141         of rawmemchr.
34143         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34145 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
34147         * po/ja.po: Update from translation team.
34149 2011-10-08  Roland McGrath  <roland@hack.frob.com>
34151         * locale/programs/locarchive.c (prepare_address_space): New function.
34152         (create_archive, enlarge_archive, open_archive): Use it.
34154         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34155         inside [SHARED], where it is used.
34157         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34159         * nss/getent.c (netgroup_keys): Remove unused variable.
34160         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34162 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
34164         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34165         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34166         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34167         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34168         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34169         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34170         * math/Makefile (libm-calls): Add s_isinf_ns.
34171         * math/divtc3.c: Use __isinf_nsl instead of isinf.
34172         * math/multc3.c: Likewise.
34173         * math/s_casin.c: Likewise.
34174         * math/s_casinf.c: Likewise.
34175         * math/s_casinl.c: Likewise.
34176         * math/s_ccos.c: Likewise.
34177         * math/s_ccosf.c: Likewise.
34178         * math/s_ccosl.c: Likewise.
34179         * math/s_ctan.c: Likewise.
34180         * math/s_ctanf.c: Likewise.
34181         * math/s_ctanh.c: Likewise.
34182         * math/s_ctanhf.c: Likewise.
34183         * math/s_ctanhl.c: Likewise.
34184         * math/s_ctanl.c: Likewise.
34185         * math/w_fmod.c: Likewise.
34186         * math/w_fmodf.c: Likewise.
34187         * math/w_fmodl.c: Likewise.
34188         * math/w_remainder.c: Likewise.
34189         * math/w_remainderf.c: Likewise.
34190         * math/w_remainderl.c: Likewise.
34191         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34192         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34193         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34194         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34195         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34196         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34197         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34198         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34200         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34201         of the number.
34202         * stdio-common/printf_fphex.c: Likewise.
34203         * stdio-common/printf_size.c: Likewise.
34205         * math/e_exp10.c: Include math_private.h using <...> not "...".
34206         * math/e_exp10f.c: Likewise.
34207         * math/e_exp10l.c: Likewise.
34208         * math/e_exp2l.c: Likewise.
34209         * math/e_j0l.c: Likewise.
34210         * math/e_j1l.c: Likewise.
34211         * math/e_jnl.c: Likewise.
34212         * math/e_lgammal_r.c: Likewise.
34213         * math/e_rem_pio2l.c: Likewise.
34214         * math/e_scalb.c: Likewise.
34215         * math/e_scalbf.c: Likewise.
34216         * math/e_scalbl.c: Likewise.
34217         * math/k_cosl.c: Likewise.
34218         * math/k_sinl.c: Likewise.
34219         * math/k_tanl.c: Likewise.
34220         * math/s_cacoshf.c: Likewise.
34221         * math/s_catan.c: Likewise.
34222         * math/s_catanf.c: Likewise.
34223         * math/s_catanh.c: Likewise.
34224         * math/s_catanhf.c: Likewise.
34225         * math/s_catanhl.c: Likewise.
34226         * math/s_catanl.c: Likewise.
34227         * math/s_ccosh.c: Likewise.
34228         * math/s_ccoshf.c: Likewise.
34229         * math/s_ccoshl.c: Likewise.
34230         * math/s_cexp.c: Likewise.
34231         * math/s_cexpf.c: Likewise.
34232         * math/s_cexpl.c: Likewise.
34233         * math/s_clog.c: Likewise.
34234         * math/s_clog10.c: Likewise.
34235         * math/s_clog10f.c: Likewise.
34236         * math/s_clog10l.c: Likewise.
34237         * math/s_clogf.c: Likewise.
34238         * math/s_clogl.c: Likewise.
34239         * math/s_csin.c: Likewise.
34240         * math/s_csinf.c: Likewise.
34241         * math/s_csinh.c: Likewise.
34242         * math/s_csinhf.c: Likewise.
34243         * math/s_csinhl.c: Likewise.
34244         * math/s_csinl.c: Likewise.
34245         * math/s_csqrt.c: Likewise.
34246         * math/s_csqrtf.c: Likewise.
34247         * math/s_csqrtl.c: Likewise.
34248         * math/s_ctan.c: Likewise.
34249         * math/s_ctanf.c: Likewise.
34250         * math/s_ctanh.c: Likewise.
34251         * math/s_ctanhf.c: Likewise.
34252         * math/s_ctanhl.c: Likewise.
34253         * math/s_ctanl.c: Likewise.
34254         * math/s_ldexp.c: Likewise.
34255         * math/s_ldexpf.c: Likewise.
34256         * math/s_ldexpl.c: Likewise.
34257         * math/s_significand.c: Likewise.
34258         * math/s_significandf.c: Likewise.
34259         * math/s_significandl.c: Likewise.
34260         * math/w_acos.c: Likewise.
34261         * math/w_acosf.c: Likewise.
34262         * math/w_acosh.c: Likewise.
34263         * math/w_acoshf.c: Likewise.
34264         * math/w_acoshl.c: Likewise.
34265         * math/w_acosl.c: Likewise.
34266         * math/w_asin.c: Likewise.
34267         * math/w_asinf.c: Likewise.
34268         * math/w_asinl.c: Likewise.
34269         * math/w_atan2.c: Likewise.
34270         * math/w_atan2f.c: Likewise.
34271         * math/w_atan2l.c: Likewise.
34272         * math/w_atanh.c: Likewise.
34273         * math/w_atanhf.c: Likewise.
34274         * math/w_atanhl.c: Likewise.
34275         * math/w_cosh.c: Likewise.
34276         * math/w_coshf.c: Likewise.
34277         * math/w_coshl.c: Likewise.
34278         * math/w_dremf.c: Likewise.
34279         * math/w_exp10.c: Likewise.
34280         * math/w_exp10f.c: Likewise.
34281         * math/w_exp10l.c: Likewise.
34282         * math/w_exp2.c: Likewise.
34283         * math/w_exp2f.c: Likewise.
34284         * math/w_fmod.c: Likewise.
34285         * math/w_fmodf.c: Likewise.
34286         * math/w_fmodl.c: Likewise.
34287         * math/w_hypot.c: Likewise.
34288         * math/w_hypotf.c: Likewise.
34289         * math/w_hypotl.c: Likewise.
34290         * math/w_j0.c: Likewise.
34291         * math/w_j0f.c: Likewise.
34292         * math/w_j0l.c: Likewise.
34293         * math/w_j1.c: Likewise.
34294         * math/w_j1f.c: Likewise.
34295         * math/w_j1l.c: Likewise.
34296         * math/w_jn.c: Likewise.
34297         * math/w_jnf.c: Likewise.
34298         * math/w_jnl.c: Likewise.
34299         * math/w_lgamma.c: Likewise.
34300         * math/w_lgamma_r.c: Likewise.
34301         * math/w_lgammaf.c: Likewise.
34302         * math/w_lgammaf_r.c: Likewise.
34303         * math/w_lgammal.c: Likewise.
34304         * math/w_lgammal_r.c: Likewise.
34305         * math/w_log.c: Likewise.
34306         * math/w_log10.c: Likewise.
34307         * math/w_log10f.c: Likewise.
34308         * math/w_log10l.c: Likewise.
34309         * math/w_log2.c: Likewise.
34310         * math/w_log2f.c: Likewise.
34311         * math/w_log2l.c: Likewise.
34312         * math/w_logf.c: Likewise.
34313         * math/w_logl.c: Likewise.
34314         * math/w_pow.c: Likewise.
34315         * math/w_powf.c: Likewise.
34316         * math/w_powl.c: Likewise.
34317         * math/w_remainder.c: Likewise.
34318         * math/w_remainderf.c: Likewise.
34319         * math/w_remainderl.c: Likewise.
34320         * math/w_scalb.c: Likewise.
34321         * math/w_scalbf.c: Likewise.
34322         * math/w_scalbl.c: Likewise.
34323         * math/w_sinh.c: Likewise.
34324         * math/w_sinhf.c: Likewise.
34325         * math/w_sinhl.c: Likewise.
34326         * math/w_sqrt.c: Likewise.
34327         * math/w_sqrtf.c: Likewise.
34328         * math/w_sqrtl.c: Likewise.
34329         * math/w_tgamma.c: Likewise.
34330         * math/w_tgammaf.c: Likewise.
34331         * math/w_tgammal.c: Likewise.
34333         * po/ja.po: Update from translation team.
34335 2011-09-29  Andreas Jaeger  <aj@suse.de>
34337         [BZ #13179]
34338         * sunrpc/netname.c (netname2host): Fix logic.
34340         [BZ #6779]
34341         [BZ #6783]
34342         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34343         correctly.
34344         * math/w_remainder.c (__remainder): Likewise.
34345         * math/w_remainderf.c (__remainderf): Likewise.
34346         * math/libm-test.inc (remainder_test): Add test cases.
34348 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34350         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34351         sdiv_qrnnd.
34353 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34355         * string/test-memcmp.c: Avoid unncessary #defines.
34356         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34358 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34360         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34361         Use new sse2 version for core i3 - i7 as it's faster
34362         than sse42 version.
34363         (bit_Prefer_PMINUB_for_stringop): New.
34364         * sysdeps/x86_64/rawmemchr.S: Update.
34365         Replace with faster SSE2 version.
34366         * sysdeps/x86_64/memrchr.S: New file.
34367         * sysdeps/x86_64/memchr.S: Update.
34368         Replace with faster SSE2 version.
34370 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34372         * elf/dl-load.c (lose): Add cast to avoid warning.
34374 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34376         * po/ca.po: Update from translation team.
34378         * inet/getnetgrent_r.c: Hook up nscd.
34379         * nscd/Makefile (routines): Add nscd_netgroup.
34380         (nscd-modules): Add netgroupcache.
34381         (CFLAGS-netgroupcache.c): Define.
34382         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34383         (cache_search): Add const to second parameter.
34384         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34385         INNETGR.
34386         (dbs): Add netgrdb entry.
34387         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34388         (verify_persistent_db): Handle netgrdb.
34389         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34390         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34391         GETFDNETGR.
34392         (netgroup_response_header): Define.
34393         (innetgroup_response_header): Define.
34394         (datahead): Add netgroup_response_header and innetgroup_response_header
34395         elements.
34396         * nscd/nscd.conf: Add entries for netgroup cache.
34397         * nscd/nscd.h (dbtype): Add netgrdb.
34398         (_PATH_NSCD_NETGROUP_DB): Define.
34399         (netgroup_iov_disabled): Declare.
34400         (xmalloc, xcalloc, xrealloc): Move declarations here.
34401         (cache_search): Adjust prototype.
34402         Add netgroup-related prototypes.
34403         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34404         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34405         (__nscd_innetgr): Declare.
34406         * nscd/selinux.c (perms): Use access_vector_t as element type and
34407         add netgroup-related initializers.
34408         * nscd/netgroupcache.c: New file.
34409         * nscd/nscd_netgroup.c: New file.
34410         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34411         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34412         For four parameters use innetgr.
34413         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34414         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34415         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34416         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34418         * nscd/connections.c (register_traced_file): Don't register file
34419         for disabled databases.
34421 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34423         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34425         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34426         from tree and freeing node.
34428 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34430         * nss/nsswitch.c (__nss_database_lookup): Handle
34431         nss_parse_service_list out of memory case.
34433 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34435         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34436         out of memory case.
34438 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34440         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34441         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34442         pass it down.
34443         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34444         elf_machine_rela, elf_machine_lazy_rel.
34445         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34446         (ELF_DYNAMIC_DO_REL): Likewise.
34447         (ELF_DYNAMIC_DO_RELA): Likewise.
34448         (ELF_DYNAMIC_RELOCATE): Likewise.
34449         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34450         to ELF_DYNAMIC_DO_REL.
34451         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34452         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34453         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34454         elf_machine_rela.
34455         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34456         skip_ifunc, don't call ifunc function if non-zero.
34457         (elf_machine_rela): Likewise.
34458         (elf_machine_lazy_rel): Likewise.
34459         (elf_machine_lazy_rela): Likewise.
34460         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34461         (elf_machine_lazy_rel): Likewise.
34462         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34463         Likewise.
34464         (elf_machine_lazy_rel): Likewise.
34465         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34466         Likewise.
34467         (elf_machine_lazy_rel): Likewise.
34468         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34469         (elf_machine_lazy_rel): Likewise.
34470         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34471         (elf_machine_lazy_rel): Likewise.
34472         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34473         (elf_machine_lazy_rel): Likewise.
34474         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34475         (elf_machine_lazy_rel): Likewise.
34476         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34477         (elf_machine_lazy_rel): Likewise.
34478         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34479         (elf_machine_lazy_rel): Likewise.
34481 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34483         * nss/nss_files/files-init.c (_nss_files_init): Use static
34484         initialization for all the *_traced_file variables.
34486 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34488         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34490 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34492         [BZ #13226]
34493         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34495 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34497         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34498         Reread the line before reparsing it.
34500 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34502         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34504 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34505             Maxim Kuvyrkov  <maxim@codesourcery.com>
34506             Joseph Myers  <joseph@codesourcery.com>
34508         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34509         if needed for __stack_chk_guard.
34511 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34513         * sysdeps/posix/spawni.c (script_execute): Always define it.
34514         It will be optimized away if unused.
34515         (maybe_script_execute): New function.
34516         (__spawni): Call it.
34518         * Makerules: Don't include tls.make.
34519         (config-tls): Always set to thread.
34520         * tls.make.c: File removed.
34522 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34524         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34525         * config.make.in (CPPFLAGS-config): New substituted variable.
34527 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34529         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34531         [BZ #13192]
34532         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34533         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34535 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34537         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34538         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34539         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34540         (CALL_FAIL): Likewise.
34541         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34542         (CALL_FAIL): Macro removed.
34543         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34545 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34547         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34548         for __FINITE_MATH_ONLY__ == 1.
34550 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34552         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34553         __ieee754_sqrt instead of sqrt.
34554         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34555         __ieee754_sqrtf instead of sqrtf.
34556         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34557         __floorf instead of floorf.
34558         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34559         __floorf, __truncf instead of floorf, truncf.
34561 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34563         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34565         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34566         __extern_always_inline.
34567         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34568         32-bit.
34570 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34572         * elf/rtld.c (dl_main): Also relocate in dependency order when
34573         doing symbol dependency testing.
34575 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34577         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34578         Always define `refsym'.
34580 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34582         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34583         (__FD_ELT): Renamed from __FDELT.
34584         * misc/bits/select2.h (__FD_ELT): Likewise.
34585         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34586         __FD_MASK instead of __FDELT, __FDMASK.
34587         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34588         Likewise.
34589         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34590         Likewise.
34592         * elf/Makefile (gen-ldd): Fix pattern.
34594         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34595         (init_tls): Likewise.
34597 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34599         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34601 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34603         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34604         `struct cmsghdr *' instead of `void *'.
34605         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34606         Likewise.
34608 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34610         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34611         if non-absolute.
34612         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34613         ldd_rewrite_script.
34615 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34617         * configure.in: Remove --with-tls option.
34618         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34619         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34620         out in case it is missing.
34621         * sysdeps/ia64/elf/configure.in: Likewise.
34622         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34623         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34624         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34625         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34626         * sysdeps/sh/elf/configure.in: Likewise.
34627         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34628         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34629         * sysdeps/x86_64/elf/configure.in: Likewise.
34630         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34631         * sysdeps/mach/hurd/tls.h: Likewise.
34633         [BZ #13067]
34634         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34636         [BZ #13090]
34637         * configure.in: Fix use of AC_INIT.
34639         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34641 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34643         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34644         __set_errno.
34645         * malloc/hooks.c: Likewise.
34647         [BZ #11929]
34648         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34649         variables statically.
34650         (narenas): Initialize.
34651         (list_lock): Initialize.
34652         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34653         initializtion of main_arena and list_lock.  Small cleanups.
34654         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34655         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34656         Add initializers to main_arena and mp_.
34657         (malloc_state): Remove pagesize member.  Change all users to use
34658         GLRO(dl_pagesize).
34660         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34661         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34662         is always initialized.
34664         * malloc/malloc.c: Removed unused configurations and dead code.
34665         * malloc/arena.c: Likewise.
34666         * malloc/hooks.c: Likewise.
34667         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34669         * include/tls.h: Removed.  USE___THREAD must always be defined.
34670         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34671         * elf/dl-libc.c: Likewise.
34672         * elf/dl-tsd.c: Likewise.
34673         * include/errno.h: Likewise.
34674         * include/netdb.h: Likewise.
34675         * include/resolv.h: Likewise.
34676         * inet/herrno-loc.c: Likewise.
34677         * inet/herrno.c: Likewise.
34678         * malloc/arena.c: Likewise.
34679         * malloc/hooks.c: Likewise.
34680         * malloc/malloc.c: Likewise.
34681         * resolv/res-state.c: Likewise.
34682         * resolv/res_libc.c: Likewise.
34683         * sysdeps/i386/dl-machine.h: Likewise.
34684         * sysdeps/ia64/dl-machine.h: Likewise.
34685         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34686         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34687         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34688         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34689         * sysdeps/sh/dl-machine.h: Likewise.
34690         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34691         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34692         * sysdeps/unix/i386/sysdep.S: Likewise.
34693         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34694         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34695         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34696         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34697         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34698         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34699         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34700         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34701         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34702         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34703         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34704         * sysdeps/x86_64/dl-machine.h: Likewise.
34705         * tls.make.c: Likewise.
34707         * configure.in: Remove --with-__thread option.  Make tests for
34708         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34709         tls_model attribute fail if no support is available.  Remove
34710         USE_IN_LIBIO.
34711         * Makeconfig: Adjust for dropped configure option.  All features are
34712         now mandatory.
34713         * Makerules: Likewise.
34714         * Versions.def: Likewise.
34715         * argp/argp-fmtstream.c: Likewise.
34716         * argp/argp-fmtstream.h: Likewise.
34717         * argp/argp-help.c: Likewise.
34718         * assert/assert.c: Likewise.
34719         * config.h.in: Likewise.
34720         * config.make.in: Likewise.
34721         * configure: Likewise.
34722         * configure.in: Likewise.
34723         * csu/Versions: Likewise.
34724         * csu/init.c: Likewise.
34725         * elf/tst-audit2.c: Likewise.
34726         * elf/tst-tls10.c: Likewise.
34727         * elf/tst-tls10.h: Likewise.
34728         * elf/tst-tls11.c: Likewise.
34729         * elf/tst-tls12.c: Likewise.
34730         * elf/tst-tls14.c: Likewise.
34731         * elf/tst-tlsmod11.c: Likewise.
34732         * elf/tst-tlsmod12.c: Likewise.
34733         * elf/tst-tlsmod13.c: Likewise.
34734         * elf/tst-tlsmod13a.c: Likewise.
34735         * elf/tst-tlsmod14a.c: Likewise.
34736         * elf/tst-tlsmod15b.c: Likewise.
34737         * elf/tst-tlsmod16a.c: Likewise.
34738         * elf/tst-tlsmod16b.c: Likewise.
34739         * elf/tst-tlsmod7.c: Likewise.
34740         * elf/tst-tlsmod8.c: Likewise.
34741         * elf/tst-tlsmod9.c: Likewise.
34742         * gmon/gmon.c: Likewise.
34743         * grp/fgetgrent_r.c: Likewise.
34744         * grp/putgrent.c: Likewise.
34745         * hurd/fopenport.c: Likewise.
34746         * include/libc-symbols.h: Likewise.
34747         * include/tls.h: Likewise.
34748         * intl/gettextP.h: Likewise.
34749         * intl/loadinfo.h: Likewise.
34750         * locale/global-locale.c: Likewise.
34751         * locale/localeinfo.h: Likewise.
34752         * mach/devstream.c: Likewise.
34753         * malloc/arena.c: Likewise.
34754         * malloc/set-freeres.c: Likewise.
34755         * misc/err.c: Likewise.
34756         * misc/getttyent.c: Likewise.
34757         * misc/mntent_r.c: Likewise.
34758         * posix/getopt.c: Likewise.
34759         * posix/wordexp.c: Likewise.
34760         * pwd/fgetpwent_r.c: Likewise.
34761         * resolv/Versions: Likewise.
34762         * resolv/res_hconf.c: Likewise.
34763         * shadow/fgetspent_r.c: Likewise.
34764         * shadow/putspent.c: Likewise.
34765         * stdio-common/printf_fphex.c: Likewise.
34766         * stdio-common/tmpfile.c: Likewise.
34767         * stdlib/abort.c: Likewise.
34768         * stdlib/fmtmsg.c: Likewise.
34769         * sunrpc/auth_unix.c: Likewise.
34770         * sunrpc/clnt_perr.c: Likewise.
34771         * sunrpc/clnt_tcp.c: Likewise.
34772         * sunrpc/clnt_udp.c: Likewise.
34773         * sunrpc/clnt_unix.c: Likewise.
34774         * sunrpc/openchild.c: Likewise.
34775         * sunrpc/svc_simple.c: Likewise.
34776         * sunrpc/svc_tcp.c: Likewise.
34777         * sunrpc/svc_udp.c: Likewise.
34778         * sunrpc/svc_unix.c: Likewise.
34779         * sunrpc/xdr.c: Likewise.
34780         * sunrpc/xdr_array.c: Likewise.
34781         * sunrpc/xdr_rec.c: Likewise.
34782         * sunrpc/xdr_ref.c: Likewise.
34783         * sunrpc/xdr_stdio.c: Likewise.
34785 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34787         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34789 2011-07-03  Andreas Jaeger  <aj@suse.de>
34791         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34792         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34793         regenerate with gen-libm-tests.pl.
34795 2010-05-12  Petr Baudis  <pasky@suse.cz>
34797         [BZ #11589]
34798         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34799         around j0() zero points by switching to j1().
34800         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34801         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34802         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34803         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34805 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34807         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34808         instead of 0.
34809         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34810         instead of 0.
34811         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34812         Patch in part by Pavel Roskin <proski@gnu.org>.
34814         [BZ #13138]
34815         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34816         realloc.
34817         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34818         Free memory block if necessary.
34820         [BZ #12847]
34821         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34822         be NULL.  Don't lock in this case.
34824 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34826         * elf/elf.h (ELFOSABI_GNU): New macro.
34827         (ELFOSABI_LINUX): Define to that.
34829 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34831         * string/strncat.c (strncat): Undef the symbol in case it has been
34832         defined in bits/string.h.
34834 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34836         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34838         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34839         link map.
34841 2011-08-17  Andreas Jaeger  <aj@suse.de>
34843         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34845 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34846             Ian Lance Taylor  <iant@google.com>
34848         * math/libm-test.inc (lround_test): New testcase.
34849         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34851 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34853         * Makefile: Remove support for automatic cvs check-ins.
34854         * Makerules: Likewise.
34855         * config.make.in: Likewise.
34856         * configure.in: Likewise.
34857         * intl/Makefile: Likewise.
34858         * locale/Makefile: Likewise.
34859         * po/Makefile: Likewise.
34860         * posix/Makefile: Likewise.
34861         * sysdeps/gnu/Makefile: Likewise.
34862         * sysdeps/mach/hurd/Makefile: Likewise.
34863         * sysdeps/sparc/sparc32/Makefile: Likewise.
34865         [BZ #13118]
34866         * posix/Makefile (bug-regex32-ENV): Define.
34867         Patch by John Stanley <jpsinthemix@verizon.net>.
34869         * misc/Makefile (headers): Add bits/select2.h.
34870         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34871         * misc/bits/select2.h: New file.
34872         * include/bits/select2.h: New file.
34873         * debug/Makefile (routines): Add fdelt_chk.
34874         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34875         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34876         FD_ISSET.
34877         * debug/fdelt_chk.c: New file.
34879         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34880         * wcsmbs/test-wmemcmp.c: Likewise.
34881         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34882         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34884 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34886         * string/Makefile (strop-tests): Add memcmp.
34887         * string/test-wmemcmp.c: New file.
34888         * string/test-memcmp.c: Add wmemcmp support.
34890 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34892         [BZ #13153]
34893         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34894         2011-07-19 change.
34896         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34897         garbage value in a __mach_port_mod_refs call in the cases of the
34898         task-self and thread-self ports.
34900 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34902         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34904 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34906         * elf/dl-load.c (lose): Check for non-null L.
34908 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34910         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34912         * elf/dl-libc.c (dlerror_run): Pass back error code from
34913         dl_catch_error.
34915         [BZ #13123]
34916         * elf/dl-load.c (lose): Free l_origin if it is valid.
34918         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34919         names.
34920         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34921         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34922         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34923         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34924         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34925         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34927 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34929         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34930         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34931         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34932         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34933         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34934         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34935         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34936         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34937         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34938         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34940 2011-08-15  Alan Modra  <amodra@gmail.com>
34942         [BZ #13092]
34943         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34944         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34945         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34946         ppc_mcount to static-only-routines.
34947         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34948         __mcount_internal.
34949         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34950         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34952 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34954         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34955         for finite and infinity parameters.
34957 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34959         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34960         and add nop instructions for throughput optimization.
34961         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34963 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34965         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34966         aligned copy for power7 with vector-scalar instructions.
34967         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34969 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34971         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34972         AVX check.
34974 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34976         [BZ #13144]
34977         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34978         last change.
34980 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34982         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34983         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34984         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34985         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34986         clock_gettime.
34988 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34990         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34991         Forgot to demangle the pointer.
34993         * sysdeps/i386/sysdep.h: Define atom_text_section.
34994         * sysdeps/x86_64/sysdep.h: Likewise.
34995         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34996         section with atom_text_section.
34997         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34998         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34999         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35000         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35001         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35003         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35004         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35005         already be defined.  Change to take two parameters and don't assign
35006         result to variable.  Adjust all users.
35007         Define INTERNAL_GETTIME if not already defined.
35008         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35009         call.
35010         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35011         HAVE_CLOCK_GETTIME_VSYSCALL.
35012         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35014         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35015         gettimeofday vsyscall, just use time.
35017 2011-09-06  Andreas Schwab  <schwab@redhat.com>
35019         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35020         <errno.h>.
35022 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35024         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35025         syscall on x86-64.
35026         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35027         syscall.
35028         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35029         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35030         syscall if possible.
35032 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35034         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35035         e_ident.  Don't pass to find_mapsXX.
35036         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35038 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35040         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35041         strchr-sse2-no-bsf strrchr-sse2-no-bsf
35042         * sysdeps/x86_64/multiarch/strchr.S: Update.
35043         Check bit_slow_BSF bit.
35044         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35045         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35046         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35048 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35050         [BZ #13134]
35051         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35052         before glibc 2.15.
35053         (tryshell): Define.
35054         (__spawni): Change last parameter to be flag.  Test
35055         SPAWN_XFLAGS_USE_PATH flag to use path or not.
35056         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35057         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35058         * posix/spawni.c: Likewise.
35059         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35060         * posix/spawnp.c: Likewise.  Change normal version to use
35061         SPAWN_XFLAGS_USE_PATH.
35062         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35063         SPAWN_XFLAGS_TRY_SHELL.
35065         [BZ #13150]
35066         * posix/glob.h: Remove gcc 1.x support.
35068         [BZ #13068]
35069         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35071 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35073         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35074         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35075         strrchr-sse2-bsf
35076         * sysdeps/i386/i686/multiarch/strchr.S: New file.
35077         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35078         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35079         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35080         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35081         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35083 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35085         * sysdeps/x86_64/wcscmp.S: New file.
35087         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35088         wcscmp-c wcscmp-sse2
35089         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35090         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35091         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35092         * wcsmbs/wcscmp.c: Allow renaming.
35094 2011-09-05  David S. Miller  <davem@davemloft.net>
35096         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35097         stack slot, rather than the struct return pointer slot.
35098         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35099         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35101         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35103 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35105         * po/ja.po: Update from translation team.
35107         [BZ #13144]
35108         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35109         kernel in 64-bit binaries.
35111 2011-09-01  David S. Miller  <davem@davemloft.net>
35113         * elf/elf.h (HWCAP_SPARC_*): Move to..
35114         * sysdeps/sparc/sysdep.h: this new file and add new values.
35115         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35116         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35117         _DL_HWCAP_COUNT to 24.
35118         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35119         entries.
35120         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35121         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35122         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35123         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35124         instead of magic constants.
35125         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35127 2011-08-31  David S. Miller  <davem@davemloft.net>
35129         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35131         Reimplement to do errno handling inline.
35132         (SYSCALL_ERROR_HANDLER): New macro.
35133         (__SYSCALL_STRING): Do not do errno handling in asm.
35134         (__CLONE_SYSCALL_STRING): Delete.
35135         (__INTERNAL_SYSCALL_STRING): Delete.
35136         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35137         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35138         (PSEUDO): Reimplement to do errno handling inline.
35139         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35140         (SYSCALL_ERROR_HANDLER): New macro.
35141         (__SYSCALL_STRING): Do not do errno handling in asm.
35142         (__CLONE_SYSCALL_STRING): Delete.
35143         (__INTERNAL_SYSCALL_STRING): Delete.
35144         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35145         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35146         i386.
35147         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35148         (inline_syscall*): Add 'err' argument.
35149         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35150         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35151         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35152         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35154         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35155         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35157 2011-08-30  Andreas Schwab  <schwab@redhat.com>
35159         * elf/rtld.c (dl_main): Relocate objects in dependency order.
35161 2011-08-29  Jiri Olsa <jolsa@redhat.com>
35163         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35164         directive.
35166 2011-08-24  David S. Miller  <davem@davemloft.net>
35168         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35170 2011-08-24  Andreas Schwab  <schwab@redhat.com>
35172         * elf/Makefile: Add rules to build and run unload8 test.
35173         * elf/unload8.c: New file.
35174         * elf/unload8mod1.c: New file.
35175         * elf/unload8mod1x.c: New file.
35176         * elf/unload8mod2.c: New file.
35177         * elf/unload8mod3.c: New file.
35179         * elf/dl-close.c (_dl_close_worker): Reset private search list if
35180         it wasn't used.
35182 2011-08-23  David S. Miller  <davem@davemloft.net>
35184         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35185         subtract stack bias.
35186         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35187         %sp not %fp in calculations.
35188         (_JMPBUF_UNWINDS_ADJ): Likewise.
35190         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35191         (aio_suspend): Call it to force an exception region around the
35192         AIO_MISC_WAIT() invocation.
35194 2011-08-23  Andreas Schwab  <schwab@redhat.com>
35196         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35197         backslash.
35199 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
35201         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35202         protection macro.
35203         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35204         and <dl-machine.h>.
35205         (Elf64_FuncDesc): Remove.
35207 2011-08-22  David S. Miller  <davem@davemloft.net>
35209         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35210         sigaltstack check, add missing cfi directives.
35211         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35212         missing cfi directives, and sigaltstack handling.
35214 2011-08-16  Andreas Schwab  <schwab@redhat.com>
35216         [BZ #11724]
35217         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35218         object is seen twice.
35219         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35221         * elf/Makefile (distribute): Add tst-initorder2.c.
35222         (tests): Add tst-initorder2.
35223         (modules-names): Add tst-initorder2a tst-initorder2b
35224         tst-initorder2c tst-initorder2d.  Add rules to build them.
35225         ($(objpfx)tst-initorder2.out): New rule.
35226         * elf/tst-initorder2.c: New file.
35227         * elf/tst-initorder2.exp: New file.
35229 2011-08-22  Andreas Schwab  <schwab@redhat.com>
35231         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35233         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35234         dependencies back to end of function.
35236         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35237         $(elfobjdir)/ld.so.
35239 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
35241         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35242         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35243         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35244         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35245         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35246         of __vdso_gettimeofday.
35247         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35248         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
35249         attribute_hidden.
35250         (_libc_vdso_platform_setup): Remove initialization of
35251         __vdso_gettimeofday and __vdso_time.
35253 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35255         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35256         and fgetc_unlocked.
35257         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35258         getc_unlocked.
35260         * elf/dl-open.c (add_to_global): Report additions to the global scope
35261         for LD_DEBUG=scopes.
35262         (dl_open_worker): Also print scope of newly loaded dependencies.
35263         (_dl_show_scope): Indicate if there is no scope.
35265         [BZ #13114]
35266         * stdio-common/Makefile (tests): Add bug24.
35267         * stdio-common/bug24.c: New file.
35269 2011-08-19  Andreas Jaeger  <aj@suse.de>
35271         [BZ #13114]
35272         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35273         non-existant file when using close-on-exec mode.
35275 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35277         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35278         the very first instruction.
35280         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35281         the CFI state in the end.
35282         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35283         inclusion of dl-trampoline.h.
35284         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35286 2011-08-19  Andreas Schwab  <schwab@redhat.com>
35288         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35289         expectations for long double.
35291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35292         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35294 2011-08-14  David S. Miller  <davem@davemloft.net>
35296         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35297         artificual limit depends upon the system page size.
35299 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35301         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35302         * resolv/Makefile: Define CFLAGS-libresolv.
35304 2011-08-17  Andreas Schwab  <schwab@redhat.com>
35306         * nss/makedb.c (compute_tables): Make variables used in nested
35307         function static.
35309 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35311         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35312         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35313         if buffer was too small.
35315         * elf/pldd.c (main): Attach to all threads in the process.
35316         Rewrite /proc handling to use *at functions.
35318 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
35320         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35321         specifies first scope to show.
35322         (dl_open_worker): Update callers.  Move printing scope of new
35323         object to before the relocation.
35324         * elf/rtld.c (dl_main): Update _dl_show_scope call.
35325         * sysdeps/generic/ldsodefs.h: Update declaration.
35327         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35328         string for the scope number.
35330 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
35332         * nscd/servicescache.c (cache_addserv): Make sure written is always
35333         initialized.
35335 2011-08-14  Roland McGrath  <roland@hack.frob.com>
35337         * sysdeps/i386/i486/bits/atomic.h
35338         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35339         statement expression, so as to suppress "set but not used" warning.
35340         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35342         * string/strncat.c (STRNCAT): Use prototype definition.
35344         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35345         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35346         -Iprograms here.
35347         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35348         (localedef-modules): Add localedef.
35349         (locale-modules): Add locale.
35351         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35352         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35353         to avoid a warning.
35355 2011-08-14  David S. Miller  <davem@davemloft.net>
35357         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35358         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35360 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35362         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35363         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35364         * elf/rtld.c (dl_main): Set l_name of vDSO.
35365         Call _dl_show_scope when DL_DEBUG_SCOPES.
35366         (process_dl_debug): Recognize scopes flag and also set it for all.
35367         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35368         Declare _dl_show_scope.
35370         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35371         (do_dlopen): Pass caller_dlopen to dl_open.
35372         (__libc_dlopen_mode): Initialize caller_dlopen.
35374         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35375         of libc.  Make tolower call locale-independent.  Optimize a bit by
35376         using isdigit instead of isalnum.
35377         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35379 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35381         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35382         was a dependency or dynamically loaded.
35384 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35386         * intl/l10nflist.c: Allow architecture-specific pop function.
35387         * sysdeps/x86_64/l10nflist.c: New file.
35389         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35390         classification.
35392 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35394         * include/dirent.h: Add libc_hidden_proto for scandirat and
35395         scandirat64.  Don't declare __scandirat64.
35396         * dirent/scandirat.c: Add libc_hidden_def.
35397         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35398         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35400 2011-08-10  David S. Miller  <davem@davemloft.net>
35402         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35403         enum.
35404         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35405         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35406         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35408 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35410         * Versions.def [libc]: Add GLIBC_2.15.
35411         * dirent/Makefile (routines): Add scandirat and scandirat64.
35412         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35413         GLIBC_2.15.
35414         * dirent/dirent.h: Declare scandirat and scandirat64.
35415         * dirent/scandirat.c: New file.
35416         * dirent/scandirat64.c: New file.
35417         * sysdeps/wordsize-64/scandirat.c: New file.
35418         * sysdeps/wordsize-64/scandirat64.c: New file.
35419         * dirent/opendir.c: Define opendirat.
35420         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35421         using scandirat.
35422         * dirent/scandir64.c: Adjust for scandir.c change.
35423         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35424         __scandirat64, and __scandir_cancel_handler.
35425         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35426         additional parameter and use openat instead of open (outside of ld.so).
35427         Add new __opendir as wrapper around __opendirat.
35428         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35429         here without requiring old scandirat implementation.
35431 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35433         * dirent/scandir.c (cancel_handler): Renamed to
35434         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35435         defined.  Adjust users.
35436         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35437         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35439 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35441         * string/test-string.h (IMPL): Use __STRING to expand name and then
35442         stringify it.
35444         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35445         of cleanups.
35447 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35449         * string/Makefile: Update.
35450         (strop-tests): Append strncat.
35451         * string/test-wcscmp.c: New file.
35452         New comprehensive test for wcscmp.
35453         * string/test-strcmp.c: Update.
35454         (WIDE): New define.
35456 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35458         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35459         line.
35461 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35464         encoding to ACE if AI_IDN.
35466 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35468         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35469         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35471 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35473         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35474         Fix overflow bug in strncat.
35475         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35477         * string/test-strncat.c: Update.
35478         Add new tests for checking overflow bugs.
35480 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35482         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35483         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35484         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35485         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35486         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35487         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35488         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35489         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35490         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35492         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35493         (USE_AS_STRCAT): Define.
35494         Add strcat and strncat support.
35495         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35497 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35499         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35500         __n bigger than INT_MAX+1.
35501         (__strncmp_g): Likewise.
35503 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35505         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35506         * libio/stido.h: Likewise.
35508         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35509         (AF_NFC): Define.
35510         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35511         (AF_NFC): Define.
35513         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35514         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35515         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35516         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35517         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35519         [BZ #13021]
35520         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35521         installed.
35523         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35524         typo.
35525         (_dl_x86_64_save_sse): Likewise.
35527 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35529         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35530         OSXSAVE.
35531         (_dl_x86_64_save_sse): Likewise.
35533         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35535         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35537 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35539         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35540         change.
35541         (_dl_x86_64_save_sse): Use correct AVX check.
35543 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35545         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35546         bug in strncpy/strncat.
35547         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35549 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35551         * string/tester.c (test_strcat): Add tests for different alignments
35552         of source and destination.
35553         (test_strncat): Likewise.
35555 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35557         [BZ #12852]
35558         * posix/glob.c (glob): Check passed in values before using them in
35559         expressions to avoid some overflows.
35560         (glob_in_dir): Likewise.
35562         [BZ #13007]
35563         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35564         check for AVX enablement so that we don't crash with old kernels and
35565         new hardware.
35566         * elf/tst-audit4.c: Add same checks here.
35567         * elf/tst-audit6.c: Likewise.
35569         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35571 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35573         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35575 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35577         * po/cs.po: Update from translation team.
35578         * po/bg.po: Likewise.
35580 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35582         * misc/sys/cdefs.h: Add support for const attribute.
35583         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35584         to gnu_dev_{major,minor,makedev} functions.
35586 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35588         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35590 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35592         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35593         strlen results.
35595 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35597         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35598         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35599         register in order to avoid conflicts with the soft frame pointer
35600         being held in r11 when necessary.
35601         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35602         (INTERNAL_VSYSCALL_NCS): Likewise.
35604 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35606         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35607         * elf/dl-fini.c (_dl_fini): Adjust caller.
35608         * elf/dl-close.c (_dl_close_worker): Likewise.
35609         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35611 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35613         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35614         "aux_cache->nlibs < 0".
35616         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35617         in the reload-count case.
35619 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35622         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35623         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35624         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35625         * sysdeps/x86_64/multiarch/strcat.S: New file.
35626         * sysdeps/x86_64/multiarch/strncat.S: New file.
35627         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35628         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35629         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35630         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35631         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35632         (USE_AS_STRCAT): Define.
35633         Add strcat and strncat support.
35634         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35635         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35636         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35637         * string/strncat.c: Update.
35638         (USE_AS_STRNCAT): Define.
35639         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35640         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35641         and i7.
35642         * sysdeps/x86_64/multiarch/init-arch.h
35643         (bit_Prefer_PMINUB_for_stringop): New.
35644         (index_Prefer_PMINUB_for_stringop): Likewise.
35645         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35646         bit_Prefer_PMINUB_for_stringop.
35648 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35650         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35651         buffer64.
35652         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35653         of casting of buffer.
35654         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35655         buffer32 and buffer64.
35656         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35657         writes instead of casting of buffer.
35658         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35659         buffer32.
35660         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35661         casting of buffer.
35663 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35665         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35667 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35669         * nscd/nscd.c (termination_handler): Don't do anything for a database
35670         if it has not yet been initialized.
35672 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35674         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35676 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35678         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35680 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35682         * po/nl.po: Update from translation team.
35683         * po/sv.po: Likewise.
35685 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35687         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35688         now disallowed by GCC.
35690         * configure.in (use-default-link): Default to yes if a test -shared
35691         link meets our qualifications.
35692         * configure: Regenerated.
35694         * config.make.in (output-format): New variable.
35695         * configure.in: Check for ld --print-output-format support.
35696         * configure: Regenerated.
35697         * Makerules ($(common-objpfx)format.lds)
35698         [$(output-format) != unknown]: Just use $(output-format),
35699         instead of the linker-script munging.
35701 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35703         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35704         of $(common-objpfx)shlib.lds.
35705         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35707         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35708         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35710         * configure.in (-z relro check): Adjust test code to add a large
35711         writable data section after it.
35712         * configure: Regenerated.
35714 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35716         * configure.in (-z relro check): Fix test code to make the variable
35717         truly const.
35718         * configure: Regenerated.
35720 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35722         * nscd/nscd.h (struct traced_file): Define.
35723         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35724         elements.  Add traced_files.
35725         (inotify_fd): Declare.
35726         (register_traced_file): Declare.
35727         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35728         (inotify_fd): Export.
35729         (resolv_conf_descr): Remove.
35730         (nscd_init): Move inotify descriptor creation to main.
35731         Don't register files for notification here.
35732         (register_traced_file): New function.
35733         (invalidate_cache): Don't use reset_res to determine whether to call
35734         res_init, go through the list of registered files.
35735         (main_loop_poll): The inotify descriptors are now stored in the
35736         structures for the traced files.
35737         (main_loop_epoll): Likewise
35738         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35739         to __nss_disable_nscd.
35740         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35741         for a database anymore.  Check the records for all the registered
35742         files instead.
35743         * nss/Makefile (libnss_files-routines): Add files-init.
35744         (libnss_db-routines): Add db-init.
35745         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35746         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35747         * nss/nss_db/db-init.c: New file.
35748         * nss/nss_files/files-init.c: New file.
35749         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35750         __nss_lookup_function.
35751         (__nss_lookup_function): Call nss_load_library.
35752         (nss_load_all_libraries): New function.
35753         (__nss_disable_nscd): Take parameter with callback function for files
35754         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35755         used for the cached services.
35756         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35757         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35758         options for features to all the files in nscd.
35760         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35762 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35764         * csu/elf-init.c (__libc_csu_init): Comment typo.
35766 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35768         * po/pl.po: Update from translation team.
35769         * po/ja.po: Likewise.
35770         * po/ru.po: Likewise.
35771         * po/ko.po: Likewise.
35772         * po/fr.po: Likewise.
35774 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35776         * configure.in (.ctors/.dtors header and trailer check):
35777         Use an empirical test on a built program.
35778         * configure: Regenerated.
35780         * configure.in (-z relro check): Use an empirical test on a built DSO.
35781         Detect, but do not require, on ia64.
35782         * configure: Regenerated.
35784         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35785         Update tests that use readelf to use $READELF instead.
35786         * configure: Regenerated.
35788 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35790         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35791         if the result is not used.
35793 2011-07-05  Andreas Jaeger  <aj@suse.de>
35795         [BZ#9696]
35796         * stdlib/tst-strtod.c: Add testcase.
35798 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35800         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35801         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35802         The latter has a higher limit.  Take additional parameter to pass to
35803         the new function.
35804         (__pathconf): Pass file to __statfs_link_max.
35805         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35806         __statfs_link_max.
35807         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35808         __statfs_link_max.
35810         [BZ #12868]
35811         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35812         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35813         Handle Lustre.
35814         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35815         (__statfs_filesize_max): Likewise.
35816         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35818 2011-07-05  Andreas Jaeger  <aj@suse.de>
35820         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35822 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35824         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35825         `status' variable.
35826         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35827         Likewise.
35829 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35831         * Makefile (strop-tests): Add strncat.
35832         * string/test-strncat.c: New file.
35834 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35836         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35838 2011-06-21  Andreas Jaeger  <aj@suse.de>
35840         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35841         Copy rule from iconvdata/Makefile.
35843 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35845         [BZ #12922]
35846         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35847         but no long options are defined, just return 'W'.
35849 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35851         [BZ #9696]
35852         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35854 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35856         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35857         netgroups to read.
35858         (innetgr): Likewise.
35860 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35862         * config.make.in (install_root): Default to $(DESTDIR).
35864 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35866         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35868 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35870         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35872         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35873         containing directory rather than embedding absolute directory names.
35875         * scripts/check-local-headers.sh: Rewritten using awk.
35876         Match by word, not by line.  Print error messages for matches.
35877         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35879         * Makerules [shlib-lds-flags empty]:
35880         ($(common-objpfx)libc_pic.opts): New target.
35881         ($(common-objpfx)libc_pic.os.clean): New target.
35882         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35884         * config.make.in (OBJCOPY): New variable.
35885         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35886         * configure: Regenerated.
35888         * config.make.in (use-default-link): New variable.
35889         * configure.in (use_default_link): Grok --with-default-link to set it.
35890         * configure: Regenerated.
35891         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35892         (shlib-lds, shlib-lds-flags): Define to empty.
35894         * Makerules (shlib-lds): New variable.
35895         (shlib-lds-flags): New variable.
35896         (build-shlib, build-moduile, build-module-asneeded): Use it.
35897         ($(common-objpfx)libc.so): Use $(shlib-lds).
35898         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35899         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35901         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35902         DT_FLAGS/DT_FLAGS_1 with zero flags.
35904         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35905         linker script munging.
35907 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35909         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35910         as 128-bit value.
35911         * crypt/sha512.c (sha512_process_block): Perform total addition using
35912         128-bit if possible.
35913         (__sha512_finish_ctx): Likewise.
35914         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35915         as 64-bit value.
35916         * crypt/sha256.c (SWAP64): Define.
35917         (sha256_process_block): Perform total addition using 64-bit if
35918         possible.
35919         (__sha256_finish_ctx): Likewise.
35921 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35923         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35924         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35925         * nscd/hstcache.c (cache_addhst): Likewise.
35926         * nscd/grpcache.c (cache_addgr): Likewise.
35927         * nscd/aicache.c (addhstaiX): Likewise
35928         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35930 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35932         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35933         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35934         * nscd/hstcache.c (cache_addhst): Likewise.
35935         * nscd/grpcache.c (cache_addgr): Likewise.
35936         * nscd/aicache.c (addhstaiX): Likewise
35938 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35940         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35941         domain only when needed.
35943 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35946         is always restored.
35948 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35950         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35951         are re-adding the entry.
35952         * nscd/servicescache.c (cache_addserv): Likewise.
35954 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35956         * sysdeps/generic/dl-irel.h: fix protection against multiple
35957         inclusions.
35958         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35960 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35962         [BZ #12935]
35963         * malloc/memusage.sh: Fix quoting in message.
35964         * debug/xtrace.sh: Likewise.
35966         * configure.in: Remove support for --experimental-malloc option, make
35967         it the default.
35968         * config.make.in: Likewise.
35969         * malloc/Makefile: Likewise.
35971 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35973         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35974         two-byte characters.
35976 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35978         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35979         AC_CACHE_CHECK invocation.
35980         * configure: Regenerated.
35982         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35984 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35986         [BZ #12350]
35987         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35988         bit from old_res_options.
35990         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35992         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35993         value type for setfct.
35995 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35997         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35998         __gettimeofday instead of gettimeofday.
36000 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
36002         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36004 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
36006         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36008         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36009         info.
36011 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36014         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36015         strcpy-sse2-unaligned strncpy-sse2-unaligned
36016         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36017         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36018         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36019         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36020         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36021         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36022         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36023         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36024         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36025         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36026         (STRCPY): Support SSE2 and SSSE3 versions.
36028 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
36030         [BZ #12874]
36031         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36032         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36033         kernels which artificially limit size of requests.
36035 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36037         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36038         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36039         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36040         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36041         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36042         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36043         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36044         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36045         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36046         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36047         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36048         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36049         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36050         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36051         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36052         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36053         Enable unaligned load optimization for Intel Core i3, i5 and i7
36054         processors.
36055         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36056         Define.
36057         (index_Fast_Unaligned_Load): Define.
36058         (HAS_FAST_UNALIGNED_LOAD): Define.
36060 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
36062         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36064 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36066         [BZ #12907]
36067         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36068         until it is clear that the information is realy needed.
36069         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36071 2011-06-22  Andreas Schwab  <schwab@redhat.com>
36073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36075 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36077         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36078         /sys/devices/system/cpu/online if it is usable.
36080         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36081         reading the information from the /proc filesystem to once a second.
36083 2011-06-21  Andreas Jaeger  <aj@suse.de>
36085         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36086         NULL after inclusion of kernel headers.
36088 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
36090         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36091         calls to internal_setent.
36093         [BZ #12885]
36094         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36095         addresses using gethostbyname4_r ignore IPv4 addresses.
36097         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36098         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
36100         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36102 2011-06-20  David S. Miller  <davem@davemloft.net>
36104         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36105         inclusions.
36106         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36108         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36109         (elf_irel): Use it.
36110         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36111         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36112         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36113         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36114         * sysdeps/x86_64/dl-irel.h: Likewise.
36116         * elf/dl-runtime.c: Use elf_ifunc_invoke.
36117         * elf/dl-sym.c: Likewise.
36119 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36121         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
36122         need to dereference resplen2.
36124 2011-06-14  Andreas Schwab  <schwab@redhat.com>
36126         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36128 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36130         * Makeconfig: Define vardbdir and inst_vardbdir.
36131         * nss/Makefile: Add rules to install db-Makefile.
36133         * nss/nss_db/db-XXX.c: Cleanup.
36135         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36136         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36137         GLIBC_PRIVATE.
36138         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36139         * nss/makedb.c: Implement -g option to specify that value strings
36140         are generated and should not be added to table iterated over for
36141         get*ent calls.
36142         * nss/nss_db/db-initgroups.c: New file.
36144         * nss/getent.c: Add support for initgroups lookups through getgrouplist
36145         interface.
36147         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36148         (internal_getgrouplist): Adjust to name change.
36149         Update use_initgroups_entry if this is not the first call.
36150         * nss/databases.def: Add initgroups entry.
36152         * nss/makedb.c (compute_tables): Check result of multiple hash table
36153         sizes to minimize maximum chain length.
36155 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
36157         * Versions.def: Add entry for libnss_db.
36158         * shlib-versions: Likewise.
36159         * nss/Makefile: Add rules to build libnss_db.
36160         * nss/Versions: Add libnss_db information.  Organize libnss_files
36161         entries better.
36162         * nss/db-Makefile: Add gshadow support.  Change rules for the new
36163         makedb progra.  Some minor improvements to generate smaller files.
36164         * nss/nss_db/nss_db.h: Move NSS database header data structures to
36165         here from...
36166         * nss/makedb.c: ...here.
36167         Improve database format to be smaller and require less memory at
36168         runtime.
36169         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
36170         db anymore.
36171         * nss/nss_db/db-netgrp.c: Likewise.
36172         * nss/nss_db/db-open.c: Likewise.
36173         * nss/nss_files/flies-XXX.x: Adjust comments.
36174         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36175         * nss/nss_files/files-grp.c: Likewise.
36176         * nss/nss_files/files-hosts.c: Likewise.
36177         * nss/nss_files/files-network.c: Likewise.
36178         * nss/nss_files/files-proto.c: Likewise.
36179         * nss/nss_files/files-pwd.c: Likewise.
36180         * nss/nss_files/files-rpc.c: Likewise.
36181         * nss/nss_files/files-service.c: Likewise.
36182         * nss/nss_files/files-sgrp.c: Likewise.
36183         * nss/nss_files/files-spwd.c: Likewise.
36184         * nss/nss_db/db-alias.c: Removed.
36185         * nss/nss_db/dummy-db.h: Removed.
36187 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
36189         * nss/makedb.c: Rewritten to not use database library.
36190         * nss/Makefile: Update to build new makedb program.
36192 2011-06-14  Andreas Jaeger  <aj@suse.de>
36194         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36195         memset declaration.
36197 2011-06-10  Andreas Schwab  <schwab@redhat.com>
36199         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36200         tmpbuf.
36202 2011-06-10  Roland McGrath  <roland@hack.frob.com>
36204         * Makerules (shlib.lds): Fail if the linker script comes out empty.
36205         * elf/Makefile ($(objpfx)ld.so): Likewise.
36207         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36208         Don't list ld.so twice in dependencies.
36210         * posix/bug-regex31.c: Include <stdlib.h>.
36212         * nscd/hstcache.c (cache_addhst): Remove unused variable.
36214         * nis/nss_compat/compat-spwd.c
36215         (getspent_next_nss_netgr): Remove unused variable.
36216         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36218         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36219         nonmembers" output to use the right array.
36221         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36223         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36225         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36226         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36227         * catgets/gencat.c (read_input_file): Likewise.
36228         * locale/programs/locarchive.c (enlarge_archive): Likewise.
36230         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36231         variable definition inside #if's controlling its use.
36233         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36235         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36237         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36239         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36240         unreachable code.
36242         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36244         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36245         * configure: Regenerated.
36247         * Makerules: Revert last change.
36248         * elf/Makefile: Likewise.
36250 2011-06-09  Roland McGrath  <roland@hack.frob.com>
36252         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36253         * elf/Makefile ($(objpfx)librtld.os): Likewise.
36254         (reloc-link): Likewise.
36256 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
36258         * elf/Makefile: Add rules to build pldd.
36259         * elf/pldd.c: New file.
36260         * elf/pldd-xx.c: New file.
36262 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
36264         * version.h: Update for 2.15 development version.
36266 2011-06-07  David S. Miller  <davem@davemloft.net>
36268         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36269         ifuncs.
36270         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36271         elf_machine_lazy_rel): Likewise.
36272         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36273         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36274         elf_machine_lazy_rel): Likewise.
36275         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36276         dl_hwcap via passed in argument.
36277         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36278         Likewise.
36280 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36282         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
36284 2011-06-06  Roland McGrath  <roland@hack.frob.com>
36286         [BZ #12849]
36287         * manual/fdl-1.1.texi: New file, verbatim from:
36288         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36289         * manual/lgpl-2.1.texi: New file, verbatim from:
36290         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36291         * manual/Makefile (licenses): New variable, list those new file names.
36292         (texis): Use it.
36293         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36295         * manual/fdl.texi: File removed.
36296         * manual/lesser.texi: File removed.
36297         * manual/libc.texinfo (Copying, Documentation License):
36298         Use new @include file names, put @appendix directive before @include.
36300 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
36302         [BZ #12841]
36303         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36304         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36305         (mq_open): Add __NTH.
36307 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
36309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36310         Assume Intel Core i3/i5/i7 processor if AVX is available.
36312 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36314         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36315         typo.
36317 2011-05-31  Andreas Schwab  <schwab@redhat.com>
36319         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36320         memory.  Use alloca_account.  Fix memory leak when retrying.
36322 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36324         * version.h (RELEASE): Bump for 2.14 release.
36325         * include/features.h (__GLIBC_MINOR__): Bump to 14.
36327         * config.make.in (RANLIB): Remove entry.
36329 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
36331         * po/Makefile (po-sed-cmd): Add ksh to extensions.
36332         (libc.pot): Work around missing support for .ksh extension in xgettext.
36334         [BZ #12684]
36335         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36336         if both request failed.
36337         (send_dg): In case of server errors clear resplen or *resplen2.
36339         [BZ #12454]
36340         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36341         when there are multiple maps.
36342         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36343         (_dl_fini): Remove test here.
36345         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36347 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36349         [BZ #12350]
36350         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36351         bit from old_res_options.
36352         (gaih_inet): Likewise.
36354         [BZ #11099]
36355         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36356         as signed.
36358         * resolv/res_init.c (res_setoptions): Make the code more compact.
36360         [BZ #11558]
36361         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36362         set RES_USEVC.
36364         [BZ #11634]
36365         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36367         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36369         [BZ #11781]
36370         * malloc/malloc.h: Declare malloc hook variables as volatile.
36372         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36373         in last patch.
36375         [BZ #11799]
36376         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36377         raise in the comment.
36378         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36379         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36380         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36382 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36384         [BZ #12811]
36385         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36386         grow the buffers more if it already has to be sufficient.
36387         (build_wcs_upper_buffer): Likewise.
36388         * posix/regexec.c (check_matching): Likewise.
36389         (clean_state_log_if_needed): Likewise.
36390         (extend_buffers): Don't enlarge buffers beyond size of the input
36391         buffer.
36392         Patches mostly by Emil Wojak <emil@wojak.eu>.
36393         * posix/bug-regex32.c: New file.
36394         * posix/Makefile (tests): Add bug-regex32.
36396         * locale/findlocale.c (_nl_find_locale): Return right away if
36397         _nl_explode_name failed.
36398         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36400         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36402         * debug/xtrace.sh: Unify messages.
36403         * malloc/memusage.sh: Likewise.
36405         [BZ #12813]
36406         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36407         time symbol from vDSO.  Substitute with vsyscall if not available.
36408         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36409         __vdso_time.
36411         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36412         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36413         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36414         Add sendmmsg and internal_sendmmsg.
36415         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36416         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36417         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36419         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36420         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36421         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36423 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36425         [BZ #12813]
36426         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36427         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36428         available.
36429         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36430         __vdso_getcpu.
36432         [BZ #12814]
36433         * iconvdata/Makefile (tests): Add bug-iconv9.
36434         * iconvdata/bug-iconv9.c: New file.
36436 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36438         [BZ #12814]
36439         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36441 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36443         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36444         (struct user_regs_struct): Change intcs field back to cs.
36446 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36448         * po/ja.po: Update from translation team.
36450 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36452         [BZ #12795]
36453         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36454         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36456 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36458         * stdlib/longlong.h: Update from GCC.
36460 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36462         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36463         parameter name.
36464         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36465         Add parameter name.
36466         (__sysconf): Pass it down.
36468 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36470         [BZ #12671]
36471         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36472         some situations.
36473         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36474         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36475         add in in __libc_use_alloca calls.  Adjust callers.
36476         (glob): Use malloc in some situations.
36478         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36479         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36480         pltexit.
36482 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36484         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36485         and CLOCK_BOOTTIME_ALARM.
36487         [BZ #12782]
36488         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36489         is returned.
36491         * string/_strerror.c (__strerror_r): Print negative errors as signed
36492         numbers.
36494         [BZ #12777]
36495         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36496         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36497         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36499         * configure.in: Fix typo in redirection and correct removal of test
36500         files in two cases.
36502         [BZ #12788]
36503         * locale/setlocale.c (new_composite_name): Fix test to check for
36504         identical name of all categories.
36506         [BZ #12792]
36507         * libio/filedoalloc.c (local_isatty): New function.
36508         (_IO_file_doallocate): Use local_isatty.
36509         * stdio-common/perror.c (perror): In case a new stream is used
36510         forward the stream error.
36511         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36512         error flag.
36514 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36516         [BZ #11869]
36517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36518         alloca.
36519         * include/alloca.h (extend_alloca_account): Define.
36521         [BZ #11857]
36522         * posix/regex.h: Fix comments with documentation of user-accessible
36523         fields after compilation and describe correct free'ing of pattern
36524         after re_compile_pattern.
36525         Patch by Reuben Thomas <rrt@sc3d.org>.
36527 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36529         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36530         and -mno-altivec to prevent the compiler from using Altivec and/or
36531         VSX instructions when the corresponding registers are not available.
36533 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36535         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36537 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36539         * libio/freopen.c (freopen): Use __dup2, not dup2.
36540         * libio/freopen64.c (freopen64): Likewise.
36542 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36544         [BZ #12775]
36545         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36546         * math/Makefile (tests): Add test-powl.
36547         (CFLAGS-test-powl.c): Define.
36548         * math/test-powl.c: New file.
36550 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36552         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36554 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36556         [BZ #11837]
36557         * iconvdata/gb18030.c: Update to GB18020-2005.
36559 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36561         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36562         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36563         Patch by Aharon Robbins <arnold@skeeve.com>.
36565         [BZ #11892]
36566         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36567         on the stack.
36569         [BZ #11895]
36570         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36571         through underflows.
36573         [BZ #12766]
36574         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36575         point to strings before performing equality test for error_one_per_line
36576         mode.
36578         [BZ #11697]
36579         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36581         [BZ #11820]
36582         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36583         (struct user_fpregs_struct): Avoid __uint*_t types.
36585         [BZ #6420]
36586         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36587         symbol info.  Use it instead of calling _dl_addr locally.
36588         (lock_and_info): New function.
36589         (tr_freehook): Call lock_and_info and pass symbol info as additional
36590         parameter to tr_where.
36591         (tr_mallochook): Likewise.
36592         (tr_reallochook): Likewise.
36593         (tr_memalignhook): Likewise.
36595         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36596         used and couldn't be at all thread-safe.
36598 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36600         * libio/freopen.c (freopen): Don't close old file descriptor
36601         before the new one is opened.  Instead dup the new file descriptor
36602         to the old one after the new stream is created.
36603         * libio/freopen64.c (freopen64): Likewise.
36604         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36605         * libio/fileops.c (_IO_new_file_close_it): Handle new
36606         _IO_FLAGS2_NOCLOSE flag.
36607         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36608         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36609         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36610         _IO_FLAGS2_NOCLOSE flag.
36611         * include/unistd.h: Add hidden_proto for dup3.
36612         Define __have_dup3.
36613         * io/dup3.c: Define hidden symbol.
36614         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36616         [BZ #7101]
36617         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36618         when an incomplete long option is used.
36619         * posix/tst-getopt_long1.c: New file.
36620         * posix/Makefile (tests): Add tst-getopt_long1.
36622         [BZ #10138]
36623         * scripts/config.guess: Update from autoconf-2.68.
36624         * scripts/config.sub: Likewise.
36626         [BZ #10157]
36627         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36628         tests into ...
36629         (has_cpuclock): ...this.  New function.
36630         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36631         macro here based on has_cpuclock code.
36633         [BZ #10149]
36634         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36635         First byte (not low byte) is now always NUL.
36636         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36638         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36639         Use non-cancelable interfaces.
36641         [BZ #9809]
36642         * locale/iso-639.def: Add entry for Sorani.
36644         [BZ #11901]
36645         * include/stdlib.h: Move include protection to the right place.
36646         Define abort_msg_s.  Declare __abort_msg with it.
36647         * stdlib/abort.c (__abort_msg): Adjust type.
36648         * assert/assert.c (__assert_fail_base): New function.  Majority
36649         of code from __assert_fail.  Allocate memory for __abort_msg with
36650         mmap.
36651         (__assert_fail): Now call __assert_fail_base.
36652         * assert/assert-perr.c: Remove bulk of implementation.  Use
36653         __assert_fail_base.
36654         * include/assert.hL Declare __assert_fail_base.
36655         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36656         mmap.
36657         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36659 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36661         [BZ #11952]
36662         [BZ #12453]
36663         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36664         until all modules are registered in the DTV.
36665         * elf/Makefile: Add rules to build and run tst-tls19.
36666         * elf/tst-tls19.c: New file.
36667         * elf/tst-tls19mod1.c: New file.
36668         * elf/tst-tls19mod2.c: New file.
36669         * elf/tst-tls19mod3.c: New file.
36670         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36672         [BZ #12083]
36673         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36674         correctly.
36676         [BZ #12601]
36677         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36678         two-byte sequence errors.
36679         * iconvdata/Makefile (tests): Add bug-iconv8.
36680         * iconvdata/bug-iconv8.c: New file.
36682         [BZ #12626]
36683         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36684         buf2 definition.
36686         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36688         [BZ #12432]
36689         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36690         (dummy_getcfa): New function.
36691         (init): Get _Unwind_GetCFA address, use dummy if not found.
36692         (backtrace_helper): In recursion check, also check whether CFA changes.
36693         (__backtrace): Completely initialize arg.
36695         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36696         storing incomplete byte sequence in state object.  Avoid testing for
36697         guaranteed too small input if we know there is enough data available.
36699 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36701         * Makeconfig (+link-pie): Indent.
36702         * Rules (binaries-pie): Define if $(have-fpie) and
36703         $(build-shared).
36704         (binaries-shared): Also filter out $(binaries-pie).
36705         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36706         * nscd/Makefile (others-pie): Add nscd.
36707         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36708         ($(objpfx)nscd): Remove command override.
36709         * login/Makefile (others-pie): Add pt_chown.
36710         ($(objpfx)pt_chown): Remove command override.
36711         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36712         remove command overrides.
36714 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36716         * libio/tst_putwc.c: Fix error messages.
36718         [BZ #12724]
36719         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36720         currently writing and seek to current position when not.
36721         * libio/Makefile (tests): Add bug-fclose1.
36722         * libio/bug-fclose1.c: New file.
36724 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36726         [BZ #12511]
36727         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36728         don't set DF_1_NODELETE here.
36729         (do_lookup_x): When entering new entry test for copy relocation
36730         and if necessary set DF_1_NODELETE flag.
36731         * elf/tst-unique4.cc: New file.
36732         * elf/tst-unique4.h: New file.
36733         * elf/tst-unique4lib.cc: New file.
36734         * elf/Makefile: Add rules to build and run tst-unique4.
36735         Patch by Piotr Bury <pbury@goahead.com>.
36737 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36739         [BZ #12052]
36740         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36742         [BZ #12625]
36743         * misc/mntent_r.c (addmntent): Flush the stream after the output
36745         [BZ #12393]
36746         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36747         (is_trusted_path_normalize): Skip initial colon.  Append slash
36748         to empty buffer.  Duplicate is_trusted_path code but allow
36749         constructed patch to be prefix.
36750         (is_dst): Allow $ORIGIN followed by /.
36751         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36752         Correct testing of result of is_trusted_path_normalize
36753         (decompose_rpath): Fix warning.
36755 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36757         [BZ #11257]
36758         * grp/initgroups.c (internal_getgrouplist): When we found the service
36759         list through the initgroups entry in nsswitch.conf do not always
36760         continue on a successful lookup.  Don't always use the
36761         __nss_group_database value if it is set.
36762         * nss/nsswitch.conf (initgroups): Change action for successful db
36763         lookup to continue for compatibility.
36765 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36767         [BZ #11532]
36768         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36769         and CP774 modules.
36770         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36771         and CP774 modules.
36772         * iconvdata/tst-tables.sh: Likewise.
36773         * iconvdata/cp770.c: New file.
36774         * iconvdata/cp771.c: New file.
36775         * iconvdata/cp772.c: New file.
36776         * iconvdata/cp773.c: New file.
36777         * iconvdata/cp774.c: New file.
36778         * iconvdata/testdata/CP770: New file.
36779         * iconvdata/testdata/CP770..UTF8: New file.
36780         * iconvdata/testdata/CP771: New file.
36781         * iconvdata/testdata/CP771..UTF8: New file.
36782         * iconvdata/testdata/CP772: New file.
36783         * iconvdata/testdata/CP772..UTF8: New file.
36784         * iconvdata/testdata/CP773: New file.
36785         * iconvdata/testdata/CP773..UTF8: New file.
36786         * iconvdata/testdata/CP774: New file.
36787         * iconvdata/testdata/CP774..UTF8: New file.
36789         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36790         END CHARMAP line.
36791         * iconvdata/gen-8bit-gap.sh: Likewise.
36792         * iconvdata/gen-8bit.sh: Likewise.
36794         * locale/iso-639.def: Add ary entry.
36796         [BZ #11258]
36797         * locale/C-translit.h.in: Add U20A1 transliteration.
36799         [BZ #12178]
36800         * locale/iso-639.def: Add wae entry.
36801         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36803         [BZ #12545]
36804         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36805         for n.
36807         [BZ #12711]
36808         * locale/C-translit.h.in: Add entry for U20B9.
36809         Patch by pravin.d.s@gmail.com.
36811 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36813         [BZ #12713]
36814         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36815         ENAMETOOLONG use generic getcwd.
36816         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36817         in rtld.  Use *stat64.
36818         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36819         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36820         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36821         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36822         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36823         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36824         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36825         __fstatat64 macros.
36826         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36827         * dirent/rewinddir.c: Add libc_hidden_def.
36828         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36829         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36831         * include/dirent.h (__alloc_dir): Add flags parameter.
36832         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36833         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36834         __alloc_dir.
36835         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36836         from fdopendir if O_CLOEXEC is already set.
36838 2011-03-15  Alan Modra  <amodra@gmail.com>
36840         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36841         l_tls_firstbyte_offset non-zero.  Save padding offset in
36842         l_tls_firstbyte_offset for later use.
36843         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36844         freeing static tls block.
36846 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36848         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36849         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36850         being defined by the kernel headers.
36852 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36854         [BZ #12734]
36855         * resolv/resolv.h: Define RES_NOTLDQUERY.
36856         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36857         no-tld-query and set RES_NOTLDQUERY.
36858         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36859         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36860         modern BIND to search name as TLD unless forbidden.
36862 2011-05-07  Petr Baudis  <pasky@suse.cz>
36863             Ulrich Drepper  <drepper@gmail.com>
36865         [BZ #12393]
36866         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36867         (is_trusted_path): ...to here.
36868         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36869         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36870         using is_trusted_path_normalize() in setuid scripts.
36872 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36874         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36875         __BEGIN/__END_DECLS.
36877 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36879         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36880         NSS_STATUS_NOTFOUND if no record was found.
36882 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36884         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36885         (headers-not-in-tirpc): Remove rpc/netdb.h
36886         * resolv/netdb.h: Revert last change.
36888 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36890         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36891         circular dependency between libgcc.a and libc.a.
36893 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36895         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36896         * nis/Makefile: Don't install rpcsvc/*.
36897         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36898         instead of <rpc/types.h>.
36899         (MAXHOSTNAMELEN): Define.
36901 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36903         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36905 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36907         [BZ #12714]
36908         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36909         gethostbyname4_r when IPv6 results are possible.
36911 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36913         [BZ #12723]
36914         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36915         _PC_PIPE_BUF handling.
36917 2011-04-30  Bruno Haible  <bruno@clisp.org>
36919         [BZ #12717]
36920         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36921         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36922         to 'int'.
36923         * inet/getnameinfo.c (getnameinfo): Likewise.
36925 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36927         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36928         to groups setting in database lookup.
36929         * nss/nsswitch.conf: Add initgroups entry.
36931 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36933         [BZ #12685]
36934         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36935         mode string.
36936         Patch by Eric Blake <eblake@redhat.com>.
36938 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36940         * sunrpc/Makefile (need-export-routines): Add svc_run.
36941         (routines): Remove svc_run.
36942         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36943         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36944         * sunrpc/svc_run.c (svc_run): Likewise.
36945         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36947 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36949         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36950         problem in reallocation in last patch.
36952 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36954         * sunrpc/Makefile: Move inclusion of Rules.
36956 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36958         * nss/nss_files/files-initgroups.c: New file.
36959         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36960         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36961         _nss_files_initgroups_dyn.
36963 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36965         * elf/elf.h (R_ARM_IRELATIVE): Define.
36967 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36969         * po/ru.po: Update from translation team.
36971 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36973         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36974         dependencies.
36976 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36978         [BZ #12653]
36979         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36980         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36981         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36982         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36983         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36985 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36987         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36988         differing bytes.
36989         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36990         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36991         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36993 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36995         [BZ #12420]
36996         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36997         storing it.
36998         * stdlib/bug-getcontext.c: New file.
36999         * stdlib/Makefile: Add rules to build and run bug-getcontext.
37001 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37003         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37004         instructions into .machine "z9-109".
37005         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37006         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37008 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37010         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37011         between environment variables and auxiliary vector.
37013 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
37015         * Makefile: Add rules to build linkobj/libc.so.
37016         * include/libc-symbols.h: Define libc_hidden_nolink.
37017         * include/rpc/auth.h: Mark functions which are to be hidden.
37018         * include/rpc/auth_des.h: Likewise.
37019         * include/rpc/auth_unix.h: Likewise.
37020         * include/rpc/clnt.h: Likewise.
37021         * include/rpc/des_crypt.h: Likewise.
37022         * include/rpc/key_prot.h: Likewise.
37023         * include/rpc/pmap_clnt.h: Likewise.
37024         * include/rpc/pmap_prot.h: Likewise.
37025         * include/rpc/pmap_rmt.h: Likewise.
37026         * include/rpc/rpc_msg.h: Likewise.
37027         * include/rpc/svc.h: Likewise.
37028         * include/rpc/svc_auth.h: Likewise.
37029         * include/rpc/xdr.h: Likewise.
37030         * nis/Makefile: Link all DSOs against linkobj/libc.so.
37031         * nss/Makefile: Likewise.
37032         * sunrpc/Makefile: Don't install headers.  Build library with normal
37033         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
37034         * sunrpc/auth_des.c: Hide exported symbols by default, export some
37035         for the compat linking library.  Remove use of INTDEF/INTUSE.
37036         * sunrpc/auth_none.c: Likewise.
37037         * sunrpc/auth_unix.c: Likewise.
37038         * sunrpc/authdes_prot.c: Likewise.
37039         * sunrpc/authuxprot.c: Likewise.
37040         * sunrpc/clnt_gen.c: Likewise.
37041         * sunrpc/clnt_perr.c: Likewise.
37042         * sunrpc/clnt_raw.c: Likewise.
37043         * sunrpc/clnt_simp.c: Likewise.
37044         * sunrpc/clnt_tcp.c: Likewise.
37045         * sunrpc/clnt_udp.c: Likewise.
37046         * sunrpc/clnt_unix.c: Likewise.
37047         * sunrpc/des_crypt.c: Likewise.
37048         * sunrpc/des_soft.c: Likewise.
37049         * sunrpc/get_myaddr.c: Likewise.
37050         * sunrpc/key_call.c: Likewise.
37051         * sunrpc/key_prot.c: Likewise.
37052         * sunrpc/netname.c: Likewise.
37053         * sunrpc/pm_getmaps.c: Likewise.
37054         * sunrpc/pm_getport.c: Likewise.
37055         * sunrpc/pmap_clnt.c: Likewise.
37056         * sunrpc/pmap_prot.c: Likewise.
37057         * sunrpc/pmap_prot2.c: Likewise.
37058         * sunrpc/pmap_rmt.c: Likewise.
37059         * sunrpc/publickey.c: Likewise.
37060         * sunrpc/rpc_cmsg.c: Likewise.
37061         * sunrpc/rpc_common.c: Likewise.
37062         * sunrpc/rpc_dtable.c: Likewise.
37063         * sunrpc/rpc_prot.c: Likewise.
37064         * sunrpc/rpc_thread.c: Likewise.
37065         * sunrpc/rtime.c: Likewise.
37066         * sunrpc/svc.c: Likewise.
37067         * sunrpc/svc_auth.c: Likewise.
37068         * sunrpc/svc_authux.c: Likewise.
37069         * sunrpc/svc_raw.c: Likewise.
37070         * sunrpc/svc_run.c: Likewise.
37071         * sunrpc/svc_simple.c: Likewise.
37072         * sunrpc/svc_tcp.c: Likewise.
37073         * sunrpc/svc_udp.c: Likewise.
37074         * sunrpc/svc_unix.c: Likewise.
37075         * sunrpc/svcauth_des.c: Likewise.
37076         * sunrpc/xcrypt.c: Likewise.
37077         * sunrpc/xdr.c: Likewise.
37078         * sunrpc/xdr_array.c: Likewise.
37079         * sunrpc/xdr_float.c: Likewise.
37080         * sunrpc/xdr_intXX_t.c: Likewise.
37081         * sunrpc/xdr_mem.c: Likewise.
37082         * sunrpc/xdr_rec.c: Likewise.
37083         * sunrpc/xdr_ref.c: Likewise.
37084         * sunrpc/xdr_sizeof.c: Likewise.
37085         * sunrpc/xdr_stdio.c: Likewise.
37087 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
37089         [BZ #12650]
37090         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37091         * sysdeps/ia64/dl-tls.h: Likewise.
37092         * sysdeps/powerpc/dl-tls.h: Likewise.
37093         * sysdeps/s390/dl-tls.h: Likewise.
37094         * sysdeps/sh/dl-tls.h: Likewise.
37095         * sysdeps/sparc/dl-tls.h: Likewise.
37096         * sysdeps/x86_64/dl-tls.h: Likewise.
37097         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37099 2011-03-14  Andreas Schwab  <schwab@redhat.com>
37101         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37102         rpath element also skip the following colon.
37103         (expand_dynamic_string_token): Add is_path parameter and pass
37104         down to DL_DST_REQUIRED and _dl_dst_substitute.
37105         (decompose_rpath): Call expand_dynamic_string_token with
37106         non-zero is_path.  Ignore empty rpaths.
37107         (_dl_map_object_from_fd): Call expand_dynamic_string_token
37108         with zero is_path.
37110 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
37112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37113         Make cancelable.
37115 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
37117         [BZ #12655]
37118         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37119         Patch by Filipe David Manana <fdmanana@apache.org>.
37121 2011-04-07  Andreas Schwab  <schwab@redhat.com>
37123         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37124         Maintain aligned stack.
37125         (CHECK_RSP): Remove unused macro.
37127 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
37129         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37130         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37132 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
37134         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37136         * include/features.h: Mention __USE_XOPEN2K8 in comment.
37138 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
37140         [BZ #12518]
37141         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37142         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37143         * sysdeps/x86_64/memmove.c: New file.
37144         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37145         (memcpy): Renamed to ...
37146         (__new_memcpy): This.
37147         (memcpy): Provide GLIBC_2_14 memcpy.
37148         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37149         (memcpy): Provide GLIBC_2_2_5 memcpy.
37151 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37153         [BZ #12631]
37154         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37156 2011-03-30  Andreas Schwab  <schwab@redhat.com>
37158         * misc/syncfs.c: New file.
37159         * misc/Makefile (routines): Add syncfs.
37160         * posix/unistd.h: Declare syncfs.
37161         * sysdeps/unix/syscalls.list: Add syncfs.
37163 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37165         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37166         open_by_handle_at.
37167         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37168         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37169         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37170         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37171         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37172         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37173         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37175 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37177         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37178         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37179         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37180         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37181         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37182         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37183         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37185         * io/Makefile: Compile fallocate.c, fallocate64.c, and
37186         sync_file_range.c with -fexceptions.
37187         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37188         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37189         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37190         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37191         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37192         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37193         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37194         sync_file_range as cancellation point
37195         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
37196         now a wrapper around __call_sync_file_range with cancellation handling.
37197         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37198         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
37199         function name to __call_sync_file_range.
37200         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37201         Add call_sync_file_range.
37203 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37205         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37206         bits/timex.h.
37208 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37210         * iconv/iconv.h: Fix typo in comment.
37211         * io/fcntl.h: Likewise.
37212         * libio/stdio.h: Likewise.
37213         * posix/spawn.h: Likewise.
37214         * posix/unistd.h: Likewise.
37215         * stdlib/stdlib.h: Likewise.
37216         * time/time.h: Likewise.
37217         * wcsmbs/wchar.h: Likewise.
37219         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37220         open_by_handle): Add.
37221         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37222         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
37223         Augment a few comments.
37224         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37225         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37226         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37227         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37228         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37229         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37230         open_by_handle.
37232         * io/fcntl.h (AT_EMPTY_PATH): Define.
37234 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
37236         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37237         * sysdeps/unix/sysv/linux/bits/time.h: New file.
37238         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37239         to...
37240         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
37241         * Versions.def: Add GLIBC_2.14.
37242         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37243         Export.
37245 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
37247         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37248         round counter.
37249         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37251 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37253         [BZ #12597]
37254         * string/test-strncmp.c (do_page_test): New function.
37255         (check2): Likewise.
37256         (test_main): Call check2.
37257         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37259 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
37261         [BZ #12587]
37262         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37263         Handle cache information in CPU leaf 4.
37264         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37266 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
37268         [BZ #12583]
37269         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37270         character representation.
37271         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37273 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
37275         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37276         END(__isnan) to END(__isnanf) to match function entry point/label
37277         EALIGN(__isnanf,...).
37279 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
37281         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37283 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
37285         [BZ #12510]
37286         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37287         copy from the symbol referenced in the relocation to initialize the
37288         used variable.
37289         Patch by Piotr Bury <pbury@goahead.com>.
37290         * elf/Makefile: Add rules to build and tst-unique3.
37291         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37292         * elf/tst-unique3.cc: New file.
37293         * elf/tst-unique3.h: New file.
37294         * elf/tst-unique3lib.cc: New file.
37295         * elf/tst-unique3lib2.cc: New file.
37297         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37299 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
37301         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37302         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
37303         to _start.
37305 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
37307         * elf/dl-load.c (_dl_map_object): If we are looking for the first
37308         to-be-loaded object along a path to loader is ld.so.
37310 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37311             Ulrich Drepper  <drepper@gmail.com>
37313         * sysdeps/x86_64/memset.S: After aligning destination, code
37314         branches to different locations depending on the value of
37315         misalignment, when multiarch is enabled. Fix this.
37317 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37319         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37320         Set _x86_64_preferred_memory_instruction for AMD processsors.
37321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37322         Set bit_Prefer_SSE_for_memop for AMD processors.
37324 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
37326         * libio/fmemopen.c (fmemopen): Optimize a bit.
37328 2011-03-03  Andreas Schwab  <schwab@redhat.com>
37330         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37332 2011-03-03  Roland McGrath  <roland@redhat.com>
37334         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37336 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
37338         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37339         __bzero_ultra1 instead of __memset_ultra1.
37341 2011-02-23  Andreas Schwab  <schwab@redhat.com>
37342             Ulrich Drepper  <drepper@gmail.com>
37344         [BZ #12509]
37345         * include/link.h (struct link_map): Add l_orig_initfini.
37346         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37347         returning unsuccessfully.
37348         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37349         close of a file loaded at startup, restore the original l_initfini
37350         list.
37351         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37352         list, store the pointer.
37353         * elf/Makefile ($(objpfx)noload-mem): New rule.
37354         (noload-ENV): Define.
37355         (tests): Add $(objpfx)noload-mem.
37356         * elf/noload.c: Include <memcheck.h>.
37357         (main): Call mtrace.  Close all opened handles.
37359 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37361         [BZ #12454]
37362         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37363         dependencies are missing.
37365 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37367         Fix __if_freereq crash: Unlike the generic version which uses free,
37368         Hurd needs munmap.
37369         * sysdeps/mach/hurd/ifreq.h: New file.
37371 2011-01-27  Petr Baudis  <pasky@suse.cz>
37372             Ulrich Drepper  <drepper@gmail.com>
37374         [BZ 12445]#
37375         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37376         to extend_alloca().
37377         * stdio-common/bug23.c: New file.
37378         * stdio-common/Makefile (tests): Add bug23.
37380 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37381             Ulrich Drepper  <drepper@gmail.com>
37383         [BZ #12489]
37384         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37385         before performing relro protection.  At old place add assertion
37386         to make sure nothing changed.
37388 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37389             Glauber de Oliveira Costa  <glommer@gmail.com>
37391         * elf/elf.h: Add new ARM TLS relocs.
37393 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37396         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37397         cast from r3.
37398         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37399         'tests' variable.
37400         * sysdeps/wordsize-64/tst-writev.c: New file.
37402 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37404         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37405         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37406         insns in _dl_start to prevent a TOC reference before relocs are
37407         resolved.
37409 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37411         [BZ #12469]
37412         * Makeconfig: Remove RANLIB definition.
37413         * Makerules: Don't use RANLIB.
37414         * aclocal.m4: Remove ranlib test.
37415         * configure.in: No need to check for ranlib.
37416         * elf/rtld-Rules: Don't use RANLIB.
37418 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37420         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37421         protection macro.
37422         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37423         inclusion protection macro.
37425         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37426         SIGRTMIN and SIGRTMAX and print information in that case only when
37427         SIGRTMIN is defined.
37429 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37431         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37432         arginfo fn returning -1.
37434         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37435         and thousands string is zero terminated.
37437 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37439         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37440         sysdeps/unix/sysv/linux/bits/socket.h.
37442 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37444         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37445         (__CPU_COUNT): Remove old macros.
37446         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37447         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37448         (__CPU_ALLOC, __CPU_FREE): Add macros.
37449         (__sched_cpualloc, __sched_cpufree): Add declarations.
37451 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37453         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37454         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37455         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37456         (readdhstai): Return value of addhstaiX call.
37457         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37458         (addgrbyX): Return value returned by cache_addgr.
37459         (readdgrbyname): Return value returned by addgrbyX.
37460         (readdgrbygid): Likewise.
37461         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37462         (addpwbyX): Return value returned by cache_addpw.
37463         (readdpwbyname): Return value returned by addhstbyX.
37464         (readdpwbyuid): Likewise.
37465         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37466         (addservbyX): Return value returned by cache_addserv.
37467         (readdservbyname): Return value returned by addservbyX:
37468         (readdservbyport): Likewise.
37469         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37470         (addhstbyX): Return value returned by cache_addhst.
37471         (readdhstbyname): Return value returned by addhstbyX.
37472         (readdhstbyaddr): Likewise.
37473         (readdhstbynamev6): Likewise.
37474         (readdhstbyaddrv6): Likewise.
37475         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37476         (readdinitgroups): Return value returned by addinitgroupsX.
37477         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37478         (prune_cache): Keep track of timeout value of re-added entries.
37479         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37480         * nscd/nscd.h: Adjust prototypes of readd* functions.
37482 2011-02-04  Roland McGrath  <roland@redhat.com>
37484         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37485         (nis_stats): Likewise.
37486         * nis/nis_modify.c (nis_modify): Likewise.
37487         * nis/nis_remove.c (nis_remove): Likewise.
37488         * nis/nis_add.c (nis_add): Likewise.
37490         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37492         * posix/fnmatch_loop.c: Add some consts.
37494         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37496 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37498         [BZ #12460]
37499         * config.make.in (config-cflags-novzeroupper): Define.
37500         * configure.in: Substitute libc_cv_cc_novzeroupper.
37501         * elf/Makefile (AVX-CFLAGS): Define.
37502         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37503         (CFLAGS-tst-auditmod4a.c): Likewise.
37504         (CFLAGS-tst-auditmod4b.c): Likewise.
37505         (CFLAGS-tst-auditmod6b.c): Likewise.
37506         (CFLAGS-tst-auditmod6c.c): Likewise.
37507         (CFLAGS-tst-auditmod7b.c): Likewise.
37508         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37510 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37512         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37513         function to the callback.
37514         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37516 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37518         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37519         of errno.
37521 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37523         [BZ #11724]
37524         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37525         of constructors.
37526         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37527         of destructors.
37528         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37530         [BZ #11724]
37531         * elf/Makefile: Add rules to build and run new test.
37532         * elf/tst-initorder.c: New file.
37533         * elf/tst-initorder.exp: New file.
37534         * elf/tst-initordera1.c: New file.
37535         * elf/tst-initordera2.c: New file.
37536         * elf/tst-initordera3.c: New file.
37537         * elf/tst-initordera4.c: New file.
37538         * elf/tst-initorderb1.c: New file.
37539         * elf/tst-initorderb2.c: New file.
37540         * elf/tst-order-a1.c: New file.
37541         * elf/tst-order-a2.c: New file.
37542         * elf/tst-order-a3.c: New file.
37543         * elf/tst-order-a4.c: New file.
37544         * elf/tst-order-b1.c: New file.
37545         * elf/tst-order-b2.c: New file.
37546         * elf/tst-order-main.c: New file.
37547         New test case by George Gensure <werkt0@gmail.com>.
37549 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37552         decoding ACE if AI_CANONIDN.
37554 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37556         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37558 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37560         * version.h (RELEASE): Bump for 2.13 release.
37561         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37563         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37565         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37566         MADV_NOHUGEPAGE.
37567         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37568         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37569         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37570         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37571         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37572         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37574         * posix/getconf.c: Update copyright year.
37575         * catgets/gencat.c: Likewise.
37576         * csu/version.c: Likewise.
37577         * debug/catchsegv.sh: Likewise.
37578         * debug/xtrace.sh: Likewise.
37579         * elf/ldconfig.c: Likewise.
37580         * elf/ldd.bash.in: Likewise.
37581         * elf/sprof.c (print_version): Likewise.
37582         * iconv/iconv_prog.c: Likewise.
37583         * iconv/iconvconfig.c: Likewise.
37584         * locale/programs/locale.c: Likewise.
37585         * locale/programs/localedef.c: Likewise.
37586         * malloc/memusage.sh: Likewise.
37587         * malloc/mtrace.pl: Likewise.
37588         * nscd/nscd.c (print_version): Likewise.
37589         * nss/getent.c: Likewise.
37591         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37592         PF_CAIF, and PF_ALG.
37593         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37595 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37597         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37598         (modules-names): Use them.
37599         (ifunc-test-modules, ifunc-pie-tests): Define.
37600         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37601         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37602         (test-extras): Likewise.
37603         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37604         $(compile-command.c).
37605         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37606         (all-built-dso): Define.
37607         (check-textrel.out, check-execstack.out): Depend on it.
37609         * configure.in: Don't override --enable-multi-arch.
37611 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37613         [BZ #6812]
37614         * nscd/hstcache.c (tryagain): Define.
37615         (cache_addhst): Return tryagain not notfound for temporary errors.
37616         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37617         failed.
37619 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37621         [BZ #10563]
37622         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37623         to make the syscall.
37624         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37626         [BZ #12378]
37627         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37628         and fall back to matching as normal character if the string ends before
37629         the matching ']' is found.  This is what POSIX requires.
37630         * posix/testfnm.c: Adjust test result.
37631         * posix/globtest.sh: Adjust test result.  Add new test.
37632         * posix/tst-fnmatch.input: Likewise.
37633         * posix/tst-fnmatch2.c: Add new test.
37635 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37637         * elf/Makefile (check-execstack): Revert last change.  Depend on
37638         check-execstack.h.
37639         (check-execstack.h): New target.
37640         (generated): Add check-execstack.h.
37641         * elf/check-execstack.c: Include "check-execstack.h".
37642         (main): Revert last change.
37643         (handle_file): Return zero if GNU_STACK is absent and
37644         DEFAULT_STACK_PERMS doesn't include PF_X.
37646 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37648         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37649         in child fails because the descriptor is already closed.
37650         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37651         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37652         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37654         [BZ #12397]
37655         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37656         syscall.
37658         [BZ #10484]
37659         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37660         temporary buffer used to handle multi lookups locally.
37661         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37663 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37665         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37666         loader is ld.so.
37668 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37670         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37671         alignment for SSE2.
37673 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37675         [BZ #12394]
37676         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37677         characters.  When rounding increased number of integer digits recompute
37678         number of groups.
37679         * stdio-common/tst-grouping.c: New file.
37680         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37682 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37684         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37685         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37687         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37688         void.
37689         * bits/select.h: Likewise.
37691 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37693         * po/ja.po: Update from translation team.
37695 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37697         [BZ #11155]
37698         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37699         implementation just like for lxstat, fxstatat, et al.
37701 2010-12-27  Jim Meyering  <meyering@redhat.com>
37703         [BZ #12348]
37704         * posix/regexec.c (build_trtable): Return failure indication upon
37705         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37707 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37709         [BZ #12201]
37710         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37711         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37712         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37713         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37715         [BZ #12207]
37716         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37718         [BZ #12204]
37719         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37720         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37722 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37724         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37725         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37726         script has SORT_BY_INIT_PRIORITY.
37727         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37728         NO_CTORS_DTORS_SECTIONS is defined.
37729         * elf/soinit.c: Likewise.
37730         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37731         NO_CTORS_DTORS_SECTIONS is defined.
37732         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37733         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37734         * sysdeps/sh/init-first.c: Likewise.
37735         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37737 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37739         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37740         always use the slow path.
37742 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37744         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37745         similar rule which adds the sysdep directories to the header search in
37746         order to pick up the correct platform stackinfo.h.
37747         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37748         perform test if it is, otherwise return successfully without testing.
37749         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37750         DEFAULT_STACK_PERMS define in stackinfo.h.
37751         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37752         defined in stackinfo.h.
37753         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37754         DEFAULT_STACK_PERMS defined in stackinfo.h.
37755         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37756         * sysdeps/ia64/stackinfo.h: Likewise.
37757         * sysdeps/s390/stackinfo.h: Likewise.
37758         * sysdeps/sh/stackinfo.h: Likewise.
37759         * sysdeps/sparc/stackinfo.h: Likewise.
37760         * sysdeps/x86_64/stackinfo.h: Likewise.
37761         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37762         PF_X for powerpc64.  Retain PF_X for powerpc32.
37764 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37766         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37767         accurately.
37768         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37769         GETDENTS_64BIT_ALIGNED.
37771 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37773         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37775 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37777         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37778         _GNU_SOURCE.
37780         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37781         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37782         Remove __restrict.
37783         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37784         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37786 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37788         [BZ #11655]
37789         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37790         are initialized.
37792 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37794         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37796 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37798         * po/it.po: Update from translation team.
37800 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37802         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37803         unused codes.
37805 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37807         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37809 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37811         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37812         specially.
37813         (gaih_getanswer_slice): Likewise.
37815 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37817         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37819 2010-05-31  Petr Baudis  <pasky@suse.cz>
37821         [BZ #11149]
37822         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37823         silently even in the chroot mode.
37825 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37827         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37828         last patch a bit.  Pretty printing
37830 2010-05-31  Petr Baudis <pasky@suse.cz>
37832         [BZ #10085]
37833         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37834         initialization of skip_initgroups_dyn.
37836 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37838         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37839         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37841 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37843         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37845 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37847         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37848         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37849         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37850         ($(objpfx)tst-fnmatch-mem): New rule.
37851         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37852         * posix/tst-fnmatch.c (main): Call mtrace.
37854 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37856         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37857         Support Intel processor model 6 and model 0x2c.
37859 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37861         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37862           signed comparison.
37864 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37866         [BZ #12205]
37867         * string/test-strncasecmp.c (check_result): New function.
37868         (do_one_test): Use it.
37869         (check1): New function.
37870         (test_main): Use it.
37871         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37872         Support strcasecmp and strncasecmp.
37874 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37876         [BZ #12194]
37877         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37878         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37880 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37882         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37883         IFUNC support.
37884         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37885         memset-x86-64.
37886         * sysdeps/x86_64/multiarch/bzero.S: New file.
37887         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37888         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37889         * sysdeps/x86_64/multiarch/memset.S: New file.
37890         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37892         Set bit_Prefer_SSE_for_memop for Intel processors.
37893         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37894         Define.
37895         (index_Prefer_SSE_for_memop): Define.
37896         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37898 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37900         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37901         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37903 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37905         [BZ #12191]
37906         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37907         (__x86_64_raw_data_cache_size_half): Likewise.
37908         (__x86_64_raw_shared_cache_size): Likewise.
37909         (__x86_64_raw_shared_cache_size_half): Likewise.
37911         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37912         (__x86_64_raw_data_cache_size_half): Likewise.
37913         (__x86_64_raw_shared_cache_size): Likewise.
37914         (__x86_64_raw_shared_cache_size_half): Likewise.
37915         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37916         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37917         and __x86_64_raw_shared_cache_size_half.  Round
37918         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37919         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37920         to multiple of 256 bytes.
37922 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37924         [BZ #12167]
37925         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37926         of inacessible symlinks.  Verify result of symlink before returning it.
37927         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37928         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37930 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37932         * math/math.h (isinf): Fix typo in comment.
37934 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37936         * po/da.po: Update from translation team.
37938 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37940         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37941         is added to the list.
37943 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37944             Ulrich Drepper  <drepper@gmail.com>
37946         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37947         the global list here.  Move code to...
37948         (_dl_add_to_namespace_list): ...here.  New function.
37949         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37950         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37951         * elf/dl-load.c (lose): Don't remove the element from the list.
37952         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37953         (_dl_map_object): Likewise.
37955 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37957         [BZ #12159]
37958         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37959         into all bytes of SSE register.
37960         Patch by Richard Li <richardpku@gmail.com>.
37962 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37964         [BZ #12140]
37965         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37966         perturbing.
37968 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37970         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37971         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37972         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37973         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37975         submachine.
37976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37978 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37980         * include/dlfcn.h (__RTLD_SECURE): Define.
37981         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37982         mode & __RTLD_SECURE instead.
37983         (open_path): Rename preloaded parameter to secure.
37984         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37985         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37986         * elf/dl-deps.c (openaux): Likewise.
37987         * elf/rtld.c (struct map_args): Remove is_preloaded.
37988         (map_doit): Don't use it.
37989         (dl_main): Likewise.
37990         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37991         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37993 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37995         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37996         (sysd-rules-targets): Remove duplicates.
37997         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37998         rtld-%.$o dependency.
38000 2010-10-18  Andreas Schwab  <schwab@redhat.com>
38002         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38003         _dl_map_object do it.
38005 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
38007         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38008         fast fma builtins, define the macros in the C99 standard.
38009         (FP_FAST_FMAF): Likewise.
38010         (FP_FAST_FMAL): Likewise.
38011         * sysdeps/x86_64/bits/mathdef.h: Likewise.
38013         * bits/mathdef.h: Update copyright year.
38014         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38016 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
38018         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38019         builtins, define the macros in the C99 standard.
38020         (FP_FAST_FMAF): Likewise.
38021         (FP_FAST_FMAL): Likewise.
38022         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38023         multiply/add.
38024         (FP_FAST_FMAF): Likewise.
38026 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
38028         [BZ #3268]
38029         * math/libm-test.inc (fma_test): Some new testcases.
38030         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38031         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38032         y and infinite z.  Do multiplication by C already in long double.
38033         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38035         y and infinite z.  Do bitwise or of inexact bit into u.d.
38036         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38037         * sysdeps/i386/fpu/s_fmaf.S: Removed.
38038         * sysdeps/i386/fpu/s_fma.S: Removed.
38039         * sysdeps/i386/fpu/s_fmal.S: Removed.
38041 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
38043         [BZ #3268]
38044         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38045         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38046         computation is not scheduled after fetestexcept.  Fix value
38047         of minimum denormal long double.
38049 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
38051         [BZ #3268]
38052         * math/libm-test.inc (fma_test): Add some more tests.
38053         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38054         correctly.
38056 2010-10-15  Andreas Schwab  <schwab@redhat.com>
38058         * scripts/data/localplt-s390-linux-gnu.data: New file.
38059         * scripts/data/localplt-s390x-linux-gnu.data: New file.
38061 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
38063         [BZ #3268]
38064         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38065         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38066         instead of dbl-64.
38067         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38068         inlines.
38069         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38070         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38071         if one of x and y is very large and the other is subnormal.
38072         * sysdeps/s390/fpu/s_fmaf.c: New file.
38073         * sysdeps/s390/fpu/s_fma.c: New file.
38074         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38075         * sysdeps/powerpc/fpu/s_fma.S: New file.
38076         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38077         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38078         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38080 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
38082         [BZ #3268]
38083         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38084         fma tests.
38085         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38086         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38087         * sysdeps/i386/i686/multiarch/s_fma.c: Include
38088         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38089         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38090         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38091         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38093 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
38095         [BZ #12078]
38096         * posix/regcomp.c (parse_branch): One more memory leak plugged.
38097         * posix/bug-regex31.input: Add test case.
38099 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38101         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38102         * posix/bug-regex31.input: New file.
38104         [BZ #12078]
38105         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38106         (parse_sub_exp): Fix last change, use postorder.
38108         * posix/bug-regex31.c: New file.
38109         * posix/Makefile: Add rules to build and run bug-regex31.
38111         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38113         [BZ #12078]
38114         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38116         [BZ #12108]
38117         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38118         to have entries in sys_siglist.
38120         [BZ #12093]
38121         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38122         be NULL.
38124 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
38126         [BZ #3268]
38127         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38128         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38129         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38130         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38131         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38132         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38133         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38134         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38135         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38136         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38137         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38138         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38139         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38140         * math/ftestexcept.c (fetestexcept): Likewise.
38141         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38142         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38143         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38144         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38145         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38146         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38147         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38149 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38151         [BZ #12107]
38152         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38153         newline.
38155 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
38157         * string/bug-strstr1.c: New file.
38158         * string/Makefile: Add rules to build and run bug-strstr1.
38160 2010-10-05  Eric Blake  <eblake@redhat.com>
38162         [BZ #12092]
38163         * string/str-two-way.h (two_way_long_needle): Always clear memory
38164         when skipping input due to the shift table.
38166 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
38168         [BZ #12005]
38169         * malloc/mcheck.c: Handle large requests.
38171         [BZ #12077]
38172         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38173         for strncmp and strncasecmp.
38174         * string/stratcliff.c: Add tests for strcmp and strncmp.
38175         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38177 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38179         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38180         __set_fpscr.
38182 2010-09-30  Andreas Jaeger  <aj@suse.de>
38184         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38185         (CGROUP_SUPER_MAGIC): Define.
38186         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38187         Handle btrfs and cgroup file systems.
38188         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38189         Likewise.
38191 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
38193         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38194         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38196 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38198         [BZ #12067]
38199         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38200         trying to locate the ELF header.
38202 2010-09-27  Andreas Schwab  <schwab@redhat.com>
38204         [BZ #11611]
38205         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38206         Mask out sign-bit copies when constructing f_fsid.
38208 2010-09-24  Petr Baudis <pasky@suse.cz>
38210         * debug/stack_chk_fail_local.c: Add missing licence exception.
38211         * debug/warning-nop.c: Likewise.
38213 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
38215         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38216         implementing getdents64 using getdents syscall, set d_type if
38217         __ASSUME_GETDENTS32_D_TYPE.
38219 2010-09-16  Andreas Schwab  <schwab@redhat.com>
38221         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38222         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38224 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
38226         [BZ #12037]
38227         * posix/unistd.h: Undo change of feature selection for ftruncate from
38228         2010-01-11.
38230 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
38232         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38233         detection.
38235 2010-09-20  Andreas Schwab  <schwab@redhat.com>
38237         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38238         fanotify_mark.
38239         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38241 2010-09-14  Andreas Schwab  <schwab@redhat.com>
38243         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38244         variables after CHECK_SP call.
38245         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38247 2010-09-13  Andreas Schwab  <schwab@redhat.com>
38248             Ulrich Drepper  <drepper@redhat.com>
38250         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38251         re-relocationg ld.so.
38252         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38253         _dl_init_paths call.
38254         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
38255         here anymore.
38257 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
38259         * resolv/res_init.c (__res_vinit): Count the default server we added.
38261 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
38262             Ulrich Drepper  <drepper@redhat.com>
38264         [BZ #11968]
38265         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38266         (____longjmp_chk): Use %ebx for saving value across system call.
38267         Add unwind info.
38269 2010-09-06  Andreas Schwab  <schwab@redhat.com>
38271         * manual/Makefile: Don't mix pattern rules with normal rules.
38273 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38275         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38276         operation.
38277         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38278         * libio/iofopncook.c (_IO_cookie_init): Likewise.
38279         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38280         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38281         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38282         Likewise.
38284 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
38286         [BZ #11979]
38287         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38288         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38290 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
38292         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38293         * sysdeps/x86_64/addmul_1.S: Likewise.
38294         * sysdeps/x86_64/lshift.S: Likewise.
38295         * sysdeps/x86_64/mul_1.S: Likewise.
38296         * sysdeps/x86_64/rshift.S: Likewise.
38297         * sysdeps/x86_64/sub_n.S: Likewise.
38298         * sysdeps/x86_64/submul_1.S: Likewise.
38300 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38302         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38303         Define __sched_param instead of SCHED_* and sched_param when
38304         <bits/sched.h> is included with __need_schedparam defined.
38305         * bits/sched.h [__need_schedparam]
38306         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38307         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38308         (__defined_schedparam): Define to 1.
38309         (__sched_param): New structure, identical to sched_param.
38310         (__need_schedparam): Undefine.
38312 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
38314         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38315         (epoll_create1): Declare.
38317         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38319 2010-08-31  Andreas Schwab  <schwab@redhat.com>
38321         [BZ #7066]
38322         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38323         shifting retval into place.
38325 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
38327         * nis/rpcsvc/nis.h: Update copyright notice.
38328         * nis/rpcsvc/nis.x: Likewise.
38329         * nis/rpcsvc/nis_callback.h: Likewise.
38330         * nis/rpcsvc/nis_callback.x: Likewise.
38331         * nis/rpcsvc/nis_object.x: Likewise.
38332         * nis/rpcsvc/nis_tags.h: Likewise.
38333         * nis/rpcsvc/yp.h: Likewise.
38334         * nis/rpcsvc/yp.x: Likewise.
38335         * nis/rpcsvc/ypupd.h: Likewise.
38336         * nis/yp_xdr.c: Likewise.
38337         * nis/ypupdate_xdr.c: Likewise.
38339         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
38340         mainly the body of pmap_getport.  Add parameters to specify timeouts.
38341         (pmap_getport): Use __libc_rpc_getport.
38342         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38343         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38344         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38346 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38349         fanotify_mark.
38351 2010-08-27  Roland McGrath  <roland@redhat.com>
38353         * sysdeps/i386/i686/multiarch/Makefile
38354         (CFLAGS-varshift.c): New variable.
38356 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38358         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38359         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38361         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38363         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38365 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38367         * sysdeps/x86_64/strlen.S: Unroll the loop.
38368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38369         strlen-sse2 strlen-sse2-bsf.
38370         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38371         __strlen_no_bsf if bit_Slow_BSF is set.
38372         (__strlen_sse42): Removed.
38373         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38374         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38376 2010-08-25  Roland McGrath  <roland@redhat.com>
38378         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38379         * sysdeps/x86_64/multiarch/varshift.c: New file.
38380         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38381         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38382         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38383         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38385 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38387         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38388         strlen-sse2 strlen-sse2-bsf.
38389         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38390         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38391         (__strlen_sse2): Removed.
38392         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38393         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38395         bit_Slow_BSF for Atom.
38396         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38397         (index_Slow_BSF): Define.
38398         (HAS_SLOW_BSF): Define.
38400 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38402         [BZ #10851]
38403         * resolv/res_init.c (__res_vinit): When no server address at all
38404         is given default to loopback.
38406 2010-08-24  Roland McGrath  <roland@redhat.com>
38408         * configure.in: Remove config-name.h generation.
38409         * configure: Regenerated.
38410         * config-name.in: File removed.
38411         * scripts/config-uname.sh: New file.
38412         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38413         ($(objdir)config-name.h): New target.
38415         * sunrpc/rpc_parse.h: Avoid nested comment.
38417 2010-08-24  Richard Henderson  <rth@redhat.com>
38418             Ulrich Drepper  <drepper@redhat.com>
38419             H.J. Lu  <hongjiu.lu@intel.com>
38421         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38423         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38424         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38425         _mm_alignr_epi8 with _mm_loadu_si128.
38426         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38427         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38428         (__m128i_shift_right): Removed.
38429         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38430         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38431         * sysdeps/x86_64/multiarch/varshift.h: New file.
38432         * sysdeps/x86_64/multiarch/varshift.S: New file.
38434 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38436         * configure.in: Move assembler checks to before sysdep dir checking.
38438 2010-08-20  Petr Baudis  <pasky@suse.cz>
38440         * LICENSES: Sync the sunrpc license.
38442 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38444         * sunrpc/auth_des.c: Update copyright notice once again.
38445         * sunrpc/auth_none.c: Likewise.
38446         * sunrpc/auth_unix.c: Likewise.
38447         * sunrpc/authdes_prot.c: Likewise.
38448         * sunrpc/authuxprot.c: Likewise.
38449         * sunrpc/bindrsvprt.c: Likewise.
38450         * sunrpc/clnt_gen.c: Likewise.
38451         * sunrpc/clnt_perr.c: Likewise.
38452         * sunrpc/clnt_raw.c: Likewise.
38453         * sunrpc/clnt_simp.c: Likewise.
38454         * sunrpc/clnt_tcp.c: Likewise.
38455         * sunrpc/clnt_udp.c: Likewise.
38456         * sunrpc/clnt_unix.c: Likewise.
38457         * sunrpc/des_crypt.c: Likewise.
38458         * sunrpc/des_soft.c: Likewise.
38459         * sunrpc/get_myaddr.c: Likewise.
38460         * sunrpc/getrpcport.c: Likewise.
38461         * sunrpc/key_call.c: Likewise.
38462         * sunrpc/key_prot.c: Likewise.
38463         * sunrpc/openchild.c: Likewise.
38464         * sunrpc/pm_getmaps.c: Likewise.
38465         * sunrpc/pm_getport.c: Likewise.
38466         * sunrpc/pmap_clnt.c: Likewise.
38467         * sunrpc/pmap_prot.c: Likewise.
38468         * sunrpc/pmap_prot2.c: Likewise.
38469         * sunrpc/pmap_rmt.c: Likewise.
38470         * sunrpc/rpc/auth.h: Likewise.
38471         * sunrpc/rpc/auth_unix.h: Likewise.
38472         * sunrpc/rpc/clnt.h: Likewise.
38473         * sunrpc/rpc/des_crypt.h: Likewise.
38474         * sunrpc/rpc/key_prot.h: Likewise.
38475         * sunrpc/rpc/netdb.h: Likewise.
38476         * sunrpc/rpc/pmap_clnt.h: Likewise.
38477         * sunrpc/rpc/pmap_prot.h: Likewise.
38478         * sunrpc/rpc/pmap_rmt.h: Likewise.
38479         * sunrpc/rpc/rpc.h: Likewise.
38480         * sunrpc/rpc/rpc_des.h: Likewise.
38481         * sunrpc/rpc/rpc_msg.h: Likewise.
38482         * sunrpc/rpc/svc.h: Likewise.
38483         * sunrpc/rpc/svc_auth.h: Likewise.
38484         * sunrpc/rpc/types.h: Likewise.
38485         * sunrpc/rpc/xdr.h: Likewise.
38486         * sunrpc/rpc_clntout.c: Likewise.
38487         * sunrpc/rpc_cmsg.c: Likewise.
38488         * sunrpc/rpc_common.c: Likewise.
38489         * sunrpc/rpc_cout.c: Likewise.
38490         * sunrpc/rpc_dtable.c: Likewise.
38491         * sunrpc/rpc_hout.c: Likewise.
38492         * sunrpc/rpc_main.c: Likewise.
38493         * sunrpc/rpc_parse.c: Likewise.
38494         * sunrpc/rpc_parse.h: Likewise.
38495         * sunrpc/rpc_prot.c: Likewise.
38496         * sunrpc/rpc_sample.c: Likewise.
38497         * sunrpc/rpc_scan.c: Likewise.
38498         * sunrpc/rpc_scan.h: Likewise.
38499         * sunrpc/rpc_svcout.c: Likewise.
38500         * sunrpc/rpc_tblout.c: Likewise.
38501         * sunrpc/rpc_util.c: Likewise.
38502         * sunrpc/rpc_util.h: Likewise.
38503         * sunrpc/rpcinfo.c: Likewise.
38504         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38505         * sunrpc/rpcsvc/key_prot.x: Likewise.
38506         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38507         * sunrpc/rpcsvc/mount.x: Likewise.
38508         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38509         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38510         * sunrpc/rpcsvc/rex.x: Likewise.
38511         * sunrpc/rpcsvc/rstat.x: Likewise.
38512         * sunrpc/rpcsvc/rusers.x: Likewise.
38513         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38514         * sunrpc/rpcsvc/spray.x: Likewise.
38515         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38516         * sunrpc/rtime.c: Likewise.
38517         * sunrpc/svc.c: Likewise.
38518         * sunrpc/svc_auth.c: Likewise.
38519         * sunrpc/svc_authux.c: Likewise.
38520         * sunrpc/svc_raw.c: Likewise.
38521         * sunrpc/svc_run.c: Likewise.
38522         * sunrpc/svc_simple.c: Likewise.
38523         * sunrpc/svc_tcp.c: Likewise.
38524         * sunrpc/svc_udp.c: Likewise.
38525         * sunrpc/svc_unix.c: Likewise.
38526         * sunrpc/svcauth_des.c: Likewise.
38527         * sunrpc/xcrypt.c: Likewise.
38528         * sunrpc/xdr.c: Likewise.
38529         * sunrpc/xdr_array.c: Likewise.
38530         * sunrpc/xdr_float.c: Likewise.
38531         * sunrpc/xdr_mem.c: Likewise.
38532         * sunrpc/xdr_rec.c: Likewise.
38533         * sunrpc/xdr_ref.c: Likewise.
38534         * sunrpc/xdr_sizeof.c: Likewise.
38535         * sunrpc/xdr_stdio.c: Likewise.
38537         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38538         handling.
38540 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38542         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38544 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38546         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38547         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38548         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38549         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38550         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38551         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38552         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38553         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38554         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38555         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38556         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38557         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38558         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38559         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38561 2010-07-26  Anton Blanchard  <anton@samba.org>
38563         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38564         * malloc/arena.c (heap_trim): Likewise.
38566 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38568         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38569         here.  Not...
38570         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38571         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38573 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38575         * sysdeps/i386/elf/Makefile: New file.
38577 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38579         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38580         from fanotify_init.
38581         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38582         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38584 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38586         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38587         of strncasecmp_l.
38588         * sysdeps/multiarch/strcmp.S: Likewise.
38590 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38592         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38593         strncase_l-nonascii.
38594         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38595         Add strncase_l-ssse3.
38596         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38597         * sysdeps/x86_64/strcmp.S: Likewise.
38598         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38599         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38600         * sysdeps/x86_64/strncase.S: New file.
38601         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38602         * sysdeps/x86_64/strncase_l.S: New file.
38603         * string/Makefile (strop-tests): Add strncasecmp.
38604         * string/test-strncasecmp.c: New file.
38606         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38607         warning.
38609         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38610         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38612 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38614         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38616 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38618         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38619         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38620         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38622 2010-05-01  Alan Modra  <amodra@gmail.com>
38624         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38625         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38626         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38627         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38628         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38629         tidying.  Don't tail-call __sigjmp_save for static lib.
38630         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38631         save location.
38632         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38633         (CALL_MCOUNT): Add eh info, and nop after bl.
38634         (TAIL_CALL_SYSCALL_ERROR): New macro.
38635         (PSEUDO_RET): Use it.
38636         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38637         Correct save location of integer regs and cr.
38638         (_dl_profile_resolve): Correct cr save location.  Delete nops
38639         after bl when SHARED.  Reduce cfi size a little by better
38640         placement of cfi directives.
38641         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38642         make a stack frame.  Instead use parm save area as a temp.
38643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38644         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38646         Don't make a stack frame for parent, use parm save area.
38647         Increase child stack frame to 112 bytes.  Don't save unused reg,
38648         and adjust reg usage.  Set up cfi on error recovery and
38649         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38651         (__makecontext): Add dummy nop after jump to exit.
38652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38653         Use correct parm save area and cr save, reduce stack frame.
38654         Correct cfi for possible PSEUDO_RET frame setup.
38655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38656         Branch to local label emitted by PSEUDO_RET rather than
38657         __syscall_error.
38659 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38661         [BZ #11904]
38662         * locale/programs/locale.c (print_assignment): New function.
38663         (show_locale_vars): Use it.
38665 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38667         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38668         field.
38669         (struct statfs64): Likewise.
38670         (_STATFS_F_FLAGS): Define.
38671         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38672         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38673         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38674         (ST_VALID): Define locally.
38675         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38676         __statvfs_getflags, use the provided value.
38677         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38678         __ASSUME_STATFS_F_FLAGS.
38680         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38682         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38683         Add sys/fanotify.h.
38684         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38685         fanotify_mask for GLIBC_2.13.
38686         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38687         fanotify_init and fanotify_mark.
38688         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38689         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38691         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38692         Add prlimit.
38693         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38694         prlimit64 for GLIBC_2.13.
38695         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38696         prlimit64.
38697         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38698         syscall.
38699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38700         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38701         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38702         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38703         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38704         add prlimit alias.
38705         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38707         [BZ #11903]
38708         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38709         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38711         * nss/Makefile: Add rules to build and run tst-nss-test1.
38712         * shlib-versions: Add entry for libnss_test1.
38713         * nss/nss_test1.c: New file.
38714         * nss/tst-nss-test1.c: New file.
38716         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38717         (__nss_configure_lookup): Set appropriate entry in
38718         __nss_configure_lookup to true.
38719         * nss/nsswitch.h: Define enum with indeces of databases in
38720         databases and __nss_database_custom arrays.  Declare
38721         __nss_database_custom.
38722         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38723         to avoid using nscd when custom rules are installed.
38724         * nss/getXXbyYY_r.c: Likewise.
38725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38727         * nss/nss_files/files-parse.c: Whitespace fixes.
38729 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38731         [BZ #11883]
38732         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38733         * posix/fnmatch_loop.c: Likewise.
38735 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38737         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38738         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38739         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38740         * Versions.def [GLIBC_2.13]: Add.
38742 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38744         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38745         Also fail if tpwd after pwuid call is NULL.
38747 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38749         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38750         when converting to ms.
38752 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38754         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38755         EOPNOTSUPP errors with ENOTTY.
38756         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38757         EOPNOTSUPP errors with ENOTTY.
38759 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38761         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38762         Add strcasecmp_l-ssse3.
38763         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38764         strcasecmp.
38765         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38766         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38767         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38769 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38771         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38773         * string/Makefile (strop-tests): Add strcasecmp.
38774         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38775         strcasecmp_l-nonascii.
38776         (gen-as-const-headers): Add locale-defines.sym.
38777         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38778         * sysdeps/x86_64/strcasecmp.S: New file.
38779         * sysdeps/x86_64/strcasecmp_l.S: New file.
38780         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38781         * sysdeps/x86_64/locale-defines.sym: New file.
38782         * string/test-strcasecmp.c: New file.
38784         * string/test-strcasestr.c: Test both ends of the range of characters.
38785         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38787 2010-07-29  Roland McGrath  <roland@redhat.com>
38789         [BZ #11856]
38790         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38792 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38794         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38795         for ld.so.
38797 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38799         * manual/memory.texi (Malloc Tunable Parameters): Document
38800         M_PERTURB.
38802 2010-07-26  Roland McGrath  <roland@redhat.com>
38804         [BZ #11840]
38805         * configure.in (-fgnu89-inline check): Set and substitute
38806         gnu89_inline, not libc_cv_gnu89_inline.
38807         * configure: Regenerated.
38808         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38810 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38812         * string/test-strnlen.c: New file.
38813         * string/Makefile (strop-tests): Add strnlen.
38814         * string/tester.c (test_strnlen): Add a few more test cases.
38815         * string/tst-strlen.c: Better error reporting.
38817         * sysdeps/x86_64/strnlen.S: New file.
38819 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38821         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38822         lower-latency instructions.
38824 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38826         * string/test-strcasestr.c: New file.
38827         * string/test-strstr.c: New file.
38828         * string/Makefile (strop-tests): Add strstr and strcasestr.
38829         * string/str-two-way.h: Don't undefine MAX.
38830         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38832 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38834         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38835         strcasestr-nonascii.
38836         (CFLAGS-strcasestr-nonascii.c): Define.
38837         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38838         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38839         Remove unused attribute.
38841 2010-07-20  Roland McGrath  <roland@redhat.com>
38843         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38844         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38845         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38846         like LD_HWCAP_MASK can disable hwcaps.
38848 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38850         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38852 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38854         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38855         call in strcasestr.
38856         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38857         __strcasestr_sse42_nonascii.
38858         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38859         strcasestr-nonascii.c.
38860         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38862 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38864         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38865         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38866         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38867         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38869 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38871         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38872         fcntl.
38874 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38876         [BZ #11577]
38877         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38878         dl_signal_cerror.
38880 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38882         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38883         _PC_PIPE_BUF using F_GETPIPE_SZ.
38885 2010-07-05  Roland McGrath  <roland@redhat.com>
38887         * manual/arith.texi (Rounding Functions): Fix rint description
38888         implicit in round description.
38890 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38892         * elf/Makefile: Fix linking for a few tests to make recent linker
38893         happy.
38895 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38897         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38898         $(common-objpfx)libc_nonshared.a.
38900 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38902         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38903         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38904         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38905         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38906         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38907         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38908         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38909         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38924         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38925         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38926         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38927         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38928         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38929         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38930         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38931         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38932         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38933         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38934         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38935         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38951 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38953         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38954         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38955         * string/memmove.c (memmove): Renamed to ...
38956         (MEMMOVE): ...this.  Default to memmove.
38957         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38958         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38959         (END_CHK): Define.
38960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38961         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38962         mempcpy-ssse3-back memmove-ssse3-back.
38963         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38964         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38965         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38966         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38967         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38968         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38969         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38970         * sysdeps/x86_64/multiarch/memmove.c: New file.
38971         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38972         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38973         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38974         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38975         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38976         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38977         Define.
38978         (index_Fast_Copy_Backward): Define.
38979         (HAS_ARCH_FEATURE): Define.
38980         (HAS_FAST_REP_STRING): Define.
38981         (HAS_FAST_COPY_BACKWARD): Define.
38983 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38985         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38986         Restore proper fallback handling.
38988 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38990         [BZ #11701]
38991         * posix/group_member.c (__group_member): Correct checking loop.
38993         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38994         OOM in getpwuid_r correctly.  Return error number when the caller
38995         should return, otherwise -1.
38996         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38997         call returning > 0 value.
38998         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39000 2010-06-07  Andreas Schwab  <schwab@redhat.com>
39002         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39003         libc_nonshared.a from targets in modules-names.
39005 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
39007         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39008         requires it.
39010 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
39012         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39013         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39014         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39015         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39017 2010-06-02  Andreas Schwab  <schwab@redhat.com>
39019         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39021 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
39023         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39024         and F_GETPIPE_SZ.
39025         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39026         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39027         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39028         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39029         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39030         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39032 2010-06-14  Roland McGrath  <roland@redhat.com>
39034         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39036 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
39038         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39039         __REDIRECT followed by __THROW.
39040         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39041         * posix/getopt.h (getopt): Likewise.
39043 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39045         * hurd/lookup-at.c (__file_name_lookup_at): Accept
39046         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
39047         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39048         in AT_FLAGS.
39049         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39050         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39052 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
39054         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39056 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
39058         [BZ #11640]
39059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39060         Properly check family and model.
39062 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
39064         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39066 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
39068         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39070 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
39072         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39073         symbol reference.
39075 2010-05-19  Andreas Schwab  <schwab@redhat.com>
39077         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39078         symbol reference.
39080 2010-05-21  Andreas Schwab  <schwab@redhat.com>
39082         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39083         and internal_recvmmsg.
39084         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39085         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39086         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39087         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39089         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39090         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39091         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39093 2010-05-20  Andreas Schwab  <schwab@redhat.com>
39095         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39097 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
39099         POWER7 optimizations.
39100         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39101         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39103 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
39105         * version.h: Update for 2.13 development version.
39107 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
39109         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39110         exceptions.  Return 0.
39112 2010-05-07  Roland McGrath  <roland@redhat.com>
39114         * elf/ldconfig.c (main): Add a const.
39116 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
39118         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39119         (args_options): Add no-idn option.
39120         (ahosts_keys_int): Add idn_flags to ai_flags.
39121         (parse_option): Handle 'i' option to clear idn_flags.
39123         * malloc/malloc.c (_int_free): Possible race in the most recently
39124         added check.  Only act on the data if no current modification
39125         happened.
39127 See ChangeLog.17 for earlier changes.