Move powerpc llround implementations to powerpc32 directory.
[glibc.git] / ChangeLog
blobb2e971ea85f475775d3d0dccd60c37d04e3c1ac6
1 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
4         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8         [BZ #16422]
9         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
10         New configure test.
11         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14         <math_private.h> and <stdint.h>.
15         (__llrint): Avoid conversions to long long int where those might
16         raise spurious exceptions.
17         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18         <math_private.h> and <stdint.h>.
19         (__llrintf): Avoid conversions to long long int where those might
20         raise spurious exceptions.
22 2015-10-12  Andreas Schwab  <schwab@suse.de>
24         [BZ #18969]
25         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
26         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
27         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
28         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29         $(gen-locales).
30         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
31         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
32         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
33         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
34         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
35         $(gen-locales).
36         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
37         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
38         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
39         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
40         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
41         ($(objpfx)tst-ftell-active-handler.out)
42         ($(objpfx)tst-ftell-append.out)
43         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
44         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
45         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
46         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
47         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
48         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
49         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
50         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
51         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
52         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
53         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
54         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
55         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
56         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
57         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
58         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
59         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
60         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
61         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
62         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
63         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
64         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
65         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
66         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
67         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
68         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
69         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
70         $(gen-locales).
71         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
72         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
73         $(gen-locales).
74         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
75         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
76         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
77         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
78         $(gen-locales).
79         * libio/tst_wprintf2.c (main): Use explicit locale.
80         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
82 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
85         __msg_sig_post.
86         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
88 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
90         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
91         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
93         * sysdeps/arm/libm-test-ulps: Regenerated.
95         [BZ #15470]
96         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
98         [BZ #16399]
99         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
100         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
101         and <fix-fp-int-convert-overflow.h>.
102         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
103         FIX_DBL_LLONG_CONVERT_OVERFLOW.
104         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
105         and <fix-fp-int-convert-overflow.h>.
106         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
107         FIX_DBL_LLONG_CONVERT_OVERFLOW.
108         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
109         <fix-fp-int-convert-overflow.h>.
110         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
111         FIX_DBL_LLONG_CONVERT_OVERFLOW.
112         * sysdeps/ieee754/dbl-64/s_lround.c: Include
113         <fix-fp-int-convert-overflow.h>.
114         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
115         FIX_DBL_LLONG_CONVERT_OVERFLOW.
116         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
117         and <fix-fp-int-convert-overflow.h>.
118         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
119         FIX_DBL_LLONG_CONVERT_OVERFLOW.
120         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
121         <limits.h> and <fix-fp-int-convert-overflow.h>.
122         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
123         FIX_DBL_LLONG_CONVERT_OVERFLOW.
124         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
125         and <fix-fp-int-convert-overflow.h>.
126         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
127         FIX_DBL_LLONG_CONVERT_OVERFLOW.
128         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
129         and <fix-fp-int-convert-overflow.h>.
130         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
131         FIX_DBL_LLONG_CONVERT_OVERFLOW.
132         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
134 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
136         [BZ #18589]
137         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
138         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
139         $(gen-locales).
141 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
142             Phil Blundell <pb@pbcl.net>
144         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
145         * nptl/tst-cancel26.c: New file.
146         * nptl/tst-cancel27.c: Likewise.
148 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
150         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
151         __ILP32__ isn't defined.
152         (lrint): Likewise.
153         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
154         (lrintf): Likewise.
155         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
156         (lrintl): Likewise.
157         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
158         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
159         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
161 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
163         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
164         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
166         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
167         file.
168         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
169         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
171 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
173         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
174         configure test.
175         * sysdeps/i386/configure: Regenerated.
176         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
177         configure test.
178         * sysdeps/x86_64/configure: Regenerated.
179         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
180         Make code unconditional.
182         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
183         test.
184         * sysdeps/i386/configure: Regenerated.
185         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
186         test.
187         * sysdeps/x86_64/configure: Regenerated.
188         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
189         Make code unconditional.
190         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
191         Likewise.
192         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
193         Likewise.
194         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
195         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
196         code unconditional.
197         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
198         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
199         code unconditional.
200         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
201         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
202         code unconditional.
203         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
204         code unconditional.
205         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
206         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
207         code unconditional.
208         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
209         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
210         code unconditional.
211         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
212         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
213         code unconditional.
214         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
215         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
216         code unconditional.
217         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
218         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
220         [BZ #19095]
221         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
222         mantissa to long int before shifting left.
224 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
226         [BZ #19094]
227         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
228         <limits.h>.
229         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
230         when result overflows but exception would not result from cast.
231         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
232         <limits.h>.
233         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
234         when result overflows but exception would not result from cast.
235         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
236         <limits.h>.
237         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
238         when result overflows but exception would not result from cast.
239         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
240         <limits.h>.
241         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
242         when result overflows but exception would not result from cast.
243         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
244         <limits.h>.
245         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
246         when result overflows but exception would not result from cast.
247         * math/libm-test.inc (lrint_test_data): Add more tests.
248         (llrint_test_data): Likewise.
250 2015-10-08  Roland McGrath  <roland@hack.frob.com>
252         [BZ #18872]
253         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
254         Move out from under [$(run-built-tests) = yes] conditional.
255         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
256         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
258 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
260         [BZ #18589]
261         * string/Makefile (tests): Add bug-strcoll2.
262         (LOCALES): Add cs_CZ.UTF-8.
263         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
265         [BZ #18589]
266         * string/bug-strcoll2.c: New file.
267         * locale/categories.def: Revert commit
268         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
269         * locale/langinfo.h: Likewise.
270         * locale/localeinfo.h: Likewise.
271         * locale/C-collate.c: Likewise.
272         * locale/programs/ld-collate.c (collate_output): Likewise.
273         * string/strcoll_l.c (STRDIFF): Likewise.
274         (STRCOLL): Likewise.
275         * wcsmbs/wcscoll_l.c: Likewise.
277 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
279         * math/libm-test.inc (lround_test_data): Do not expect the absence
280         of "inexact" for some tests with non-integer arguments.
281         (llround_test_data): Likewise.
283         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
284         test.
285         (libc_cv_cc_sse2avx): Likewise.
286         * sysdeps/i386/configure: Regenerated.
287         * sysdeps/i386/i686/multiarch/Makefile
288         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
289         [$(subdir) = math].
290         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
291         code unconditional.
292         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
293         Likewise.
294         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
295         Likewise.
296         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
297         Likewise.
298         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
299         test.
300         (libc_cv_cc_sse2avx): Likewise.
301         * sysdeps/x86_64/configure: Regenerated.
302         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
303         unconditional.
304         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
305         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
306         unconditional.
307         (_dl_runtime_profile)
308         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
309         conditional code.
310         * sysdeps/x86_64/fpu/multiarch/Makefile
311         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
312         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
313         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
314         * sysdeps/x86_64/fpu/multiarch/e_exp.c
315         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
316         * sysdeps/x86_64/fpu/multiarch/e_log.c
317         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
318         * sysdeps/x86_64/fpu/multiarch/s_atan.c
319         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
320         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
321         Likewise.
322         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
323         Likewise.
324         * sysdeps/x86_64/fpu/multiarch/s_sin.c
325         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
326         * sysdeps/x86_64/fpu/multiarch/s_tan.c
327         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
328         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
329         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
330         (HAVE_SSE2AVX_SUPPORT): Likewise.
332 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
334         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
335         instead of #pragma optimize.
337 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
339         [BZ #17195]
340         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
341         as is similarly done in systrim and _int_free already.
343 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
345         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
347 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
349         [BZ #19088]
350         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
351         <limits.h>.
352         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
353         overflows but exception would not result from cast.
354         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
355         and <limits.h>.
356         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
357         overflows but exception would not result from cast.
358         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
359         <limits.h>.
360         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
361         overflows but exception would not result from cast.
362         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
363         <limits.h>.
364         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
365         overflows but exception would not result from cast.
366         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
367         <limits.h>.
368         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
369         overflows but exception would not result from cast.
370         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
371         <limits.h>.
372         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
373         overflows but exception would not result from cast.
374         * math/libm-test.inc (lround_test_data): Add more tests.
375         (llround_test_data): Likewise.
377 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
379         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
380         (CFLAGS-ialloc.c): Ditto.
381         (CFLAGS-scheck.c): Ditto.
383 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
385         [BZ #19086]
386         * manual/filesys.texi (Storage Allocation): Fix argument order for
387         posix_fallocate64.
389 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
391         [BZ #19085]
392         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
393         exponent below 48 inside case for non-overflowing exponent.
394         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
396 2015-10-07  Florian Weimer  <fweimer@redhat.com>
398         * iconvdata/cp737.h (from_idx): Add const.
399         * iconvdata/cp775.h (from_idx): Likewise.
401 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
403         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
404         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
405         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
407         [BZ #19079]
408         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
409         file, conditioned on [!_LP64].
410         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
411         [!_LP64] (__lround): Do not define as function or alias.
412         [!_LP64] (lround): Likewise.
413         [!_LP64] (__lroundl): Likewise.
414         [!_LP64] (lroundl): Likewise.
415         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
416         macro.
417         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
418         Likewise.
420 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
422         * math/libm-test.inc (lrint_test_data): Add more tests.
423         (llrint_test_data): Likewise.
424         (lround_test_data): Likewise.
425         (llround_test_data): Likewise.
427         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
428         (llrint_test_data): Add tests used for lrint.
430         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
431         test.
432         * sysdeps/i386/configure: Regenerated.
433         * sysdeps/i386/i686/multiarch/Makefile
434         [$(config-cflags-sse4) = yes]: Make code unconditional.
435         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
436         Likewise.
437         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
438         Likewise.
439         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
440         test.
441         * sysdeps/x86_64/configure: Regenerated.
442         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
443         Make code unconditional.
444         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
445         Likewise.
446         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
447         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
449         * scripts/rpm2dynsym.sh: Remove file.
451 2015-10-06  Florian Weimer  <fweimer@redhat.com>
453         * configure.ac (libc_cv_cxx_thread_local): Define.
454         * configure: Regenerate.
455         * config.make.in (have-cxx-thread_local): Define.
456         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
457         (LDLIBS-tst-thread_local1): Define.
458         (tests): Add tst-thread_local1.
459         [have-cxx-thread_local != yes] (tests-unsupported): Add
460         tst-thread_local1.
461         * nptl/tst-thread_local1.cc: New file.
463 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
465         [BZ #19078]
466         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
467         (u_thres): Likewise.
468         (__expl): Determine whether to call __kernel_standard_l based on
469         value of result, not argument.
471         * math/libm-test.inc (scalb_test_data): Add more expectations for
472         the "inexact" exception.
474         [BZ #19077]
475         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
476         0.0L for argument 1.0L.
478         [BZ #19076]
479         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
480         constant 0.0L when computing infinite result.
482 2015-10-06  Florian Weimer  <fweimer@redhat.com>
484         [BZ #10432]
485         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
486         malloc_usable_size.
488 2015-10-06  Florian Weimer  <fweimer@redhat.com>
490         [BZ #19018]
491         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
492         Mangle function pointer before storing it.
493         (__call_tls_dtors): Demangle function pointer before calling it.
495 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
497         [BZ #19012]
498         * iconv/gconv_db.c (gen_steps): Check for additional errors.
499         Clean up on failure.
501 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
503         [BZ #19071]
504         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
505         long int variable to store possibly incremented high part of
506         mantissa.
507         * math/libm-test.inc (lround_test_data): Add tests used for
508         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
509         for tests requiring 64-bit long.  Do not condition tests on
510         [TEST_FLOAT] unnecessarily.
511         (llround_test_data): Add tests used for lround.  Add another
512         expectation for the "inexact" exception.  Do not condition tests
513         on [TEST_FLOAT] unnecessarily.
515         [BZ #887]
516         [BZ #19049]
517         [BZ #19050]
518         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
519         * sysdeps/ieee754/dbl-64/e_log10.c: Include
520         <fix-int-fp-convert-zero.h>.
521         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
522         * sysdeps/ieee754/dbl-64/e_log2.c: Include
523         <fix-int-fp-convert-zero.h>.
524         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
525         * sysdeps/ieee754/dbl-64/s_erf.c: Include
526         <fix-int-fp-convert-zero.h>.
527         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
528         * sysdeps/ieee754/dbl-64/s_logb.c: Include
529         <fix-int-fp-convert-zero.h>.
530         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
531         * sysdeps/ieee754/flt-32/e_log10f.c: Include
532         <fix-int-fp-convert-zero.h>.
533         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
534         * sysdeps/ieee754/flt-32/e_log2f.c: Include
535         <fix-int-fp-convert-zero.h>.
536         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
537         * sysdeps/ieee754/flt-32/s_erff.c: Include
538         <fix-int-fp-convert-zero.h>.
539         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
540         * sysdeps/ieee754/flt-32/s_logbf.c: Include
541         <fix-int-fp-convert-zero.h>.
542         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
543         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
544         <fix-int-fp-convert-zero.h>.
545         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
547         <fix-int-fp-convert-zero.h>.
548         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
549         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
550         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
551         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
552         file.
553         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
555 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
557         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
559 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
561         [BZ #19059]
562         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
563         overflowing computation.
564         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
565         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
566         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
567         Likewise.
568         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
569         Likewise.
570         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
571         Likewise.
572         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
573         Likewise.
574         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
575         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
576         Likewise.
577         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
578         Likewise.
579         * math/libm-test.inc (nexttoward_test_data): Add more tests.
581         * nss/rewrite_field.c (__nss_rewrite_field): Use
582         internal_function.
583         * nss/valid_field.c (__nss_valid_field): Likewise.
584         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
586 2015-10-02  Florian Weimer  <fweimer@redhat.com>
588         [BZ #18724]
589         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
590         (__nss_invalid_field_characters, __nss_valid_field)
591         (__nss_valid_list_field, __nss_rewrite_field): Declare.
592         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
593         tst-field.c: New file.
594         * nss/Makefile (routines): Add valid_field, rewrite_field.
595         (tests-static): Define unconditionally.
596         (tests): Include tests-static.
597         [build-static-nss] (tests-static): Use append.
598         [build-static-nss] (tests): Remove modification.
599         * nss/getent.c (print_group): Call putgrent.  Report error.
600         (print_gshadow): Call putsgent.  Report error.
601         (print_passwd): Call putpwent.  Report error.
602         (print_shadow): Call putspent.  Report error.
603         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
604         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
605         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
606         name, password, directory, shell fields for valid syntax.  Rewrite
607         GECOS field to match syntax.
608         * pwd/Makefile (tests): Add tst-putpwent.
609         * pwd/tst-putpwent.c: New file.
610         * grp/putgrent.c (putgrent): Convert to ISO function definition.
611         Check grName, grpasswd, gr_mem fields for valid syntax.
612         Change loop variable i to size_t.
613         * grp/Makefile (tests): Add tst-putgrent.
614         * grp/tst-putgrent.c: New file.
615         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
616         valid syntax.
617         * shadow/Makefile (tests): Add tst-putspent.
618         * shadow/tst-putspent.c: New file.
619         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
620         sg_mem fields for valid syntax.
621         * gshadow/Makefile (tests): Add tst-putsgent.
622         * gshadow/tst-putsgent.c: New file.
624 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
626         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
627         assembly instructions.
629 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
631         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
632         prefix from operands.
634 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
636         [BZ #16347]
637         [BZ #19046]
638         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
639         <libc-internal.h>.
640         (MAXLGM): Do not use diagnostic control macros.
641         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
642         threshold for ldbl-128ibm.
643         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
644         instead of multiplying by log then subtracting.
645         * math/auto-libm-test-in: Add more tests of lgamma.
646         * math/auto-libm-test-out: Regenerated.
648         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
649         (TYPE_HEX_DIG): Likewise.
650         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
651         precisions when printing floating-point numbers.
652         (check_float_internal): Likewise.
654 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
656         [BZ #16620]
657         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
658         of log (10) rounded downward to 48 bits.
659         (log10_low): Use corresponding low part of log (10).
661         [BZ #19032]
662         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
663         compute result as (x - x) / (x - x) not as 0 / 0.
664         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
665         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
667         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
668         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
669         and expm1.
670         * math/auto-libm-test-out: Regenerated.
671         * math/libm-test.inc (acos_test_data): Add more tests.
672         (asin_test_data): Likewise.
673         (asinh_test_data): Likewise.
674         (atan_test_data): Likewise.
675         (atanh_test_data): Likewise.
676         (atan2_test_data): Likewise.
677         (cbrt_test_data): Likewise.
678         (ceil_test_data): Likewise.
679         (copysign_test_data): Likewise.
680         (cos_test_data): Likewise.
681         (cosh_test_data): Likewise.
682         (erf_test_data): Likewise.
683         (erfc_test_data): Likewise.
684         (exp_test_data): Likewise.
685         (exp10_test_data): Likewise.
686         (exp2_test_data): Likewise.
687         (expm1_test_data): Likewise.
688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
690 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
692         [BZ #19006]
693         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
694         to ...
695         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
696         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
697         to ...
698         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
699         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
700         to ...
701         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
702         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
703         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
704         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
705         to ...
706         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
707         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
708         Moved to ...
709         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
710         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
711         Moved to ...
712         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
713         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
714         to ...
715         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
716         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
717         Moved to ...
718         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
719         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
720         to ...
721         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
722         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
723         Removed.
724         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
725         Likewise.
726         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
727         Likewise.
728         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
729         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
730         Likewise.
731         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
732         Likewise.
733         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
734         Likewise.
735         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
736         Likewise.
737         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
738         Likewise.
739         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
740         Likewise.
741         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
742         Likewise.
743         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
744         Likewise.
745         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
746         Likewise.
747         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
748         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
749         Likewise.
750         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
751         Likewise.
752         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
753         Likewise.
754         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
755         Likewise.
756         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
757         Likewise.
758         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
759         Replace ../i486/pthread_cond_timedwait.S with
760         ../pthread_cond_timedwait.S.
762 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
764         * math/libm-test.inc (acos_test_data): Refine expectations for
765         errno and "inexact" exceptions.
766         (acosh_test_data): Likewise.
767         (asin_test_data): Likewise.
768         (asinh_test_data): Likewise.
769         (atan_test_data): Likewise.
770         (atanh_test_data): Likewise.
771         (atan2_test_data): Likewise.
772         (cbrt_test_data): Likewise.
773         (ceil_test_data): Likewise.
774         (copysign_test_data): Likewise.
775         (cosh_test_data): Likewise.
776         (erf_test_data): Likewise.
777         (erfc_test_data): Likewise.
778         (exp_test_data): Likewise.
779         (exp10_test_data): Likewise.
780         (exp2_test_data): Likewise.
781         (expm1_test_data): Likewise.
782         (fabs_test_data): Likewise.
783         (floor_test_data): Likewise.
784         (fma_test_data): Likewise.
785         (fmax_test_data): Likewise.
786         (fmin_test_data): Likewise.
787         (fmod_test_data): Likewise.
788         (fpclassify_test_data): Likewise.
789         (frexp_test_data): Likewise.
790         (hypot_test_data): Likewise.
791         (ilogb_test_data): Likewise.
792         (isgreater_test_data): Likewise.
793         (isgreaterequal_test_data): Likewise.
794         (isinf_test_data): Likewise.
795         (isless_test_data): Likewise.
796         (islessequal_test_data): Likewise.
797         (islessgreater_test_data): Likewise.
798         (isnan_test_data): Likewise.
799         (isnormal_test_data): Likewise.
800         (issignaling_test_data): Likewise.
801         (isunordered_test_data): Likewise.
802         (j0_test_data): Likewise.
803         (j1_test_data): Likewise.
804         (jn_test_data): Likewise.
805         (lgamma_test_data): Likewise.
806         (lrint_test_data): Likewise.
807         (llrint_test_data): Likewise.
808         (log_test_data): Likewise.
809         (log10_test_data): Likewise.
810         (log1p_test_data): Likewise.
811         (log2_test_data): Likewise.
812         (logb_test_data): Likewise.
813         (lround_test_data): Likewise.
814         (llround_test_data): Likewise.
815         (modf_test_data): Likewise.
816         (nearbyint_test_data): Likewise.
817         (nextafter_test_data): Likewise.
818         (nexttoward_test_data): Likewise.
819         (pow_test_data): Likewise.
820         (remainder_test_data): Likewise.
821         (remquo_test_data): Likewise.
822         (rint_test_data): Likewise.
823         (round_test_data): Likewise.
824         (signbit_test_data): Likewise.
825         (sinh_test_data): Likewise.
826         (sqrt_test_data): Likewise.
827         (tanh_test_data): Likewise.
828         (tgamma_test_data): Likewise.
829         (trunc_test_data): Likewise.
830         (y0_test_data): Likewise.
831         (y1_test_data): Likewise.
832         (yn_test_data): Likewise.
833         (significand_test_data): Likewise.
835 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
837         * manual/filesys.texi (Storage Allocation): Document that
838         posix_fallocate emulation fails when fd is open with O_WRONLY.
840 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
842         [BZ #19016]
843         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
844         allow more cases with X^2 + Y^2 >= 0.5.
845         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
846         normal element in sum instead of special-casing based on values of
847         arguments.
848         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
849         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
850         -1 as normal element in sum instead of special-casing based on
851         values of arguments.
852         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
853         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
854         (__x2y2m1): Update comment.
855         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
856         as normal element in sum instead of special-casing based on values
857         of arguments.
858         * math/s_clog.c (__clog): Handle more cases using log1p without
859         hypot.
860         * math/s_clog10.c (__clog10): Likewise.
861         * math/s_clog10f.c (__clog10f): Likewise.
862         * math/s_clog10l.c (__clog10l): Likewise.
863         * math/s_clogf.c (__clogf): Likewise.
864         * math/s_clogl.c (__clogl): Likewise.
865         * math/auto-libm-test-in: Add more tests of clog and clog10.
866         * math/auto-libm-test-out: Regenerated.
867         * sysdeps/i386/fpu/libm-test-ulps: Update.
868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
870 2015-09-28  Martin Sebor  <msebor@redhat.com>
872         [BZ #18969]
873         * string/Makefile (LOCALES): Define.
874         (gen-locales.mk): Include.
875         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
876         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
877         * string/tst-strxfrm2.c (do_test): Print the name of the locale
878         on setlocale failure.
880 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
882         [BZ #18985]
883         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
884         (__strftime_internal): Likewise.
885         * time/tst-strftime.c (do_bz18985): New test.
886         (do_test): Call it.
888 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
890         [BZ #18956]
891         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
892         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
893         extracting high part.
894         * math/auto-libm-test-in: Add another test of pow.
895         * math/auto-libm-test-out: Regenerated.
896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
898 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
900         [BZ #18825]
901         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
902         New macro.
903         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
904         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
905         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
906         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
907         DBL_NARROW_EVAL, reloading the PIC register as needed.
908         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
909         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
910         FLT_NARROW_EVAL.  Use separate return path for case when first
911         argument is NaN.
912         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
913         DEFINE_LDBL_MIN.
914         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
915         PIC register.
916         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
917         math_check_force_underflow_nonneg.
918         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
919         underflow for subnormal result.
920         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
921         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
922         math_check_force_underflow_nonneg.
923         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
924         math_check_force_underflow.
925         * sysdeps/x86_64/fpu/x86_64-math-asm.h
926         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
927         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
928         DEFINE_LDBL_MIN.
929         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
930         * math/auto-libm-test-in: Add more tests of pow.
931         * math/auto-libm-test-out: Regenerated.
933 2015-09-25  Florian Weimer  <fweimer@redhat.com>
935         * nss/bug17079.c (init_test_items): Add diagnostic for
936         inconsistent entries.
937         (test_buffer_size): Skip inconsistent entries.
939 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
941         [BZ #13304]
942         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
943         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
944         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
946         [BZ #13304]
947         * sysdeps/microblaze/s_fma.c: New file.
948         * sysdeps/microblaze/s_fmaf.c: Likewise.
949         * sysdeps/microblaze/sfp-machine.h: Likewise.
951 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
953         [BZ #17250]
954         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
955         member.
957 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
959         [BZ #18803]
960         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
961         (MO): New macro.
962         (__ieee754_hypot) [PIC]: Load PIC register.
963         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
964         DBL_NARROW_EVAL.
965         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
966         math_check_force_underflow_nonneg in case where result might be
967         tiny.
968         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
969         Likewise.
970         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
971         Likewise.
972         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
973         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
974         * math/auto-libm-test-in: Add more tests of hypot.
975         * math/auto-libm-test-out: Regenerated.
977 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
979         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
981 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
983         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
984         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
985         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
986         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
987         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
988         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
989         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
991         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
992         LOAD_PIC_REG.
994         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
995         (FLT_CHECK_FORCE_UFLOW): Likewise.
996         (DBL_CHECK_FORCE_UFLOW): Likewise.
997         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
998         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
999         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
1000         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
1001         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
1002         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
1003         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
1004         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
1005         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
1006         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1007         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
1008         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
1009         (flt_min): Replace with use of DEFINE_FLT_MIN.
1010         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
1011         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
1012         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1013         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
1014         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
1015         (flt_min): Replace with use of DEFINE_FLT_MIN.
1016         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
1017         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
1018         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1019         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
1020         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
1021         (flt_min): Replace with use of DEFINE_FLT_MIN.
1022         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
1023         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
1024         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
1025         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
1026         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
1027         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
1028         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
1029         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
1030         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1031         (__atan): Use DBL_CHECK_FORCE_UFLOW.
1032         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
1033         (flt_min): Replace with use of DEFINE_FLT_MIN.
1034         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
1035         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
1036         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1037         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
1038         main computation.
1039         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
1040         (flt_min): Replace with use of DEFINE_FLT_MIN.
1041         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
1042         main computation.
1043         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
1044         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1045         (MO): New macro.
1046         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
1047         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
1048         (flt_min): Replace with use of DEFINE_FLT_MIN.
1049         (MO): New macro.
1050         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
1051         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
1052         (__log1pl): Use MO.
1054         [BZ #19003]
1055         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
1056         $(config-cflags-nofma).
1058 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1060         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1062 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
1064         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
1065         (TWO127): Likewise.
1067         * sysdeps/generic/math_private.h (fabs_tg): New macro.
1068         (min_of_type): Likewise.
1069         (math_check_force_underflow): Likewise.
1070         (math_check_force_underflow_nonneg): Likewise.
1071         (math_check_force_underflow_complex): Likewise.
1072         * math/e_exp2l.c (__ieee754_exp2l): Use
1073         math_check_force_underflow_nonneg.
1074         * math/k_casinh.c (__kernel_casinh): Likewise.
1075         * math/k_casinhf.c (__kernel_casinhf): Likewise.
1076         * math/k_casinhl.c (__kernel_casinhl): Likewise.
1077         * math/s_catan.c (__catan): Use
1078         math_check_force_underflow_complex.
1079         * math/s_catanf.c (__catanf): Likewise.
1080         * math/s_catanh.c (__catanh): Likewise.
1081         * math/s_catanhf.c (__catanhf): Likewise.
1082         * math/s_catanhl.c (__catanhl): Likewise.
1083         * math/s_catanl.c (__catanl): Likewise.
1084         * math/s_ccosh.c (__ccosh): Likewise.
1085         * math/s_ccoshf.c (__ccoshf): Likewise.
1086         * math/s_ccoshl.c (__ccoshl): Likewise.
1087         * math/s_cexp.c (__cexp): Likewise.
1088         * math/s_cexpf.c (__cexpf): Likewise.
1089         * math/s_cexpl.c (__cexpl): Likewise.
1090         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
1091         * math/s_clog10.c (__clog10): Likewise.
1092         * math/s_clog10f.c (__clog10f): Likewise.
1093         * math/s_clog10l.c (__clog10l): Likewise.
1094         * math/s_clogf.c (__clogf): Likewise.
1095         * math/s_clogl.c (__clogl): Likewise.
1096         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
1097         * math/s_csinf.c (__csinf): Likewise.
1098         * math/s_csinh.c (__csinh): Likewise.
1099         * math/s_csinhf.c (__csinhf): Likewise.
1100         * math/s_csinhl.c (__csinhl): Likewise.
1101         * math/s_csinl.c (__csinl): Likewise.
1102         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
1103         * math/s_csqrtf.c (__csqrtf): Likewise.
1104         * math/s_csqrtl.c (__csqrtl): Likewise.
1105         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
1106         * math/s_ctanf.c (__ctanf): Likewise.
1107         * math/s_ctanh.c (__ctanh): Likewise.
1108         * math/s_ctanhf.c (__ctanhf): Likewise.
1109         * math/s_ctanhl.c (__ctanhl): Likewise.
1110         * math/s_ctanl.c (__ctanl): Likewise.
1111         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
1112         instead of volatile.
1113         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
1114         math_check_force_underflow.
1115         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1116         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
1117         volatile when forcing underflow.
1118         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1119         math_check_force_underflow_nonneg.
1120         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
1121         Likewise.
1122         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
1123         math_check_force_underflow.
1124         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1125         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1126         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1127         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
1128         math_check_force_underflow_nonneg.
1129         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
1130         math_check_force_underflow.
1131         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
1132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
1133         instead of volatile.
1134         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
1135         math_check_force_underflow.
1136         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1137         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1138         math_check_force_underflow_nonneg.
1139         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
1140         math_check_force_underflow.
1141         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
1142         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1143         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
1144         math_check_force_underflow_nonneg.
1145         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1146         Likewise.
1147         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
1148         math_check_force_underflow.
1149         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1150         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1151         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
1152         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
1153         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
1154         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
1155         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
1156         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
1157         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1158         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
1159         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
1160         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
1161         Likewise.
1162         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
1163         math_check_force_underflow_nonneg.
1164         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1165         Likewise.
1166         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
1167         math_check_force_underflow.
1168         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1169         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
1170         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1171         Likewise.
1172         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
1173         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
1174         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
1175         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
1176         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
1177         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
1178         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
1179         instead of volatile.
1180         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
1181         math_check_force_underflow.
1182         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
1183         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
1184         math_check_force_underflow.
1185         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
1186         Likewise.
1187         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1188         Use math_check_force_underflow_nonneg.
1189         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
1190         math_check_force_underflow.
1191         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1192         Likewise.
1193         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1194         Likewise.
1195         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1196         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1197         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1198         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1199         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
1200         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1201         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
1202         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
1203         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
1204         math_check_force_underflow_nonneg.
1205         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
1206         math_check_force_underflow.
1207         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1208         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
1209         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
1210         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
1211         math_check_force_underflow_nonneg.
1212         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
1213         math_check_force_underflow.
1214         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
1215         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
1216         instead of volatile.
1217         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
1218         math_check_force_underflow.
1220         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
1221         * stdlib/strtod_l.c: Include <math_private.h>.
1222         (overflow_value): Use math_narrow_eval.
1223         (underflow_value): Likewise.
1224         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1225         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
1226         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
1227         (__ieee754_gamma_r): Likewise.
1228         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
1229         Likewise.
1230         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1231         Likewise.
1232         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
1233         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
1234         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
1235         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
1236         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
1237         (__ieee754_gammaf_r): Likewise.
1238         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1239         Likewise.
1240         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
1241         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
1242         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
1243         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
1244         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
1245         volatile.
1246         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
1247         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
1248         math_narrow_eval.
1249         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
1250         Likewise.
1251         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1252         Likewise.
1253         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
1254         Likewise.
1255         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
1256         volatile.
1257         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
1258         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
1259         math_narrow_eval.
1260         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1261         Likewise.
1262         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1263         Likewise.
1265 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
1267         * nptl/Versions: Remove ignored symbols.
1269 2015-09-22  Florian Weimer  <fweimer@redhat.com>
1271         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
1272         * nss/Makefile (tests): Update.
1274 2015-09-22  Florian Weimer  <fweimer@redhat.com>
1276         * nss/bug18287.c: New file.
1277         * nss/Makefile (tests): Add bug18287.
1279 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1281         * mach/Versions (__mach_host_self_): Add symbol.
1283 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1285         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
1286         vm_page_size.
1288 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1290         Really fix sysdeps/i386/fpu/s_scalbn.S build
1292         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
1293         (libc: GLIBC_2_22): Remove unused version set.
1295 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1297         * config.make.in (enable-timezone-tools): New variable.
1298         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
1299         (enable_timezone_tools): Export to generated files.
1300         * configure: Regenerate.
1301         * INSTALL: Regenerate.
1302         * manual/install.texi (--disable-timezone-tools): Document new flag.
1303         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
1304         ifeq ($(enable-timezone-tools),yes) check.
1306 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1308         * timezone/Makefile: Revert previous change.
1310         [BZ #18980]
1311         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
1312         (DEFINE_DBL_MIN): Likewise.
1313         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1314         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1315         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1316         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1317         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
1318         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1319         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1320         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
1321         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
1322         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1323         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1324         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
1325         (flt_min): Replace with use of DEFINE_FLT_MIN.
1326         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1327         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
1328         (dbl_min): Replace with use of DEFINE_DBL_MIN.
1329         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1330         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
1331         (flt_min): Replace with use of DEFINE_FLT_MIN.
1332         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1333         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
1334         (flt_min): Replace with use of DEFINE_FLT_MIN.
1335         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1336         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
1337         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
1338         (__ieee754_hypot): Use DBL_NARROW_EVAL.
1339         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
1340         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
1341         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
1342         (__ieee754_pow): Use DBL_NARROW_EVAL.
1343         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
1344         (__ieee754_powf): Use FLT_NARROW_EVAL.
1345         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
1346         (__ieee754_expf_sse2): Convert double-precision result to single
1347         precision.
1348         * sysdeps/i386/fpu/libm-test-ulps: Update.
1350 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1352         * timezone/Makefile: Ignore unused variable errors due to private.h
1353         (time_t_min) and (time_t_max).
1354         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
1355         Likewise.
1357 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1359         [BZ #18981]
1360         * sysdeps/i386/fpu/i386-math-asm.h: New file.
1361         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
1362         (__ieee754_scalb): Use DBL_NARROW_EVAL.
1363         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
1364         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
1365         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
1366         (__scalbn): Use DBL_NARROW_EVAL.
1367         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
1368         (__scalbnf): Use FLT_NARROW_EVAL.
1370 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1372         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
1373         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
1374         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
1375         * stdio-common/printf_fp.c (___printf_fp):
1376         Use signbit to get the sign. Use isinf macro to allow inlining.
1377         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
1378         * stdio-common/printf_size.c (__printf_size): Likewise.
1380 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
1382         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
1384 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
1386         [BZ #18980]
1387         * sysdeps/generic/math_private.h: Include <float.h>.
1388         (math_narrow_eval): New macro.
1389         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
1390         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
1391         math_narrow_eval on overflowing return value.
1392         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
1393         Likewise.
1394         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1395         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
1396         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
1397         Likewise.
1398         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1400 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1402         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
1403         * math/Makefile: Remove isinf_ns.c.
1404         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
1405         * math/multc3.c (__multc3): Likewise.
1406         * math/s_casin.c (__casin): Likewise.
1407         * math/s_casinf.c (__casinf): Likewise.
1408         * math/s_casinl.c (__casinl): Likewise.
1409         * math/s_cproj.c (__cproj): Likewise.
1410         * math/s_cprojf.c (__cprojf): Likewise.
1411         * math/s_cprojl.c (__cprofl): Likewise.
1412         * math/s_ctan.c (__ctan): Likewise.
1413         * math/s_ctanf.c (__ctanf): Likewise.
1414         * math/s_ctanh.c (__ctanh): Likewise.
1415         * math/s_ctanhf.c (__ctanhf): Likewise.
1416         * math/s_ctanhl.c (__ctanhl): Likewise.
1417         * math/s_ctanl.c (__ctanl): Likewise.
1418         * math/w_fmod.c (__fmod): Likewise.
1419         * math/w_fmodf.c (__fmodf): Likewise.
1420         * math/w_fmodl.c (_fmodl): Likewise.
1421         * math/w_remainder.c (__remainder): Likewise.
1422         * math/w_remainderf.c (__remainderf): Likewise.
1423         * math/w_remainderl.c (__remainderl): Likewise.
1424         * math/w_scalb.c (__scalb): Likewise.
1425         * math/w_scalbf.c (__scalbf): Likewise.
1426         * math/w_scalbl.c (__scalbl): Likewise.
1427         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
1428         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
1429         with isinf.
1430         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
1431         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
1432         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
1433         __isinf_nsf with isinf.
1434         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
1435         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
1436         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
1437         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
1438         with isinf.
1439         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
1440         __isinf_nsl with isinf.
1441         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
1442         with isinf.
1443         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
1444         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
1445         __isinf_nsl with isinf.
1446         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
1447         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
1448         with isinf.
1450 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1452         * resolv/base64.c (rcsid): Remove unused static.
1453         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
1454         static.  (tqpi1): Likewise.
1455         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
1456         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
1457         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
1458         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
1459         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
1460         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
1461         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
1462         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
1463         Likewise.
1465 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
1467         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
1468         <nptl/pthreadP.h>.
1469         (_longjmp_unwind): Use __libc_ptf_call.
1470         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
1472 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
1474         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1475         * sysdeps/arm/__longjmp.S: Likewise
1477 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1479         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1480         Use __builtin_signbit.
1481         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1482         Use __builtin_signbitf.
1483         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1484         Use __builtin_signbitl.
1485         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1486         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1488 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1490         [BZ #15367]
1491         [BZ #17441]
1493         * math/Makefile: Build test-snan.c with -fsignaling-nans.
1494         * math/math.h (fpclassify): Use __builtin_fpclassify when
1495         available.  (signbit): Use __builtin_signbit(f/l).
1496         (isfinite): Use__builtin_isfinite.  (isnormal): Use
1497         __builtin_isnormal.  (isnan): Use __builtin_isnan.
1498         (isinf): Use __builtin_isinf_sign.
1500 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
1502         * benchtests/Makefile: Add bench-math-inlines, link with libm.
1503         * benchtests/bench-math-inlines.c: New benchmark.
1504         * benchtests/bench-util.h: New file.
1505         * benchtests/bench-util.c: New file.
1506         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1508 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
1510         * elf/tst-dlmopen1.c: Define TEST_SO.
1511         (do_test): Use TEST_SO.
1513         * elf/dl-load.c: Include libc-internal.h.
1514         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1516 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1518         [BZ #17887]
1519         * time/strptime_l.c (__strptime_internal): Make %z accept
1520         [+-]HH:MM time zones.
1522 2015-09-18  Vincent Bernat  <vincent@bernat.im>
1524         [BZ #17886]
1525         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1526         valid time zone.
1528 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
1530         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1531         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1532         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1533         (__ASSUME_FDATASYNC): Delete.
1535 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1537         * conform/linknamespace.pl: Require weak undefined symbols to be
1538         in the standard namespace.
1539         (%strong_syms): Rename to %seen_syms.
1540         (%strong_seen): Rename to %seen_where.
1542 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
1544         [BZ #18970]
1545         * misc/error.c (error): Replace pthread_setcancelstate with
1546         __pthread_setcancelstate.
1547         (error_at_line): Likewise.
1548         * posix/wordexp.c (parse_comm): Likewise.
1549         * stdlib/fmtmsg.c (fmtmsg): Likewise.
1550         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1551         (__pthread_setcancelstate): This.
1552         (pthread_setcancelstate): Add an alias.
1553         * nptl/nptl-init.c (pthread_functions): Replace
1554         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1555         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1556         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1557         hidden_proto.
1558         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1559         it with hidden_def.
1560         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1561         (pthread_setcancelstate): Renamed to ...
1562         (__pthread_setcancelstate): This.
1563         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1564         __libc_ptf_call with __pthread_setcancelstate.
1566 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1567             Andreas Schwab  <schwab@suse.de>
1569         [BZ #17118]
1570         * math/s_ctan.c (__ctan): Determine sign of zero real part of
1571         result when imaginary part of argument is infinite using sine and
1572         cosine.
1573         * math/s_ctanf.c (__ctanf): Likewise.
1574         * math/s_ctanl.c (__ctanl): Likewise.
1575         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1576         of result when real part of argument is infinite using sine and
1577         cosine.
1578         * math/s_ctanhf.c (__ctanhf): Likewise.
1579         * math/s_ctanhl.c (__ctanhl): Likewise.
1580         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1581         (ctanh_test_data): Add more tests of ctanh.
1583 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
1585         [BZ #15384]
1586         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1587         bit-mask as in subtraction.
1588         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1589         Likewise.
1590         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1591         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1592         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1594         [BZ #18951]
1595         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1596         underflow exception for small results.
1597         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1598         Likewise.
1599         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1600         Likewise.
1601         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1602         Likewise.
1603         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1604         Likewise.
1605         * math/auto-libm-test-in: Add more tests of tgamma.
1606         * math/auto-libm-test-out: Regenerated.
1608 2015-09-17  Andreas Schwab  <schwab@suse.de>
1610         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1612 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1614         [BZ #18977]
1615         * math/bits/mathcalls.h
1616         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1617         not declare.
1618         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1619         Likewise.
1620         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1621         Likewise.
1622         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1623         Likewise.
1624         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1625         Likewise.
1626         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1627         Likewise.
1628         * conform/data/math.h-data
1629         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1630         function.
1631         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1632         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1633         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1634         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1635         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1636         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1637         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1638         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1639         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1640         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1641         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1643         [BZ #6803]
1644         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1645         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1646         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1647         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1648         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1649         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1650         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1651         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1652         [NO_LONG_DOUBLE] (scalbnl): Likewise.
1653         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1654         Likewise.
1655         [NO_LONG_DOUBLE] (scalbnl): Likewise.
1656         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1657         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1658         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1659         long_double_symbol calls.
1660         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1661         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1662         strong alias of __ldexpl.
1663         (scalbnl): Define using long_double_symbol.
1664         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1665         Remove alias.
1666         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1667         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1668         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1669         (scalbln_test_data): Add more errno expectations.
1671 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
1673         Cache the host port like we cache the task port.  This way we do not
1674         need to call the kernel just to get the port.  Furthermore, we no
1675         longer increase the reference count on every invocation of
1676         `mach_host_self'.
1678         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1679         Protect declarations against the macro expansion.
1680         * mach/mach_init.c (__mach_host_self_): New variable.
1681         (mach_init): Initialize `__mach_host_self_'.
1682         * mach/mach_init.h (__mach_host_self_): New declaration.
1683         (__mach_host_self, mach_host_self): New macros.
1684         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1685         Release reference.
1687 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
1689         [BZ #4404]
1690         * po/de.po: Update from Translation Project.
1692         [BZ #16415]
1693         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1694         (__expm1l): Remove code to handle positive infinity and overflow.
1695         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1696         variable.
1697         (__expm1l): Remove code to handle positive infinity and overflow.
1699 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
1700             Paul Pluzhnikov  <ppluzhnikov@google.com>
1702         [BZ #18872]
1703         * stdio-common/Makefile (tst-printf-bz18872): New test.
1704         (tst-printf-bz18872-mem.out): Likewise.
1705         * stdio-common/tst-printf-bz18872.sh: Generate new test.
1706         * stdio-common/vfprintf.c: Fix memory leaks.
1708 2015-09-16  Andreas Schwab  <schwab@suse.de>
1710         [BZ #17244]
1711         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1712         Remove extra va_start/va_end calls.
1714         [BZ #17243]
1715         * posix/execl.c (execl): Add missing va_end.
1716         * posix/execle.c (execle): Likewise.
1717         * posix/execlp.c (execlp): Likewise.
1719 2015-09-15  Roland McGrath  <roland@hack.frob.com>
1721         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1722         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1724 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
1726         [BZ #18967]
1727         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
1728         undefine around includes of <bits/mathcalls.h>.
1729         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1730         not declare function.
1731         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1732         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1733         (scalb): Likewise.
1734         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1735         not define macro.
1736         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1737         variable.
1738         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1739         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1740         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1742         [BZ #18857]
1743         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1744         return non-finite argument without doing ordered comparisons on
1745         it.
1747         [BZ #16296]
1748         * math/fenv.h (fegetround): Use __attribute_pure__.
1749         * include/fenv.h (__fegetround): Likewise.
1751         [BZ #18595]
1752         * math/s_ctan.c (__ctan): Force underflow exception for results
1753         whose real or imaginary part has small absolute value.
1754         * math/s_ctanf.c (__ctanf): Likewise.
1755         * math/s_ctanh.c (__ctanh): Likewise.
1756         * math/s_ctanhf.c (__ctanhf): Likewise.
1757         * math/s_ctanhl.c (__ctanhl): Likewise.
1758         * math/s_ctanl.c (__ctanl): Likewise.
1759         * math/auto-libm-test-in: Do not allow missing underflow for ctan
1760         and ctanh.  Add more tests of ctan and ctanh.
1762         [BZ #15918]
1763         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1764         handling of cases where one argument is an infinity.
1766         [BZ #18875]
1767         [BZ #18966]
1768         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1769         (MO): New macro.
1770         (__ieee754_exp10): For small results, force underflow exception
1771         and remove excess range and precision from return value.
1772         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1773         (MO): New macro.
1774         (__ieee754_exp10f): For small results, force underflow exception
1775         and remove excess range and precision from return value.
1776         * math/auto-libm-test-in: Add more tests of exp10.
1777         * math/auto-libm-test-out: Regenerated.
1779 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
1781         [BZ #18875]
1782         [BZ #18961]
1783         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1784         (MO): New macro.
1785         (__ieee754_exp): For small results, force underflow exception and
1786         remove excess range and precision from return value.
1787         (__exp_finite): Likewise.
1788         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1789         (MO): New macro.
1790         (__ieee754_expf): For small results, force underflow exception and
1791         remove excess range and precision from return value.
1792         (__expf_finite): Likewise.
1793         * math/auto-libm-test-in: Add more tests of exp.
1794         * math/auto-libm-test-out: Regenerated.
1796         [BZ #16521]
1797         [BZ #18875]
1798         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1799         small results.
1800         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1801         (MO): New macro.
1802         (__ieee754_exp2): For small results, force underflow exception and
1803         remove excess range and precision from return value.
1804         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1805         (MO): New macro.
1806         (__ieee754_exp2f): For small results, force underflow exception
1807         and remove excess range and precision from return value.
1808         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1809         (MO): New macro.
1810         (__ieee754_exp2l): Force underflow exception for small results.
1811         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1812         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1813         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1814         (MO): New macro.
1815         (__ieee754_exp2l): Force underflow exception for small results.
1816         * math/auto-libm-test-in: Add more tests or exp2.
1817         * math/auto-libm-test-out: Regenerated.
1819 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
1821         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1823         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1824         /dev/null.
1826 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1828         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1829         io fs process)): Drop spurious backslash.
1831 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1833         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1834         Use sysinfo system call instead of parsing /proc/meminfo.
1835         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1836         Likewise.
1838 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
1840         [BZ #16985]
1841         * programs/localedef.c (main): Display argv[remaining] when
1842         output_path is NULL.
1844 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
1846         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1847         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1848         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1849         tanh.
1850         * math/auto-libm-test-out: Regenerated.
1851         * sysdeps/i386/fpu/libm-test-ulps: Update.
1852         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1853         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1856 2015-09-11  Roland McGrath  <roland@hack.frob.com>
1858         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
1859         Use 'override' keyword to freeze the value here, preventing
1860         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
1862 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
1864         [BZ #14912]
1865         * sysdeps/aarch64/bits/atomic.h: Move to ...
1866         * sysdeps/aarch64/atomic-machine.h: ...here.
1867         (_AARCH64_BITS_ATOMIC_H): Rename macro to
1868         _AARCH64_ATOMIC_MACHINE_H.
1869         * sysdeps/alpha/bits/atomic.h: Move to ...
1870         * sysdeps/alpha/atomic-machine.h: ...here.
1871         * sysdeps/arm/bits/atomic.h: Move to ...
1872         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
1873         * bits/atomic.h: Move to ...
1874         * sysdeps/generic/atomic-machine.h: ...here.
1875         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1876         * sysdeps/i386/bits/atomic.h: Move to ...
1877         * sysdeps/i386/atomic-machine.h: ...here.
1878         * sysdeps/ia64/bits/atomic.h: Move to ...
1879         * sysdeps/ia64/atomic-machine.h: ...here.
1880         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
1881         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
1882         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1883         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
1884         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
1885         * sysdeps/microblaze/bits/atomic.h: Move to ...
1886         * sysdeps/microblaze/atomic-machine.h: ...here.
1887         * sysdeps/mips/bits/atomic.h: Move to ...
1888         * sysdeps/mips/atomic-machine.h: ...here.
1889         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
1890         * sysdeps/powerpc/bits/atomic.h: Move to ...
1891         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
1892         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
1893         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
1894         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
1895         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
1896         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
1897         <atomic-machine.h> instead of <bits/atomic.h>.
1898         * sysdeps/s390/bits/atomic.h: Move to ...
1899         * sysdeps/s390/atomic-machine.h: ...here.
1900         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
1901         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
1902         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1903         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
1904         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
1905         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
1906         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
1907         * sysdeps/tile/bits/atomic.h: Move to ...
1908         * sysdeps/tile/atomic-machine.h: ...here.
1909         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
1910         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
1911         <sysdeps/tile/atomic-machine.h> instead of
1912         <sysdeps/tile/bits/atomic.h>.
1913         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1914         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
1915         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
1916         <sysdeps/tile/atomic-machine.h> instead of
1917         <sysdeps/tile/bits/atomic.h>.
1918         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1919         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
1920         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
1921         <sysdeps/arm/atomic-machine.h> instead of
1922         <sysdeps/arm/bits/atomic.h>.
1923         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
1924         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
1925         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1926         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
1927         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
1928         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
1929         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
1930         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
1931         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
1932         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
1933         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
1934         * sysdeps/x86_64/bits/atomic.h: Move to ...
1935         * sysdeps/x86_64/atomic-machine.h: ...here.
1936         * include/atomic.h: Include <atomic-machine.h> instead of
1937         <bits/atomic.h>.
1939         * sysdeps/mips/mips32/libm-test-ulps: Update.
1940         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1942         [BZ #18952]
1943         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
1944         not convert non-integer negative arguments to int to determine the
1945         value of signgam.
1946         * math/auto-libm-test-in: Add more tests of lgamma.
1947         * math/auto-libm-test-out: Regenerated.
1949         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
1950         cosh, csqrt, erfc, expm1 and lgamma.
1951         * math/auto-libm-test-out: Regenerated.
1952         * sysdeps/i386/fpu/libm-test-ulps: Update.
1953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1955 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
1957         [BZ #2542]
1958         [BZ #2543]
1959         [BZ #2558]
1960         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
1961         __lgamma_neg for arguments from -28.0 to -2.0.
1962         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
1963         __lgamma_negf for arguments from -15.0 to -2.0.
1964         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1965         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
1966         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
1967         Call __lgamma_negl for arguments from -33.0 to -2.0.
1968         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
1969         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1970         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
1971         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
1972         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1973         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1974         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
1975         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
1976         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
1977         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1978         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
1979         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
1980         (__lgamma_neg): Likewise.
1981         (__lgamma_negl): Likewise.
1982         (__lgamma_product): Likewise.
1983         (__lgamma_productl): Likewise.
1984         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
1985         * math/auto-libm-test-in: Add more tests of lgamma.
1986         * math/auto-libm-test-out: Regenerated.
1987         * sysdeps/i386/fpu/libm-test-ulps: Update.
1988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1990 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
1992         [BZ #18675]
1993         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
1995 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
1997         [BZ #14912]
1998         * bits/libc-lock.h: Move to ...
1999         * sysdeps/generic/libc-lock.h: ...here.
2000         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2001         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
2002         * sysdeps/mach/hurd/libc-lock.h: ...here.
2003         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2004         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
2005         * sysdeps/mach/bits/libc-lock.h: Move to ...
2006         * sysdeps/mach/libc-lock.h: ...here.
2007         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2008         * sysdeps/nptl/bits/libc-lock.h: Move to ...
2009         * sysdeps/nptl/libc-lock.h: ...here.
2010         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2011         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
2012         * sysdeps/nptl/libc-lockP.h: ...here.
2013         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
2014         * crypt/crypt_util.c: Include <libc-lock.h> instead of
2015         <bits/libc-lock.h>.
2016         * dirent/scandir-tail.c: Likewise.
2017         * dlfcn/dlerror.c: Likewise.
2018         * elf/dl-close.c: Likewise.
2019         * elf/dl-iteratephdr.c: Likewise.
2020         * elf/dl-lookup.c: Likewise.
2021         * elf/dl-open.c: Likewise.
2022         * elf/dl-support.c: Likewise.
2023         * elf/dl-writev.h: Likewise.
2024         * elf/rtld.c: Likewise.
2025         * grp/fgetgrent.c: Likewise.
2026         * gshadow/fgetsgent.c: Likewise.
2027         * gshadow/sgetsgent.c: Likewise.
2028         * iconv/gconv_conf.c: Likewise.
2029         * iconv/gconv_db.c: Likewise.
2030         * iconv/gconv_dl.c: Likewise.
2031         * iconv/gconv_int.h: Likewise.
2032         * iconv/gconv_trans.c: Likewise.
2033         * include/link.h: Likewise.
2034         * inet/getnameinfo.c: Likewise.
2035         * inet/getnetgrent.c: Likewise.
2036         * inet/getnetgrent_r.c: Likewise.
2037         * intl/bindtextdom.c: Likewise.
2038         * intl/dcigettext.c: Likewise.
2039         * intl/finddomain.c: Likewise.
2040         * intl/gettextP.h: Likewise.
2041         * intl/loadmsgcat.c: Likewise.
2042         * intl/localealias.c: Likewise.
2043         * intl/textdomain.c: Likewise.
2044         * libidn/idn-stub.c: Likewise.
2045         * libio/libioP.h: Likewise.
2046         * locale/duplocale.c: Likewise.
2047         * locale/freelocale.c: Likewise.
2048         * locale/newlocale.c: Likewise.
2049         * locale/setlocale.c: Likewise.
2050         * login/getutent_r.c: Likewise.
2051         * login/getutid_r.c: Likewise.
2052         * login/getutline_r.c: Likewise.
2053         * login/utmp-private.h: Likewise.
2054         * login/utmpname.c: Likewise.
2055         * malloc/mtrace.c: Likewise.
2056         * misc/efgcvt.c: Likewise.
2057         * misc/error.c: Likewise.
2058         * misc/fstab.c: Likewise.
2059         * misc/getpass.c: Likewise.
2060         * misc/mntent.c: Likewise.
2061         * misc/syslog.c: Likewise.
2062         * nis/nis_call.c: Likewise.
2063         * nis/nis_callback.c: Likewise.
2064         * nis/nss-default.c: Likewise.
2065         * nis/nss_compat/compat-grp.c: Likewise.
2066         * nis/nss_compat/compat-initgroups.c: Likewise.
2067         * nis/nss_compat/compat-pwd.c: Likewise.
2068         * nis/nss_compat/compat-spwd.c: Likewise.
2069         * nis/nss_nis/nis-alias.c: Likewise.
2070         * nis/nss_nis/nis-ethers.c: Likewise.
2071         * nis/nss_nis/nis-grp.c: Likewise.
2072         * nis/nss_nis/nis-hosts.c: Likewise.
2073         * nis/nss_nis/nis-network.c: Likewise.
2074         * nis/nss_nis/nis-proto.c: Likewise.
2075         * nis/nss_nis/nis-pwd.c: Likewise.
2076         * nis/nss_nis/nis-rpc.c: Likewise.
2077         * nis/nss_nis/nis-service.c: Likewise.
2078         * nis/nss_nis/nis-spwd.c: Likewise.
2079         * nis/nss_nisplus/nisplus-alias.c: Likewise.
2080         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2081         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2082         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2083         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
2084         * nis/nss_nisplus/nisplus-network.c: Likewise.
2085         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2086         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2087         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2088         * nis/nss_nisplus/nisplus-service.c: Likewise.
2089         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2090         * nis/ypclnt.c: Likewise.
2091         * nptl/libc_pthread_init.c: Likewise.
2092         * nss/getXXbyYY.c: Likewise.
2093         * nss/getXXent.c: Likewise.
2094         * nss/getXXent_r.c: Likewise.
2095         * nss/nss_db/db-XXX.c: Likewise.
2096         * nss/nss_db/db-netgrp.c: Likewise.
2097         * nss/nss_db/nss_db.h: Likewise.
2098         * nss/nss_files/files-XXX.c: Likewise.
2099         * nss/nss_files/files-alias.c: Likewise.
2100         * nss/nsswitch.c: Likewise.
2101         * posix/regex_internal.h: Likewise.
2102         * posix/wordexp.c: Likewise.
2103         * pwd/fgetpwent.c: Likewise.
2104         * resolv/res_hconf.c: Likewise.
2105         * resolv/res_libc.c: Likewise.
2106         * shadow/fgetspent.c: Likewise.
2107         * shadow/lckpwdf.c: Likewise.
2108         * shadow/sgetspent.c: Likewise.
2109         * socket/opensock.c: Likewise.
2110         * stdio-common/reg-modifier.c: Likewise.
2111         * stdio-common/reg-printf.c: Likewise.
2112         * stdio-common/reg-type.c: Likewise.
2113         * stdio-common/vfprintf.c: Likewise.
2114         * stdio-common/vfscanf.c: Likewise.
2115         * stdlib/abort.c: Likewise.
2116         * stdlib/cxa_atexit.c: Likewise.
2117         * stdlib/fmtmsg.c: Likewise.
2118         * stdlib/random.c: Likewise.
2119         * stdlib/setenv.c: Likewise.
2120         * string/strsignal.c: Likewise.
2121         * sunrpc/auth_none.c: Likewise.
2122         * sunrpc/bindrsvprt.c: Likewise.
2123         * sunrpc/create_xid.c: Likewise.
2124         * sunrpc/key_call.c: Likewise.
2125         * sunrpc/rpc_thread.c: Likewise.
2126         * sysdeps/arm/backtrace.c: Likewise.
2127         * sysdeps/generic/ldsodefs.h: Likewise.
2128         * sysdeps/generic/stdio-lock.h: Likewise.
2129         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
2130         * sysdeps/i386/backtrace.c: Likewise.
2131         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2132         * sysdeps/m68k/backtrace.c: Likewise.
2133         * sysdeps/mach/hurd/cthreads.c: Likewise.
2134         * sysdeps/mach/hurd/dirstream.h: Likewise.
2135         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2136         * sysdeps/nptl/malloc-machine.h: Likewise.
2137         * sysdeps/nptl/stdio-lock.h: Likewise.
2138         * sysdeps/posix/dirstream.h: Likewise.
2139         * sysdeps/posix/getaddrinfo.c: Likewise.
2140         * sysdeps/posix/system.c: Likewise.
2141         * sysdeps/pthread/aio_suspend.c: Likewise.
2142         * sysdeps/s390/s390-32/backtrace.c: Likewise.
2143         * sysdeps/s390/s390-64/backtrace.c: Likewise.
2144         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2145         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2146         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
2147         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
2148         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
2149         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2150         * sysdeps/unix/sysv/linux/system.c: Likewise.
2151         * sysdeps/x86_64/backtrace.c: Likewise.
2152         * time/alt_digit.c: Likewise.
2153         * time/era.c: Likewise.
2154         * time/tzset.c: Likewise.
2155         * wcsmbs/wcsmbsload.c: Likewise.
2156         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
2157         instead of <bits/libc-lock.h> in comment.
2159 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
2161         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
2162         Only use .set mips2 if the current ISA is below mips2.
2163         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
2164         Likewise.
2165         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
2166         mips32r2 if the current ISA is below mips32r2.
2167         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
2168         (TLS_IE): Updated to use the TLD_RDHWR macro.
2169         (TLS_LE): Likewise.
2170         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
2171         __ASSEMBLER__ condition.
2173 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2175         Fix parallel build of before-compile targets.
2177         * sysdeps/mach/Makefile ($(patsubst
2178         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
2179         mach-before-compile target.
2180         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
2181         io fs process)): Move rule to dedicated hurd-before-compile target.
2183 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2185         Fix rules generating headers in hurd/ and mach/ when initial make call
2186         has subdir= explicitly set.
2188         * sysdeps/mach/Makefile ($(patsubst
2189         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
2190         calling $(MAKE).
2191         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
2192         io fs process)): Force subdir to hurd when calling $(MAKE).
2193         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
2194         subdir to mach when calling $(MAKE).
2196 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
2198         Check sysheaders when looking for Mach and Hurd headers
2200         * sysdeps/mach/configure.ac: Add sysheaders check.
2201         * sysdeps/mach/configure: Regenerate.
2202         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
2203         * sysdeps/mach/hurd/configure: Regenerate.
2205 2015-09-04  Roland McGrath  <roland@hack.frob.com>
2207         [BZ #18921]
2208         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
2209         Fix inverted sense of test of 'o_directory_works' value.
2210         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
2211         Bernhard Voelker <mail@bernhard-voelker.de>.
2213 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
2215         [BZ #14912]
2216         * bits/linkmap.h: Move to ...
2217         * sysdeps/generic/linkmap.h: ...here.
2218         * sysdeps/aarch64/bits/linkmap.h: Move to ...
2219         * sysdeps/aarch64/linkmap.h: ...here.
2220         * sysdeps/arm/bits/linkmap.h: Move to ...
2221         * sysdeps/arm/linkmap.h: ...here.
2222         * sysdeps/hppa/bits/linkmap.h: Move to ...
2223         * sysdeps/hppa/linkmap.h: ...here.
2224         * sysdeps/ia64/bits/linkmap.h: Move to ...
2225         * sysdeps/ia64/linkmap.h: ...here.
2226         * sysdeps/mips/bits/linkmap.h: Move to ...
2227         * sysdeps/mips/linkmap.h: ...here.
2228         * sysdeps/s390/bits/linkmap.h: Move to ...
2229         * sysdeps/s390/linkmap.h: ...here.
2230         * sysdeps/sh/bits/linkmap.h: Move to ...
2231         * sysdeps/sh/linkmap.h: ...here.
2232         * sysdeps/x86/bits/linkmap.h: Move to ...
2233         * sysdeps/x86/linkmap.h: ...here.
2234         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
2236 2015-09-04  Andreas Schwab  <schwab@suse.de>
2238         [BZ #18635]
2239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
2240         (__makecontext): Terminate FDE before return label.
2241         (__novec_makecontext): Likewise.
2243 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2245         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
2246         first member of struct sv in syscall macro.
2248 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
2250         [BZ #14912]
2251         * bits/stdio-lock.h: Move to ...
2252         * sysdeps/generic/stdio-lock.h: ...here.
2253         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2254         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
2255         * sysdeps/nptl/stdio-lock.h: ...here.
2256         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2257         * include/libio.h: Include <stdio-lock.h> instead of
2258         <bits/stdio-lock.h>.
2259         * sysdeps/nptl/fork.c: Likewise.
2260         * sysdeps/pthread/flockfile.c: Likewise.
2261         * sysdeps/pthread/ftrylockfile.c: Likewise.
2262         * sysdeps/pthread/funlockfile.c: Likewise.
2264         [BZ #14912]
2265         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
2266         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
2267         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
2268         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
2269         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
2270         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2271         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2273 2015-09-03  Roland McGrath  <roland@hack.frob.com>
2275         * elf/Makefile (test-xfail-tst-protected1a): New variable.
2276         (test-xfail-tst-protected1b): New variable.
2278 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
2280         [BZ #14912]
2281         * bits/libc-tsd.h: Move to ...
2282         * sysdeps/generic/libc-tsd.h: ...here.
2283         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
2284         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
2285         * sysdeps/mach/hurd/libc-tsd.h: ...here.
2286         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
2287         * include/ctype.h: Include <libc-tsd.h> instead of
2288         <bits/libc-tsd.h>.
2289         * include/rpc/rpc.h: Likewise.
2290         * locale/localeinfo.h: Likewise.
2291         * sunrpc/rpc_thread.c: Likewise.
2292         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2293         * sysdeps/nptl/malloc-machine.h: Likewise.
2295         * Makefile (headers): Remove bits/libc-lock.h.
2296         * libio/Makefile (headers): Remove bits/stdio-lock.h.
2298         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
2299         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
2300         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
2301         <bits/stdio-lock.h>.
2302         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
2303         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
2305 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2307         [BZ #18757]
2308         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
2309         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
2310         BZ #18757.
2312 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
2314         * malloc/mtrace.pl: Filter out NULL entries.
2316 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
2318         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
2319         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
2320         macro.
2322         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
2323         (TCP_CC_INFO): Likewise.
2324         (TCP_SAVE_SYN): Likewise.
2325         (TCP_SAVED_SYN): Likewise.
2327 2015-08-31  Brett Neumeier <brett@neumeier.us>
2329         [BZ #18870]
2330         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
2332 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
2334         [BZ #18873]
2335         Fix broken overflow check in posix_fallocate
2336         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
2337         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2338         Fix parenthesization typo.
2340 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
2342         [BZ #18887]
2343         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
2344         tst-mntent-blank-passno.
2345         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
2346         * misc/tst-mntent-blank-corrupt.c: New test.
2347         * misc/tst-mntent-blank-passno.c: New test ripped from ...
2348         * misc/tst-mntent.c (do_test): ... here.
2350 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
2352         [BZ #4404]
2353         * po/de.po: Fix SIGALRM typo.
2355 2015-08-28  James Perkins  <james@loowit.net>
2357         * time/tst-strptime2.c (tests): Replace short list of test
2358         strings for strptime %z specifier with code which exhaustively
2359         tests every combination of sign and 0 to 5 digits. Tests for
2360         rejection of invalid strings.
2362 2015-08-28  James Perkins  <james@loowit.net>
2364         [BZ #16141]
2365         * time/strptime_l.c (__strptime_internal): Fix %z minutes
2366         calculation, removing incorrect decimal time rounding, so that
2367         all minute values result in a valid seconds value.
2368         * time/strptime_l.c (__strptime_internal): Extend %z time zone
2369         offset range limits to UTC-99:59 through UTC+99:59 to parse
2370         current and historical use cases.
2371         * time/tst-strptime2.c (tests): Modify and add tests for the
2372         strptime %z input field descriptor, specifically conversion of
2373         minutes to seconds and validating an offset range of -9959 to
2374         +9959.
2376 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2377             Dmitry V. Levin  <ldv@altlinux.org>
2379         [BZ #18877]
2380         * posix/Makefile (tests): Add tst-mmap-offset.
2381         * posix/tst-mmap.c: New file.
2382         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
2383         offset calculation for negative values.
2385 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2387         * sysdeps/i386/init-arch.h: New file.
2388         * sysdeps/i386/i586/init-arch.h: Likewise.
2389         * sysdeps/i386/i686/init-arch.h: Likewise.
2390         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
2391         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
2392         * sysdeps/x86/cpu-features.h (bit_I586): New.
2393         (bit_I686): Likewise.
2394         (bit_CX8): Likewise.
2395         (bit_CMOV): Likewise.
2396         (index_CX8): Likewise.
2397         (index_CMOV): Likewise.
2398         (index_I586): Likewise.
2399         (index_I686): Likewise.
2400         (reg_CX8): Likewise.
2401         (reg_CMOV): Likewise.
2402         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
2403         available at compile-time.
2404         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
2405         available at compile-time.
2406         * sysdeps/x86/init-arch.h (USE_I586): New macro.
2407         (USE_I686): Likewise.
2409 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2411         * sysdeps/i386/bcopy.S: New file.
2412         * sysdeps/i386/bzero.S: Likewise.
2413         * sysdeps/i386/memcpy.S: Likewise.
2414         * sysdeps/i386/memmove.S: Likewise.
2415         * sysdeps/i386/mempcpy.S: Likewise.
2416         * sysdeps/i386/memset.S: Likewise.
2417         * sysdeps/i386/bzero.c: Removed.
2418         * sysdeps/i386/memset.c: Likewise.
2419         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
2420         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
2421         * sysdeps/i386/i586/memset_chk.S: Likewise.
2422         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
2423         * sysdeps/i386/memcpy_chk.S: Here.
2424         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
2425         * sysdeps/i386/memmove_chk.S: Here.
2426         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
2427         * sysdeps/i386/mempcpy_chk.S: Likewise.
2428         * sysdeps/i386/i686/memset_chk.S: Moved to ...
2429         * sysdeps/i386/memset_chk.S: Likewise.
2431 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
2433         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
2434         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
2435         file, move DIAG_POP_NEEDS_COMMENT to end of file.
2436         * soft-fp/fmadf4.c: Ditto.
2437         * soft-fp/fmatf4.c: Ditto.
2439 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2441         * sysdeps/i386/i586/Implies: Removed.
2442         * sysdeps/i386/i686/Implies: Likewise.
2444 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2446         * sysdeps/i386/i486/strlen.S: Moved to ...
2447         * sysdeps/i386/strlen.S: Here.
2449 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2451         * sysdeps/i386/i486/strcat.S: Moved to ...
2452         * sysdeps/i386/strcat.S: Here.
2454 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2456         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
2457         * sysdeps/i386/pthread_spin_trylock.S: Here.
2458         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
2459         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
2461 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2463         * sysdeps/i386/i486/string-inlines.c: Moved to ...
2464         * sysdeps/i386/string-inlines.c: Here.
2466 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2468         * sysdeps/i386/i486/htonl.S: Moved ...
2469         * sysdeps/i386/htonl.S: here.
2471 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2473         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
2474         * sysdeps/i386/bits/atomic.h: Here.
2476 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
2478         * sysdeps/i386/i486/Versions: Removed.
2480 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2482         [BZ #2898]
2483         * misc/mktemp.c: Add mkdtemp to the link_warning message.
2484         Based on patch by Aurelien Jarno.
2486 2015-08-26  Stan Shebs  <stanshebs@google.com>
2488         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2489         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2491 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2493         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2494         * sysdeps/powerpc/dl-procinfo.c:
2495         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2496         feature so it shows when LD_SHOW_AUXV=1.
2498 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2500         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2501         (__arch_compare_and_exchange_val_32_acq): Remove and use common
2502         definition.  ISA 2.07B no longer requires full sync.
2504 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
2506         [BZ #18863]
2507         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2508         (si_call_addr): Define.
2509         (si_syscall): Define.
2510         (si_arch): Define.
2512 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2514         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2515         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2516         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2517         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2518         (__memset_zero_constant_len_parameter): New.
2519         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2520         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2521         (__memset_zero_constant_len_parameter): Don't define if
2522         __memset_chk or USE_AS_BZERO are defined.
2524         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2525         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2526         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2528         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2529         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2530         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2531         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
2532         comments.
2533         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2534         -mno-mmx for $(all-rtld-routines).
2535         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2536         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
2537         i386.
2539 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
2541         * sysdeps/generic/unwind.h
2542         (_Unwind_Word): Use __mode__(__unwind_word__)
2543         instead of __mode__(__word__).
2544         (_Unwind_Sword): Likewise.
2546         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2547         (MAX_NEEDED_INPUT): New define.
2548         (MAX_NEEDED_OUTPUT): New define.
2550         * NEWS: New item for IBM z13 string optimizations.
2552         * sysdeps/s390/multiarch/memrchr-c.c: New File.
2553         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2554         * sysdeps/s390/multiarch/memrchr.c: Likewise.
2555         * sysdeps/s390/multiarch/Makefile
2556         (sysdep_routines): Add memrchr functions.
2557         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2558         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2560         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2561         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2562         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2563         * sysdeps/s390/multiarch/Makefile
2564         (sysdep_routines): Add wmemcmp functions.
2565         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2566         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2567         * benchtests/bench-wmemcmp.c: New File.
2568         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2570         * sysdeps/s390/multiarch/wmemset-c.c: New File.
2571         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2572         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2573         * sysdeps/s390/multiarch/Makefile
2574         (sysdep_routines): Add wmemset functions.
2575         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2576         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2577         * wcsmbs/wmemset.c: Use WMEMSET if defined.
2578         * string/test-memset.c: Add wmemset support.
2579         * wcsmbs/test-wmemset.c: New File.
2580         * wcsmbs/Makefile (strop-tests): Add wmemset.
2581         * benchtests/bench-memset.c: Add wmemset support.
2582         * benchtests/bench-wmemset.c: New File.
2583         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2585         * sysdeps/s390/multiarch/memccpy-c.c: New File.
2586         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2587         * sysdeps/s390/multiarch/memccpy.c: Likewise.
2588         * sysdeps/s390/multiarch/Makefile
2589         (sysdep_routines): Add memccpy functions.
2590         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2591         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2592         * string/memccpy.c: Use MEMCCPY if defined.
2594         * sysdeps/s390/multiarch/memchr-vx.S: New File.
2595         * sysdeps/s390/multiarch/memchr.c: Likewise.
2596         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2597         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2598         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2599         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2600         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2601         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2602         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2603         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2604         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2605         and rawmemchr functions.
2606         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2607         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2608         and wmemchr.
2609         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2610         * string/test-memchr.c: Add wmemchr support.
2611         * wcsmbs/test-wmemchr.c: New File.
2612         * wcsmbs/Makefile (strop-tests): Add wmemchr.
2613         * benchtests/bench-memchr.c: Add wmemchr support.
2614         * benchtests/bench-wmemchr.c: New File.
2615         * benchtests/Makefile (wcsmbs-bench): wmemchr.
2617         * sysdeps/s390/multiarch/strcspn-c.c: New File.
2618         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2619         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2620         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2621         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2622         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2623         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2624         wcscspn functions.
2625         * sysdeps/s390/multiarch/ifunc-impl-list.c
2626         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2627         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2628         * string/test-strcspn.c: Add wcscspn support.
2629         * wcsmbs/test-wcscspn.c: New File.
2630         * wcsmbs/Makefile (strop-tests): Add wcscspn.
2631         * benchtests/bench-strcspn.c: Add wcscspn support.
2632         * benchtests/bench-wcscspn.c: New File.
2633         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2635         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2636         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2637         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2638         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2639         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2640         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2641         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2642         wcspbrk functions.
2643         * sysdeps/s390/multiarch/ifunc-impl-list.c
2644         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2645         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2646         * string/test-strpbrk.c: Add wcspbrk support.
2647         * wcsmbs/test-wcspbrk.c: New File.
2648         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2649         * benchtests/bench-strpbrk.c: Add wcspbrk support.
2650         * benchtests/bench-wcspbrk.c: New File.
2651         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2653         * sysdeps/s390/multiarch/strspn-c.c: New File.
2654         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2655         * sysdeps/s390/multiarch/strspn.c: Likewise.
2656         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2657         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2658         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2659         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2660         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2661         wcsspn functions.
2662         * sysdeps/s390/multiarch/ifunc-impl-list.c
2663         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2664         * string/test-strspn.c: Add wcsspn support.
2665         * wcsmbs/test-wcsspn.c: New File.
2666         * wcsmbs/Makefile (strop-tests): Add wcsspn.
2667         * benchtests/bench-strspn.c: Add wcsspn support.
2668         * benchtests/bench-wcsspn.c: New File.
2669         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2671         * sysdeps/s390/multiarch/strrchr-c.c: New File.
2672         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2673         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2674         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2675         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2676         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2677         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2678         wcsrchr functions.
2679         * sysdeps/s390/multiarch/ifunc-impl-list.c
2680         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2681         * benchtests/bench-wcsrchr.c: New File.
2682         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2684         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2685         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2686         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2687         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2688         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2689         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2690         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2691         wcschrnul functions.
2692         * sysdeps/s390/multiarch/ifunc-impl-list.c
2693         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2694         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2695         * string/test-strchr.c: Add wcschrnul support.
2696         * wcsmbs/test-wcschrnul.c: New File.
2697         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2698         * benchtests/bench-strchr.c: Add wcschrnul support.
2699         * benchtests/bench-wcschrnul.c: New File.
2700         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2702         * sysdeps/s390/multiarch/strchr-c.c: New File.
2703         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2704         * sysdeps/s390/multiarch/strchr.c: Likewise.
2705         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2706         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2707         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2708         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2709         wcschr functions.
2710         * sysdeps/s390/multiarch/ifunc-impl-list.c
2711         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2712         * string/strchr.c (STRCHR): Define and use macro.
2713         * benchtests/bench-wcschr.c: New File.
2714         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2716         * sysdeps/s390/multiarch/strncmp-c.c: New File.
2717         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2718         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2719         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2720         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2721         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2722         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2723         wcsncmp functions.
2724         * sysdeps/s390/multiarch/ifunc-impl-list.c
2725         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2726         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2727         * benchtests/bench-strncmp.c: Add wcsncmp support.
2728         * benchtests/bench-wcsncmp.c: New File.
2729         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2731         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2732         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2733         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2734         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2735         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2736         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2737         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2738         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2739         wcscmp functions.
2740         * sysdeps/s390/multiarch/ifunc-impl-list.c
2741         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2742         * string/strcmp.c (STRCMP): Define and use macro.
2743         * benchtests/bench-wcscmp.c: New File.
2744         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2745         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2746         instead of _HAVE_STRING_ARCH_memchr.
2748         * sysdeps/s390/multiarch/strncat-c.c: New File.
2749         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2750         * sysdeps/s390/multiarch/strncat.c: Likewise.
2751         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2752         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2753         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2754         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2755         wcsncat functions.
2756         * sysdeps/s390/multiarch/ifunc-impl-list.c
2757         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2758         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2759         * string/test-strncat.c: Add wcsncat support.
2760         * wcsmbs/test-wcsncat.c: New File.
2761         * wcsmbs/Makefile (strop-tests): Add wcsncat.
2762         * benchtests/bench-strncat.c: Add wcsncat support.
2763         * benchtests/bench-wcsncat.c: New File.
2764         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2766         * sysdeps/s390/multiarch/strcat-c.c: New File.
2767         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2768         * sysdeps/s390/multiarch/strcat.c: Likewise.
2769         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2770         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2771         * sysdeps/s390/multiarch/wcscat.c: Likewise.
2772         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2773         wcscat functions.
2774         * sysdeps/s390/multiarch/ifunc-impl-list.c
2775         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2776         * string/strcat.c (STRCAT): Define and use macro.
2777         * wcsmbs/wcscat.c: Use WCSCAT if defined.
2778         * string/test-strcat.c: Add wcscat support.
2779         * wcsmbs/test-wcscat.c: New File.
2780         * wcsmbs/Makefile (strop-tests): Add wcscat.
2781         * benchtests/bench-strcat.c: Add wcscat support.
2782         * benchtests/bench-wcscat.c: New File.
2783         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2785         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2786         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2787         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2788         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2789         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2790         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2791         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2792         wcpncpy functions.
2793         * sysdeps/s390/multiarch/ifunc-impl-list.c
2794         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2795         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2796         * string/test-stpncpy.c: Add wcpncpy support.
2797         * wcsmbs/test-wcpncpy.c: New File.
2798         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2799         * benchtests/bench-stpncpy.c: Add wcpncpy support.
2800         * benchtests/bench-wcpncpy.c: New File.
2801         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2803         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2804         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2805         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2806         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2807         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2808         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2809         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2810         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2811         wcsncpy functions.
2812         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2813         * sysdeps/s390/multiarch/ifunc-impl-list.c
2814         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2815         * string/test-strncpy.c: Add wcsncpy support.
2816         * wcsmbs/test-wcsncpy.c: New File.
2817         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2818         * benchtests/bench-strncpy.c: Add wcsncpy support.
2819         * benchtests/bench-wcsncpy.c: New File.
2820         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2822         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2823         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2824         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2825         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2826         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2827         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2828         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2829         wcpcpy functions.
2830         * string/stpcpy.c: Use STPCPY if defined.
2831         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2832         * sysdeps/s390/multiarch/ifunc-impl-list.c
2833         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2834         * string/test-stpcpy.c: Add wcpcpy support.
2835         * wcsmbs/test-wcpcpy.c: New File.
2836         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2837         * benchtests/bench-stpcpy.c: Add wcpcpy support.
2838         * benchtests/bench-wcpcpy.c: New File.
2839         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2841         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2842         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2843         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2844         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2845         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2846         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2847         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2848         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2849         wcscpy functions.
2850         * sysdeps/s390/multiarch/ifunc-impl-list.c
2851         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
2852         * benchtests/bench-wcscpy.c: New File.
2853         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
2855         * sysdeps/s390/multiarch/strnlen-c.c: New File.
2856         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
2857         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2858         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
2859         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
2860         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
2861         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
2862         wcsnlen functions.
2863         * sysdeps/s390/multiarch/ifunc-impl-list.c
2864         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
2865         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
2866         * string/test-strnlen.c: Add wcsnlen support.
2867         * wcsmbs/test-wcsnlen.c: New File.
2868         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
2869         * benchtests/bench-strnlen.c: Add wcsnlen support.
2870         * benchtests/bench-wcsnlen.c: New File.
2871         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
2873         * sysdeps/s390/multiarch/Makefile: New File.
2874         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
2875         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
2876         * sysdeps/s390/multiarch/strlen.c: Likewise.
2877         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
2878         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
2879         * sysdeps/s390/multiarch/wcslen.c: Likewise.
2880         * string/strlen.c (STRLEN): Define and use macro.
2881         * sysdeps/s390/multiarch/ifunc-impl-list.c
2882         (IFUNC_VX_IMPL): New macro function.
2883         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
2884         * benchtests/Makefile (wcsmbs-bench): New variable.
2885         (string-bench-all): Added wcsmbs-bench.
2886         * benchtests/bench-wcslen.c: New File.
2888         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
2889         s390_vx_libc_ifunc2): New macro function.
2891         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
2892         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
2893         assembler support.
2894         * sysdeps/s390/configure: Regenerated.
2896         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
2897         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
2899         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
2900         * sysdeps/s390/dl-procinfo.h: Add vector capability.
2901         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
2903         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
2904         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
2905         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
2906         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
2907         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
2908         (memcmp, bcmp): Use __memcmp_default as alias source.
2909         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
2910         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
2911         Rename to __memcmp_default.
2912         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
2913         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
2914         (memcpy): Use __memcpy_default as alias source.
2915         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
2916         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
2917         Rename to __memcpy_default.
2918         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
2919         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
2920         (memset): Use __memset_default as alias source.
2921         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
2922         * sysdeps/s390/s390-32/memset.S (__memset_g5):
2923         Rename to __memset_default.
2924         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
2925         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
2926         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
2927         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
2928         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
2929         (memcmp, bcmp): Use __memcmp_default as alias source.
2930         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
2931         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
2932         Rename to __memcmp_default.
2933         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
2934         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
2935         (memcpy): Use __memcpy_default as alias source.
2936         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
2937         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
2938         Rename to __memcpy_default.
2939         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
2940         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
2941         (memset): Use __memset_default as alias source.
2942         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
2943         * sysdeps/s390/s390-64/memset.S (__memset_z900):
2944         Rename to __memset_default.
2945         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
2946         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
2948         [BZ #18610]
2949         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
2950         __ieee_instruction_pointer to __unused.
2951         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
2952         __ieee_instruction_pointer.
2953         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
2954         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
2955         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2956         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
2957         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
2958         Mark dxc-field as reserved.
2960 2015-08-25  Roland McGrath  <roland@hack.frob.com>
2962         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
2963         if the weak reference is not null.
2965 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
2967         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
2969         [BZ #11214]
2970         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
2972 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2974         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
2975         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
2976         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
2977         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
2978         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
2979         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
2980         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
2981         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
2982         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
2983         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
2984         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
2985         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
2986         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
2987         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
2988         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
2989         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
2990         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
2991         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
2993 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2995         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
2996         register other than r0 for tabort, it has special meaning.
2997         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
2998         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
2999         transaction before starting syscall.
3001 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3003         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
3005 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
3007         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
3009         * sysdeps/x86_64/rtld-memcmp.c: Removed.
3010         * sysdeps/x86_64/rtld-memset.S: Likewise.
3011         * sysdeps/x86_64/rtld-strchr.S: Likewise.
3012         * sysdeps/x86_64/rtld-strlen.S: Likewise.
3013         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
3014         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3016         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
3018 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
3020         * debug/strcpy_chk.c: Improve performance.
3021         * debug/stpcpy_chk.c: Likewise.
3022         * sysdeps/x86_64/strcpy_chk.S: Remove.
3023         * sysdeps/x86_64/stpcpy_chk.S: Remove.
3025         [BZ #18240]
3026         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
3028 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
3030         [BZ #15128]
3031         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
3032         ifuncmain8.
3033         (modules-names): Add ifuncmod8.
3034         ($(objpfx)ifuncmain8): New rule.
3035         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
3036         <cpuid.h>.
3037         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
3038         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
3039         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
3040         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
3041         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
3042         * sysdeps/x86_64/dl-trampoline.h: Likewise.
3043         * sysdeps/x86_64/ifuncmain8.c: New file.
3044         * sysdeps/x86_64/ifuncmod8.c: Likewise.
3045         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
3046         Removed.
3047         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
3048         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
3049         Change rtld_savespace_sse to __glibc_unused2.
3050         (RTLD_CHECK_FOREIGN_CALL): Removed.
3051         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
3052         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
3053         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
3055 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
3057         * sysdeps/aarch64/bzero.S (__bzero): Remove.
3059 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
3061         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
3062         Unconditionally set __fpcr to avoid uninialized warning.
3063         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
3065 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3067         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
3068         is corrupt.
3070         * malloc/arena.c (arena_get2): Drop unused argument.
3071         (arena_lock): Adjust.
3072         (arena_get_retry): Likewise.
3074 2015-08-24  Andreas Schwab  <schwab@suse.de>
3076         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
3077         Don't define.
3078         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3079         (__ASSUME_IPC64): Don't undef.
3080         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
3081         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3082         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3083         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
3084         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
3085         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
3086         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
3087         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
3088         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
3089         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
3090         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
3091         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
3092         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
3093         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
3094         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
3095         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
3096         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
3097         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
3098         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
3099         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
3100         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
3102 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
3104         * manual/Makefile (install): Only build manual when perl is available.
3106 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3108         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
3109         '#undef memcpy' by '#undef memchr'.
3111 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3113         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
3114         memchr not point to the internal __GI_memchr implementation.
3116 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
3118         * timezone/Makefile (CFLAGS-zdump.c): Remove
3119         -Wno-strict-prototypes.
3120         (CFLAGS-zic.c): Likewise.
3121         (CFLAGS-ialloc.c): Likewise.
3122         (CFLAGS-scheck.c): Likewise.
3124         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
3125         -Wno-error=undef.
3127 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
3129         * i386/i686/multiarch/strcasestr-c.c: Removed.
3130         * x86_64/multiarch/strcasestr.c: Likewise.
3131         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3132         Remove strcasestr.
3134 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
3136         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
3138         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
3139         variables for high and low parts before possibly modifying them.
3141 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
3143         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
3144         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
3145         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
3146         of "multiarch/init-arch.h".
3147         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
3148         * sysdeps/x86/init-arch.h: This.
3150 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
3152         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
3153         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
3155 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
3157         [BZ #17787]
3158         * manual/macros.texi: Add twoexp macro.
3159         * manual/filesys.texi: Fix exponents.
3160         * manual/llio.texi: Likewise.
3161         * manual/stdio.texi: Likewise.
3163 2015-08-20  Florian Weimer  <fweimer@redhat.com>
3165         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
3166         incorrect use.
3168 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
3170         [BZ #18370]
3171         * math/s_csqrt.c (__csqrt): Force underflow exception for results
3172         whose real or imaginary part has small absolute value.
3173         * math/s_csqrtf.c (__csqrtf): Likewise.
3174         * math/s_csqrtl.c (__csqrtl): Likewise.
3175         * math/auto-libm-test-in: Add more tests of csqrt.
3176         * math/auto-libm-test-out: Regenerated.
3177         * sysdeps/i386/fpu/libm-test-ulps: Update.
3179 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3181         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
3182         __ppc_set_ppr_very_low): New functions.
3183         * manual/platform.texi: Add documentation about
3184         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
3186 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
3188         * string/stpncpy.c (stpncpy): Improve performance using
3189         __strnlen/memcpy/memset.
3191 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3193         [BZ #18796]
3194         * scripts/test-installation.pl: Don't add -lmvec to build options if
3195         libmvec wasn't built.
3197 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3199         [BZ #14341]
3200         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
3201         case when there is a gap between DT_REL and DT_JMPREL sections.
3202         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
3203         (LDFLAGS-tst-split-dynreloc): New.
3204         (tst-split-dynreloc-ENV): Likewise.
3205         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
3206         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
3208 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3210         [BZ #18822]
3211         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
3212         attribute_hidden.
3213         (__xstat64_conv): Likewise.
3214         (__xstat32_conv): Likewise.
3216 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3218         [BZ #18822]
3219         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
3220         Don't load %ebx when calling __setcontext.  Call __setcontext
3221         with HIDDEN_JUMPTARGET.
3222         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
3223         libc_hidden_def.
3225 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3227         * sysdeps/i386/i686/Makefile
3228         [$(subdir) == string] (sysdep_routines): Moved to ...
3229         * sysdeps/i386/Makefile: Here.
3230         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
3231         * sysdeps/i386/cacheinfo.c: Here.
3232         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
3233         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
3234         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
3235         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
3237 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3239         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
3240         __i586__ is defined.
3241         (HAS_I686): Defined to 1 if __i686__ is defined.
3243 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
3245         * elf/Makefile [$(have-z-execstack) = yes]
3246         (CPPFLAGS-tst-execstack.c): New variable.
3248         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
3249         conditional to [defined UTMPX || _HAVE_UT_TYPE].
3250         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
3251         UTMPX || _HAVE_UT_TV].
3252         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
3253         UTMPX || _HAVE_UT_TV - 0].
3255 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
3257         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
3258         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
3259         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
3261 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3263         * sysdeps/powerpc/dl-procinfo.c:
3264         (_dl_powerpc_cap_flags): Added missing strings for some
3265         hwcap features.
3266         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
3268 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
3270         Port the 0x7efe...feff pattern to GCC 6.
3271         See Steve Ellcey's bug report in:
3272         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
3273         * string/memrchr.c (MEMRCHR):
3274         * string/rawmemchr.c (RAWMEMCHR):
3275         * string/strchr.c (strchr):
3276         * string/strchrnul.c (STRCHRNUL):
3277         Rewrite code to avoid issues with signed shift overflow.
3279 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
3281         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
3282         whether cpuid is available only if HAS_CPUID is 0.
3283         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
3284         (HAS_I586): Likewise.
3285         (HAS_I686): Likewise.
3287 2015-08-18  Zack Weinberg  <zackw@panix.com>
3289         * misc/Versions (libc): Add GLIBC_2.23.
3291 2015-08-18  Alan Modra  <amodra@gmail.com>
3293         [BZ #18421]
3294         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
3295         .Lp__global.
3296         (_start): Load %dp via .Lp__global.
3297         [!SHARED]: Use .section .rodata.
3299 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3301         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
3302         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
3304 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3306         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
3307         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
3309 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3311         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
3312         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
3314 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3316         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
3317         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
3319 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3321         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
3322         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
3324 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3326         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
3327         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
3329 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3331         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
3333 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3335         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
3336         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
3337         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3338         (__ASSUME_LWS_CAS): Delete.
3340 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
3342         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
3343         * sysdeps/hppa/configure: Regenerated.
3344         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
3345         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
3346         * sysdeps/hppa/nptl/tls.h: Likewise.
3348 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
3350         [BZ #18823]
3351         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
3352         for scaling up small arguments.
3353         * math/s_csqrtf.c (__csqrtf): Likewise.
3354         * math/s_csqrtl.c (__csqrtl): Likewise.
3355         * math/auto-libm-test-in: Add more tests of csqrt.
3356         * math/auto-libm-test-out: Regenerated.
3358 2015-08-17  Andreas Schwab  <schwab@suse.de>
3360         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
3361         version set GLIBC_2.19.
3363 2015-08-16  Zack Weinberg  <zackw@panix.com>
3365         [BZ #18681]
3366         * misc/regexp.h: This interface is no longer supported.
3367         Remove all contents, leaving only an #error directive.
3368         * misc/regexp.c (loc1, loc2, locs, step, advance):
3369         Demote to compatibility symbols.
3371 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
3373         [BZ #18084]
3374         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
3375         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
3376         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3377         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
3378         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
3379         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
3380         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
3381         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
3382         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3384 2015-08-15  Zack Weinberg  <zackw@panix.com>
3386         [BZ #18795]
3387         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
3388         buffer length is known to be too large, not if it's known to be
3389         small enough.
3390         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
3391         overflow at runtime, involving a length parameter, twice: once
3392         with a compile-time constant length parameter, once without.
3394 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
3396         [BZ #18824]
3397         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
3398         scaling x * y up instead of down.
3399         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3400         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3401         * math/auto-libm-test-in: Add more tests of fma.
3402         * math/auto-libm-test-out: Regenerated.
3404 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3406         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3408 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3410         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
3411         unnecessary movq.
3412         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
3413         Likewise.
3415 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
3417         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3418         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
3419         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
3420         and tgamma.
3421         * math/auto-libm-test-out: Regenerated.
3422         * sysdeps/i386/fpu/libm-test-ulps: Update.
3423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3425         [BZ #16520]
3426         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
3427         (__tanh): Force underflow exception for arguments with small
3428         absolute value.
3429         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
3430         (__tanhf): Force underflow exception for arguments with small
3431         absolute value.
3432         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
3433         (__tanhl): Force underflow exception for arguments with small
3434         absolute value.
3435         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
3436         (__tanhl): Force underflow exception for arguments with small
3437         absolute value.
3438         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
3439         (__tanhl): Force underflow exception for arguments with small
3440         absolute value.
3441         * math/auto-libm-test-in: Add more tests of tanh.
3442         * math/auto-libm-test-out: Regenerated.
3443         * sysdeps/i386/fpu/libm-test-ulps: Update.
3445 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3447         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
3448         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
3450 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3452         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
3453         <cpuid.h>.
3455 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3457         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
3458         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
3460 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3462         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
3463         Remove $(objpfx)init-arch.o.
3464         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
3465         init-arch.
3466         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
3467         (INIT_ARCH_EXT): Defined as empty.
3468         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
3469         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
3470         __init_cpu_features call.  Replace HAS_XXX with
3471         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3472         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
3473         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
3474         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3475         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3476         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3477         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3478         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3479         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3480         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3481         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3482         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3483         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3484         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3485         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3486         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3487         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3488         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3489         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3490         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3491         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3492         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3493         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3494         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3495         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3496         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3497         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3498         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3499         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3500         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3501         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3502         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3503         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3504         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3505         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3506         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3508 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3510         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3511         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3512         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3513         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3514         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3515         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3516         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3517         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3518         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3519         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3520         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3521         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
3522         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3523         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3524         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3525         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3526         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3527         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3528         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3529         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3530         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3531         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3532         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3533         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3534         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3535         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3536         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3537         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3538         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3539         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3540         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3541         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3542         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3543         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3544         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3545         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3546         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3547         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3548         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3549         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3550         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3551         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3552         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3554 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3556         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3557         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3558         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3559         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3560         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3561         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3562         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3563         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3564         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3565         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3566         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3567         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3568         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3569         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3570         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3571         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3572         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3573         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3574         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3575         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3576         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3577         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3578         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3579         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3580         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3581         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3582         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3583         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
3584         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3585         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3586         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3587         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3588         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3589         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3590         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3591         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3592         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3593         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3594         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3595         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3596         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3597         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3598         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3600 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
3602         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3603         (dl_platform_init): Call init_cpu_features.
3604         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3605         * sysdeps/i386/i686/cacheinfo.c
3606         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3607         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3608         * sysdeps/i386/i686/multiarch/Versions: Removed.
3609         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3610         Removed.
3611         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3612         * sysdeps/unix/sysv/linux/x86/Makefile
3613         (libpthread-sysdep_routines): Remove init-arch.
3614         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3615         <sysdeps/x86_64/dl-procinfo.c> instead of
3616         sysdeps/generic/dl-procinfo.c>.
3617         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3618         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3619         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3620         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3621         [$(subdir) == elf] (tests-static): Add
3622         tst-get-cpu-features-static.
3623         * sysdeps/x86/Versions: New file.
3624         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3625         * sysdeps/x86/cpu-features.c: Likewise.
3626         * sysdeps/x86/cpu-features.h: Likewise.
3627         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3628         * sysdeps/x86/libc-start.c: Likewise.
3629         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3630         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3631         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3632         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3633         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3634         Assume USE_MULTIARCH is defined and don't check it.
3635         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3636         (is_amd): Likewise.
3637         (max_cpuid): Likewise.
3638         (intel_check_word): Likewise.
3639         (__cache_sysconf): Don't call __init_cpu_features.
3640         (__x86_preferred_memory_instruction): Removed.
3641         (init_cacheinfo): Don't call __init_cpu_features. Replace
3642         __cpu_features with GLRO(dl_x86_cpu_features).
3643         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3644         (dl_platform_init): Call init_cpu_features.
3645         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3646         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3647         * sysdeps/x86_64/multiarch/Versions: Removed.
3648         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3649         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3650         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3651         Removed.
3652         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3654 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3656         [BZ #18820]
3657         * libio/Makefile (test-fmemopen-mem): New test.
3658         * libio/test-fmemopen.c (do_bz18820): New test.
3659         * libio/fmemopen.c (__fmemopen): Fix memory leak.
3660         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3662 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3664         [BZ #16734]
3665         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3666         (FREE_BUF): Delete.
3667         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3668         * libio/genops.c (_IO_setb): Use malloc and free directly.
3669         (_IO_default_doallocate, _IO_default_finish): Likewise.
3670         ( _IO_unbuffer_all): Likewise.
3671         ( libc_freeres_fn): Likewise.
3672         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3673         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3674         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3675         (_IO_wdefault_doallocate): Likewise.
3677 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3679         [BZ #18086]
3680         * sysdeps/posix/nice.c (nice): Restore old errno.
3681         * posix/tst-nice.c (do_test): Add test for BZ #18086.
3683 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
3685         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3687 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3689         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3690         __bcopy and add a weak_alias to bcopy.
3691         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3692         for static build.
3694         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3695         cleanup macro usage.
3696         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3697         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3698         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3699         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3700         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3701         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3702         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3703         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3704         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3705         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3706         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3707         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3708         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3709         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3710         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3711         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3712         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3713         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3714         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3716         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3717         libc_hidden_def.
3718         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3720         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3721         (sysdep_routines): Add strstr-ppc64.
3722         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3724 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
3726         [BZ #18778]
3727         * elf/Makefile (tests): Add Add tst-nodelete2.
3728         (modules-names): Add tst-nodelete2mod.
3729         (tst-nodelete2mod.so-no-z-defs): New.
3730         ($(objpfx)tst-nodelete2): Likewise.
3731         ($(objpfx)tst-nodelete2.out): Likewise.
3732         (LDFLAGS-tst-nodelete2): Likewise.
3733         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3734         out of loop through all loaded libraries.
3735         * elf/tst-nodelete2.c: New file.
3736         * elf/tst-nodelete2mod.c: Likewise.
3737         * elf/tst-znodelete-zlib.cc: Delete.
3739 2015-08-11  Andreas Schwab  <schwab@suse.de>
3741         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3742         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3743         (__openat64_nocancel): Likewise.
3745 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
3747         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3748         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3749         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3750         * math/auto-libm-test-out: Regenerated.
3751         * sysdeps/i386/fpu/libm-test-ulps: Update.
3752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3754 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
3756         [BZ #18790]
3757         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3758         threshold for returning +/- 1.
3759         * math/auto-libm-test-in: Add more tests of tanh.
3760         * math/auto-libm-test-out: Regenerated.
3761         * sysdeps/i386/fpu/libm-test-ulps: Update.
3763 2015-08-10  Andreas Schwab  <schwab@suse.de>
3765         [BZ #18781]
3766         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3767         MORE_OFLAGS to oflag.
3768         * io/test-lfs.c (do_test): Test openat64.
3770 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
3772         [BZ #18789]
3773         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3774         smaller threshold for returning the argument.
3775         * math/auto-libm-test-in: Add more tests of sinh.
3776         * math/auto-libm-test-out: Regenerated.
3777         * sysdeps/i386/fpu/libm-test-ulps: Update.
3779 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
3781         [BZ #18674]
3782         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3783         break.
3785 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
3787         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3788         (generated): Don't add $(addprefix z.,$(tzfiles)).
3790 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3792         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3793         * scripts/sysd-rules.awk: Likewise.
3795 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3797         * iconvdata/tst-tables.sh: Change echo -n to printf.
3798         * nss/db-Makefile: Likewise.
3799         * posix/tst-getconf.sh: Likewise.
3800         * stdio-common/tst-unbputc.sh: Likewise.
3802 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
3804         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3805         MADV_*_PAGES defines behind this feature check.
3807 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
3809         [BZ #18480]
3810         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3811         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3812         Define.
3813         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3814         LOAD_REGS_5, LOAD_REGS_6): Update.
3815         (INTERNAL_SYSCALL): Update using new LOAD defines.
3816         (INTERNAL_SYSCALL_NCS): Likewise.
3817         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3819 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3821         [BZ #16734]
3822         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3824 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3826         [BZ #17905]
3827         * catgets/Makefile (tst-catgets-mem): New test.
3828         * catgets/catgets.c (catopen): Don't use unbounded alloca.
3829         * catgets/open_catalog.c (__open_catalog): Likewise.
3830         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3832 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
3834         [BZ #18787]
3835         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3836         clobber registers.
3837         (atomic_compare_and_exchange_val_acq): Use register asms to assign
3838         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
3839         Cast return to __typeof (oldval).
3841 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
3843         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3844         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
3845         and delete sys/syscall.h include.
3847 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
3849         [BZ #16517]
3850         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
3851         (tan): Force underflow exception for arguments with small absolute
3852         value.
3853         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
3854         (__kernel_tanf): Force underflow exception for arguments with
3855         small absolute value.
3856         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
3857         (__kernel_tanl): Force underflow exception for arguments with
3858         small absolute value.
3859         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
3860         (__kernel_tanl): Force underflow exception for arguments with
3861         small absolute value.
3862         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
3863         (__kernel_tanl): Force underflow exception for arguments with
3864         small absolute value.
3865         * math/auto-libm-test-in: Add more tests of tan.
3866         * math/auto-libm-test-out: Regenerated.
3868 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3870         Fix sysdeps/i386/fpu/s_scalbn.S build
3872         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
3874 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
3876         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3878 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3880         Fix gcrt0.o compilation
3882         When static-start-installed-name is different from
3883         start-installed-name, we must not use the shared objects.
3885         * csu/Makefile
3886         (extra-objs): Add gmon-start.o when building shared library and
3887         $(static-start-installed-name) is different from
3888         $(start-installed-name).
3889         $(objpfx)g$(static-start-installed-name): When building shared
3890         library and $(static-start-installed-name) is different from
3891         $(static-start-installed-name), revert to non-shared rule,
3892         i.e. using $(objpfx)% and gmon-start.o.
3894 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
3896         [BZ #16519]
3897         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
3898         (__ieee754_sinh): Force underflow exception for arguments with
3899         small absolute value.
3900         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
3901         (__ieee754_sinhf): Force underflow exception for arguments with
3902         small absolute value.
3903         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
3904         (__ieee754_sinhl): Force underflow exception for arguments with
3905         small absolute value.
3906         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
3907         (__ieee754_sinhl): Force underflow exception for arguments with
3908         small absolute value.
3909         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
3910         (__ieee754_sinhl): Force underflow exception for arguments with
3911         small absolute value.
3912         * math/auto-libm-test-in: Add more tests of sinh.
3913         * math/auto-libm-test-out: Regenerated.
3914         * sysdeps/i386/fpu/libm-test-ulps: Update.
3916 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3918         * libio/oldfileops.c: Include unistd.h.
3920 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
3922         * stdlib/isomac.c: Include ctype.h.
3924 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
3926         * dirent/tst-seekdir.c (main): Converted to ...
3927         (do_test): ... this.
3928         (TEST_FUNCTION): New macro.
3929         Include test-skeleton.c.
3930         * elf/tst-dlmodcount.c (main): Converted to ...
3931         (do_test): ... this.
3932         (TEST_FUNCTION): New macro.
3933         Include test-skeleton.c.
3934         * elf/tst-order-main.c (main): Converted to ...
3935         (do_test): ... this.
3936         (TEST_FUNCTION): New macro.
3937         Include test-skeleton.c.
3938         * elf/tst-pie2.c (main): Converted to ...
3939         (do_test): ... this.
3940         (TEST_FUNCTION): New macro.
3941         Include test-skeleton.c.
3942         * inet/tst-ether_aton.c (main): Converted to ...
3943         (do_test): ... this.
3944         (TEST_FUNCTION): New macro.
3945         Include test-skeleton.c.
3946         * misc/tst-mntent.c (main): Converted to ...
3947         (do_test): ... this.
3948         (TEST_FUNCTION): New macro.
3949         Include test-skeleton.c.
3950         * misc/tst-tsearch.c (main): Converted to ...
3951         (do_test): ... this.
3952         (TEST_FUNCTION): New macro.
3953         Include test-skeleton.c.
3954         * posix/tst-regexloc.c (main): Converted to ...
3955         (do_test): ... this.
3956         (TEST_FUNCTION): New macro.
3957         Include test-skeleton.c.
3958         * resolv/tst-aton.c (main): Converted to ...
3959         (do_test): ... this.
3960         (TEST_FUNCTION): New macro.
3961         Include test-skeleton.c.
3962         * stdio-common/test-fwrite.c (main): Converted to ...
3963         (do_test): ... this.
3964         (TEST_FUNCTION): New macro.
3965         Include test-skeleton.c.
3966         * stdio-common/tst-ferror.c (main): Converted to ...
3967         (do_test): ... this.
3968         (TEST_FUNCTION): New macro.
3969         Include test-skeleton.c.
3970         * stdio-common/tst-printf.c (main): Converted to ...
3971         (do_test): ... this.
3972         (TEST_FUNCTION): New macro.
3973         Include test-skeleton.c.
3974         * stdio-common/tst-printfsz.c (main): Converted to ...
3975         (do_test): ... this.
3976         (TEST_FUNCTION): New macro.
3977         Include test-skeleton.c.
3978         * stdlib/tst-strtod.c (main): Converted to ...
3979         (do_test): ... this.
3980         (TEST_FUNCTION): New macro.
3981         Include test-skeleton.c.
3982         * string/tst-strlen.c (main): Converted to ...
3983         (do_test): ... this.
3984         (TEST_FUNCTION): New macro.
3985         Include test-skeleton.c.
3986         * string/tst-svc.c (main): Converted to ...
3987         (do_test): ... this.
3988         (TEST_FUNCTION): New macro.
3989         Include test-skeleton.c.
3990         * time/tst-strptime.c (main): Converted to ...
3991         (do_test): ... this.
3992         (TEST_FUNCTION): New macro.
3993         Include test-skeleton.c.
3994         * timezone/tst-timezone.c (main): Converted to ...
3995         (do_test): ... this.
3996         (TEST_FUNCTION): New macro.
3997         Include test-skeleton.c.
3999 2015-08-05  Zack Weinberg  <zackw@panix.com>
4001         * misc/regexp.h: Update comments.
4003 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
4005         [BZ #18635]
4006         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
4007         before return label.
4009 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4011         [BZ #18661]
4012         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
4013         when calling __errno_location.
4014         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
4015         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
4017 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4019         [BZ #18661]
4020         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
4021         (__lll_timedwait_tid): Align stack to 16 bytes when calling
4022         __gettimeofday.
4024 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4026         [BZ #18661]
4027         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4028         (__start_context): Don't use pop to restore %rdi so that stack
4029         is aligned to 16 bytes when calling __setcontext.
4031 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4033         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
4034         only for libc.
4035         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4037 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4039         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
4040         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
4041         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
4043 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4045         * string/memccpy.c (memccpy):
4046         Improve performance by using memchr/memcpy/__mempcpy.
4048 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4050         * string/strncpy.c (strncpy):
4051         Improve performance by using __strnlen/memcpy.
4053 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4055         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4056         Optimize to avoid an unnecessary FPCR read.
4058 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
4060         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4061         Optimize to reduce FPCR/FPSR accesses.
4063 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
4065         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
4066         dead->data[category] != NULL.
4068 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
4070         [BZ #18647]
4071         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
4072         and |x| close to 1, use absolute value of x when computing log.
4073         * math/auto-libm-test-in: Add more tests of pow.
4074         * math/auto-libm-test-out: Regenerated.
4076 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4078         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
4079         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
4080         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
4082 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
4084         [BZ #18525]
4085         * locales/km_KH: Remove timezone definition.
4086         * locales/lo_LA: Likewise.
4087         * locales/my_MM: Likewise.
4088         * locales/nan_TW@latin: Likewise.
4089         * locales/th_TH: Likewise.
4090         * locales/uk_UA: Likewise.
4092 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4094         [BZ #18265]
4095         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
4096         (wcsncat): Likewise.
4097         (wcscmp): Likewise.
4098         (wcsncmp): Likewise.
4100 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
4102         * test-skeleton.c (usage): New function.
4103         (main): Call usage when opt is '?'.
4105 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
4107         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
4108         before first use.
4110 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
4112         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
4113         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
4114         in there too.
4116 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
4118         * version.h (RELEASE): Set to "development".
4119         (VERSION): Set to "2.22.90"
4121         * version.h (RELEASE): Set to "stable".
4122         (VERSION): Set to "2.22"
4123         * include/features.h (__GLIBC_MINOR__): Set to 22.
4125 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
4127         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
4128         Restructure macro to avoid "value computed is not used" warning.
4129         (atomic_compare_and_exchange_val_acq): Likewise.
4131 2015-08-04  Andreas Schwab  <schwab@suse.de>
4133         [BZ #18635]
4134         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
4135         ret.
4136         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
4138 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
4140         * po/pl.po: Updated translation.
4141         * po/uk.po: Likewise.
4142         * po/fi.po: Likewise.
4143         * po/ko.po: Likewise.
4144         * po/ru.po: Likewise.
4145         * po/vi.po: Likewise.
4147 2015-07-31  Zack Weinberg  <zackw@panix.com>
4149         [BZ #18681]
4150         * regexp.h: Add unconditional #warning stating that this header
4151         will be removed soon.  Revise banner comment to match.
4152         (compile): Consistently use ERROR instead of RETURN to report
4153         errors (partial fix for bz#18681).
4154         * regexp.c: Don't include regexp.h. Remove some unnecessary
4155         declarations.
4157 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
4159         * po/libc.pot: Regenerated.
4161 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4163         [BZ #18740]
4164         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
4165         float-vlen4-arch-ext-cflags): Removed.
4166         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
4167         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
4169 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4171         [BZ #14113]
4172         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
4173         aligned to __aligned__.
4174         (pthread_cond_t, pthread_rwlock_t): Likewise.
4176 2015-07-30  Torvald Riegel  <triegel@redhat.com>
4178         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
4180 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4182         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
4183         (struct sigaction): Change sa_flags from a long to an int, and add
4184         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
4186 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4188         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
4189         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
4190         sysdeps/generic/sysdep.h include.
4191         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
4192         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
4193         sysdeps/hppa/sysdep.h.
4194         (ENTRY, PSEUDO): Undefine before defining.
4196 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
4198         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
4199         from scratch to use INTERNAL_SYSCALL.
4201 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
4203         [BZ #18078]
4204         * scripts/check-localplt.awk: Support alternate relocations.
4205         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
4206         sections.
4207         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
4208         malloc entries with + REL R_386_GLOB_DAT.
4209         * sysdeps/x86_64/localplt.data: New file.
4211 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
4213         [BZ #18731]
4214         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
4215         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4216         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4218 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4220         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
4222 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4224         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
4225         directly in terms of __sync_fetch_and_add and delete (int) cast.
4227 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4229         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
4230         the -D_ASM_IA64_CURRENT_H flag.
4232 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
4234         [BZ #18641]
4235         * pwd/pwd.h (putpwent): Delete __nonnull markings.
4237 2015-07-27  Andreas Schwab  <schwab@suse.de>
4239         * conform/conformtest.pl (checknamespace): Filter out string
4240         literals while tokenizing.
4242 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
4244         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4245         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
4246         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4248 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
4250         * nptl/tst-join7mod.c: Add #include <string.h>.
4252 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
4254         * sysdeps/nios2/libm-test-ulps: Update.
4256 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
4258         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
4259         Fix order of arguments to the rt_sigprocmask syscall.
4260         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
4261         Likewise.
4263 2015-07-24  Roland McGrath  <roland@hack.frob.com>
4265         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
4267 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4269         [BZ #18457]
4270         * nptl/Makefile (tests): New test case tst-join7.
4271         (modules-names): New test case module tst-join7mod.
4272         * nptl/tst-join7.c: New file.
4273         * nptl/tst-join7mod.c: New file.
4274         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
4275         all translation units in libc.so, libpthread.so and rtld.
4277 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4281 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
4283         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
4284         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
4285         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
4286         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
4287         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
4288         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
4289         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
4290         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
4291         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
4292         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
4293         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
4294         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
4295         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
4296         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
4297         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
4298         implementation.
4300 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4302         [BZ #17711]
4303         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4304         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
4305         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4306         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4307         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
4308         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4310 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4312         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
4313         instead of just saying load lock in the comments.
4315 2015-07-23  Roland McGrath  <roland@hack.frob.com>
4317         * sysdeps/unix/Subdirs: Moved ...
4318         * sysdeps/posix/Subdirs: ... here.
4319         * login/pty.h (struct termios, struct winsize): Add forward decls.
4320         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
4321         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
4322         * sysdeps/arm/nacl/libc.abilist: Updated.
4323         * sysdeps/nacl/libutil.abilist: New file.
4325         * bits/signum.h: Update comments to mention 1003.1-2013 too.
4326         (SIGWINCH): New macro.
4328         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
4329         * sysdeps/arm/nacl/libc.abilist: Add it.
4331 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
4333         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
4335 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
4337         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4338         Swap __glibc_reserved0 and sa_flags order.
4340 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4342         [BZ #18657]
4343         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
4344         are pending TLS destructor calls.
4345         * include/link.h (struct link_map): Add concurrency note for
4346         L_TLS_DTOR_COUNT.
4347         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4348         Don't touch the link map flag.  Atomically increment
4349         l_tls_dtor_count.
4350         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
4351         Avoid taking the load lock and don't touch the link map flag.
4352         * stdlib/tst-tls-atexit-nodelete.c: New test case.
4353         * stdlib/Makefile (tests): Use it.
4354         * stdlib/tst-tls-atexit.c (do_test): dlopen
4355         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
4356         to allow tst-tls-atexit-nodelete test case to use it.
4358 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4360         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
4361         to bits/types.h.
4362         (msgqnum_t): New typedef.
4363         (msglen_t): Likewise.
4364         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
4365         and msg_qbytes type to msglen_t.
4367 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4369         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
4370         pad0 to __glibc_reserved0.
4371         (struct stat64): Likewise.
4373 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4375         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4376         Change sa_flags from a long to an int and add __glibc_reserved0 before
4377         it for padding.
4379 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
4381         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
4382         anonymous by deleting "siginfo" name.
4384 2015-07-21  Roland McGrath  <roland@hack.frob.com>
4386         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
4387         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
4388         rather than __nacl_irt_filename.
4389         * sysdeps/nacl/xstat.c (__xstat): Likewise.
4391         * NEWS: New item for arm-nacl port.
4392         * sysdeps/arm/nacl/libc.abilist: New file.
4393         * sysdeps/nacl/ld.abilist: New file.
4394         * sysdeps/nacl/libBrokenLocale.abilist: New file.
4395         * sysdeps/nacl/libanl.abilist: New file.
4396         * sysdeps/nacl/libcrypt.abilist: New file.
4397         * sysdeps/nacl/libdl.abilist: New file.
4398         * sysdeps/nacl/libm.abilist: New file.
4399         * sysdeps/nacl/libpthread.abilist: New file.
4400         * sysdeps/nacl/libresolv.abilist: New file.
4401         * sysdeps/nacl/librt.abilist: New file.
4403 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
4405         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
4406         __startcontext to initialize the new context.
4407         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
4408         up CFI directive to forbid further backtracing.
4410 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
4412         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
4413         reference.
4414         * charmaps/ANSI_X3.4-1968: Likewise.
4415         * charmaps/BS_4730: Likewise.
4416         * charmaps/BS_VIEWDATA: Likewise.
4417         * charmaps/CP1250: Likewise.
4418         * charmaps/CP1251: Likewise.
4419         * charmaps/CP1252: Likewise.
4420         * charmaps/CP1253: Likewise.
4421         * charmaps/CP1254: Likewise.
4422         * charmaps/CP1255: Likewise.
4423         * charmaps/CP1256: Likewise.
4424         * charmaps/CSN_369103: Likewise.
4425         * charmaps/EBCDIC-DK-NO: Likewise.
4426         * charmaps/GB_1988-80: Likewise.
4427         * charmaps/GREEK-CCITT: Likewise.
4428         * charmaps/GREEK7: Likewise.
4429         * charmaps/INIS-8: Likewise.
4430         * charmaps/ISIRI-3342: Likewise.
4431         * charmaps/ISO_2033-1983: Likewise.
4432         * charmaps/ISO_5427-EXT: Likewise.
4433         * locales/POSIX: Likewise.
4434         * locales/ar_SA: Likewise.
4435         * locales/be_BY: Likewise.
4436         * locales/be_BY@latin: Likewise.
4437         * locales/ca_ES: Likewise.
4438         * locales/cs_CZ: Likewise.
4439         * locales/da_DK: Likewise.
4440         * locales/de_BE: Likewise.
4441         * locales/de_CH: Likewise.
4442         * locales/de_LU: Likewise.
4443         * locales/en_AU: Likewise.
4444         * locales/en_BW: Likewise.
4445         * locales/en_CA: Likewise.
4446         * locales/en_DK: Likewise.
4447         * locales/en_GB: Likewise.
4448         * locales/en_IE: Likewise.
4449         * locales/en_NZ: Likewise.
4450         * locales/en_ZA: Likewise.
4451         * locales/en_ZW: Likewise.
4452         * locales/es_AR: Likewise.
4453         * locales/es_BO: Likewise.
4454         * locales/es_CL: Likewise.
4455         * locales/es_CO: Likewise.
4456         * locales/es_DO: Likewise.
4457         * locales/es_EC: Likewise.
4458         * locales/es_ES: Likewise.
4459         * locales/es_HN: Likewise.
4460         * locales/es_MX: Likewise.
4461         * locales/es_PA: Likewise.
4462         * locales/es_PE: Likewise.
4463         * locales/es_PY: Likewise.
4464         * locales/es_SV: Likewise.
4465         * locales/es_US: Likewise.
4466         * locales/es_UY: Likewise.
4467         * locales/es_VE: Likewise.
4468         * locales/et_EE: Likewise.
4469         * locales/fa_IR: Likewise.
4470         * locales/fo_FO: Likewise.
4471         * locales/fr_CA: Likewise.
4472         * locales/fr_CH: Likewise.
4473         * locales/gv_GB: Likewise.
4474         * locales/he_IL: Likewise.
4475         * locales/hr_HR: Likewise.
4476         * locales/id_ID: Likewise.
4477         * locales/is_IS: Likewise.
4478         * locales/it_CH: Likewise.
4479         * locales/iw_IL: Likewise.
4480         * locales/kl_GL: Likewise.
4481         * locales/ko_KR: Likewise.
4482         * locales/kw_GB: Likewise.
4483         * locales/lg_UG: Likewise.
4484         * locales/lt_LT: Likewise.
4485         * locales/lv_LV: Likewise.
4486         * locales/mi_NZ: Likewise.
4487         * locales/nhn_MX: Likewise.
4488         * locales/nl_BE: Likewise.
4489         * locales/pl_PL: Likewise.
4490         * locales/sk_SK: Likewise.
4491         * locales/sl_SI: Likewise.
4492         * locales/sv_FI: Likewise.
4493         * locales/tl_PH: Likewise.
4494         * locales/tr_TR: Likewise.
4495         * locales/vi_VN: Likewise.
4497 2015-07-21  Khem Raj  <raj.khem@gmail.com>
4499         [BZ #17475]
4500         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4501         of tu_IN and bh_IN.
4503 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
4505         [BZ #18694]
4506         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4507         bits/wordsize.h.
4508         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4510 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4512         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4513         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4514         (spawn_thread): New function.
4515         (load): Rename to reg_dtor_and_close.  Move dlopen to...
4516         (do_test): ... here.  Use IS_LOADED to test for its
4517         availability.
4519 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
4521         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4523 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
4525         [BZ #18696]
4526         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4527         si_addr_bnd.
4528         (si_lower): New.
4529         (si_upper): Likewise.
4531 2015-07-16  David S. Miller  <davem@davemloft.net>
4533         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4535 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4537         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4538         buffer.
4539         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4540         fail output information.
4542 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4545         and strstr-ppc64..
4546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4547         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4548         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4549         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4550         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4552 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4554         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4555         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4556         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4557         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4559 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
4561         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4562         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4563         rtld_hidden_proto.
4564         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4566 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4568         * tst-nodelete-opened.c (do_test): Add comment to clarify how
4569         the test can fail.
4571         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4573         [BZ #18676]
4574         * elf/tst-nodelete-opened.c: New test case.
4575         * elf/tst-nodelete-opened-lib.c: New test case module.
4576         * elf/Makefile (tests, modules-names): Use them.
4577         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4578         early.
4580 2015-07-15  David S. Miller  <davem@davemloft.net>
4582         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4583         futex-intenal.h
4584         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4585         * sysdeps/sparc/sparc64/Makefile: Likewise.
4586         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4587         Remove space from macro define.
4588         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4590 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
4592         [BZ #17475]
4593         * locale/iso-639.def: Update Bhili and Tulu language codes as
4594         per iso639-3.
4596 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
4598         * elf/tst-leaks1.c (main): Converted to ...
4599         (do_test): ... this.
4600         (TEST_FUNCTION): New macro.
4601         Include test-skeleton.c.
4602         * localedata/tst-langinfo.c (main): Converted to ...
4603         (do_test): ... this.
4604         (TEST_FUNCTION): New macro.
4605         Include test-skeleton.c.
4606         * math/test-fpucw.c (main): Converted to ...
4607         (do_test): ... this.
4608         (TEST_FUNCTION): New macro.
4609         Include test-skeleton.c.
4610         * math/test-tgmath.c (main): Converted to ...
4611         (do_test): ... this.
4612         (TEST_FUNCTION): New macro.
4613         Include test-skeleton.c.
4614         * math/test-tgmath2.c (main): Converted to ...
4615         (do_test): ... this.
4616         (TEST_FUNCTION): New macro.
4617         Include test-skeleton.c.
4618         * setjmp/tst-setjmp.c (main): Converted to ...
4619         (do_test): ... this.
4620         (TEST_FUNCTION): New macro.
4621         Include test-skeleton.c.
4622         * stdio-common/tst-sscanf.c (main): Converted to ...
4623         (do_test): ... this.
4624         (TEST_FUNCTION): New macro.
4625         Include test-skeleton.c.
4626         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4627         (do_test): ... this.
4628         (TEST_FUNCTION): New macro.
4629         Include test-skeleton.c.
4631         * elf/tst-audit9.c (main): Converted to ...
4632         (do_test): ... this.
4633         (TEST_FUNCTION): New macro.
4634         Include test-skeleton.c.
4636 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
4638         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4640 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4642         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4643         New variable.
4645 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4647         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4649 2015-07-14  Roland McGrath  <roland@hack.frob.com>
4651         * sysdeps/generic/dl-fileid.h: New file.
4652         * sysdeps/posix/dl-fileid.h: New file.
4653         * sysdeps/nacl/dl-fileid.h: New file.
4654         * include/link.h: Include <dl-fileid.h>.
4655         (struct link_map): Replace l_dev and l_ino with l_file_id.
4656         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4657         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
4658         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
4660 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4662         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4664 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4666         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4667         Add iff $CXX is set.
4668         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4669         Likewise.
4670         (tst-nodelete-zmodiff): Likewise.
4671         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4673 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4675         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4677 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
4679         * sysdeps/aarch64/fpu/math_private.h
4680         (define math_opt_barrier): Add AArch64 version.
4681         (math_force_eval): Likewise.
4683 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
4685         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4687 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4689         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4690         %ld with %jd and cast to intmax_t.
4691         (do_test_length_zero): Likewise.
4693 2015-07-10  Roland McGrath  <roland@hack.frob.com>
4695         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4697 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
4699         * sysdeps/tile/libm-test-ulps: Regenerated.
4701         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4702         Comment out the whole function, not just its body.
4704 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4706         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4707         locks.
4709         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4711 2015-07-10  Torvald Riegel  <triegel@redhat.com>
4713         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4714         (sem_assume_only_signals_cause_futex_EINTR): Remove.
4716 2015-07-10  Torvald Riegel  <triegel@redhat.com>
4718         * sysdeps/nptl/futex-internal.h: New file.
4719         * sysdeps/nacl/futex-internal.h: New file.
4720         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4721         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4722         error checking.
4723         (setxid_unmark_thread): Likewise.
4724         (__nptl_setxid): Likewise.
4725         (__wait_lookup_done): Likewise.
4726         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4727         * nptl/nptl-init.c (sighandler_setxid): Likewise.
4728         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4729         * nptl/pthread_once.c (clear_once_control): Likewise.
4730         (__pthread_once_slow): Likewise.
4731         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4732         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4733         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4734         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4735         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4736         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4737         Likewise.
4738         (__pthread_rwlock_rdlock): Likewise.
4739         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4740         Likewise.
4741         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4742         Likewise.
4743         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4744         Likewise.
4745         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4746         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4747         Likewise.
4748         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4749         __ASSUME_PRIVATE_FUTEX check.
4750         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4751         Check that shared futexes are supported.
4752         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4753         wrappers with error checking.
4754         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4755         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4756         * nptl/pthread_barrierattr_setpshared.c
4757         (pthread_barrierattr_setpshared): Check that shared futexes are
4758         supported.
4759         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4760         Likewise.
4761         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4762         Likewise.
4763         * nptl/sem_init.c (futex_private_if_supported): Remove.
4764         (__new_sem_init): Adapt and check that shared futexes are supported.
4765         * nptl/sem_open.c (sem_open): Likewise.
4766         * nptl/sem_post.c (futex_wake): Remove.
4767         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4768         (do_futex_wait): Use futex wrappers with error checking.
4769         * nptl/sem_wait.c: Include lowlevellock.h.
4770         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4771         Use futex_supports_pshared.
4772         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4773         Use futex wrappers with error checking.
4774         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4775         Likewise.
4776         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4777         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4778         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4779         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4780         (futex_wake): Likewise.
4781         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4782         (do_futex_wait): Use futex wrappers with error checking.
4783         (__new_sem_wait_slow): Update EINTR handling.
4784         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4786 2015-07-09  Martin Sebor  <msebor@redhat.com>
4788         [BZ #18435]
4789         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4790         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4791         * nptl/Makefile (test-xfail-tst-once5): Define.
4793 2015-07-09  Roland McGrath  <roland@hack.frob.com>
4795         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4796         * elf/dl-minimal.c: For readability, reorder some definitions and
4797         introduce more page breaks.  Include <stdio.h>.
4798         (__libc_fatal): New function.
4800         * include/unistd.h: Add rtld_hidden_proto for _exit.
4801         * posix/_exit.c: Add rtld_hidden_def.
4802         * sysdeps/mach/hurd/_exit.c: Likewise.
4803         * sysdeps/nacl/_exit.c: Likewise.
4804         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4805         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4807 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
4809         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4810         bndmov encoding with zero displacement.
4812 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
4813             H.J. Lu  <hongjiu.lu@intel.com>
4815         [BZ #18134]
4816         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4817         * sysdeps/i386/configure: Regenerated.
4818         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4819         (_dl_runtime_profile): Save and restore Intel MPX return bound
4820         registers when calling _dl_call_pltexit.  Add
4821         PRESERVE_BND_REGS_PREFIX before return.
4822         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4823         (LRV_BND1_OFFSET): Likewise.
4824         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4825         lrv_bnd1.
4826         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4827         typo in bndmov encoding.
4828         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4829         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
4830         branch instructions to preserve bounds.
4832 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4835         [GLIBC_2.22]: Add fmemopen.
4837 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4839         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4840         returns an error, also try to use host port from __mach_host_self for
4841         the __vm_wire call.
4842         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4844 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4846         [BZ #18400]
4847         [BZ #18648]
4848         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4849         Fix pr_uid and pr_gid members.
4850         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
4851         definition to elf_greg_t.
4853 2015-07-08  Roland McGrath  <roland@hack.frob.com>
4855         [BZ #18383]
4856         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
4857         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
4858         * sysdeps/arm/configure: Regenerated.
4859         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
4860         (test-xfail-tst-tlsalign-static): Variable removed.
4862         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4863         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
4864         rather than explicit 'ln -s'.
4866         * resolv/rpc/netdb.h: New file.
4867         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
4869 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4871         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4872         length buffers.
4873         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4874         test-skeleton.c.
4876         [BZ #6544]
4877         [BZ #11216]
4878         [BZ #12836]
4879         [BZ #13151]
4880         [BZ #13152]
4881         [BZ #14292]
4882         * include/stdio.h (fmemopen): Remove hidden prototype.
4883         (__fmemopen): Add new hidden prototype.
4884         * libio/Makefile: Add oldfmemopen object.
4885         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
4886         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
4887         compliance.
4888         * libio/oldfmemopen.c: New file: old fmemopen implementation for
4889         symbol compatibility.
4890         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
4891         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
4892         fmemopen.
4893         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
4894         on append and read mode.
4895         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
4896         fmemopen.
4897         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
4898         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
4899         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
4900         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
4901         Likewise.
4902         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4903         [GLIBC_2.22]: Likewise.
4904         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
4905         Likewise.
4906         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
4907         Likewise.
4908         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4909         [GLIBC_2.22]: Likewise.
4910         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4911         [GLIBC_2.22]: Likewise.
4912         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4913         [GLIBC_2.22]: Likewise.
4914         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4915         [GLIBC_2.22]: Likewise.
4916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4917         [GLIBC_2.22]: Likewise.
4918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4919         [GLIBC_2.22]: Likewise.
4920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4921         [GLIBC_2.22]: Likewise.
4922         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
4923         Likewise.
4924         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
4925         Likewise.
4926         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
4927         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4928         [GLIBC_2.22]: Likewise.
4929         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4930         [GLIBC_2.22]: Likewise.
4931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4932         [GLIBC_2.22]: Likewise.
4933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4934         [GLIBC_2.22]: Likewise.
4935         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
4936         Likewise.
4937         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
4938         Likewise.
4939         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
4940         Likewise.
4941         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
4942         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
4944 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
4946         [BZ #18643]
4947         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
4948         IPV6_PATHMTU, and IPV6_DONTFRAG.
4950 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
4952         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
4953         and _IO_UNBUFFERED.
4954         * libio/oldfileops.c: Likewise.
4955         * libio/wfileops.c: Likewise.
4957 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
4959         * nscd/selinux.c: Delete selinux/flask.h include.
4961 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
4963         [BZ #18641]
4964         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
4965         (putpwent): Likewise.
4966         (getpwnam): Likewise.
4967         (getpwent_r): Likewise.
4968         (getpwuid_r): Likewise.
4969         (getpwnam_r): Likewise.
4970         (fgetpwent_r): Likewise.
4972 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
4974         [BZ #18557]
4975         * inet/rcmd.c (__validuser2_sa): Check user first to
4976         short-circuit host check.
4978 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
4979             Mikhail Ilin  <m.ilin@samsung.com>
4981         [BZ #17833]
4982         * elf/Makefile (tests): Add tst-nodelete.
4983         (modules-names): Add tst-nodelete-uniquemod.
4984         (tst-nodelete-uniquemod.so-no-z-defs): New.
4985         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
4986         (tst-nodelete-zmod.so-no-z-defs): Likewise.
4987         ($(objpfx)tst-nodelete): Likewise.
4988         ($(objpfx)tst-nodelete.out): Likewise.
4989         (LDFLAGS-tst-nodelete): Likewise.
4990         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
4991         * elf/dl-close.c (_dl_close_worker): Add a parameter to
4992         implement forced object deletion.
4993         (_dl_close): Pass false to _dl_close_worker.
4994         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
4995         * elf/tst-nodelete.cc: New file.
4996         * elf/tst-nodeletelib.cc: Likewise.
4997         * elf/tst-znodeletelib.cc: Likewise.
4998         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
5000 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5002         [BZ #18508]
5003         * stdlib/Makefile ($(objpfx)tst-makecontext3):
5004         Depend on $(libdl).
5005         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
5006         is not called infinitely times.
5007         (backtrace_helper): New function.
5008         (trace_arg): New struct.
5009         (st1): Enlarge stack size.
5010         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5011         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
5012         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5013         Likewise.
5015 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5017         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5019 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5021         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
5022         Include sys/types.h instead of bits/types.h.
5023         Remove inclusion of bits/wordsize.h.
5025 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5027         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
5028         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
5029         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
5030         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
5031         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
5032         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
5034 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5036         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
5037         link-defines.sym.
5038         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
5039         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
5040         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
5041         and LR_SIZE.
5042         * sysdeps/i386/link-defines.sym: New file.
5044 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
5046         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
5047         (modules-names): Add tst-auditmod3a tst-auditmod3b.
5048         ($(objpfx)tst-audit3): New rule.
5049         ($(objpfx)tst-audit3.out): Likewise.
5050         * sysdeps/i386/tst-audit3.c: New file.
5051         * sysdeps/i386/tst-audit3.h: Likewise.
5052         * sysdeps/i386/tst-auditmod3a.c: Likewise.
5053         * sysdeps/i386/tst-auditmod3b.c: Likewise.
5055 2015-07-07  Torvald Riegel  <triegel@redhat.com>
5057         [BZ #18633]
5058         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
5059         pointer in C code.
5060         (__strcat_c): Likewise.
5061         (__strcat_g): Likewise.
5063 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
5065         [BZ #18592]
5066         * misc/sbrk.c: Set errno to ENOMEM on overflow.
5068 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
5070         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
5071         New function.  (__ieee754_sqrtf): New function.
5072         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
5073         New function.
5074         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
5075         New function.
5077 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
5079         * sysdeps/ieee754/support.c: Remove unused file.
5081 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5083         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
5084         registers instead of d ones so the layout is kernel abi compatible.
5085         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
5086         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
5087         Likewise.
5089 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5091         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5093 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
5095         [BZ #18619]
5096         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
5097         and return argument in case of subnormal argument.
5099 2015-07-01  Martin Sebor  <msebor@redhat.com>
5101         [BZ #18435]
5102         * nptl/Makefile: Add tst-once5.cc.
5103         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
5104         Remove macro redefinitions.
5105         * nptl/tst-once5.cc: New test.
5107 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
5109         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5111         * sysdeps/arm/libm-test-ulps: Regenerated.
5113         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5114         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5116 2015-06-30  Torvald Riegel  <triegel@redhat.com>
5118         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
5119         lll_lock_wait_private and lll_futex_wake probes.
5121         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
5122         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
5123         Likewise.
5124         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
5125         atomic_spin_nop.
5126         * sysdeps/x86_64/bits/atomic.h: Likewise.
5127         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
5128         to atomic_spin_nop and move ...
5129         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
5130         ... here and ...
5131         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
5132         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5133         atomic_spin_nop instead of BUSY_WAIT_NOP.
5134         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
5135         Likewise.
5136         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
5137         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
5138         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
5139         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
5140         instead of atomic_delay.
5142 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
5144         [BZ #18613]
5145         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
5146         X_ADJ not X when adjusting exponent.
5147         (__ieee754_gamma_r): Do intermediate computations in
5148         round-to-nearest then adjust overflowing and underflowing results
5149         as needed.
5150         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
5151         of X_ADJ not X when adjusting exponent.
5152         (__ieee754_gammaf_r): Do intermediate computations in
5153         round-to-nearest then adjust overflowing and underflowing results
5154         as needed.
5155         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
5156         log of X_ADJ not X when adjusting exponent.
5157         (__ieee754_gammal_r): Do intermediate computations in
5158         round-to-nearest then adjust overflowing and underflowing results
5159         as needed.  Use 1.0L not 1.0f as numerator of division.
5160         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
5161         log of X_ADJ not X when adjusting exponent.
5162         (__ieee754_gammal_r): Do intermediate computations in
5163         round-to-nearest then adjust overflowing and underflowing results
5164         as needed.  Use 1.0L not 1.0f as numerator of division.
5165         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
5166         of X_ADJ not X when adjusting exponent.
5167         (__ieee754_gammal_r): Do intermediate computations in
5168         round-to-nearest then adjust overflowing and underflowing results
5169         as needed.  Use 1.0L not 1.0f as numerator of division.
5170         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
5171         to auto-libm-test-in.
5172         (tgamma_test): Use ALL_RM_TEST.
5173         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
5174         tests of tgamma with spurious-overflow.
5175         * math/auto-libm-test-out: Regenerated.
5176         * math/gen-libm-have-vector-test.sh: Do not check for START.
5177         * sysdeps/i386/fpu/libm-test-ulps: Update.
5178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5180         [BZ #18612]
5181         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
5182         arguments, just return 0.5 times the argument, with underflow
5183         forced as needed.
5184         * math/auto-libm-test-in: Add more tests of j1.
5185         * math/auto-libm-test-out: Regenerated.
5187         [BZ #16559]
5188         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
5189         (__ieee754_j1): Force underflow exception for small results.
5190         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5191         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
5192         (__ieee754_j1f): Force underflow exception for small results.
5193         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5194         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5195         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5196         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
5197         (__ieee754_j1l): Force underflow exception for small results.
5198         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5199         * math/auto-libm-test-in: Add more tests of j1 and jn.
5200         * math/auto-libm-test-out: Regenerated.
5202         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
5203         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
5204         (PF_MPLS): Likewise.
5205         (AF_IB): Likewise.
5206         (AF_MPLS): Likewise.
5207         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
5208         value and macro.
5209         (MS_RMT_MASK): Include MS_LAZYTIME.
5211 2015-06-26  Mel Gorman  <mgorman@suse.de>
5213         [BZ #18502]
5214         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
5215         already minimal.
5217 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
5219         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
5220         (DT_MIPS_NUM): Update.
5221         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
5222         DT_MIPS_RLD_MAP_REL.
5224 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
5226         [BZ #16559]
5227         [BZ #18602]
5228         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
5229         round-to-nearest internally then recompute results that
5230         underflowed to zero in the original rounding mode.
5231         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5232         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5233         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5234         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
5235         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
5236         * sysdeps/i386/fpu/libm-test-ulps: Update.
5237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5239 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5241         * NEWS: Fixed description of link with vector math library.
5243 2015-06-25  Andreas Schwab  <schwab@suse.de>
5245         [BZ #18549]
5246         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
5247         * libio/test-fmemopen.c (do_test): Add test for it.
5249 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
5251         [BZ #17841]
5252         * Makeconfig (no-pie-ldflag): New.
5253         (+link): Set to $(+link-pie) if default to PIE.
5254         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
5255         * config.make.in (build-pie-default): New.
5256         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
5257         is default.  AC_SUBST.
5258         * configure: Regenerated.
5259         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
5261 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5263         * nptl/descr.h (struct pthread): Change type of field setxid_futex
5264         to 'unsigned int'.
5266         * resolv/gai_misc.h (struct waitlist): Change type of field
5267         counterp to 'volatile unsigned int *'.
5268         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
5269         FUTEXADDR and OLDVAL.
5270         * resolv/getaddrinfo_a.c (getaddrinfo_a):
5271         Give local variable TOTAL type 'volatile unsigned int'.
5272         (struct async_waitlist): Change type of field counter to 'unsigned int'.
5273         * resolv/gai_suspend.c (gai_suspend):
5274         Give local variable CNTR type 'unsigned int'.
5276         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
5277         counterp to 'volatile unsigned int *'.
5278         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
5279         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
5280         (aio_suspend): Give local variable CNTR type 'unsigned int'.
5281         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
5282         Give local variable TOTAL type 'volatile unsigned int'.
5283         (struct async_waitlist): Change type of field counter to 'unsigned int'.
5285 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5287         [BZ #18383]
5288         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
5289         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
5290         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
5291         comment for i386/x86-64.
5292         (test-xfail-tst-tlsalign-extern-static): Removed.
5294 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5296         * math/test-double.h: New file.
5297         * math/test-float.h: Likewise.
5298         * math/test-ldouble.h: Likewise.
5299         * math/test-math-inline.h: Likewise.
5300         * math/test-math-no-inline.h: Likewise.
5301         * math/test-math-scalar.h: Likewise.
5302         * math/test-math-vector.h: Likewise.
5303         * math/test-vec-loop.h: Remove file.  Contents moved into
5304         test-math-vector.h.
5305         * math/libm-test.inc (MATHCONST): Do not document macro.
5306         * math/test-double.c: Include test-double.h, test-math-no-inline.h
5307         and test-math-scalar.h.
5308         (FUNC): Remove macro.
5309         (FUNC_TEST): Likewise.
5310         (FLOAT): Likewise.
5311         (MATHCONST): Likewise.
5312         (PRINTF_EXPR): Likewise.
5313         (PRINTF_XEXPR): Likewise.
5314         (PRINTF_NEXPR): Likewise.
5315         (TEST_DOUBLE): Likewise.
5316         (TEST_MATHVEC): Likewise.
5317         (__NO_MATH_INLINES): Likewise.
5318         * math/test-float.c: Include test-float.h, test-math-no-inline.h
5319         and test-math-scalar.h.
5320         (FUNC): Remove macro.
5321         (FUNC_TEST): Likewise.
5322         (FLOAT): Likewise.
5323         (MATHCONST): Likewise.
5324         (PRINTF_EXPR): Likewise.
5325         (PRINTF_XEXPR): Likewise.
5326         (PRINTF_NEXPR): Likewise.
5327         (TEST_FLOAT): Likewise.
5328         (TEST_MATHVEC): Likewise.
5329         (__NO_MATH_INLINES): Likewise.
5330         * math/test-idouble.c: Include test-double.h, test-math-inline.h
5331         and test-math-scalar.h.
5332         (FUNC): Remove macro.
5333         (FUNC_TEST): Likewise.
5334         (FLOAT): Likewise.
5335         (MATHCONST): Likewise.
5336         (PRINTF_EXPR): Likewise.
5337         (PRINTF_XEXPR): Likewise.
5338         (PRINTF_NEXPR): Likewise.
5339         (TEST_DOUBLE): Likewise.
5340         (TEST_MATHVEC): Likewise.
5341         (TEST_INLINE): Likewise.
5342         (__NO_MATH_INLINES): Likewise.
5343         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
5344         test-math-scalar.h.
5345         (FUNC): Remove macro.
5346         (FUNC_TEST): Likewise.
5347         (FLOAT): Likewise.
5348         (MATHCONST): Likewise.
5349         (PRINTF_EXPR): Likewise.
5350         (PRINTF_XEXPR): Likewise.
5351         (PRINTF_NEXPR): Likewise.
5352         (TEST_FLOAT): Likewise.
5353         (TEST_MATHVEC): Likewise.
5354         (TEST_INLINE): Likewise.
5355         (__NO_MATH_INLINES): Likewise.
5356         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
5357         and test-math-scalar.h.
5358         (FUNC): Remove macro.
5359         (FUNC_TEST): Likewise.
5360         (FLOAT): Likewise.
5361         (MATHCONST): Likewise.
5362         (PRINTF_EXPR): Likewise.
5363         (PRINTF_XEXPR): Likewise.
5364         (PRINTF_NEXPR): Likewise.
5365         (TEST_LDOUBLE): Likewise.
5366         (TEST_MATHVEC): Likewise.
5367         (TEST_INLINE): Likewise.
5368         (__NO_MATH_INLINES): Likewise.
5369         * math/test-ldouble.c: Include test-ldouble.h,
5370         test-math-no-inline.h and test-math-scalar.h.
5371         (FUNC): Remove macro.
5372         (FUNC_TEST): Likewise.
5373         (FLOAT): Likewise.
5374         (MATHCONST): Likewise.
5375         (PRINTF_EXPR): Likewise.
5376         (PRINTF_XEXPR): Likewise.
5377         (PRINTF_NEXPR): Likewise.
5378         (TEST_LDOUBLE): Likewise.
5379         (TEST_MATHVEC): Likewise.
5380         (__NO_MATH_INLINES): Likewise.
5381         * math/test-double-vlen2.h: Include test-double.h,
5382         test-math-no-inline.h and test-math-vector.h.
5383         (FLOAT): Remove macro.
5384         (FUNC): Likewise.
5385         (MATHCONST): Likewise.
5386         (PRINTF_EXPR): Likewise.
5387         (PRINTF_XEXPR): Likewise.
5388         (PRINTF_NEXPR): Likewise.
5389         (TEST_DOUBLE): Likewise.
5390         (TEST_MATHVEC): Likewise.
5391         (__NO_MATH_INLINES): Likewise.
5392         (CNCT): Likewise.
5393         (CONCAT): Likewise.
5394         (WRAPPER_NAME): Likewise.
5395         (WRAPPER_DECL): Likewise.
5396         (WRAPPER_DECL_ff): Likewise.
5397         (WRAPPER_DECL_fFF): Likewise.
5398         (VECTOR_WRAPPER): Likewise.
5399         (VECTOR_WRAPPER_ff): Likewise.
5400         (VECTOR_WRAPPER_fFF): Likewise.
5401         (VEC_LEN): New macro.
5402         * math/test-double-vlen4.h: Include test-double.h,
5403         test-math-no-inline.h and test-math-vector.h.
5404         (FLOAT): Remove macro.
5405         (FUNC): Likewise.
5406         (MATHCONST): Likewise.
5407         (PRINTF_EXPR): Likewise.
5408         (PRINTF_XEXPR): Likewise.
5409         (PRINTF_NEXPR): Likewise.
5410         (TEST_DOUBLE): Likewise.
5411         (TEST_MATHVEC): Likewise.
5412         (__NO_MATH_INLINES): Likewise.
5413         (CNCT): Likewise.
5414         (CONCAT): Likewise.
5415         (WRAPPER_NAME): Likewise.
5416         (WRAPPER_DECL): Likewise.
5417         (WRAPPER_DECL_ff): Likewise.
5418         (WRAPPER_DECL_fFF): Likewise.
5419         (VECTOR_WRAPPER): Likewise.
5420         (VECTOR_WRAPPER_ff): Likewise.
5421         (VECTOR_WRAPPER_fFF): Likewise.
5422         (VEC_LEN): New macro.
5423         * math/test-double-vlen8.h: Include test-double.h,
5424         test-math-no-inline.h and test-math-vector.h.
5425         (FLOAT): Remove macro.
5426         (FUNC): Likewise.
5427         (MATHCONST): Likewise.
5428         (PRINTF_EXPR): Likewise.
5429         (PRINTF_XEXPR): Likewise.
5430         (PRINTF_NEXPR): Likewise.
5431         (TEST_DOUBLE): Likewise.
5432         (TEST_MATHVEC): Likewise.
5433         (__NO_MATH_INLINES): Likewise.
5434         (CNCT): Likewise.
5435         (CONCAT): Likewise.
5436         (WRAPPER_NAME): Likewise.
5437         (WRAPPER_DECL): Likewise.
5438         (WRAPPER_DECL_ff): Likewise.
5439         (WRAPPER_DECL_fFF): Likewise.
5440         (VECTOR_WRAPPER): Likewise.
5441         (VECTOR_WRAPPER_ff): Likewise.
5442         (VECTOR_WRAPPER_fFF): Likewise.
5443         (VEC_LEN): New macro.
5444         * math/test-float-vlen4.h: Include test-float.h,
5445         test-math-no-inline.h and test-math-vector.h.
5446         (FLOAT): Remove macro.
5447         (FUNC): Likewise.
5448         (MATHCONST): Likewise.
5449         (PRINTF_EXPR): Likewise.
5450         (PRINTF_XEXPR): Likewise.
5451         (PRINTF_NEXPR): Likewise.
5452         (TEST_FLOAT): Likewise.
5453         (TEST_MATHVEC): Likewise.
5454         (__NO_MATH_INLINES): Likewise.
5455         (CNCT): Likewise.
5456         (CONCAT): Likewise.
5457         (WRAPPER_NAME): Likewise.
5458         (WRAPPER_DECL): Likewise.
5459         (WRAPPER_DECL_ff): Likewise.
5460         (WRAPPER_DECL_fFF): Likewise.
5461         (VECTOR_WRAPPER): Likewise.
5462         (VECTOR_WRAPPER_ff): Likewise.
5463         (VECTOR_WRAPPER_fFF): Likewise.
5464         (VEC_LEN): New macro.
5465         * math/test-float-vlen8.h: Include test-float.h,
5466         test-math-no-inline.h and test-math-vector.h.
5467         (FLOAT): Remove macro.
5468         (FUNC): Likewise.
5469         (MATHCONST): Likewise.
5470         (PRINTF_EXPR): Likewise.
5471         (PRINTF_XEXPR): Likewise.
5472         (PRINTF_NEXPR): Likewise.
5473         (TEST_FLOAT): Likewise.
5474         (TEST_MATHVEC): Likewise.
5475         (__NO_MATH_INLINES): Likewise.
5476         (CNCT): Likewise.
5477         (CONCAT): Likewise.
5478         (WRAPPER_NAME): Likewise.
5479         (WRAPPER_DECL): Likewise.
5480         (WRAPPER_DECL_ff): Likewise.
5481         (WRAPPER_DECL_fFF): Likewise.
5482         (VECTOR_WRAPPER): Likewise.
5483         (VECTOR_WRAPPER_ff): Likewise.
5484         (VECTOR_WRAPPER_fFF): Likewise.
5485         (VEC_LEN): New macro.
5486         * math/test-float-vlen16.h: Include test-float.h,
5487         test-math-no-inline.h and test-math-vector.h.
5488         (FLOAT): Remove macro.
5489         (FUNC): Likewise.
5490         (MATHCONST): Likewise.
5491         (PRINTF_EXPR): Likewise.
5492         (PRINTF_XEXPR): Likewise.
5493         (PRINTF_NEXPR): Likewise.
5494         (TEST_FLOAT): Likewise.
5495         (TEST_MATHVEC): Likewise.
5496         (__NO_MATH_INLINES): Likewise.
5497         (CNCT): Likewise.
5498         (CONCAT): Likewise.
5499         (WRAPPER_NAME): Likewise.
5500         (WRAPPER_DECL): Likewise.
5501         (WRAPPER_DECL_ff): Likewise.
5502         (WRAPPER_DECL_fFF): Likewise.
5503         (VECTOR_WRAPPER): Likewise.
5504         (VECTOR_WRAPPER_ff): Likewise.
5505         (VECTOR_WRAPPER_fFF): Likewise.
5506         (VEC_LEN): New macro.
5507         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5508         test-vec-loop.h.
5509         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5510         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5511         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5512         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5513         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5514         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5515         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5517 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5519         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5520         (__getlogin_r): ... this.
5522 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5524         [BZ #18594]
5525         * math/s_ccosh.c (__ccosh): Compare with least normal value
5526         instead of comparing class with FP_SUBNORMAL.
5527         * math/s_ccoshf.c (__ccoshf): Likewise.
5528         * math/s_ccoshl.c (__ccoshl): Likewise.
5529         * math/s_cexp.c (__cexp): Likewise.
5530         * math/s_cexpf.c (__cexpf): Likewise.
5531         * math/s_cexpl.c (__cexpl): Likewise.
5532         * math/s_csin.c (__csin): Likewise.
5533         * math/s_csinf.c (__csinf): Likewise.
5534         * math/s_csinh.c (__csinh): Likewise.
5535         * math/s_csinhf.c (__csinhf): Likewise.
5536         * math/s_csinhl.c (__csinhl): Likewise.
5537         * math/s_csinl.c (__csinl): Likewise.
5538         * math/s_ctan.c (__ctan): Likewise.
5539         * math/s_ctanf.c (__ctanf): Likewise.
5540         * math/s_ctanh.c (__ctanh): Likewise.
5541         * math/s_ctanhf.c (__ctanhf): Likewise.
5542         * math/s_ctanhl.c (__ctanhl): Likewise.
5543         * math/s_ctanl.c (__ctanl): Likewise.
5544         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5545         csin, csinh, ctan and ctanh.
5546         * math/auto-libm-test-out: Regenerated.
5547         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5548         * sysdeps/i386/fpu/libm-test-ulps: Update.
5549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5551 2015-06-24  Roland McGrath  <roland@hack.frob.com>
5553         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5554         return value is wrong, print the expected value too.
5556 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
5558         [BZ #18585]
5559         * elf/readlib.c (is_gdb_python_file): New.
5560         (process_file): Don't issue errors on filenames with -gdb.py
5561         suffix.
5563 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
5565         * math/auto-libm-test-in: Add more tests of csin and csinh.
5566         * math/auto-libm-test-out: Regenerated.
5567         * math/libm-test.inc (csin_test_data): Remove tests moved to
5568         auto-libm-test-in.
5569         (csinh_test_data): Likewise.
5571         [BZ #18593]
5572         * math/s_csin.c (__csin): Negate before rather than after possibly
5573         overflowing multiplication.
5574         * math/s_csinf.c (__csinf): Likewise.
5575         * math/s_csinh.c (__csinh): Likewise.
5576         * math/s_csinhf.c (__csinhf): Likewise.
5577         * math/s_csinhl.c (__csinhl): Likewise.
5578         * math/s_csinl.c (__csinl): Likewise.
5579         * math/auto-libm-test-in: Add some tests of csin and csinh.
5580         * math/auto-libm-test-out: Regenerated.
5581         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5582         (csinh_test_data): Likewise.
5583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5585         [BZ #18586]
5586         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5587         underflow exception for small results.
5589 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
5591         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5592         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5593         variable and included header.
5594         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5595         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5596         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5597         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5598         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5599         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5600         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5601         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5602         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5603         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5604         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5605         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5606         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5607         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5608         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5609         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5611 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5613         [BZ #16526]
5614         [BZ #16538]
5615         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5616         (__sin): Force underflow exception for arguments with small
5617         absolute value.
5618         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5619         (__kernel_sinf): Force underflow exception for arguments with
5620         small absolute value.
5621         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5622         (__kernel_sincosl): Force underflow exception for arguments with
5623         small absolute value.
5624         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5625         (__kernel_sinl): Force underflow exception for arguments with
5626         small absolute value.
5627         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5628         (__kernel_sincosl): Force underflow exception for arguments with
5629         small absolute value.
5630         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5631         (__kernel_sinl): Force underflow exception for arguments with
5632         small absolute value.
5633         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5634         (__kernel_sinl): Force underflow exception for arguments with
5635         small absolute value.
5636         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5637         (__kernel_sinf): Force underflow exception for arguments with
5638         small absolute value.
5639         * math/auto-libm-test-in: Add more tests of sin and sincos.
5640         * math/auto-libm-test-out: Regenerated.
5642         [BZ #18245]
5643         [BZ #18583]
5644         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5645         (__kernel_standard_l): Use feholdexcept and fesetenv around
5646         conversion to double instead of special-casing overflow and
5647         underflow.
5648         * math/libm-test.inc (fmod_test_data): Add more tests.
5649         (remainder_test_data): Likewise.
5650         (sqrt_test_data): Likewise.
5652 2015-06-23  Torvald Riegel  <triegel@redhat.com>
5654         [BZ #17403]
5655         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5656         atomic_read_barrier, atomic_write_barrier): Define.
5657         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5658         atomic_read_barrier, atomic_write_barrier): Define.
5660 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5662         * math/Makefile [$(PERL) != no]
5663         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5664         dependency on libm-test.stmp below the inclusion of Rules.
5666 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
5668         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5669         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5670         and included header.
5671         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5672         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5673         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5674         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5675         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5676         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5677         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5678         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5679         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5680         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5681         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5682         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5683         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5684         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5685         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5686         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5687         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5688         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5689         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5691 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
5693         [BZ #18371]
5694         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5695         intermediate but not final result might underflow.
5696         * math/s_csqrtf.c (__csqrtf): Likewise.
5697         * math/s_csqrtl.c (__csqrtl): Likewise.
5698         * math/auto-libm-test-in: Add more tests of csqrt.
5699         * math/auto-libm-test-out: Regenerated.
5700         * sysdeps/i386/fpu/libm-test-ulps: Update.
5702         [BZ #18219]
5703         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5704         threshold on absolute value of exponent for which scaling is used.
5705         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5706         * math/auto-libm-test-in: Add more tests of exp2.
5707         * math/auto-libm-test-out: Regenerated.
5709 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
5711         [BZ #17977]
5712         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5713         when initializing interface list, based on the bug analysis
5714         and the patch proposed by Eric Newton.
5715         * resolv/tst-res_hconf_reorder.c: New test.
5716         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5717         tst-res_hconf_reorder.
5718         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5719         and $(shared-thread-library).
5720         (tst-res_hconf_reorder-ENV): New variable.
5722         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5723         in comment.
5725 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
5727         [BZ #16353]
5728         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5729         (__expm1): Force underflow exception for arguments with small
5730         absolute value.
5731         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5732         (__expm1f): Force underflow exception for arguments with small
5733         absolute value.
5734         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5735         (__expm1): Force underflow exception for arguments with small
5736         absolute value.
5737         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5738         (__expm1f): Force underflow exception for arguments with small
5739         absolute value.
5740         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5741         Check for small arguments before calling __expm1.
5742         * math/auto-libm-test-in: Do not mark underflow exceptions as
5743         possibly missing for bug 16353.
5744         * math/auto-libm-test-out: Regenerated.
5746 2015-06-22  Andreas Schwab  <schwab@suse.de>
5748         [BZ #18513]
5749         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5750         PTR queries.
5752 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
5754         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5756         * string/strcoll_l.c: Remove unused struct element idxnow.
5758 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
5760         [BZ #18569]
5761         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5762         underflow and return argument in case of subnormal argument.
5763         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5764         Likewise.
5765         * math/auto-libm-test-in: Add more tests of expm1.
5766         * math/auto-libm-test-out: Regenerated.
5768         [BZ #16361]
5769         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5770         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5771         tiny results.
5772         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5773         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5774         tiny results.
5775         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
5776         mark underflow exceptions as possibly missing for bug 16361.
5777         * math/auto-libm-test-out: Regenerated.
5779 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
5781         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5782         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5783         Remove variable.
5784         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5785         (test-xfail-XOPEN2K8/utmpx.h/conform).
5787         * conform/conformtest.pl ($xerrors): New variable.
5788         (note_error): New function.
5789         (compiletest): New argument $xfail.  Use not_error.
5790         (runtest): Likewise.
5791         (top level): Handle xfail- lines.  Update calls to compiletest and
5792         runtest.  Handle xfail- and optional- in headers listed with
5793         allow-header.
5794         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5795         (O_EXEC): Likewise.
5796         (O_SEARCH): Likewise.
5797         * conform/data/stropts.h-data (ioctl): Likewise.
5798         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5799         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5800         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5801         (msghdr.msg_controllen): Likewise.
5802         (cmsghdr.cmsg_len): Likewise.
5803         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5804         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5805         variable.
5806         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5807         (test-xfail-XPG4/stropts.h/conform): Likewise.
5808         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5809         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5810         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5811         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5812         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5813         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5814         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5815         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5816         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5817         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5818         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5819         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5820         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5821         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5822         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5823         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5824         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5825         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5826         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5828 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5830         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5831         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5832         definitions for proper unfolding of __MATHDECL_VEC.
5834 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5836         * benchtests/bench-strcoll.c:
5837         Include string.h.
5838         (main): Remove unused variable res.
5840 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5842         * timezone/Makefile (%/UTC %/Universal):
5843         Generate test-result files for UTC and Universal.
5845 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
5847         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5849 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
5851         [BZ #16350]
5852         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
5853         for arguments with small absolute value.
5854         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
5855         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
5856         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
5857         (__asinh): Force underflow exception for arguments with small
5858         absolute value.
5859         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
5860         (__asinhf): Force underflow exception for arguments with small
5861         absolute value.
5862         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
5863         (__asinhl): Force underflow exception for arguments with small
5864         absolute value.
5865         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
5866         (__asinhl): Force underflow exception for arguments with small
5867         absolute value.
5868         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
5869         (__asinhl): Force underflow exception for arguments with small
5870         absolute value.
5871         * math/auto-libm-test-in: Do not mark underflow exceptions as
5872         possibly missing for bug 16350.
5873         * math/auto-libm-test-out: Regenerated.
5875         * include/bits/ipc.h: Remove file.
5876         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
5877         variable.
5878         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5879         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5880         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5881         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5882         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5883         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5884         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5885         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5886         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5888         * math/auto-libm-test-in: Remove spurious underflow allowance for
5889         tests of cexp.
5890         * math/auto-libm-test-out: Regenerated.
5892         [BZ #18558]
5893         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
5894         unconditional definition.
5895         (MCAST_BLOCK_SOURCE): Likewise.
5896         (MCAST_UNBLOCK_SOURCE): Likewise.
5897         (MCAST_LEAVE_GROUP): Likewise.
5898         (MCAST_JOIN_SOURCE_GROUP): Likewise.
5899         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5900         (MCAST_MSFILTER): Likewise.
5901         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
5902         Remove variable.
5903         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5904         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5905         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5906         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5907         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5909 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
5911         * NEWS: Mention addition of x86_64 vector sincosf.
5912         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
5913         * math/test-float-vlen4.h: Likewise.
5914         * math/test-float-vlen8.h: Likewise.
5915         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5916         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
5917         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5918         * sysdeps/x86_64/fpu/Versions: New versions added.
5919         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5920         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5921         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5922         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
5923         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5924         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
5925         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5926         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
5927         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5928         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
5929         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
5930         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
5931         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
5932         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
5933         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
5934         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
5935         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
5936         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5937         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5938         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5939         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5940         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5941         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5942         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5944         * NEWS: Mention addition of x86_64 vector sincos.
5945         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
5946         * math/math.h (__MATHDECL_VEC): New macro.
5947         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
5948         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
5949         declaration under condition.
5950         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
5951         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
5952         TEST_VEC_LOOP change.
5953         * math/test-double-vlen4.h: Likewise.
5954         * math/test-double-vlen8.h: Likewise.
5955         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
5956         * math/test-float-vlen4.h: Likewise.
5957         * math/test-float-vlen8.h: Likewise.
5958         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5959         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
5960         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5961         * sysdeps/x86_64/fpu/Versions: New versions added.
5962         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5963         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5964         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5965         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
5966         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
5967         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
5968         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
5969         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
5970         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
5971         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
5972         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
5973         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
5974         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
5975         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
5976         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
5977         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
5978         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
5979         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5980         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5981         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5982         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5983         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5984         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5985         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5987         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5988         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5989         redirections for powf.
5990         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5991         * sysdeps/x86_64/fpu/Versions: New versions added.
5992         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5993         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5994         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5995         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
5996         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
5997         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
5998         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
5999         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
6000         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
6001         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
6002         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
6003         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
6004         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
6005         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
6006         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
6007         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
6008         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
6009         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6010         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6011         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6012         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6013         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6014         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6015         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6016         * math/test-float-vlen16.h: Fixed 2 argument macro.
6017         * math/test-float-vlen4.h: Likewise.
6018         * math/test-float-vlen8.h: Likewise.
6019         * NEWS: Mention addition of x86_64 vector powf.
6021 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
6023         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6024         and redefine.
6025         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6026         and redefine.
6027         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
6028         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6029         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6031         [BZ #18553]
6032         * resource/getpriority.c (getpriority): Rename to __getpriority
6033         and define as weak alias of __getpriority.
6034         * resource/setpriority.c (setpriority): Rename to __setpriority
6035         and define as weak alias of __setpriority.
6036         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
6037         __getpriority and define as weak alias of __getpriority.
6038         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
6039         __setpriority and define as weak alias of __setpriority.
6040         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
6041         strong name.
6042         (setpriority): Use __setpriority as strong name.
6043         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
6044         __getpriority and define as weak alias of __getpriority.
6045         * include/sys/resource.h (__getpriority): Declare.  Use
6046         libc_hidden_proto.
6047         (__setpriority): Likewise.
6048         (getpriority): Don't use libc_hidden_proto.
6049         (setpriority): Likewise.
6050         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
6051         getpriority.  Call __setpriority instead of setpriority.
6052         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
6053         Remove variable.
6055         [BZ #18547]
6056         * misc/getttyent.c (getttynam): Rename to __getttynam and define
6057         as weak alias of __getttynam.  Use prototype function definition.
6058         Call __setttyent, __getttyent and __endttyent instead of
6059         setttyent, getttyent and endttyent.
6060         (getttyent): Rename to __getttyent and define as weak alias of
6061         __getttyent.  Call __setttyent instead of setttyent.  Call
6062         __fgets_unlocked instead of fgets_unlocked.
6063         (setttyent): Rename to __setttyent and define as weak alias of
6064         __setttyent.
6065         (endttyent): Rename to __endttyent and define as weak alias of
6066         __endttyent.
6067         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
6068         (__setttyent): Likewise.
6069         (__endttyent): Likewise.
6070         (getttyent): Don't use libc_hidden_proto.
6071         (setttyent): Likewise.
6072         (endttyent): Likewise.
6073         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
6074         __endttyent instead of setttyent, getttyent and endttyent.
6075         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
6076         Remove variable.
6078         [BZ #18546]
6079         * socket/recv.c (__recv): Use libc_hidden_def.
6080         * socket/socket.c (__socket): Likewise.
6081         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6082         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6083         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
6084         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
6085         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
6086         libc_hidden_def.
6087         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
6088         libc_hidden_weak.
6089         * include/sys/socket.h (__socket): Do not use attribute_hidden.
6090         Use libc_hidden_proto.
6091         (__recv): Likewise.
6092         * socket/Versions (libc): Export __recv and __socket at version
6093         GLIBC_PRIVATE.
6094         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
6095         instead of recv.
6096         (init_mq_netlink): Call __socket instead of socket.
6097         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
6098         Remove variable.
6100         [BZ #18545]
6101         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
6102         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
6103         hidden_weak.
6104         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
6105         define as alias of __mq_timedsend.  Use hidden_weak.
6106         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
6107         __mq_timedsend as strong name.
6108         (mq_timedreceive): Use __mq_timedreceive as strong name.
6109         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
6110         (__mq_timedreceive): Likewise.
6111         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
6112         __mq_timedreceive instead of mq_timedreceive.
6113         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
6114         instead of mq_timedsend.
6115         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
6116         Remove variable.
6118         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
6119         hidden_def and hidden_weak instead of libc_hidden_def and
6120         libc_hidden_weak.
6121         (top level): Refer to hidden_def in comment.
6122         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
6123         macro.  Use it instead of libc_hidden_def.
6124         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
6125         specify __GI_* name explicitly.
6126         (mq_timedreceive): Likewise.
6127         (mq_setattr): Likewise.
6129         [BZ #18544]
6130         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
6131         __pthread_barrier_init and define as weak alias of
6132         __pthread_barrier_init.
6133         * sysdeps/sparc/nptl/pthread_barrier_init.c
6134         (pthread_barrier_init): Likewise.
6135         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
6136         __pthread_barrier_wait and define as weak alias of
6137         __pthread_barrier_wait.
6138         * sysdeps/sparc/nptl/pthread_barrier_wait.c
6139         (pthread_barrier_wait): Likewise.
6140         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6141         (pthread_barrier_wait): Likewise.
6142         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
6143         (pthread_barrier_wait): Likewise.
6144         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
6145         (pthread_barrier_wait): Likewise.
6146         * nptl/Versions (libpthread): Export __pthread_barrier_init and
6147         __pthread_barrier_wait at version GLIBC_PRIVATE.
6148         * include/pthread.h (__pthread_barrier_init): Declare.
6149         (__pthread_barrier_wait): Likewise.
6150         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
6151         Call __pthread_barrier_wait instead of pthread_barrier_wait.
6152         (helper_thread): Likewise.
6153         (init_mq_netlink): Call __pthread_barrier_init instead of
6154         pthread_barrier_init.
6156         [BZ #18542]
6157         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
6158         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
6159         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
6160         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
6161         vswscanf.
6162         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
6163         Remove variable.
6165         [BZ #18540]
6166         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
6167         strong alias of _IO_fflush.  Use libc_hidden_def.
6168         * libio/iofflush_u.c (fflush_unlocked): Rename to
6169         __fflush_unlocked and define as weak alias of __fflush_unlocked.
6170         Use libc_hidden_weak.
6171         * include/stdio.h (__fflush_unlocked): Declare.  Use
6172         libc_hidden_proto.
6173         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
6174         fflush_unlocked.
6175         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
6176         Remove variable.
6178         [BZ #18539]
6179         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
6180         define as weak alias of __addseverity.
6181         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
6182         Remove variable.
6183         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6184         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6185         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6187         [BZ #18536]
6188         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
6189         (__tfind): Likewise.
6190         (__tdelete): Likewise.
6191         (__twalk): Likewise.
6192         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
6193         __twalk to GLIBC_PRIVATE.
6194         * include/search.h (__tsearch): Use libc_hidden_proto.
6195         (__tfind): Likewise.
6196         (__tdelete): Likewise.
6197         (__twalk): Likewise.
6198         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
6199         Call __tdelete instead of tdelete.
6200         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
6201         tfind.  Call __tsearch instead of tsearch.
6202         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
6203         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
6204         Remove variable.
6205         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6207         [BZ #18534]
6208         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
6209         (dprintf): Define as a weak alias of __dprintf, not a strong
6210         alias.
6211         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
6212         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
6213         dprintf.
6214         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
6215         Remove variable.
6216         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6217         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6219         [BZ #18533]
6220         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
6221         not a strong alias.
6222         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
6223         Remove variable.
6225         [BZ #18532]
6226         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
6227         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
6228         (in6addr_loopback): Rename to __in6addr_loopback and define as
6229         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
6230         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
6231         libc_hidden_proto.
6232         (__in6addr_any): Likewise.
6233         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
6234         in6addr_any.
6235         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
6236         variable.
6237         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6239 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6241         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
6242         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
6243         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6244         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6245         redirections for pow.
6246         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6247         * sysdeps/x86_64/fpu/Versions: New versions added.
6248         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6249         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6250         build of SSE, AVX2 and AVX512 IFUNC versions.
6251         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
6252         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
6253         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
6254         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
6255         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
6256         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
6257         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
6258         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
6259         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
6260         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
6261         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
6262         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
6263         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
6264         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
6265         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6266         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6267         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6268         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6269         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6270         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6271         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6272         * NEWS: Mention addition of x86_64 vector pow.
6274         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6275         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6276         redirections for expf.
6277         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6278         * sysdeps/x86_64/fpu/Versions: New versions added.
6279         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6280         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6281         build of SSE, AVX2 and AVX512 IFUNC versions.
6282         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
6283         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
6284         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
6285         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
6286         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
6287         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
6288         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
6289         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
6290         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
6291         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
6292         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
6293         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
6294         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
6295         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6296         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6297         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6298         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6299         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6300         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6301         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6302         * NEWS: Mention addition of x86_64 vector expf.
6304         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
6305         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
6306         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6307         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6308         redirections for exp.
6309         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6310         * sysdeps/x86_64/fpu/Versions: New versions added.
6311         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6312         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6313         build of SSE, AVX2 and AVX512 IFUNC versions.
6314         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
6315         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
6316         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
6317         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
6318         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
6319         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
6320         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
6321         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
6322         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
6323         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
6324         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
6325         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
6326         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
6327         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6328         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6329         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6330         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6331         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6332         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6333         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6334         * NEWS: Mention addition of x86_64 vector exp.
6336         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6337         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6338         redirections for logf.
6339         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6340         * sysdeps/x86_64/fpu/Versions: New versions added.
6341         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6342         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6343         build of SSE, AVX2 and AVX512 IFUNC versions.
6344         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
6345         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
6346         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
6347         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
6348         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
6349         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
6350         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
6351         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
6352         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
6353         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
6354         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
6355         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
6356         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
6357         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6358         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6359         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6360         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6361         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6362         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6363         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6364         * NEWS: Mention addition of x86_64 vector logf.
6366         * bits/libm-simd-decl-stubs.h: Added stubs for log.
6367         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
6368         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6369         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6370         redirections for log.
6371         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6372         * sysdeps/x86_64/fpu/Versions: New versions added.
6373         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6374         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6375         build of SSE, AVX2 and AVX512 IFUNC versions.
6376         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
6377         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
6378         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
6379         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
6380         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
6381         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
6382         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
6383         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
6384         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
6385         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
6386         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
6387         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
6388         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
6389         test.
6390         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6391         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6392         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6393         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6394         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6395         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6396         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6397         * NEWS: Mention addition of x86_64 vector log.
6399 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6401         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
6402         cfi_adjust_cfa_offset argument.
6403         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
6404         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
6406         [BZ #18034]
6407         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
6408         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
6409         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
6410         ordering using ldar.
6411         (_dl_tlsdesc_dynamic): Likewise.
6412         (_dl_tlsdesc_return_lazy): Likewise.
6413         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
6414         relaxed atomics instead of volatile and synchronize with release store.
6415         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
6416         volatile.
6417         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6419 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
6421         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6422         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
6423         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6424         * sysdeps/x86_64/fpu/Versions: New versions added.
6425         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6426         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6427         build of SSE, AVX2 and AVX512 IFUNC versions.
6428         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
6429         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
6430         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
6431         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
6432         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
6433         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
6434         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
6435         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
6436         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
6437         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
6438         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
6439         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
6440         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
6441         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6442         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6443         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6444         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6445         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6446         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6447         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6448         * NEWS: Mention addition of x86_64 vector sinf.
6450 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
6452         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
6453         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
6454         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
6455         Remove variable.
6456         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6457         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6459 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6461         [BZ #18530]
6462         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
6463         strong alias of _IO_fputs.  Use libc_hidden_def.
6464         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
6465         and define as weak alias of __fputs_unlocked.  Use
6466         libc_hidden_weak.
6467         * include/stdio.h (__fputs_unlocked): Declare.  Use
6468         libc_hidden_proto.
6469         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
6470         fputs_unlocked.
6472         [BZ #18529]
6473         * resolv/netdb.h [__USE_POSIX]: Change condition to
6474         [__USE_XOPEN2K].
6475         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6476         not expect.
6477         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6478         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6479         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6480         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6481         [XPG4 || UNIX98] (AI_ALL): Likewise.
6482         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6483         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6484         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6485         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6486         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6487         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6488         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6489         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6490         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6491         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6492         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6493         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6494         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6495         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6496         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6497         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6498         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6499         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6500         [XPG4 || UNIX98] (gai_strerror): Likewise.
6501         [XPG4 || UNIX98] (getaddrinfo): Likewise.
6502         [XPG4 || UNIX98] (getnameinfo): Likewise.
6504         [BZ #18528]
6505         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6506         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6507         __USE_XOPEN2K8].
6508         (getgrent): Likewise.
6509         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6510         expect.
6511         [XPG3 || POSIX2008] (endgrent): Likewise.
6512         [XPG3] (setgrent): Likewise.
6513         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6514         variable.
6515         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6517         [BZ #18527]
6518         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6519         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
6520         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6521         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6522         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6523         * include/unistd.h (__getlogin_r): Declare.  Use
6524         libc_hidden_proto.
6525         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6526         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6527         variable.
6528         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6529         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6530         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6532 2015-06-12  Martin Sebor  <msebor@redhat.com>
6534         [BZ #18512]
6535         * Makerules (check-install-supported): New target.
6536         (install): Add check-install-supported as a dependency.
6537         * manual/install.texi (Installing the C Library): Document
6538         that overriding prefix and exec_prefix is not supported.
6539         Mention DESTDIR.
6540         * INSTALL: Regenerate from the above.
6542 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
6544         [BZ #18519]
6545         * posix/Versions (libc): Export __libc_pread at version
6546         GLIBC_PRIVATE.
6547         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6548         instead of pread.
6549         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6550         variable.
6552         [BZ #18522]
6553         * misc/efgcvt_r.c
6554         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6555         (cvt_symbol): Use weak_alias instead of strong_alias.
6556         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6557         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6558         Remove variable.
6559         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6560         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6562         [BZ #18520]
6563         * inet/herrno.c (h_errno): Rename to __h_errno.
6564         (__libc_h_errno): Define as alias of __h_errno not h_errno.
6565         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6566         to __h_errno instead of h_errno.
6567         * nptl/herrno.c (h_errno): Rename to __h_errno.
6568         (__h_errno_location): Refer to __h_errno not h_errno.
6569         * resolv/Versions (h_errno): Rename to __h_errno.
6570         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6571         Remove variable.
6572         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6574 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
6576         * configure.ac: More strict check for AVX512 assembler support.
6577         * configure: Regenerated.
6579         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6580         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6581         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6582         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6583         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6584         * sysdeps/x86_64/fpu/Versions: New versions added.
6585         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6586         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6587         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6588         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6589         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6590         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6591         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6592         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6593         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6594         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6595         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6596         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6597         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6598         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6599         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6600         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6601         test.
6602         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6603         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6604         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6605         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6606         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6607         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6608         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6609         * NEWS: Mention addition of x86_64 vector sin.
6611 2015-06-11  Florian Weimer  <fweimer@redhat.com>
6613         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6614         comment.
6616 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6618         [BZ #18479]
6619         * nptl/pt-interp.c: New file.
6620         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6621         Add pt-interp.
6622         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6623         $(common-objpfx)runtime-linker.h.
6625 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
6627         * Makeconfig (+interp): Remove unused variable.
6628         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6629         only.  Depend on $(common-objpfx)runtime-linker.h instead of
6630         $(elf-objpfx)runtime-linker.h.
6631         ($(elf-objpfx)runtime-linker.h): Rename to
6632         $(common-objpfx)runtime-linker.h and move ...
6633         * Makerules [$(build-shared) = yes]: ... here.
6634         * elf/interp.c: Include <runtime-linker.h> instead of
6635         <elf/runtime-linker.h>.
6637 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6639         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6640         (__gettimeofday_syscall): Remove vsyscall fallback.
6641         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6642         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6643         Add syscall fallback function.
6644         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6645         if vDSO is not present.
6646         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6647         fallback function.
6648         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6649         present.
6650         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6651         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6653 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
6655         [BZ #18497]
6656         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6657         of wcscmp.
6658         (wcscmp): Define as weak alias of WCSCMP.
6659         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6660         wcscoll.
6661         (USE_HIDDEN_DEF): Define.
6662         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6663         __wcscoll.  Don't use libc_hidden_weak.
6664         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6665         wcscmp.
6666         * sysdeps/i386/i686/multiarch/wcscmp-c.c
6667         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6668         __GI_wcscmp.
6669         (weak_alias): Undefine and redefine.
6670         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6671         __wcscmp and define as weak alias of __wcscmp.
6672         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6673         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
6674         (__wcscoll): Likewise.
6675         (wcscmp): Don't use libc_hidden_proto.
6676         (wcscoll): Likewise.
6677         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6678         wcscoll.
6679         * posix/regexec.c (check_node_accept_bytes): Likewise.
6680         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6681         variable.
6682         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6683         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6685         [BZ #18507]
6686         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6687         __fstatvfs and define as weak alias of __fstatvfs.  Use
6688         libc_hidden_weak.
6689         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6690         and define as weak alias of __statvfs.  Use libc_hidden_weak.
6691         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6692         Define as alias of __fstatvfs, not fstatvfs.
6693         (fstatvfs64): Likewise.
6694         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6695         Define as alias of __statvfs, not statvfs.
6696         (statvfs64): Likewise.
6697         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6698         Remove variable.
6700 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6703         (HAVE_GETCPU_VSYSCALL): Define.
6704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6705         (HAVE_GETCPU_VSYSCALL): Likewise.
6706         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6707         * sysdeps/unix/sysv/linux/sched_getcpu.c
6708         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6709         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6710         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6711         prototype.
6712         * sysdeps/unix/sysv/linux/x86_64/init-first.c
6713         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6714         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6715         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6716         Define.
6717         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6718         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6719         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6720         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6722 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
6724         * sysdeps/x86_64/fpu/Makefile: New file.
6725         * sysdeps/x86_64/fpu/Versions: New file.
6726         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6727         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6728         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6729         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6730         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6731         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6732         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6733         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6734         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6735         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6736         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6737         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6738         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6739         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6740         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6741         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6742         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6743         * sysdeps/x86_64/configure.ac: Options for libmvec build.
6744         * sysdeps/x86_64/configure: Regenerated.
6745         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6746         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6747         * manual/install.texi (Configuring and compiling): Document
6748         --disable-mathvec.
6749         * INSTALL: Regenerated.
6750         * NEWS: Mention addition of libmvec and x86_64 vector cos.
6752         * math/Makefile: Added rules for vector tests.
6753         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6754         declaration under condition.
6755         * math/test-double-vlen2.h: New file.
6756         * math/test-double-vlen4.h: New file.
6757         * math/test-double-vlen8.h: New file.
6758         * math/test-vec-loop.h: Added initialization macro.
6759         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6760         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6761         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6762         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6763         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6764         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6765         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6766         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6767         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6768         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6769         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6771         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6772         * sysdeps/x86_64/fpu/Versions: New versions added.
6773         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6774         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6775         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6776         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6777         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6778         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6779         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6780         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6781         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6782         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6783         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6784         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6785         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6786         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6787         Added build of SSE, AVX2 and AVX512 IFUNC versions.
6788         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6789         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6790         * NEWS: Mention addition of x86_64 vector cosf.
6792         * math/Makefile: Added CFLAGS for new tests.
6793         * math/test-float-vlen16.h: New file.
6794         * math/test-float-vlen4.h: New file.
6795         * math/test-float-vlen8.h: New file.
6796         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6797         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6798         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6799         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6800         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6801         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6802         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6803         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6804         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6805         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6806         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6808 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
6810         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6811         * locale/programs/ld-ctype.c: Likewise.
6813 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6815         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6816         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6817         bit_ZMM16_31_state): New macro.
6818         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6819         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6821 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
6823         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6825 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
6827         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6829 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
6831         [BZ #18498]
6832         * libio/memstream.c (open_memstream): Rename to __open_memstream
6833         and define as weak alias of __open_memstream.
6834         * include/stdio.h (__open_memstream): Declare.  Use
6835         libc_hidden_proto.
6836         (open_memstream): Don't use libc_hidden_proto.
6837         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6838         open_memstream.
6839         * posix/getopt.c (_getopt_internal_r): Likewise.
6840         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6841         variable.
6842         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6843         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6844         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6846         [BZ #18496]
6847         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6848         instead of wcrtomb.
6850         [BZ #18483]
6851         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
6852         [__USE_XOPEN2K8].  Remove redundant #endif.
6853         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
6854         Remove redundant #if.
6855         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
6856         Remove variable.
6857         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6858         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6860         [BZ #18495]
6861         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
6862         (__iswlower): Likewise.
6863         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
6864         (__iswlower): Likewise.
6865         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
6866         instead of towlower.
6867         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
6868         instead of iswlower.  Call __towupper instead of towupper.
6869         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
6870         instead of iswalnum.
6872 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6874         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
6875         errors to stderr.
6877 2015-06-05  Florian Weimer  <fweimer@redhat.com>
6879         [BZ #15661]
6880         [BZ #17322]
6881         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6882         Check for overflow properly.  Check for O_APPEND.  Ignore large
6883         file system block sizes.  Add comments about problems.
6884         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
6885         * manual/filesys.texi (Storage Allocation): New node.
6887 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6889         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
6890         cancellable syscalls.
6891         (SYS_ify): Add guard to no redefine it.
6892         (INLINE_SYSCALL): Likewise.
6893         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
6894         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
6895         SYSCALL_CANCEL instead.
6896         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
6897         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6898         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6899         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6900         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6901         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
6902         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
6903         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
6904         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6905         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6906         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
6907         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
6908         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
6909         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
6910         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
6911         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6912         Likewise.
6913         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6914         (__libc_pread64): Likewise.
6915         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
6916         (__libc_preadv): Likewise.
6917         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
6918         (__libc_readv64): Likewise.
6919         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6920         (__libc_pwrite): Likewise.
6921         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6922         (__libc_pwrite64): Likewise.
6923         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
6924         (__libc_pwritev): Likewise.
6925         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
6926         (__libc_pwritev64): Likewise.
6927         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
6928         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6929         (sync_file_range): Likewise.
6930         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
6931         Likewise.
6932         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
6933         Likewise.
6934         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6935         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6936         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6937         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6938         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6939         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6940         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6941         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
6942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6943         Likewise.
6944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6945         (__libc_read64): Likewise.
6946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
6947         Likewise.
6948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
6949         Likewise.
6950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
6951         Likewise.
6952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
6953         Likewise.
6954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6955         (__libc_pread64): Likewise.
6956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
6957         Likewise.
6958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6959         (__libc_pwrite64): Likewise.
6960         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
6961         (sync_file_range): Likewise.
6962         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
6963         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6964         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6965         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
6966         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
6967         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6968         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6969         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
6970         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
6971         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6972         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6973         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6974         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6975         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6976         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
6977         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6978         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6979         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6980         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6981         Likewise.
6982         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
6983         Likewise.
6984         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
6985         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
6986         Likewise.
6987         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
6988         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
6989         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
6990         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
6991         Likewise.
6992         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
6993         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
6994         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
6995         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
6996         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
6998 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
7000         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
7001         Include dl-vdso.
7002         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
7003         Use VDSO routines for gettimeofday, clock_gettime if
7004         available.
7005         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
7006         Declare VDSO symbols.
7007         * sysdeps/unix/sysv/linux/arm/sysdep.h:
7008         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
7009         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7010         * sysdeps/unix/sysv/linux/arm/Versions: Add
7011         __vdso_clock_gettime.
7013 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7015         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
7016         be an inline implementation regardless of library is built within.
7017         (open_not_cancel_2): Likewise.
7018         (__read_nocancel): Likewise.
7019         (__write_nocancel): Likewise.
7020         (openat_not_cancel): Likewise.
7021         (openat_not_cancel_3): Likewise.
7022         (openat64_not_cancel): Likewise.
7023         (openat64_not_cancel_3): Likewise.
7024         (__close_nocancel): Likewise.
7025         (pause_not_cancel): Likewise.
7026         (nanosleep_not_cancel): Likewise.
7027         (sigsuspend_not_cancel): Likewise.
7029 2015-06-04  Torvald Riegel  <triegel@redhat.com>
7031         [BZ #14958]
7032         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
7033         wake-up.
7034         (__pthread_rwlock_rdlock_slow): Likewise.
7035         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7036         Likewise.
7037         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7038         Likewise.
7039         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
7040         * nptl/tst-rwlock16.c: New file.
7041         * nptl/Makefile (tests): Add new test.
7043 2015-06-04  Torvald Riegel  <triegel@redhat.com>
7045         [BZ #18324]
7046         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
7047         missing wake-up of readers.
7048         * nptl/tst-rwlock15.c: New file.
7049         * nptl/Makefile (tests): Add new test.
7051 2015-06-03  Roland McGrath  <roland@hack.frob.com>
7053         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
7054         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
7055         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
7056         and __nacl_supply_interface_rtld.
7057         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
7058         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
7059         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
7060         Add __nacl_supply_interface_rtld.
7061         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
7063 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
7065         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
7066         isfinite.
7067         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7068         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
7070 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
7072         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
7073         __signbit* with standard C99 macros.
7074         * math/e_exp10l.c: Likewise.
7075         * math/e_exp2l.c: Likewise.
7076         * math/e_scalb.c: Likewise.
7077         * math/e_scalbf.c: Likewise.
7078         * math/e_scalbl.c: Likewise.
7079         * math/s_ldexp.c: Likewise.
7080         * math/s_ldexpf.c: Likewise.
7081         * math/s_ldexpl.c: Likewise.
7082         * math/w_atan2.c: Likewise.
7083         * math/w_atan2f.c: Likewise.
7084         * math/w_atan2l.c: Likewise.
7085         * math/w_cosh.c: Likewise.
7086         * math/w_coshf.c: Likewise.
7087         * math/w_coshl.c: Likewise.
7088         * math/w_exp10.c: Likewise.
7089         * math/w_exp10f.c: Likewise.
7090         * math/w_exp10l.c: Likewise.
7091         * math/w_exp2.c: Likewise.
7092         * math/w_exp2f.c: Likewise.
7093         * math/w_exp2l.c: Likewise.
7094         * math/w_fmod.c: Likewise.
7095         * math/w_fmodf.c: Likewise.
7096         * math/w_fmodl.c: Likewise.
7097         * math/w_hypot.c: Likewise.
7098         * math/w_hypotf.c: Likewise.
7099         * math/w_hypotl.c: Likewise.
7100         * math/w_jnl.c: Likewise.
7101         * math/w_lgamma.c: Likewise.
7102         * math/w_lgamma_r.c: Likewise.
7103         * math/w_lgammaf.c: Likewise.
7104         * math/w_lgammaf_r.c: Likewise.
7105         * math/w_lgammal.c: Likewise.
7106         * math/w_lgammal_r.c: Likewise.
7107         * math/w_pow.c: Likewise.
7108         * math/w_powf.c: Likewise.
7109         * math/w_powl.c: Likewise.
7110         * math/w_remainder.c: Likewise.
7111         * math/w_remainderf.c: Likewise.
7112         * math/w_remainderl.c: Likewise.
7113         * math/w_scalb.c: Likewise.
7114         * math/w_scalbf.c: Likewise.
7115         * math/w_scalbl.c: Likewise.
7116         * math/w_scalbln.c: Likewise.
7117         * math/w_scalblnf.c: Likewise.
7118         * math/w_scalblnl.c: Likewise.
7119         * math/w_sinh.c: Likewise.
7120         * math/w_sinhf.c: Likewise.
7121         * math/w_sinhl.c: Likewise.
7122         * math/w_tgamma.c: Likewise.
7123         * math/w_tgammaf.c: Likewise.
7124         * math/w_tgammal.c: Likewise.
7125         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7126         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
7127         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7128         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7129         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7130         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7131         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7132         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7133         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7134         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7135         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7136         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7137         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7138         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7139         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7140         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7141         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7142         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7143         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7144         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7145         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7146         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7147         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7148         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7149         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7150         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7151         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7152         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7153         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7154         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7155         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
7156         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
7157         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
7158         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
7159         * stdio-common/printf_fp.c: Likewise.
7160         * stdio-common/printf_fphex.c: Likewise.
7161         * stdio-common/printf_size.c: Likewise.
7163 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
7165         [BZ #18470]
7166         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
7167         strnlen.
7168         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
7169         Remove variable.
7170         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7171         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7172         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7173         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7174         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7175         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7176         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7177         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7178         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7179         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7181         [BZ #18468]
7182         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
7183         weak alias of __wmemchr.  Use libc_hidden_weak.
7184         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
7185         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
7186         instead of wmemchr.
7188 2015-06-02  Roland McGrath  <roland@hack.frob.com>
7190         [BZ #18383]
7191         * elf/tst-tlsalign-extern.c: New file.
7192         * elf/tst-tlsalign-extern-static.c: New file.
7193         * elf/tst-tlsalign-vars.c: New file.
7194         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
7195         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
7196         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
7197         ($(objpfx)tst-tlsalign-extern-static): Likewise.
7198         (test-xfail-tst-tlsalign-extern-static): New variable.
7200 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
7202         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
7203         Use variable name _sc_err instead of err.
7204         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
7205         instead of ret.
7206         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
7207         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
7208         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
7209         (INLINE_SYSCALL): Likewise.
7211         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
7212         * include/string.h (__strnlen): Use libc_hidden_proto.
7213         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
7214         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
7215         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
7216         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
7217         (libc_hidden_def): Undefine and redefine.
7218         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
7219         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
7220         __GI_strnlen.
7221         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
7222         libc_hidden_def.
7223         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
7225         [BZ #18469]
7226         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
7227         weak alias of __towlower.  Use libc_hidden_weak.
7228         (towupper): Rename to __towupper and define as weak alias of
7229         __towupper.  Use libc_hidden_weak.
7230         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
7231         (__towupper): Likewise.
7232         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
7233         __towlower instead of towlower.
7235 2015-06-02  Roland McGrath  <roland@hack.frob.com>
7237         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
7238         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
7240 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7242         * sysdeps/aarch64/libm-test-ulps: Update.
7244 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7246         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
7247         Define.
7248         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7249         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7250         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7251         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7252         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
7253         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
7254         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
7256 2015-06-01  Martin Sebor  <msebor@redhat.com>
7258         [BZ #18116]
7259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7260         (__setcontext): Use extended four-operand version of mtsf whenever
7261         possible.
7262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7263         (__novec_swapcontext): Likewise.
7265 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7267         * benchtests/scripts/compare_bench.py: New file.
7268         * benchtests/scripts/import_bench.py (mean): New function.
7269         (split_list): Likewise.
7270         (do_for_all_timings): Likewise.
7271         (compress_timings): Likewise.
7273         * benchtests/scripts/import_bench.py: New file.
7274         * benchtests/scripts/validate_benchout.py: Import import_bench
7275         instead of jsonschema.
7276         (validate_bench): Remove function.
7277         (main): Use import_bench.
7279 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
7281         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
7282         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
7284 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7288 2015-05-28  Roland McGrath  <roland@hack.frob.com>
7290         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
7291         set THREAD_SELF->tid to a magic value and futex-wake it.
7292         Pass its address to the thread_exit system call.
7293         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
7294         bit is clear.
7295         * sysdeps/nacl/lowlevellock.h: New file.
7296         * sysdeps/nacl/lll_timedwait_tid.c: New file.
7298         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
7299         Add TIMEOUT to current time, don't subtract it.
7301 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
7303         [BZ #2981]
7304         [BZ #18422]
7305         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
7306         ($(objpfx)tst-audit2.out): Also depend on
7307         $(objpfx)tst-auditmod9b.so.
7308         * elf/tst-audit2.c: Include <dlfcn.h>.
7309         (calloc_called): New.
7310         (calloc): Allow to be called more than once.
7311         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
7313 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
7315         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
7316         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
7318 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
7320         * stdlib/monetary.h: Fix comment.
7322 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
7324         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
7325         Avoid using variables in #defines that might cause shadowing.
7326         (INTERNAL_VSYSCALL_CALL): Likewise.
7328 2015-05-26  Roland McGrath  <roland@hack.frob.com>
7330         * sysdeps/nacl/lll_timedlock_wait.c: New file.
7332         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
7333         * nptl/lll_timedlock_wait.c: ... to this new file.
7334         * nptl/Makefile (libpthread-routines): Add it.
7335         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
7336         * nptl/lll_timedwait_tid.c: ... to this new file.
7337         * nptl/Makefile (libpthread-routines): Add it.
7338         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
7339         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
7340         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
7341         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
7342         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
7343         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
7344         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
7345         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
7346         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
7347         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
7349 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7351         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
7352         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7353         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7354         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7355         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7356         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7357         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7358         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7359         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7360         * sysdeps/unix/sysv/linux/tile/sysdep.h
7361         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7362         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
7363         using vDSO syscall macro.
7365 2015-05-26  Andriy Rysin  <arysin@gmail.com>
7367         [BZ #17293]
7368         * uk_UA: Fix sorting order for Ukrainian locale
7370 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
7372         * stdlib/monetary.h: Fix comment.
7374 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7376         [BZ #18234]
7377         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
7378         st_mtim and st_ctim members.
7379         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
7380         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
7381         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
7382         (struct stat64): Likewise.
7383         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
7384         (struct stat64): Likewise.
7385         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
7386         (struct stat64): Likewise.
7388 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7390         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
7391         Define and include sysdep-vdso.h.
7392         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
7393         Likewise.
7394         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
7395         Likewise.
7396         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
7397         Define with VDSO_SYMBOL and use PTR_MANGLE.
7398         (__vdso_clock_gettime): Likewise.
7399         (__vdso_clock_getres): Likewise.
7400         (_libc_vdso_platform_setup): Likewise.
7401         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7402         Likewise.
7403         (_libc_vdso_platform_setup): Likewise.
7404         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
7405         Likewise.
7406         (__vdso_clock_gettime): Likewise.
7407         (__vdso_clock_getres): Likewise.
7408         (__vdso_get_tbfreq): Likewise.
7409         (__vdso_getcpu): Likewise.
7410         (__vdso_time): Likewise.
7411         (__vdso_sigtramp_rt64): Likewise.
7412         (__vdso_signtramp32): Likewise.
7413         (__vdso_sigtramp_rt32): Likewise.
7414         (_libc_vdso_platform_setup): Likewise.
7415         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
7416         Likewise.
7417         (__vdso_clock_gettime): Likewise.
7418         (__vdso_clock_getres): Likewise.
7419         (_libc_vdso_platform_setup): Likewise.
7420         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
7421         Likewise.
7422         (__vdso_clock_gettime): Likewise.
7423         (_libc_vdso_platform_setup): Likewise.
7424         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7425         Likewise.
7426         (__vdso_getcpu): Likewise.
7427         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
7428         Use VDSO_SYMBOL macro to define.
7429         (__vdso_clock_gettime): Likewise.
7430         (__vdso_clock_getres): Likewise.
7431         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
7432         Likewise.
7433         (__vdso_clock_gettime): Likewise.
7434         (__vdso_clock_getres): Likewise.
7435         (__vdso_get_tbfreq): Likewise.
7436         (__vdso_getcpu): Likewise.
7437         (__vdso_time): Likewise.
7438         (__vdso_sigtramp_rt64): Likewise.
7439         (__vdso_signtramp32): Likewise.
7440         (__vdso_sigtramp_rt32): Likewise.
7441         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
7442         Likewise.
7443         (__vdso_clock_gettime): Likewise.
7444         (__vdso_clock_getres): Likewise.
7445         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
7446         Likewise.
7447         (__vdso_clock_gettime): Likewise.
7448         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7449         Likewise.
7450         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
7451         macro.
7452         (INTERNAL_VSYSCALL): Likewise.
7453         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
7454         Remove macro.
7455         (INTERNAL_VSYSCALL): Likewise.
7456         (INTERNAL_VSYSCALL_NCS): Likewise.
7457         (INTERNAL_VSYSCALL_CALL): New macro.
7458         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7459         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
7460         Likewise.
7461         (INTERNAL_VSYSCALL): Likewise.
7462         (INTERNAL_VSYSCALL_NCS): Likewise.
7463         (INTERNAL_VSYSCALL_CALL): New macro.
7464         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7466         (INLINE_VSYSCALL): Remove macro.
7467         (INTERNAL_VSYSCALL): Remove macro.
7468         (INTERNAL_VSYSCALL_NCS): Remove macro.
7469         (INTERNAL_VSYSCALL_CALL): New macro.
7470         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
7471         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
7472         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7473         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
7474         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7476         (INLINE_VSYSCALL): Remove macro.
7477         (INTERNAL_VSYSCALL): Likewise.
7478         (INTERNAL_VSYSCALL_NCS): Likewise.
7479         (INTERNAL_VSYSCALL_CALL): New macro.
7480         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7481         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7482         PTR_DEMANGLE on vDSO pointer.
7483         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7484         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7485         macro.
7486         (INTERNAL_SYSCALL): Likewise.
7487         (INTERNAL_VSYSCALL_NCS): Remove macro.
7488         (INTERNAL_VSYSCALL_CALL): New macro.
7489         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7490         Remove macro.
7491         (INTERNAL_VSYSCALL): Likewise.
7492         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7493         sysdep-vdso.h instead of libc-vdso.h.
7494         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7495         definition.
7496         (INLINE_VSYSCALL): Likewise.
7497         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7498         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7499         definition.
7500         (INLINE_VSYSCALL): Likewise.
7501         (INTERNAL_VSYSCALL): Likewise.
7502         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7503         * sysdeps/unix/sysv/linux/timespec_get.c
7504         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7505         (timespec_get): Use ANSI prototype.
7506         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7507         and definition for Linux.
7509 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7511         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7512         * include/libc-symbols.h: libmvec_hidden_* macro series added.
7514 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
7516         [BZ #2981]
7517         [BZ #18410]
7518         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7519         for missing DT_PLTRELSZ.
7521 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
7523         Remove obsolete aliases that broke 'locale -a'
7524         [BZ #18412]
7525         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7526         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7527         breaking some applications that use 'locale -a' output.
7528         Change the encoding of this file from Latin-1 to ASCII to avoid
7529         other potential problems with people grepping this file.
7531 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7533         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7534         -fasynchronous-unwind-tables.
7535         (CFLAGS-sendto.c): Likewise.
7536         (CFLAGS-sendmsg.c): Likewise.
7537         (CFLAGS-connect.c): Likewise.
7538         (CFLAGS-recvmsg.c): Likewise.
7539         (CFLAGS-recvfrom.c): Likewise.
7540         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7541         (SOCKETCALL): New macro: non-cancellable socketcall.
7542         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7543         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7544         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7545         * sysdeps/unix/sysv/linux/accept.c: New file.
7546         * sysdeps/unix/sysv/linux/bind.c: Likewise.
7547         * sysdeps/unix/sysv/linux/connect.c: Likewise.
7548         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7549         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7550         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7551         * sysdeps/unix/sysv/linux/listen.c: Likewise.
7552         * sysdeps/unix/sysv/linux/recv.c: Likewise.
7553         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7554         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7555         * sysdeps/unix/sysv/linux/send.c: Likewise.
7556         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7557         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7558         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7559         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7560         * sysdeps/unix/sysv/linux/socket.c: Likewise.
7561         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7562         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7563         prototype.
7564         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7565         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7566         instead of __internal_xxx function.
7567         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7568         prototype.
7569         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7570         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7571         instead of __internal_xxx function.
7572         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7573         prototype.
7574         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7575         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7576         instead of __internal_xxx function.
7577         * sysdeps/unix/sysv/linux/accept.S: Remove file.
7578         * sysdeps/unix/sysv/linux/bind.S: Likewise.
7579         * sysdeps/unix/sysv/linux/connect.S: Likewise.
7580         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7581         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7582         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7583         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7584         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7585         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7586         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7587         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7588         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7589         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7590         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7591         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7592         * sysdeps/unix/sysv/linux/listen.S: Likewise.
7593         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7594         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7595         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7596         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7599         * sysdeps/unix/sysv/linux/recv.S: Likewise.
7600         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7601         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7602         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7603         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7604         * sysdeps/unix/sysv/linux/send.S: Likewise.
7605         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7606         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7607         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7608         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7609         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7610         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7611         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7612         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7613         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7614         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7615         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7616         socketcall is implemented in GLIBC.
7618 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7620         * soft-fp/fmadf4.c: Include <libc-internal.h>.
7621         (__fma): Ignore uninitialized warnings around packing.
7622         * soft-fp/fmasf4.c: Include <libc-internal.h>.
7623         (__fmaf): Ignore uninitialized warnings around packing.
7624         * soft-fp/fmatf4.c: Include <libc-internal.h>.
7625         (__fmal): Ignore uninitialized warnings around packing.
7627         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7628         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7629         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7630         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7632         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7633         switch statement into default case.
7634         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7636         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7637         a conditional in forcing "inexact".
7638         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7639         Likewise.
7641 2015-05-22  Roland McGrath  <roland@hack.frob.com>
7643         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7644         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7645         for each INTERNAL_SYSCALL use.
7647 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
7649         [BZ #438]
7650         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7651         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7652         variable.
7654         [BZ #18444]
7655         * string/basename.c (basename): Rename to __basename and define as
7656         weak alias of __basename.  Use libc_hidden_weak.
7657         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
7658         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7659         __basename instead of basename.
7660         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7661         Remove variable.
7662         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7664 2015-05-18  Florian Weimer  <fweimer@redhat.com>
7666         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7667         (_IO_JUMPS_FILE_plus): New.
7668         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7669         _IO_CAST_FIELD_ACCESS.
7670         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7671         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7672         * libio/freopen.c (freopen): Likewise.
7673         * libio/freopen64.c (freopen64): Likewise.
7674         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7675         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7676         * libio/iofwide.c (_IO_fwide): Likewise.
7677         * libio/memstream.c (open_memstream): Likewise.
7678         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7679         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7680         * libio/oldiopopen.c (_IO_old_popen): Likewise.
7682 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
7684         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7685         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7686         NADJ.
7687         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7688         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7689         NADJ.
7690         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7691         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7692         NADJ.
7694         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7695         (p == 4) case.
7697         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7698         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7699         Remove variable.
7700         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7701         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7702         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7704 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7706         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7707         Adjust jump table label generation macros.
7709 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7711         * stdio-common/vfprintf.c (vfprintf): Move local variables
7712         args_malloced, specs, specs_malloced, and the code after
7713         do_positional to the printf_positional function.
7714         (printf_positional): New function.
7716 2015-05-21  Florian Weimer  <fweimer@redhat.com>
7718         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7719         function.
7720         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7721         STEP4_TABLE, process_arg): Move macro definitions
7722         out of the vfprintf function.  (Cosmetic change only.)
7724 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
7726         * benchtests/Makefile (stdio-common-bench): Define.
7727         (benchset): Add stdio-common-bench.
7728         * sprintf-inputs: New file.
7729         * sprintf-source.c: New file.
7731 2015-05-21  Andreas Schwab  <schwab@suse.de>
7733         [BZ #13028]
7734         [BZ #17053]
7735         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7736         of struct __res_state.
7737         * resolv/res_send.c (__libc_res_nsend): Likewise.
7738         (get_nsaddr): New function.
7739         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7740         statp directly.
7742 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
7744         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7745         -D_POSIX_C_SOURCE=199506L.
7747         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7749         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7750         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7751         Do not mention otherwise.
7752         [POSIX] (_XOPEN_VERSION): Do not expect.
7753         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7754         [POSIX] (_POSIX2_C_BIND): Likewise.
7755         [POSIX] (_POSIX2_VERSION): Likewise.
7756         [POSIX] (_XOPEN_XPG2): Likewise.
7757         [POSIX] (_XOPEN_XPG3): Likewise.
7758         [POSIX] (_XOPEN_XPG4): Likewise.
7759         [POSIX] (_XOPEN_UNIX): Likewise.
7760         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7761         [POSIX] (_POSIX_BARRIERS): Likewise.
7762         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7763         [POSIX] (_POSIX_CPUTIME): Likewise.
7764         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7765         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7766         [POSIX] (_POSIX_SHELL): Likewise.
7767         [POSIX] (_POSIX_SPAWN): Likewise.
7768         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7769         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7770         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7771         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7772         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7773         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7774         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7775         [POSIX] (_XBS5_LP64_OFF64): Likewise.
7776         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7777         [POSIX] (_POSIX_TIMEOUTS): Likewise.
7778         [POSIX] (_POSIX2_PBS): Likewise.
7779         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7780         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7781         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7782         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7783         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7784         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7785         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7786         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7787         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7788         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7789         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7790         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7791         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7792         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7793         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7794         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7795         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7796         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7797         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7798         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7799         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7800         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7801         [POSIX] (_SC_2_C_BIND): Likewise.
7802         [POSIX] (_SC_2_C_VERSION): Likewise.
7803         [POSIX] (_SC_2_PBS): Likewise.
7804         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7805         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7806         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7807         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7808         [POSIX] (_SC_2_PBS_TRACK): Likewise.
7809         [POSIX] (_SC_ATEXIT_MAX): Likewise.
7810         [POSIX] (_SC_BARRIERS): Likewise.
7811         [POSIX] (_SC_BASE): Likewise.
7812         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7813         [POSIX] (_SC_DEVICE_IO): Likewise.
7814         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7815         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7816         [POSIX] (_SC_FD_MGMT): Likewise.
7817         [POSIX] (_SC_FIFO): Likewise.
7818         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7819         [POSIX] (_SC_FILE_LOCKING): Likewise.
7820         [POSIX] (_SC_FILE_SYSTEM): Likewise.
7821         [POSIX] (_SC_IOV_MAX): Likewise.
7822         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7823         [POSIX] (_SC_NETWORKING): Likewise.
7824         [POSIX] (_SC_PAGE_SIZE): Likewise.
7825         [POSIX] (_SC_PASS_MAX): Likewise.
7826         [POSIX] (_SC_PIPE): Likewise.
7827         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7828         [POSIX] (_SC_REGEXP): Likewise.
7829         [POSIX] (_SC_SHELL): Likewise.
7830         [POSIX] (_SC_SIGNALS): Likewise.
7831         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7832         [POSIX] (_SC_SPIN_LOCKS): Likewise.
7833         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7834         [POSIX] (_SC_USER_GROUPS): Likewise.
7835         [POSIX] (_SC_USER_GROUPS_R): Likewise.
7836         [POSIX] (_SC_STREAMS): Likewise.
7837         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7838         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7839         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7840         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7841         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7842         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7843         [POSIX] (_PC_FILESIZEBITS): Likewise.
7844         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7845         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7846         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7847         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7848         [POSIX] (uid_t): Likewise.
7849         [POSIX] (gid_t): Likewise.
7850         [POSIX] (off_t): Likewise.
7851         [POSIX] (pid_t): Likewise.
7852         [POSIX] (cuserid): Allow.
7853         (_SC_2_CHAR_TERM): Require constant.
7854         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
7855         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
7856         variable.
7858 2015-05-20  Roland McGrath  <roland@hack.frob.com>
7860         * sysdeps/nacl/pthread-pids.h: New file.
7861         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
7862         (create_thread): Use __nacl_get_tid to initialize PD->tid.
7864         * nptl/pthread-pids.h: New file.
7865         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
7866         * nptl/nptl-init.c: Include <pthread-pids.h>.
7867         (__pthread_initialize_minimal_internal):
7868         Call __pthread_initialize_pids instead of set_tid_address syscall.
7870         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
7871         * sysdeps/posix/usleep.c: ... here.
7873 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7875         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
7876         call_pselect6 object.
7877         [$(subdir) = io]: Remove call_sync_file_range object.
7878         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
7879         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
7880         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
7881         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
7883 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
7885         * math/s_cproj.c: Add include "math_private.h".
7886         * math/s_cprojf.c: Likewise.
7887         * math/s_cprojl.c: Likewise.
7889 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
7891         [BZ #18244]
7892         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
7893         high mantissa bit when testing whether P is a NaN.
7894         * math/libm-test.inc (remainder_test_data): Add more tests.
7895         (remquo_test_data): Likewise.
7897         [BZ #18049]
7898         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
7899         below -32, return the argument, with underflow if subnormal.
7900         * math/auto-libm-test-in: Add more tests of atanh.
7901         * math/auto-libm-test-out: Regenerated.
7903 2015-05-19  Roland McGrath  <roland@hack.frob.com>
7905         [BZ #18434]
7906         * nptl/tst-sem15.c: New file.
7907         * nptl/Makefile (tests): Add it.
7908         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
7909         s/<</>>/ to fix typo in EOVERFLOW check.
7910         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
7912 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7914         * manual/strings.texi (envz_remove): Fix typo in safety
7915         annotations.
7917 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
7918             Steve Ellcey  <sellcey@imgtec.com>
7920         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
7921         in order to avoid strict alias warnings.
7922         (iruserok_af): Ditto for ra.
7924 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
7926         [BZ #17581]
7927         * malloc/hooks.c
7928         (magicbyte): Convert to a function and avoid returning 0x01.
7929         (mem2mem_check): Avoid using a length byte equal to the magic byte.
7930         (mem2chunk_check): Fix unsigned comparisons to zero.
7931         Hoist defs of sz and magic.
7933 2015-05-19  Richard Henderson  <rth@redhat.com>
7935         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
7937         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7939 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7941         [BZ #16159]
7942         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
7943         * malloc/arena.c (arena_lock): Check if arena is corrupt.
7944         (reused_arena): Find a non-corrupt arena.
7945         (heap_trim): Pass arena to unlink.
7946         * malloc/hooks.c (malloc_check_get_size): Pass arena to
7947         malloc_printerr.
7948         (top_check): Likewise.
7949         (free_check): Likewise.
7950         (realloc_check): Likewise.
7951         * malloc/malloc.c (malloc_printerr): Add arena argument.
7952         (unlink): Likewise.
7953         (munmap_chunk): Adjust.
7954         (ARENA_CORRUPTION_BIT): New macro.
7955         (arena_is_corrupt): Likewise.
7956         (set_arena_corrupt): Likewise.
7957         (sysmalloc): Use mmap if there are no usable arenas.
7958         (_int_malloc): Likewise.
7959         (__libc_malloc): Don't fail if arena_get returns NULL.
7960         (_mid_memalign): Likewise.
7961         (__libc_calloc): Likewise.
7962         (__libc_realloc): Adjust for additional argument to
7963         malloc_printerr.
7964         (_int_free): Likewise.
7965         (malloc_consolidate): Likewise.
7966         (_int_realloc): Likewise.
7967         (_int_memalign): Don't touch corrupt arenas.
7968         * malloc/tst-malloc-backtrace.c: New test case.
7970         * Makefile (summarize-tests): Fix return value on success.
7972         * manual/string.texi (Envz Functions): Add envz_remove.
7974 2015-05-18  Roland McGrath  <roland@hack.frob.com>
7976         * sysdeps/posix/opendir.c: Include <stdbool.h>.
7977         (invalid_name): New function, broken out of ...
7978         (__opendirat): ... here.  Call it.
7979         (need_isdir_precheck): New function, broken out of ...
7980         (__opendirat): ... here.  Call it.
7981         Use __fxstatat64, not __xstatat64.
7982         (opendir_oflags): New function, broken out of ...
7983         (__opendirat): ... here.  Call it.
7984         (opendir_tail): New function, broken out of ...
7985         (__opendirat): ... here.  Call it.
7986         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
7987         opendir_tail, rather than punting to __opendirat.
7988         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
7990 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7992         * .gitignore: Ignore generated *.pyc.
7994 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
7996         * include/stdio.h: Define __need_wint_t.
7997         * test-skeleton.c: Avoid `for' loop initial declaration.
7998         * nptl/tst-initializers1.c: Use test-skeleton.c.
8000 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8002         [BZ #18418]
8003         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
8005 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
8007         [BZ #16352]
8008         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
8009         (__ieee754_atanh): Force underflow exception for results with
8010         small absolute value.
8011         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
8012         (__ieee754_atanhf): Force underflow exception for results with
8013         small absolute value.
8014         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
8015         (__ieee754_atanh): Force underflow exception for results with
8016         small absolute value.
8017         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
8018         (__ieee754_atanhf): Force underflow exception for results with
8019         small absolute value.
8020         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
8021         (__ieee754_atanhl): Force underflow exception for results with
8022         small absolute value.
8023         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
8024         (__ieee754_atanhl): Force underflow exception for results with
8025         small absolute value.
8026         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
8027         (__ieee754_atanhl): Force underflow exception for results with
8028         small absolute value.
8029         * math/auto-libm-test-in: Do not allow missing underflow
8030         exceptions from atanh.
8031         * math/auto-libm-test-out: Regenerated.
8033         [BZ #18221]
8034         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
8035         2**-28 as threshold for returning x or +/- 1/x.
8036         * math/auto-libm-test-in: Add more tests of tan.
8037         * math/auto-libm-test-out: Regenerated.
8039         [BZ #18220]
8040         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
8041         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
8042         * math/auto-libm-test-in: Add another test of lgamma.
8043         * math/auto-libm-test-out: Regenerated.
8045 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
8047         * stdio-common/printf_fp.c (___printf_fp): Use abs.
8048         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
8049         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
8050         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
8051         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
8052         (ADD2A): Use fabs.  (SUB2A): Use fabs.
8053         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
8054         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
8055         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
8056         (log1): Use fabs.  (my_log2): Use fabs.
8057         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
8058         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
8059         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
8060         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
8061         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
8062         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
8063         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
8064         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
8065         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
8066         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
8067         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
8069 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
8071         [BZ #18217]
8072         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
8073         as threshold for returning 1 - x.
8074         * math/auto-libm-test-in: Add more tests of erfc.
8075         * math/auto-libm-test-out: Regenerated.
8077 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
8079         [BZ #18196]
8080         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
8081         threshold for large arguments.
8082         * math/auto-libm-test-in: Add another test of atan.
8083         * math/auto-libm-test-out: Regenerated.
8085         [BZ #16339]
8086         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
8087         (__log1p): Force underflow exception for results with small
8088         absolute value.
8089         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
8090         (__log1pf): Force underflow exception for results with small
8091         absolute value.
8092         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
8093         (__log1p): Force underflow exception for results with small
8094         absolute value.
8095         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
8096         (__log1pf): Force underflow exception for results with small
8097         absolute value.
8098         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
8099         (__log1pl): Force underflow exception for results with small
8100         absolute value.
8101         * math/auto-libm-test-in: Do not allow missing underflow
8102         exceptions from log1p.
8103         * math/auto-libm-test-out: Regenerated.
8105 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
8106             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8108         [BZ #16704]
8109         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
8111 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
8113         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
8114         (libmvec): New variable.
8115         * configure.ac: Added option for mathvec build.
8116         * configure: Regenerated.
8117         * mathvec/Depend: New file.
8118         * mathvec/Makefile: New file.
8119         * shlib-versions: Added libmvec.
8120         * math/Makefile: Added rule for libm.so installation.
8122         * bits/math-vector.h: New file.
8123         * bits/libm-simd-decl-stubs.h: New header.
8124         * math/Makefile (headers): Added new header
8125         libm-simd-decl-stubs.h.
8126         * math/math.h (__MATHCALL_VEC): New macro.
8128         * math/gen-libm-have-vector-test.sh: Script generates series of macros
8129         for conditions in testing functions.
8130         * math/Makefile: Added call of libm-have-vector-test.sh.
8131         * math/libm-test.inc (HAVE_VECTOR): New macros.
8133         * math/libm-test.inc: START refactored.
8134         * math/test-double.c (TEST_MATHVEC): Add define.
8135         * math/test-float.c: Likewise.
8136         * math/test-idouble.c: Likewise.
8137         * math/test-ifloat.c: Likewise.
8138         * math/test-ildoubl.c: Likewise.
8139         * math/test-ldouble.c: Likewise.
8140         * sysdeps/generic/math-tests-arch.h
8141         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
8142         architecture check.
8144         * math/test-double.c (FUNC_TEST): New macro.
8145         * math/test-float.c: Likewise.
8146         * math/test-idouble.c: Likewise.
8147         * math/test-ifloat.c: Likewise.
8148         * math/test-ildoubl.c: Likewise.
8149         * math/test-ldouble.c: Likewise.
8150         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
8152 2015-05-13  Roland McGrath  <roland@hack.frob.com>
8154         * sysdeps/nacl/fdopendir.c: New file.
8156         * dirent/scandir-tail.c: New file.
8157         * dirent/scandir64-tail.c: New file.
8158         * dirent/Makefile (routines): Add them.
8159         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
8160         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
8161         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
8162         [!SCANDIR] (SCANDIR_TAIL): New macro.
8163         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
8164         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
8165         (SCANDIRAT): Macro removed.
8166         (SCANDIR_TAIL): New macro.
8167         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
8168         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
8169         (SCANDIRAT): Just call __opendirat and __scandir_tail.
8170         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
8171         (READDIR): Macro removed.
8172         (SCANDIR_TAIL): New macro.
8173         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
8174         (SCANDIR_TAIL): New macro.
8176         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
8177         * dirent/scandir-cancel.c: ... to this new file.
8178         * dirent/Makefile (routines): Add it.
8179         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
8180         * sysdeps/unix/sysv/linux/i386/scandir64.c
8181         (SKIP_SCANDIR_CANCEL): Macro removed.
8182         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
8184         * dirent/tst-scandir.c: New file.
8185         * dirent/tst-scandir64.c: New file.
8186         * dirent/Makefile (tests): Add them.
8188 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8190         [BZ #18409]
8191         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
8193 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8195         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
8196         list.
8198 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
8200         * benchtests/bench-strcoll.c: New benchmark.
8201         * benchtests/Makefile: Generate locales and run benchmark.
8202         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
8203         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8204         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
8205         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
8206         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
8207         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
8208         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
8209         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
8210         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
8211         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
8212         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
8213         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
8214         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
8215         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
8216         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
8217         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
8218         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
8219         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
8220         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
8221         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
8222         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
8223         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
8224         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
8225         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
8227 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
8229         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
8230         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8232 2015-05-12  Roland McGrath  <roland@hack.frob.com>
8234         * posix/uname-values.h: New file.
8235         * posix/uname.c: Include that instead of <config-name.h>.
8236         * sysdeps/nacl/uname-values.h: New file.
8237         * sysdeps/arm/nacl/uname-values.h: New file.
8239 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
8241         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
8242         splitting into fields.
8244 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
8246         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
8247         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
8248         * locale/localeinfo.h: Add enum collation_encoding_type.
8249         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
8250         * programs/ld-collate.c (collate_output): Add encoding type info.
8251         * string/strcoll_l.c (STRDIFF): New function.
8252         * (STRCOLL): Use STRDIFF to skip over equal prefix.
8253         * wcsmbs/wcscoll_l.c: Define STRDIFF.
8255 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
8257         [BZ #18397]
8258         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
8259         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
8260         <fpu_control.h> instead of <math/fpu_control.c>.
8261         * sysdeps/mips/mips32/fpu/Makefile: New file.
8263 2015-05-11  Andreas Schwab  <schwab@suse.de>
8265         [BZ #18007]
8266         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
8267         nss_endgrent.
8268         (_nss_compat_endgrent): Call nss_endgrent.
8269         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
8270         nss_endpwent.
8271         (_nss_compat_endpwent): Call nss_endpwent.
8272         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
8273         needent, call nss_setspent only if non-zero.
8274         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
8275         (internal_endspent): Don't call nss_endspent.
8276         (_nss_compat_endspent): Call nss_endspent.
8277         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
8278         Remove.  All uses removed.
8279         (internal_setent): Remove parameter stayopen, add parameter
8280         stream.  Use it instead of global variable.
8281         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
8282         (internal_endent, internal_getent): Add parameter stream.  Use it
8283         instead of global variable.
8284         (CONCAT(_nss_files_end,ENTNAME))
8285         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
8286         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
8287         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
8288         uses removed.
8289         (internal_setent, internal_endent): Add parameter stream.  Use it
8290         instead of global variable.
8291         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
8292         stream.
8293         (get_next_alias): Add parameter stream.
8294         (_nss_files_getaliasent_r): Pass global stream.
8295         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
8296         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
8297         (_nss_files_gethostbyname4_r): Pass local stream to
8298         internal_setent, internal_getent and internal_endent.  Remove
8299         locking.
8301 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8303         * tst-strfmon1.c (tests): Update expected currency symbol.
8305 2015-05-08  Roland McGrath  <roland@hack.frob.com>
8307         * sysdeps/nacl/gethostname.c: New file.
8309 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
8311         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
8312         and sinh.
8313         * math/auto-libm-test-out: Regenerated.
8314         * sysdeps/i386/fpu/libm-test-ulps: Update.
8315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8317 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
8319         [BZ #18125]
8320         * stdlib/tst-setcontext3.c: New file.
8321         * stdlib/tst-setcontext3.sh: New file.
8322         * stdlib/Makefile (tests): Add tst-setcontext3.
8323         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
8324         to verify test program created output file.
8325         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
8326         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
8327         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
8328         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
8330 2015-05-06  Roland McGrath  <roland@hack.frob.com>
8332         [BZ #18383]
8333         * elf/tst-tlsalign.c: New file.
8334         * elf/tst-tlsalign-static.c: New file.
8335         * elf/tst-tlsalign-lib.c: New file.
8336         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
8337         (tests-static): Add tst-tlsalign-static.
8338         (modules-names): Add tst-tlsalign-lib.
8339         (test-xfail-tst-tlsalign): New variable.
8340         (test-xfail-tst-tlsalign-static): New variable.
8342         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
8343         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
8345 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
8347         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
8348         csqrt, erfc, sin and sincos.
8349         * math/auto-libm-test-out: Regenerated.
8350         * sysdeps/i386/fpu/libm-test-ulps: Update.
8351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8353 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8355         * sysdeps/aarch64/libm-test-ulps: Update.
8357 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
8359         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
8360         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
8361         * math/auto-libm-test-out: Regenerated.
8362         * sysdeps/i386/fpu/libm-test-ulps: Update.
8363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8365 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8367         [BZ #18265]
8368         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
8369         (wcsncpy): Likewise.
8371 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8373         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8374         Assume __ASSUME_FALLOCATE is always true.
8375         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8376         (__posix_fallocate64_l64): Likweise.
8377         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
8378         (posix_fallocate): Likewise.
8379         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
8380         (__posix_fallocate64_l64): Likewise.
8381         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8382         [!__ASSUME_FALLOCATE]: Add comment.
8384 2015-05-05  Florian Weimer  <fweimer@redhat.com>
8386         * sysdeps/unix/sysv/linux/i386/Makefile
8387         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
8388         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
8389         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
8390         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8391         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8392         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
8393         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
8395 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
8397         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
8398         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
8399         tgamma.
8400         * math/auto-libm-test-out: Regenerated.
8401         * sysdeps/i386/fpu/libm-test-ulps: Update.
8402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8404 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8406         * math/auto-libm-test-in: Add more tests of tgamma.
8407         * math/auto-libm-test-out: Regenerated.
8408         * sysdeps/i386/fpu/libm-test-ulps: Update.
8409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8411         * math/auto-libm-test-in: Add more tests of tanh.
8412         * math/auto-libm-test-out: Regenerated.
8413         * sysdeps/i386/fpu/libm-test-ulps: Update.
8414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8416         * math/auto-libm-test-in: Add more tests of tan.
8417         * math/auto-libm-test-out: Regenerated.
8418         * sysdeps/i386/fpu/libm-test-ulps: Update.
8419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8421         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
8422         * math/auto-libm-test-out: Regenerated.
8423         * sysdeps/i386/fpu/libm-test-ulps: Update.
8424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8426         * math/auto-libm-test-in: Add another test of pow.
8427         * math/auto-libm-test-out: Regenerated.
8428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8430         * math/auto-libm-test-in: Add more tests of lgamma.
8431         * math/auto-libm-test-out: Regenerated.
8432         * sysdeps/i386/fpu/libm-test-ulps: Update.
8433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8435         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
8436         log1p.
8437         * math/auto-libm-test-out: Regenerated.
8438         * sysdeps/i386/fpu/libm-test-ulps: Update.
8439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8441 2015-05-01  Mark Wielaard  <mjw@redhat.com>
8443         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
8444         Elf64_Chdr structs and ELFCOMPRESS constants.
8446 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
8448         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
8449         expm1.
8450         * math/auto-libm-test-out: Regenerated.
8451         * sysdeps/i386/fpu/libm-test-ulps: Update.
8452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8454         * math/auto-libm-test-in: Add more tests of erf and erfc.
8455         * math/auto-libm-test-out: Regenerated.
8456         * sysdeps/i386/fpu/libm-test-ulps: Update.
8457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8459 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8461         * config.h.in (HAVE_AARCH64_BE): Add.
8463 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
8465         * math/auto-libm-test-in: Add more tests of csqrt.
8466         * math/auto-libm-test-out: Regenerated.
8467         * sysdeps/i386/fpu/libm-test-ulps: Update.
8468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8470         * math/auto-libm-test-in: Add more tests of cosh and sinh.
8471         * math/auto-libm-test-out: Regenerated.
8472         * sysdeps/i386/fpu/libm-test-ulps: Update.
8473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8475         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8477 2015-04-29  Roland McGrath  <roland@hack.frob.com>
8479         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8480         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8482         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8483         (euidaccess, eaccess): Define as weak aliases.
8485         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8486         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
8487         but __suseconds_t is often 'long int' so some sources assume that
8488         type is being used (e.g. they use %ld to print tv_usec).
8490 2015-04-29  Florian Weimer  <fweimer@redhat.com>
8492         [BZ #18007]
8493         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8494         (CVE-2014-8121)
8495         * nss/tst-nss-getpwent.c: New file.
8496         * nss/Makefile (tests): Add new test.
8498 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
8500         [BZ #18346]
8501         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8502         exponents less than 48 as cases where high part of mantissa needs
8503         examining to determine whether argument is integral.
8504         * math/libm-test.inc (round_test_data): Add more tests.
8506 2015-04-28  Mark Wielaard  <mjw@redhat.com>
8508         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8510 2015-04-27  David S. Miller  <davem@davemloft.net>
8512         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8513         __tls_get_addr.
8514         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8516 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
8518         [BZ#18333]
8519         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8521 2015-04-27  Florian Weimer  <fweimer@redhat.com>
8523         [BZ#18333]
8524         * time/tzset.c (parse_tzname): Return error on memory allocation
8525         failure.
8526         * test-skeleton.c (struct temp_name_list): Change type of name
8527         member to non-const.
8528         (add_temp_file): Create a copy of the file name.
8529         (delete_temp_files): Deallocate memory.
8530         (create_temp_file): Add comment.
8532 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8534         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8535         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8537 2015-04-24  Roland McGrath  <roland@hack.frob.com>
8539         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8540         * sysdeps/arm/configure: Regenerated.
8542 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8544         [BZ #17715]
8545         * time/tzfile.c (__tzfile_read): Check for large values of
8546         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
8547         * time/tzset.c (__tzstring_len): New function, based on the old
8548         __tzstring function.
8549         (__tzstring): Call __tzstring_len.
8550         (parse_tzname): New helper function extracted from
8551         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
8552         the input string.
8553         (parse_offset): New helper function extracted from
8554         __tzset_parse_tz.  Replace switch with fallthrough with
8555         initialization before sscanf.
8556         (parse_rule): Likewise.
8557         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
8558         new-style function definition.
8559         * timezone/Makefile (tests): Add tst-tzset.
8560         (tst-tzset.out): Dependencies on time zone files.
8561         (tst-tzset-ENV): Set TZDIR.
8562         (testdata/XT%): Copy crafted time zone files.
8563         * timezone/README: Mention crafted time zone files.
8564         * timezone/testdata/XT1, timezone/testdata/XT2,
8565         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8566         files.
8567         * timezone/tst-tzset.c: New test.
8569 2015-04-24  Florian Weimer  <fweimer@redhat.com>
8571         * Makeconfig (+gccwarn): Remove -Winline.
8573 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8575         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8577 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8579         * NEWS: Mention sysconf() cache information support for s390.
8580         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8582 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
8584         * math/k_casinh.c (__kernel_casinh): Use __copysign.
8585         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8586         (__nearbyint): Likewise.
8587         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8588         (copysignl): Likewise.
8590 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
8592         [BZ #18287]
8593         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8594         based on padding.  (CVE-2015-1781)
8596 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8598         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8599         libc-vdso.h.
8600         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8601         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8602         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8603         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8604         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8605         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8606         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8607         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8608         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8609         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8610         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8611         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8612         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8613         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8614         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8615         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8616         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8617         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8618         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8619         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8620         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8621         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8622         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8624 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
8626         * stdlib/setenv.c (__add_to_environ):
8627         Dump core quickly if setenv (..., NULL, ...) is called.
8628         This time, do it the right way, and pacify GCC with a pragma.
8630 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8632         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8633         IMAP->l_prev cannot be null, and #if out the code for the contrary
8634         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8635         believe that NS (&_dl_ns[NSID]) could point outside the array.
8637         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8638         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8639         before using NSID as an index.
8641 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
8643         [BZ #17825]
8644         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8645         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8646         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8648 2015-04-17  Roland McGrath  <roland@hack.frob.com>
8650         Add preliminary port to Google Native Client on ARM.
8651         * abi-tags (.*-.*-nacl.*): New entry.
8652         * sysdeps/arm/nacl: New directory.
8653         * sysdeps/nacl: New directory.
8655 2015-04-16  David S. Miller  <davem@davemloft.net>
8657         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8658         lowlevellock-futex.h
8660 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
8662         * sysdeps/tile/configure.ac: New file.
8663         * sysdeps/tile/configure: Regenerated.
8665 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8667         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
8668         conditionals for weak_alias and libc_hidden_weak.
8669         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8670         libc_hidden_weak and weak_alias.
8671         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8672         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8673         and weak_alias for static one.
8675 2015-04-15  David S. Miller  <davem@davemloft.net>
8677         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8679 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8681         [BZ #18206]
8682         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8683           Use signed comparision instead of substraction to avoid
8684           overflow bug.
8685         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8686           Take the sign of ret.
8687         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8688           Do not expect precise return values. Only the sign matters.
8689         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8690         * wcsmbs/test-wcsncmp.c: New File.
8691         * string/test-strncmp.c: Add wcsncmp support.
8693 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8695         [BZ #6792]
8696         * math/w_log1p.c: New file.
8697         * math/w_log1pf.c: Likewise.
8698         * math/w_log1pl.c: Likewise.
8699         * math/Makefile (libm-calls): Add w_log1p.
8700         * math/s_log1pl.c (log1pl): Remove weak_alias.
8701         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8702         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8703         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8704         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8705         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8706         [NO_LONG_DOUBLE] (log1pl): Likewise.
8707         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8708         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8709         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8710         (log1p): Remove long_double_symbol.
8711         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8712         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8713         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8714         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8715         remove weak_alias for corresponding log1p function.
8716         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8717         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8718         * sysdeps/ia64/fpu/w_log1p.c: New file.
8719         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8720         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8721         * math/libm-test.inc (log1p_test_data): Add errno expectations.
8723 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
8725         [BZ #18247]
8726         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8727         decimal exponent by 1.
8728         * stdlib/tst-strtod-round-data: Add more tests.
8729         * stdlib/tst-strtod-round.c (tests): Regenerated.
8731 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
8733         * math/auto-libm-test-in: Add more tests of clog and clog10.
8734         * math/auto-libm-test-out: Regenerated.
8735         * sysdeps/i386/fpu/libm-test-ulps: Update.
8736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8738 2015-04-09  Roland McGrath  <roland@hack.frob.com>
8740         * Makeconfig (module-cppflags): Exclude all .v.i files.
8741         (skip-module-cppflags): Variable removed.
8743         * configure.ac (libc_config_ok): Initialize before reading
8744         preconfigure scripts, not after.
8745         * configure: Regenerated.
8747         * test-skeleton.c (TIMEOUT): Move #define to top level.
8748         (main): Grok environment variable TEST_DIRECT.  If set, print
8749         test expectation details into that file and then behave as if
8750         given --direct.
8752 2015-04-09  Florian Weimer  <fweimer@redhat.com>
8754         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8755         warning on 32-bit.
8757 2015-04-08  David S. Miller  <davem@davemloft.net>
8759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8761 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
8763         * math/auto-libm-test-in: Add more tests of atanh.
8764         * math/auto-libm-test-out: Regenerated.
8765         * sysdeps/i386/fpu/libm-test-ulps: Update.
8766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8768         * math/auto-libm-test-in: Add more tests of atan.
8769         * math/auto-libm-test-out: Regenerated.
8770         * sysdeps/i386/fpu/libm-test-ulps: Update.
8771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8773 2015-04-08  Florian Weimer  <fweimer@redhat.com>
8775         * elf/pldd.c (main): Rewrite to use struct
8776         scratch_buffer instead of extend_alloca.
8777         * elf/pldd-xx.c (find_maps): Likewise.
8778         * grp/initgroups.c: Include <scratch_buffer.h> instead of
8779         <alloca.h>.
8780         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8781         scratch_buffer instead of extend_alloca.
8782         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8783         grp/compat-initgroups.c.
8784         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8785         Rewrite to use struct scratch_buffer instead of extend_alloca.
8786         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8787         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8789 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
8791         * math/auto-libm-test-in: Add more tests of cbrt.
8792         * math/auto-libm-test-out: Regenerated.
8793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8795         * math/auto-libm-test-in: Add more tests of cabs.
8796         * math/auto-libm-test-out: Regenerated.
8797         * sysdeps/i386/fpu/libm-test-ulps: Update.
8798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8800         [BZ #18210]
8801         [BZ #18211]
8802         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8803         (__ieee754_atan2): Set FE_TONEAREST mode for internal
8804         computations.
8805         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8806         clog10.
8807         * math/auto-libm-test-out: Regenerated.
8808         * sysdeps/i386/fpu/libm-test-ulps: Update.
8809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8811         [BZ #18197]
8812         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8813         (atan): Set FE_TONEAREST mode for internal computations.
8814         * math/auto-libm-test-in: Add more tests of atan.
8815         * math/auto-libm-test-out: Regenerated.
8817 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
8819         [BZ #17930]
8820         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8822 2015-04-07  Florian Weimer  <fweimer@redhat.com>
8824         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8826 2015-04-07  Florian Weimer  <fweimer@redhat.com>
8828         * include/scratch_buffer.h: New file.
8829         * malloc/scratch_buffer_grow.c: Likewise.
8830         * malloc/scratch_buffer_grow_preserve.c: Likewise.
8831         * malloc/scratch_buffer_set_array_size.c: Likewise.
8832         * malloc/tst-scratch_buffer.c: Likewise.
8833         * malloc/Makefile (routines): Add scratch_buffer_grow.
8834         (tests): Add test case.
8835         * malloc/Versions (GLIBC_PRIVATE): Export
8836         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8837         __libc_scratch_buffer_set_array_size.
8839 2015-04-06  Richard Henderson  <rth@redhat.com>
8841         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8842         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8844         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8845         unsigned int before printing.
8847 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8849         [BZ #17596]
8850         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
8851         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8853 2015-04-02  Florian Weimer  <fweimer@redhat.com>
8855         * include/libc-internal.h (libc_max_align_t): Define.
8857 2015-04-02  Andreas Schwab  <schwab@suse.de>
8859         [BZ #16850]
8860         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
8862 2015-04-02  Mel Gorman  <mgorman@suse.de>
8864         [BZ #17195]
8865         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
8866         as well as the main arena.
8868 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8870         [BZ #18185]
8871         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
8872         sharing L2 cache to 2 for Silvermont/Knights Landing.
8874 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8876         [BZ #17711]
8877         * config.make.in (have-protected-data): New.
8878         * configure.ac: Check linker support for protected data symbol.
8879         * configure: Regenerated.
8880         * elf/Makefile (modules-names): Add tst-protected1moda and
8881         tst-protected1modb if $(have-protected-data) is yes.
8882         (tests): Add tst-protected1a and tst-protected1b if
8883         $(have-protected-data) is yes.
8884         ($(objpfx)tst-protected1a): New.
8885         ($(objpfx)tst-protected1b): Likewise.
8886         (tst-protected1modb.so-no-z-defs): Likewise.
8887         * elf/tst-protected1a.c: New file.
8888         * elf/tst-protected1b.c: Likewise.
8889         * elf/tst-protected1mod.h: Likewise.
8890         * elf/tst-protected1moda.c: Likewise.
8891         * elf/tst-protected1modb.c: Likewise.
8893 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
8895         [BZ #17711]
8896         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
8897         indicates it is called from do_lookup_x on relocation against
8898         protected data, skip the data definion in the executable from
8899         copy reloc.
8900         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
8901         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
8902         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
8903         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
8904         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
8905         otherwise to 0.
8906         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8907         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
8908         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
8909         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
8910         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
8911         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
8913 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
8915         * sysdeps/nptl/pthread.h: Remove duplicate definition of
8916         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
8918 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
8920         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
8921         THREAD_SETMEM_NC.
8922         * sysdeps/x86_64/nptl/tls.h: Ditto.
8924 2015-03-27  Roland McGrath  <roland@hack.frob.com>
8926         * dlfcn/tststatic.c (main): Converted to ...
8927         (do_test): ... this.
8928         (TEST_FUNCTION): New macro.
8929         Include test-skeleton.c.
8931 2015-03-26  Alan Modra  <amodra@gmail.com>
8933         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
8934         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
8935         zero for undefined weak.
8936         (elf_machine_plt_conflict): Similarly.
8938 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
8940         * math/auto-libm-test-in: Add more tests of acosh, asinh and
8941         atanh.
8942         * math/auto-libm-test-out: Regenerated.
8943         * sysdeps/i386/fpu/libm-test-ulps: Update.
8944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8946         * math/auto-libm-test-in: Add another test of asin.
8947         * math/auto-libm-test-out: Regenerated.
8948         * sysdeps/i386/fpu/libm-test-ulps: Update.
8949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8951         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
8952         Remove macro.
8953         (LLL_EBX_REG): Likewise.
8954         (LLL_ENTER_KERNEL): Likewise.
8956         * math/auto-libm-test-in: Add more tests of asin.
8957         * math/auto-libm-test-out: Regenerated.
8958         * sysdeps/i386/fpu/libm-test-ulps: Update.
8959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8961         [BZ #18138]
8962         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
8963         libc_do_syscall_args): New structure.
8964         (INTERNAL_SYSCALL_MAIN_0): New macro.
8965         (INTERNAL_SYSCALL_MAIN_1): Likewise.
8966         (INTERNAL_SYSCALL_MAIN_2): Likewise.
8967         (INTERNAL_SYSCALL_MAIN_3): Likewise.
8968         (INTERNAL_SYSCALL_MAIN_4): Likewise.
8969         (INTERNAL_SYSCALL_MAIN_5): Likewise.
8970         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
8971         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
8972         Replace conditional definitions by conditional definitions of ....
8973         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
8974         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
8975         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
8976         (libpthread-sysdep_routines): Add libc-do-syscall.
8977         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
8978         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
8979         to __NR_futex not 240.
8981 2015-03-25  Alan Modra  <amodra@gmail.com>
8983         * NEWS: Advertise TLS optimization.
8984         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
8985         (DT_PPC_NUM): Increment.
8986         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
8987         (CHECK_STATIC_TLS): Use here.
8988         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
8989         TLS descriptors.
8990         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8991         * sysdeps/powerpc/dl-tls.c: New file.
8992         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
8993         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
8994         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
8995         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
8996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
8997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
8998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9000 2015-03-25  Alan Modra  <amodra@gmail.com>
9002         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
9003         for overlapping .opd entries" to "support...".
9004         * sysdeps/powerpc/powerpc64/configure: Regenerate
9006 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
9008         * math/auto-libm-test-in: Add more tests of acos.
9009         * math/auto-libm-test-out: Regenerated.
9010         * sysdeps/i386/fpu/libm-test-ulps: Update.
9011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9013         * math/auto-libm-test-in: Add more tests of expm1.
9014         * math/auto-libm-test-out: Regenerated.
9015         * sysdeps/i386/fpu/libm-test-ulps: Update.
9016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9018 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
9020         * math/auto-libm-test-in: Add more tests of cosh and sinh.
9021         * math/auto-libm-test-out: Regenerated.
9022         * sysdeps/i386/fpu/libm-test-ulps: Update.
9023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9025         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9028         * math/auto-libm-test-in: Add more tests of log2.
9029         * math/auto-libm-test-out: Regenerated.
9030         * sysdeps/i386/fpu/libm-test-ulps: Update.
9031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9033 2015-03-23  Roland McGrath  <roland@hack.frob.com>
9035         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
9036         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
9037         _IO_IS_APPENDING bit in READ_WRITE instead.
9039 2015-03-23  Florian Weimer  <fweimer@redhat.com>
9041         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9042         (__determine_cpumask_size): Replace extend_alloca with a
9043         variable-length array.  Do not treat res == 0 as an error.
9045 2015-03-23  Florian Weimer  <fweimer@redhat.com>
9047         [BZ #18100]
9048         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
9049         and integer overflow.
9050         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
9051         (main): Add integer overflow tests.
9052         * manual/pattern.texi (Calling Wordexp): Document additional use
9053         for WRDE_SYNTAX.
9055 2015-03-23  Alan Modra  <amodra@gmail.com>
9057         * config.h.in: Remove HAVE_ASM_PPC_REL16.
9058         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
9059         and false branch of conditional.
9060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9061         Likewise.
9063 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
9065         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
9066         libc-modules.h
9067         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
9068         unused declaration of _hurd_intr_rpc_msg_in_trap.
9069         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
9070         defined instead of whether it is non-zero.
9071         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
9072         input constraint instead of both input and output constraint.  Use ecx
9073         clobber instead of %ecx.
9074         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
9075         mutex_unlock): Use a statement expression instead of an expression list.
9076         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
9077         type to vm_size_t instead of vm_address_t.
9078         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
9079         defined instead of whether it is non-zero.
9080         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
9081         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
9082         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
9083         comparisons with mapaddr.
9084         * nscd/nscd-client.h: Include <time.h>.
9085         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
9086         9th parameter to __vm_region instead of int.
9087         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9088         * scripts/check-local-headers.sh (exclude): Add device/,
9089         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
9090         cthreads.h.
9092 2015-03-19  Roland McGrath  <roland@hack.frob.com>
9094         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
9095         to account for alignment padding.
9096         * sysdeps/arm/memmove.S: Likewise.
9098 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
9100         * sysdeps/unix/sysv/linux/generic/README: New file.
9102 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
9104         [BZ #18138]
9105         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
9106         (futex_abstimed_wait)
9107         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
9108         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
9109         of lll_futex_timed_wait.
9111 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
9113         [BZ #17542]
9114         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
9116 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
9118         [BZ #17090]
9119         [BZ #17620]
9120         [BZ #17621]
9121         [BZ #17628]
9122         * NEWS: Update.
9123         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
9124         entries with Static TLS too.  Skip entries past the end of the
9125         allocated DTV, from Alan Modra.
9126         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
9127         Static TLS DTV entry set up from...
9128         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
9129         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
9130         * nptl/allocatestack.c (init_one_static_tls): ... and here...
9131         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
9132         for Static TLS.
9133         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
9134         that the slot we find is associated with the given map before
9135         using its generation count.
9136         * nptl_db/db_info.c: Include ldsodefs.h.
9137         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
9138         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
9139         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
9140         (link_map::l_tls_offset): New struct field.
9141         (dtv_t::counter): Likewise.
9142         (rtld_global): New struct.
9143         (_rtld_global): New rtld variable.
9144         (dl_tls_dtv_slotinfo_list): New rtld global field.
9145         (dtv_slotinfo_list): New struct.
9146         (dtv_slotinfo): Likewise.
9147         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
9148         (td_lookup): Rename to...
9149         (td_mod_lookup): ... this.  Use new mod parameter instead of
9150         LIBPTHREAD_SO.
9151         * nptl_db/td_thr_tlsbase.c: Include link.h.
9152         (dtv_slotinfo_list, dtv_slotinfo): New functions.
9153         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
9154         addresses even if the DTV is out of date or missing them.
9155         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
9156         index zero-length arrays.
9157         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
9158         (td_lookup): Make it a macro implemented in terms of...
9159         (td_mod_lookup): ... this declaration.
9160         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
9161         (DB_MAIN_VARIABLE): Likewise.
9163 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9165         [BZ #18134]
9166         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9168 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
9170         * stdlib/setenv.c (__add_to_environ): Revert previous change.
9172 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9174         [BZ #18128]
9175         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
9176         (atomic_add, atomic_increment_and_test)
9177         (atomic_decrement_and_test): Fix 64-bit arithmetic.
9179 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
9181         * stdlib/setenv.c (__add_to_environ):
9182         Dump core quickly if setenv (..., NULL, ...) is called.
9184 2015-03-13  Roland McGrath  <roland@hack.frob.com>
9186         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
9187         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
9188         all the necessary asm magic in one place.
9189         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
9190         using those.
9192 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
9194         [BZ #14906]
9195         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
9196         traced file mtime. Use consistent log message.
9197         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
9198         (register_traced_file): Call install_watches. Always set mtime.
9199         (invalidate_cache): Iterate over all trace files. Call install_watches.
9200         (inotify_check_files): Don't inline. Handle watching parent
9201         directories and configuration file movement in and out.
9202         (handle_inotify_events): New function.
9203         (main_loop_poll): Call handle_inotify_events.
9204         (main_loop_epoll): Likewise.
9205         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
9206         (struct traced_file): Use array of inotify fds. Add parent directory,
9207         and basename.
9208         (struct database_dyn): Remove unused file_mtime.
9209         (init_traced_file): New inline function.
9210         (define_traced_file): New macro.
9211         * nss/nss_db/db-init.c: Use define_traced_file.
9212         (_nss_db_init): Use init_traced_file.
9213         * nss/nss_files/files-init.c: Use define_traced_file.
9214         (_nss_files_init): Use init_traced_file.
9216 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
9218         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
9219         [_LIBC]: Do not include <stdlib.h>.
9220         [!_LIBC] (abort): Remove declaration.
9221         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
9222         _FP_STATIC_ASSERT instead of conditionally calling abort.
9223         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
9224         (_FP_EXTEND_CNAN): Likewise.
9225         (FP_TRUNC): Likewise.
9226         (__FP_CLZ): Likewise.
9227         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
9229 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
9231         * manual/string.texi (XPG basename): Fix prototype.
9233 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9235         [BZ #18080]
9236         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
9237         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
9238         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
9239         (__setcontext): Likewise.
9240         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
9241         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
9242         Call rt_sigprocmask syscall one time to set new signal mask
9243         and retrieve the current signal mask instead of two calls.
9244         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
9245         (__swapcontext): Likewise.
9246         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
9247         * stdlib/tst-setcontext2.c: New file.
9249 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9251         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9253 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
9255         [BZ #18093]
9256         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
9257         the wrong size.
9259 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9261         [BZ #18043]
9262         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
9264 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9266         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
9267         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
9268         Remove define.
9269         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
9270         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
9271         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
9272         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
9273         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
9274         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
9275         define.
9276         * nptl_db/td_symbol_list.c (td_lookup): Remove
9277         HAVE_ASM_GLOBAL_DOT_NAME code.
9278         * sysdeps/powerpc/powerpc64/configure.ac: Remove
9279         HAVE_ASM_GLOBAL_DOT_NAME check.
9280         * sysdeps/powerpc/powerpc64/configure: Regenerate.
9281         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
9282         (DOT_LABEL): Remove define.
9283         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
9284         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
9285         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
9286         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
9287         (__TLS_GET_ADDR): Likewise.
9288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
9289         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
9291 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
9293         [BZ #18111]
9294         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
9295         (_FPU_SETCW): Initialize cw from fpsr before storing.
9296         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
9297         (fesetexceptflag): Rewrite using fpu_control.h.
9298         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
9300 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
9302         [BZ #18110]
9303         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
9304         asms.
9305         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9307 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
9309         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
9310         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
9311         abort.
9312         (_FP_FMA): Likewise.
9313         (_FP_DIV): Likewise.
9315 2015-03-10  Roland McGrath  <roland@hack.frob.com>
9317         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
9318         with 0 in that case.
9319         * Makefile (summarize-tests): New canned sequence, factored out of
9320         commands for targets tests and xtests.  Display summary lines that
9321         don't start with PASS: or XFAIL: rather than ones that do start with
9322         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
9323         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
9324         do start with ERROR: or FAIL:.
9325         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
9326         (except for [$(build-shared) = yes]).
9327         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
9328         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
9329         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
9330         * nptl/Makefile: Revert 2015-03-04 changes.
9331         [$(CXX) empty] (tests-unsupported): New variable.
9332         * debug/Makefile: Likewise.
9334         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
9335         gnulib file.  Replace __attribute with __attribute__ throughout.
9337 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
9339         * sysdeps/hppa/fpu/libm-test-ulps: Update.
9341 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
9343         [BZ #18104]
9344         * math/auto-libm-test-in: Add another test of pow.
9345         * math/auto-libm-test-out: Regenerated.
9347 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9349         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
9350         $(config-cflags-nofma).
9352 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
9354         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
9355         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
9356         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
9357         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
9358         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
9359         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
9360         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
9361         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
9362         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
9363         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
9364         Add comment on closing #endif.
9366 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9368         * posix/wordexp.c (CHAR_IN_SET): New macro.
9369         (parse_param): Use it.
9371 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9373         * sysdeps/powerpc/fpu/libm-test-ulps: update.
9375 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9377         [BZ #18043]
9378         * posix/wordexp.c (parse_param): Fix buffer overflow.
9379         * posix/wordexp-test.c (test_case): Add test case.
9381 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9383         [BZ #18042]
9384         * posix/wordexp.c (parse_backtick): Fix off-by-one.
9385         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
9387 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9389         [BZ #18043]
9390         * posix/wordexp-test.c (test_case): Add test for BZ #18043
9391         (do_bz18043): Delete.
9392         (at_page_end): New.
9393         (testit): Refactor to have words at the edge of unreadable page.
9395 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
9397         [BZ #16734]
9398         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
9399         Cleanup read-only streams as well.
9400         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
9402 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9404         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
9405         <bits/libc-lockP.h>
9407 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
9409         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
9410         on [__KERNEL__].
9411         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
9412         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
9413         * soft-fp/op-common.h (_FP_DECL): Likewise.
9415 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9417         * elf/ifuncdep2.c (global): Replace
9418         __attribute__((visibility("protected"))) with
9419         asm (".protected global").
9420         * elf/ifuncmod1.c (global): Likewise.
9421         * elf/ifuncmod5.c (global): Likewise.
9423 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
9425         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
9426         <asm/sfp-machine.h> instead of <sfp-machine.h>.
9428 2015-03-06  Roland McGrath  <roland@hack.frob.com>
9430         * manual/install.texi (Configuring and compiling):
9431         Document test-wrapper-env-only.
9432         * INSTALL: Regenerated.
9434 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9436         [BZ #18043]
9437         * posix/wordexp.c (parse_param): Fix buffer overflow.
9438         * posix/wordexp-test.c (do_bz18043): Add test case.
9440 2015-03-06  Vincent Bernat  <vincent@bernat.im>
9442         * time/tst-strptime2.c (do_test): Ensure failing tests are
9443         reported correctly.
9444         * time/tst-strptime3.c (do_test): Likewise.
9446 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
9448         Fix aio_error thread-safety.
9449         * sysdeps/pthread/aio_error.c: New file
9450         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
9451         synchronization.
9453 2015-03-06  Florian Weimer  <fweimer@redhat.com>
9455         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
9456         (group_number, vfprintf): Use it.
9457         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
9458         (JUMP, REF): Use it.
9459         (WORK_BUFFER_SIZE): New enum constant.
9460         (process_arg, vfprintf): Use it.
9462 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
9464         * manual/errno.texi (Error Messages): Complete example function
9465         by adding missing #define.
9466         (program_invocation_name): Add statement indicating GNU
9467         extension and reference which header file declares the variable.
9468         (program_invocation_short_name): Likewise.
9470 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
9472         * manual/errno.texi (Error Messages): Delete strerror ISO C89
9473         compatibility note.
9475 2015-03-05  Roland McGrath  <roland@hack.frob.com>
9477         * Makeconfig (test-wrapper-env-only): New variable.
9478         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9479         then use that with $(test-wrapper-env-only) rather than using
9480         $(test-wrapper-env) $(run-program-env) $($*-ENV).
9482 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
9484         [BZ #18082]
9485         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9486         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9487         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9488         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9489         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9490         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9491         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9492         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9493         Likewise.
9494         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9495         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9496         Likewise.
9497         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9498         Likewise.
9499         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9500         Likewise.
9501         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9502         Likewise.
9503         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9504         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9505         Likewise.
9506         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9507         Likewise.
9508         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9509         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9511 2015-03-04  Roland McGrath  <roland@hack.frob.com>
9513         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9514         (ETH_ALEN): New macro.
9515         (struct ether_addr): Use it for length of ether_addr_octet.
9517         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9518         (setdb): Don't call __nss_configure_lookup for "rpc".
9519         (do_test): Don't call test_rpc.
9520         (output_rpcent, test_rpc): Functions moved ...
9521         * sunrpc/test-rpcent.c: ... to this new file.
9522         * sunrpc/Makefile (tests): Add it.
9524         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9525         __xpg_sigpause.
9526         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9527         * nptl/tst-signal6.c: Likewise.
9528         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9529         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9531         * configure.ac (libc_cv_cxx_link_ok): New check.
9532         Reset CXX to empty if it fails to link.
9533         * configure: Regenerated.
9534         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9535         bug-atexit3-lib only if $(CXX) is nonempty.
9536         * nptl/Makefile (tests): Likewise for tst-cancel24.
9537         (tests, tests-static): Likewise for tst-cancel24-static.
9538         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9539         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9540         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9541         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9543 2015-03-04  Andreas Schwab  <schwab@suse.de>
9545         [BZ #17631]
9546         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9547         for non-GCC compilers.
9548         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9549         Likewise.
9551 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9553         [BZ #17776]
9554         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9555         integer before bitwise and assembly operations.
9556         (feclearexcept): Likewise.
9557         * math/test-fenvinline.c: New file.
9558         * math/Makefile: Add test-fenvinline test.
9560 2015-03-03  Alan Modra  <amodra@gmail.com>
9562         [BZ #16512]
9563         * scripts/localplt.awk: Strip off symbol version.
9564         * NEWS: Mention bug fix.
9566 2015-03-02  Roland McGrath  <roland@hack.frob.com>
9568         * sysdeps/pthread/timer_routines.c
9569         (timer_free_list, thread_free_list, thread_active_list): Make static.
9571 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
9573         [BZ #17779]
9574         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9575         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9576         Undefine.
9577         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9578         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9579         Likewise.
9580         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9581         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9582         Likewise.
9584 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
9586         [BZ #18036]
9587         * posix/fnmatch_loop.c (END): Detect invalid pattern.
9588         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9590 2015-03-02  Andreas Schwab  <schwab@suse.de>
9592         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9593         variable name.
9595 2015-03-02  Florian Weimer  <fweimer@redhat.com>
9597         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9598         Return error status.
9600 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
9602         [BZ #15969]
9603         * locale/findlocale.c (_nl_find_locale): Introduce const
9604         version of loc_name and drop unsafe type casts.
9606 2015-02-27  Roland McGrath  <roland@hack.frob.com>
9608         * dlfcn/tststatic2.c (main): Converted to ...
9609         (do_test): ... this.
9610         (TEST_FUNCTION): New macro.
9611         Include test-skeleton.c.
9613 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
9615         [BZ #17711]
9616         * elf/Makefile (tests): Add vismain only if PIE is enabled.
9617         (tests-pie): Add vismain.
9618         (CFLAGS-vismain.c): New.
9619         * elf/vismain.c: Add comments for PIE requirement.
9621 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9623         [BZ #18046]
9624         [BZ #18047]
9625         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9626         0x1p-56L as threshold for just returning the argument.
9627         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9628         0x1p-32L as threshold for just returning the argument.
9629         * math/auto-libm-test-in: Add more tests of atanh.
9630         * math/auto-libm-test-out: Regenerated.
9631         * sysdeps/i386/fpu/libm-test-ulps: Update.
9632         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9634 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9636         * string/bcopy.c (bcopy): Call memmove for performance.
9638 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
9640         * string/bzero.c (__bzero): Call memset for performance.
9642 2015-02-27  John David Anglin  <dave.anglin@bell.net>
9644         [BZ #18068]
9645         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9646         to 00100000.
9648 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
9650         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9652 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
9654         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9655         (__kernel_standard): Use CSTR macro when setting exc.name.
9656         * sysdeps/ieee754/Makefile [$(subdir) = math]
9657         (CFLAGS-k_standard.c): Remove variable.
9659         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9660         setting p and q from "else if" to "else".
9661         (qzero): Likewise.
9662         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9663         (qone): Likewise.
9664         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9665         (qzerof): Likewise.
9666         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9667         (qonef): Likewise.
9668         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9669         (qzero): Likewise.
9670         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9671         (qone): Likewise.
9673         [BZ #18038]
9674         [BZ #18039]
9675         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9676         return pi/2 for arguments below 0x1p-113L.
9677         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9678         return pi/2 for arguments below 0x1p-106L.
9679         * math/auto-libm-test-in: Add more tests of acos.
9680         * math/auto-libm-test-out: Regenerated.
9682         [BZ #16351]
9683         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9684         (MO): New macro.
9685         (__ieee754_asin): Force underflow exception for results with small
9686         absolute value.
9687         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9688         (MO): New macro.
9689         (__ieee754_asinf): Force underflow exception for results with
9690         small absolute value.
9691         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9692         (__ieee754_asin): Force underflow exception for results with small
9693         absolute value.
9694         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9695         (__ieee754_asinf): Force underflow exception for results with
9696         small absolute value.
9697         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9698         (__ieee754_asinl): Force underflow exception for results with
9699         small absolute value.
9700         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9701         (__ieee754_asinl): Force underflow exception for results with
9702         small absolute value.
9703         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9704         (__ieee754_asinl): Force underflow exception for results with
9705         small absolute value.
9706         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9707         Include <math.h>.
9708         * math/auto-libm-test-in: Do not mark underflow exceptions as
9709         possibly missing for bug 16351.
9710         * math/auto-libm-test-out: Regenerated.
9712         [BZ #18030]
9713         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9714         of power of 2 down when low part has opposite sign.
9715         * math/libm-test.inc (logb_test_data): Add more tests.
9717 2015-02-26  Andreas Schwab  <schwab@suse.de>
9719         [BZ #18032]
9720         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9721         over collating symbol inside a bracket expression.  Minor cleanup.
9722         * posix/tst-fnmatch3.c (do_test): Add test case.
9724 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
9726         [BZ #18029]
9727         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9728         Adjust exponent of power of 2 down when low part has opposite
9729         sign.
9730         * math/libm-test.inc (ilogb_test_data): Add more tests.
9732 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
9734         [BZ #15969]
9735         * locale/findlocale.c (_nl_find_locale): Fix constness error in
9736         the previous change.
9738         [BZ #15969]
9739         * locale/findlocale.c (_nl_find_locale): Retry archive search
9740         after alias expansion.
9742 2015-02-25  Roland McGrath  <roland@hack.frob.com>
9744         * iconv/tst-iconv3.c (main): Converted to ...
9745         (do_test): ... this.
9746         (TEST_FUNCTION): New macro.
9747         Include test-skeleton.c.
9749         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9750         (convert): Make function static.
9751         (test_unalign): Likewise.  Add const to argument pointee types.
9752         (main): Replace with static function do_test.
9753         Print "Succeeded." only if RET is zero.
9754         (TEST_FUNCTION): New macro.
9755         Include test-skeleton.c.
9757         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9758         returns a null pointer.
9760 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9762         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9763         to __memcpy_ppc only for static builds.
9765 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
9767         [BZ #18020]
9768         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9769         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9770         * math/auto-libm-test-in: Add more tests of asinh.
9771         * math/auto-libm-test-out: Regenerated.
9772         * sysdeps/i386/fpu/libm-test-ulps: Update.
9773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9775 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
9777         [BZ #15850]
9778         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9779         and ip6_mtuinfo definitions here.
9780         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9781         in this define too.  Update comment.
9783 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
9785         * elf/sprof.c (load_shobj): Tweak error message to match others.
9787 2015-02-24  Kevin Easton  <kevin@guarana.org>
9789         [BZ #16145] (partial fix)
9790         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9791         to reduce lock contention.
9793 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
9795         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9796         (struct timex): Update time comment.
9797         (ADJ_SETOFFSET): Define.
9799 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
9801         [BZ #18019]
9802         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9803         2**56 not 2**28 as threshold for log (2x) formula.
9804         * math/auto-libm-test-in: Add more tests of acosh.
9805         * math/auto-libm-test-out: Regenerated.
9806         * sysdeps/i386/fpu/libm-test-ulps: Update.
9807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9809 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
9811         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9812         parenthesis around the buf assignment.
9813         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9815 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
9817         [BZ #16783]
9818         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9819         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9820         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9821         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9822         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9823         * math/libm-test.inc (scalb_test_data): Add more tests.
9825 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9827         [BZ #17916]
9828         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9829         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9831 2015-02-24  Eric Rannaud  <e@nanocritical.com>
9833         [BZ #17523]
9834         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9835         * io/bits/fcntl2.h (open): Use it.
9836         (openat): Likewise.
9837         * io/open.c (__libc_open): Likewise.
9838         * io/open64.c (__libc_open64): Likewise.
9839         * io/open64_2.c (__open64_2): Likewise.
9840         * io/open_2.c (__open_2): Likewise.
9841         * io/openat.c (__openat): Likewise.
9842         * io/openat64.c (__openat64): Likewise.
9843         * io/openat64_2.c (__openat64_2): Likewise.
9844         * io/openat_2.c (__openat_2): Likewise.
9845         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9846         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9847         * sysdeps/posix/open64.c (__libc_open64): Likewise.
9848         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9849         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9850         (__open_nocancel): Likewise.
9851         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9852         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9853         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
9855 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9857         [BZ #14841]
9858         * resolv/gethnamaddr.c (getanswer): Skip logging if
9859         RES_USE_DNSSEC is set.
9860         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9862 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
9864         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
9866 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
9868         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9869         201304L, for Unicode 7.
9871 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
9873         [BZ #17836]
9874         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
9875         shared library.  Add gmon-start.os otherwise.
9876         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
9877         $(objpfx)gmon-start.os if builing shared library.
9878         ($(objpfx)g$(static-start-installed-name)): Likewise.
9880 2015-02-23  Andreas Schwab  <schwab@suse.de>
9882         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
9884 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
9886         [BZ #17269]
9887         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
9888         (enlarge_userbuf): Likewise.
9890 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
9892         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
9893         * math/atest-exp.c (TIMEOUT): Adjust to 200.
9894         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
9895         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
9897 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
9899         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
9900         expression inside statement expression.
9902 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9904         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
9905         <sysdeps/nptl/lowlevellock.h> and remove macros and
9906         functions that are now defined there.
9907         (SYS_futex): Remove.
9908         (lll_compare_and_swap): Remove.
9909         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
9911 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
9913         [BZ #17999]
9914         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
9915         instead of scandirat.
9916         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
9917         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
9918         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
9919         __scandirat.
9920         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
9921         (__scandirat): Declare.  Use libc_hidden_proto.
9922         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
9923         Remove variable.
9924         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9926 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
9928         [BZ #15319]
9929         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
9930         (MO): New macro.
9931         (__ieee754_atan2): For results with small absolute value, force
9932         underflow exception and remove excess range and precision from
9933         return value.
9934         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
9935         (MO): New macro.
9936         (__ieee754_atan2f): For results with small absolute value, force
9937         underflow exception and remove excess range and precision from
9938         return value.
9939         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
9940         (MO): New macro.
9941         (__atan): For results with small absolute value, force underflow
9942         exception and remove excess range and precision from return value.
9943         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
9944         (MO): New macro.
9945         (__atanf): For results with small absolute value, force underflow
9946         exception and remove excess range and precision from return value.
9947         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
9948         <math.h>.
9949         (__ieee754_atan2): Force underflow exception for results with
9950         small absolute value.
9951         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
9952         <math_private.h>.
9953         (atan): Force underflow exception for results with small absolute
9954         value.
9955         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
9956         (__atanf): Force underflow exception for results with small
9957         absolute value.
9958         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
9959         <math.h>.
9960         (__atanl): Force underflow exception for results with small
9961         absolute value.
9962         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
9963         (__atanl): Force underflow exception for results with small
9964         absolute value.
9965         * sysdeps/x86/fpu/bits/mathinline.h
9966         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
9967         (__ieee754_atan2): Only define inline for long double.
9968         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9969         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
9970         * math/auto-libm-test-in: Do not mark underflow exceptions as
9971         possibly missing for bug 15319.  Add more tests of atan2.
9972         * math/auto-libm-test-out: Regenerated.
9973         * math/libm-test.inc (casin_test_data): Do not mark underflow
9974         exceptions as possibly missing for bug 15319.
9975         (casinh_test_data): Likewise.
9976         * sysdeps/i386/fpu/libm-test-ulps: Update.
9978 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
9980         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
9981         * sysdeps/mips/bits/endian.h: Fix comments.
9983 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
9985         [BZ #17996]
9986         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
9987         (hdestroy_r): Likewise.
9988         (hsearch_r): Likewise.
9989         (__hcreate_r): Declare and use libc_hidden_proto.
9990         (__hdestroy_r): Likewise.
9991         (__hsearch_r): Likewise.
9992         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
9993         (hcreate): Call __hcreate_r instead of hcreate_r.
9994         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
9995         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
9996         as weak alias of __hcreate_r.
9997         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
9998         __hdestroy_r.
9999         (hsearch_r): Rename to __hsearch_r and define as weak alias of
10000         __hsearch_r.
10001         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
10002         Remove variable.
10003         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10004         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10005         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10006         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10008 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10010         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
10011         arena_lock into a single arena_get.
10013 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
10015         * dl-reloc.c: Inlucde libc-internal.h.
10016         (_dl_try_allocate_static_tls): Call ALIGN_UP.
10017         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
10018         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
10019         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
10020         (grow_heap): Likewise.
10021         * malloc/malloc.c: Include libc-internal.h.
10022         (do_check_malloc): Call powerof2.
10023         (sysmalloc): Use pagesize. Call ALIGN_UP.
10024         (systrim): Use pagesize.
10025         (mremap_chunk): Use pagesize. Call ALIGN_UP.
10026         (__libc_valloc): Use pagesize.
10027         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
10029 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
10031         [BZ #17991]
10032         * include/sys/resource.h (__getrlimit64): Declare.  Use
10033         libc_hidden_proto.
10034         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
10035         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
10036         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
10037         getrlimit64.
10038         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
10039         __getrlimit64.
10040         [!getrlimit64] (getrlimit64): Define as weak alias of
10041         __getrlimit64.  Use libc_hidden_weak.
10042         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
10043         using __getrlimit64 not __new_getrlimit64.
10044         (__GI_getrlimit64): Likewise.
10045         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
10046         Likewise.
10047         (__GI_getrlimit64): Likewise.
10048         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
10049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
10050         (getrlimit): Add __getrlimit64 alias.
10051         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
10052         Likewise.
10053         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
10054         Remove variable.
10055         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10056         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10058 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
10060         * libio/fileops.c: Add missing sys/mman.h
10061         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
10063 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
10065         * manual/math.texi (Errors in Math Functions): Clarify goals
10066         regarding inexact and underflow exceptions.
10068 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
10070         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
10071         * sysdeps/mips/memset.S: Ditto.
10073 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
10075         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
10077 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10079         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
10080         (__v1longjmp): Remove versioned symbol.
10081         (__v1siglongjmp): Remove alias and versioned symbol.
10082         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
10083         (__v2siglongjmp): Likewise.
10085 2015-02-16  Torvald Riegel  <triegel@redhat.com>
10087         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
10089 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
10091         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
10093 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
10095         [BZ #17987]
10096         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
10097         zero result does not depend on the sign resulting from
10098         subtraction.
10099         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10100         Likewise.
10101         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10102         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10103         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10104         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10105         * math/libm-test.inc (remquo_test_data): Add more tests.
10107 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
10109         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
10110         Problem reported by J William Piggott.
10112 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
10114         [BZ #17978]
10115         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
10116         products 4 * y and 2 * y where those would overflow.
10117         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10118         Likewise.
10119         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10120         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10121         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10122         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10123         * math/libm-test.inc (remquo_test_data): Add more tests.
10125         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
10127         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
10128         [defined _COMPILING_NEWLIB].
10129         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
10130         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
10132         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
10133         [!defined __mips_isa_rev || __mips_isa_rev < 6].
10135 2015-02-16  Torvald Riegel  <triegel@redhat.com>
10137         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
10138         acquired.
10140 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
10142         [BZ #17792]
10143         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
10144         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
10145         HOST_STACK_END_ADDR): Likewise.
10147 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
10149         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
10150         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
10151         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
10153 2015-02-13  Roland McGrath  <roland@hack.frob.com>
10155         * sysdeps/generic/c++-types.data: New file.
10156         * sysdeps/generic/ld.abilist: New file.
10157         * sysdeps/generic/libBrokenLocale.abilist: New file.
10158         * sysdeps/generic/libanl.abilist: New file.
10159         * sysdeps/generic/libc.abilist: New file.
10160         * sysdeps/generic/libcrypt.abilist: New file.
10161         * sysdeps/generic/libdl.abilist: New file.
10162         * sysdeps/generic/libm.abilist: New file.
10163         * sysdeps/generic/libpthread.abilist: New file.
10164         * sysdeps/generic/libresolv.abilist: New file.
10165         * sysdeps/generic/librt.abilist: New file.
10167 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
10169         [BZ #17569]
10170         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10171         Compute absolute value of x as modified by fmod, not original
10172         value of x.
10173         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
10174         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
10175         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
10176         RUN_TEST_ffI_f1_mod8.
10177         (remquo_test_data): Add more tests.
10179 2015-02-13  Roland McGrath  <roland@hack.frob.com>
10181         * sysdeps/init_array/pt-crti.S: New file.
10183 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
10185         [BZ #17967]
10186         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
10187         __builtin_fmaf instead of relying on contraction of a * b + c.
10189 2015-02-12  J William Piggott  <elseifthen@gmx.com>
10191         [BZ #17969]
10192         * manual/time.texi: correct the zoneinfo path in the TZ Variable
10193         node.
10195 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
10197         [BZ #17964]
10198         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
10199         __builtin_fma instead of relying on contraction of a * b + c.
10201 2015-02-12  Roland McGrath  <roland@hack.frob.com>
10203         * Makeconfig (ASFLAGS): Add -Werror=undef.
10204         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
10205         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
10206         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
10208         * Makeconfig (after-link): New variable.
10209         (+link-pie, +link-pie-tests): Use it.
10210         (+link-static, +link-static-tests): Likewise.
10211         (+link, +link-tests): Likewise.
10212         * Makerules (build-module, build-module-asneeded): Likewise.
10213         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
10214         Likewise.
10215         * elf/Makefile ($(objpfx)ld.so): Likewise.
10217 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
10219         [BZ #17965]
10220         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
10221         both struct timeval and struct timespec.
10223 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
10225         [BZ #16560]
10226         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10227         and redefine.
10228         (__ieee754_exp2l): Do not multiply small fractional parts by
10229         M_LN2l.
10230         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
10231         small argument.
10232         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10233         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10234         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
10235         * math/auto-libm-test-in: Add more tests of exp2.
10236         * math/auto-libm-test-out: Regenerated.
10238 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10240         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
10241         unaligned path.
10243 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10245         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
10246         little endian.
10248 2015-02-12  Andreas Schwab  <schwab@suse.de>
10250         [BZ #15790]
10251         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10252         Filter out elision flags from value returned in kind.
10253         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
10254         * nptl/tst-pthread-mutexattr.c: New file.
10256 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10258         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
10259         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
10260         into gnu-gnu, and update comment to refer to abi-tags.
10262 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
10264         [BZ #15467]
10265         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
10266         (__sincos): Set errno to EDOM for infinite argument.
10267         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
10268         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
10269         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
10270         (__sincosl): Set errno to EDOM for infinite argument.
10271         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
10272         (__sincosl): Set errno to EDOM for infinite argument.
10273         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
10274         (__sincosl): Set errno to EDOM for infinite argument.
10275         * math/libm-test.inc (sincos_test_data): Test errno setting.
10277 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
10279         * string/strxfrm_l.c: Remove #define STRCMP.
10280         * string/strcoll_l.c: Remove #define STRLEN.
10281         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
10282         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
10284 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
10286         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
10287         * sysdeps/mips/mips32/sfp-machine.h: ... here.
10288         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
10289         * sysdeps/mips/mips64/Makefile: ... here.
10290         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
10291         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
10292         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
10293         * sysdeps/mips/mips64/sfp-machine.h: ... here.
10294         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
10295         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
10296         * sysdeps/mips/mips64/n64/Implies: Likewise.
10298 2015-02-10  Roland McGrath  <roland@hack.frob.com>
10300         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
10301         <sys/time.h>, <string.h>, and <errno.h>.
10302         (dest_offset, dest_address, value, zero): Remove unused variables.
10303         (ldouble): Remove typedef.
10304         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
10305         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
10306         1).  Fix code style.
10307         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
10308         (check): Function removed.
10309         (CHECK): New macro.
10310         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
10311         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
10312         Don't call set_sigaction_FP and remove_sigaction_FP here.
10313         (ldouble_test): Just use 'long double' as macro argument, no need for
10314         the 'ldouble' typedef.
10315         (do_test): Set up SIGFPE handler at start, using plain signal rather
10316         than sigaction.  Fix code style.
10318 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
10320         [BZ #17949]
10321         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
10322         jump label.
10324 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10326         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
10327         * sysdeps/powerpc/powerpc32/configure: Regenerated.
10329         * sysdeps/powerpc/configure.ac: Remove file.
10330         * sysdeps/powerpc/configure: Likewise.
10332         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10333         [sysdep_routines]: Remove wordcopy-power6 object.
10334         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10335         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
10336         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
10337         (__memmove_ppc32): Likewise.
10338         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
10339         file.
10340         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
10341         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
10342         Remove preprocessor.
10344         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10345         [sysdep_routines]: Remove wide chars objects.
10346         [wcsmbs]: New rule for wide char objects.
10348         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10349         Remove wordcopy-power6 obejct.
10350         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
10351         Use local call for wordcopy and memcpy symbols.
10352         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
10353         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
10354         implementation for loader.
10355         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
10357         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10358         Remove wordcopy-power7 object.
10359         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
10360         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
10361         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
10362         (_wordcopy_fwd_dest_aligned): Likewise.
10363         (_wordcopy_bwd_aligned): Likewise.
10364         (_wordcopy_bwd_dest_aligned): Likewise.
10366         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
10367         Rewrite to call __memmove_ppc instead of include default
10368         implementation.
10370         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10371         Remove wide chars objects.
10372         [wcsmbs]: New rule for wide char objects.
10374 2015-02-09  Andreas Schwab  <schwab@suse.de>
10376         [BZ #17912]
10377         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10378         in terms of __O_DIRECTORY.
10380 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10382         * time/getdate.c: Include <stdbool.h>.
10383         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
10384         call PTR_MANGLE.
10385         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
10386         PTR_DEMANGLE.
10388 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
10390         Add ersatz _Static_assert on older C hosts
10391         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
10392         pre-C11 C platform that is not known to support _Static_assert.
10394 2015-02-07  Richard Braun  <rbraun@sceen.net>
10396         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
10397         sigstate.
10398         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
10400 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10402         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
10403         priority against unexistent AIO_PRIO_DELTA_MAX.
10404         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
10405         instead of int.
10406         * misc/fchflags.c (fchflags): Likewise.
10407         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
10408         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10409         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
10410         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
10411         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
10412         Declare macros.
10413         [__USE_MISC] (chflags, fchflags): Declare functions.
10414         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
10415         EINVAL when nfds is greater than FD_SETSIZE.
10416         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
10417         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
10418         45.
10419         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
10420         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
10421         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
10422         MACH_RCV_TIMED_OUT.
10423         * hurd/hurd/signal.h (_hurd_self_sigstate,
10424         _hurd_critical_section_lock, _hurd_critical_section_unlock):
10425         Explicit casts from void *.
10426         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
10427         * abi-tags: Rename gnu-gnu os into gnu.
10429         [BZ #4719]
10430         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
10431         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
10432         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
10433         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
10434         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
10435         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
10437         [BZ #17944]
10438         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
10439         duplicates ADDR->sun_path with sockaddr LEN limitation.
10440         * sysdeps/mach/hurd/connect.c: Include <string.h>
10441         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
10442         * sysdeps/mach/hurd/sendmsg.c: Likewise.
10443         * sysdeps/mach/hurd/sendto.c: Likewise.
10444         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
10445         implementing it by hand.
10447 2015-02-06  Roland McGrath  <roland@hack.frob.com>
10449         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
10450         Use sfi_breg on ldr.
10451         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
10452         Likewise.
10454         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
10455         it's defined.
10456         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
10457         Test SIGSETXID only if it's defined.
10459         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
10461         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
10462         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
10464         * nptl/tst-align2.c: Moved ...
10465         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
10466         * nptl/Makefile (tests): Remove tst-align2.
10467         * sysdeps/unix/sysv/linux/Makefile
10468         [$(subdir) = nptl] (tests): Add tst-align-clone.
10469         * nptl/tst-getpid1.c: Moved ...
10470         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
10471         * nptl/tst-getpid2.c: Moved ...
10472         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
10473         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
10474         * sysdeps/unix/sysv/linux/Makefile
10475         [$(subdir) = nptl] (tests): ... here.
10476         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10477         * sysdeps/unix/sysv/linux/Makefile
10478         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10480         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10481         Drop trailing \n from perror argument.  Use return rather than exit.
10483         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10484         on [SA_SIGINFO].
10485         * nptl/tst-cancel21.c (do_test): Likewise.
10486         * debug/tst-backtrace6.c: Include <signal.h> first thing.
10487         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10488         [!SA_SIGINFO]: Make it a stub test.
10490         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10491         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10493         * posix/tst-getlogin.c: Move to ...
10494         * login/tst-getlogin.c: ... here.
10495         * posix/Makefile (tests): Move tst-getlogin to ...
10496         * login/Makefile (tests): ... here.
10498         * libio/tst-atime.c (do_test): Move local variables SV and E
10499         inside [ST_NOATIME] conditional.
10501         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10503         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10505         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10506         (wait_code): New function replaces macro.
10507         Call nanosleep rather than syscall.
10509         * nptl/pt-system.c: Rewritten.  Put everything under
10510         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10511         Use IFUNC to redirect when possible.
10513         * nptl/pt-longjmp.c: Rewritten.  Put everything under
10514         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10515         Use IFUNC to redirect when possible.
10517         * nptl/pt-fork.c: Rewritten.  Put everything under
10518         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10519         Use IFUNC to redirect when possible.
10520         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10522         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10523         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10524         unconditionally nowadays.  This included the only reference to
10525         __vdso_clock_gettime that appears outside libc proper.
10526         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10527         Remove version set (containing only __vdso_clock_gettime).
10528         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10529         Add attribute_hidden.
10530         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10531         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10532         libc_hidden_data_def.
10533         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10534         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10536         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10537         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10538         setrpcent, and getrpcport to ...
10539         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10540         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10541         getrpcbynumber_r, and getrpcent_r to ...
10542         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10543         * inet/getrpcbyname.c: Moved ...
10544         * sunrpc/getrpcbyname.c: ... here.
10545         * inet/getrpcbyname_r.c: Moved ...
10546         * sunrpc/getrpcbyname_r.c: ... here.
10547         * inet/getrpcbynumber.c: Moved ...
10548         * sunrpc/getrpcbynumber.c: ... here.
10549         * inet/getrpcbynumber_r.c: Moved ...
10550         * sunrpc/getrpcbynumber_r.c: ... here.
10551         * inet/getrpcent.c: Moved ...
10552         * sunrpc/getrpcent.c: ... here.
10553         * inet/getrpcent_r.c: Moved ...
10554         * sunrpc/getrpcent_r.c: ... here.
10555         * inet/Makefile (routines): Move those to ...
10556         * sunrpc/Makefile (routines): ... here.
10557         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10558         the $(subdirs) list.
10559         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
10560         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10561         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10562         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10564         * elf/Makefile (routines): Include $(all-dl-routines), not just
10565         $(dl-routines).
10566         (rtld-routines): Likewise.  Use = rather than :=.
10567         * sysdeps/aarch64/Makefile [$(subdir) = elf]
10568         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10569         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10570         * sysdeps/arm/Makefile: Likewise.
10571         * sysdeps/i386/Makefile: Likewise.
10572         * sysdeps/x86_64/Makefile: Likewise.
10573         * sysdeps/hppa/Makefile [$(subdir) = elf]
10574         (sysdep_routines, sysdep-rtld-routines): Don't add
10575         $(sysdep-dl-routines) to these.
10576         * sysdeps/ia64/Makefile: Likewise.
10577         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10578         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10579         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10580         Don't add dl-static to these; sysdep-dl-routines alone is enough.
10581         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10582         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10583         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10584         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10585         * sysdeps/powerpc/Makefile [$(subdir) = elf]
10586         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10587         these; sysdep-dl-routines alone is enough.
10589 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
10591         [BZ #17932]
10592         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10593         where multiplication results in zero and third argument is finite
10594         and nonzero.
10595         * math/auto-libm-test-in: Add more tests of fma.
10596         * math/auto-libm-test-out: Regenerated.
10598         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10599         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10600         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10601         (_FP_CMP_EQ): Likewise.
10602         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10604         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10605         extra argument CHECK_NAN.  Redefine as wrapper around
10606         _FP_EXTEND_CNAN.
10608 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
10610         * version.h (RELEASE): Set to "stable".
10611         (VERSION): Set to "2.21"
10612         * include/features.h (__GLIBC_MINOR__): Set to 21.
10614         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10616 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10617             Paul Eggert  <eggert@cs.ucla.edu>
10619         [BZ #16618]
10620         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10621         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10622         size in bytes. Store needed elements in wpmax. Use needed size
10623         in bytes for extend_alloca.
10625 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
10627         * manual/install.texi: Latest tested versions are GCC 4.9.2,
10628         binutls 2.25, and texinfo 5.2.
10629         * INSTALL: Regenerate.
10630         * sysdeps/nios2/configure: Regenerate.
10631         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10632         * manual/contrib.texi: Update.
10633         * po/be.po: Update.
10634         * po/bg.po: Update.
10635         * po/ca.po: Update.
10636         * po/cs.po: Update.
10637         * po/da.po: Update.
10638         * po/de.po: Update.
10639         * po/el.po: Update.
10640         * po/eo.po: Update.
10641         * po/es.po: Update.
10642         * po/fi.po: Update.
10643         * po/fr.po: Update.
10644         * po/gl.po: Update.
10645         * po/hr.po: Update.
10646         * po/hu.po: Update.
10647         * po/ia.po: Update.
10648         * po/id.po: Update.
10649         * po/it.po: Update.
10650         * po/ja.po: Update.
10651         * po/ko.po: Update.
10652         * po/lt.po: Update.
10653         * po/nb.po: Update.
10654         * po/nl.po: Update.
10655         * po/pl.po: Update.
10656         * po/pt_BR.po: Update.
10657         * po/ru.po: Update.
10658         * po/rw.po: Update.
10659         * po/sk.po: Update.
10660         * po/sl.po: Update.
10661         * po/sv.po: Update.
10662         * po/tr.po: Update.
10663         * po/uk.po: Update.
10664         * po/vi.po: Update.
10665         * po/zh_CN.po: Update.
10666         * po/zh_TW.po: Update.
10668         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10669         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10670         * sysdeps/hppa/dl-irel.h: Remove #warning.
10671         * sysdeps/hppa/entry.h: Provide prototype for
10672         __canonicalize_funcptr_for_compare and cast argument.
10673         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10674         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10675         * sysdeps/hppa/sotruss-lib.c: New file.
10676         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10677         (atomic_compare_and_exchange_val_acq): Use __typeof__.
10678         (atomic_compare_and_exchange_bool_acq): Likewise.
10679         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10680         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10682         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10683         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10684         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10686 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
10688         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10689         called function in non-PIC case.
10691 2015-01-31  David S. Miller  <davem@davemloft.net>
10693         * sysdeps/sparc/sparc32/bits/atomic.h
10694         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10695         unlock not after it.
10696         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10697         volatile register usage warnings from the compiler.
10699         * sysdeps/sparc/nptl/sem_init.c: Delete.
10700         * sysdeps/sparc/nptl/sem_post.c: Delete.
10701         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10702         * sysdeps/sparc/nptl/sem_wait.c: Delete.
10703         * sysdeps/sparc/sparc32/sem_init.c: New file.
10704         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10705         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10706         padding explicitly initialized.
10707         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10708         padding for in-semaphore spinlock.
10709         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10710         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10711         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10712         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10713         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10714         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10715         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10716         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10717         version.
10718         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10719         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10721 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10723         [BZ #17801]
10724         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10725         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10726         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10727         New.
10728         (index_AVX_Fast_Unaligned_Load): Likewise.
10729         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10730         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10731         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10732         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10733         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10734         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10735         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10736         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10737         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10739 2015-01-29  Andreas Schwab  <schwab@suse.de>
10741         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10743 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
10745         [BZ #17892]
10746         * nscd/nscd_stat.c (send_stats): Initialize DATA.
10748 2015-01-28  Martin Sebor  <msebor@redhat.com>
10750         * math/README.libm-test: Clarify. Add "How to read the test output."
10752 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
10754         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10755         Define to 0.
10757 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
10759         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10760         (__HAVE_64B_ATOMICS): Define to 0.
10762 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10764         [BZ #17885]
10765         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10766         value to set as new flag.
10768         [BZ #16576]
10769         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10770         and use _ARCH_PPCSQ instead.
10771         (__ieee754_sqrt): Likewise.
10772         (__ieee754_sqrtf): Likewise.
10773         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10774         _ARCH_PPCSQ is defined.
10775         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10776         fsqrt instruction.
10777         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10778         _ARCH_PPCSQ is defined.
10779         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10780         fsqrts instruction.
10781         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10783 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10785         * iconv/loop.c: Suppress array out of bound warning caused by GCC
10786         bug (GCC BZ #64739).
10788 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
10790         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10791         Mark _retval as used.
10792         (lll_futex_wake_unlock): Likewise.
10793         (lll_futex_timed_wait_requeue_pi): Likewise.
10795         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10796         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10797         register variables.
10799         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10800         libm_hidden_def.
10802         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10803         (__bswap_64): Mark as __always_inline.
10805 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
10807         [BZ #15378]
10808         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10809         when none of the search directories exist.
10811 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
10813         [BZ #17869]
10814         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10815         power8 in .machine directive.
10817         [BZ #17868]
10818         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10819         set dependency from opd value.
10821 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
10823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10824         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10825         architecture.
10827 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
10829         [BZ #17870]
10830         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10831         with uint64_t.
10832         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10833         (uint64_t) 1.
10834         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10835         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10836         Replace 1UL with (uint64_t) 1.
10837         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10838         int with uint64_t.
10840 2015-01-23  Roland McGrath  <roland@hack.frob.com>
10842         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10843         (if_freenameindex): Likewise.
10845         * resource/getrlimit64.c: Add missing libc_hidden_def.
10847 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
10849         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10850         __label__.
10851         (_FP_FMA): Likewise.
10852         (_FP_TO_INT_ROUND): Likewise.
10853         (_FP_FROM_INT): Likewise.
10855 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10857         [BZ #16418]
10858         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
10859         Make code racy and cancel safe.
10861 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
10863         * sysdeps/arm/unwind-resume.h: Fix copyright year.
10864         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
10865         attribution.
10867         * pwd/tst-getpw.c: Rewrite.
10869         [BZ #17702]
10870         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
10871         (modules-names): Add moddummy1 and moddummy2.
10872         ($(objpfx)tst-rec-dlopen): Define.
10873         * dlfcn/moddummy1.c: New file.
10874         * dlfcn/moddummy2.c: New file.
10875         * dlfcn/tst-rec-dlopen.c: New file.
10876         * elf/dl-cache.c (_dl_load_cache_lookup):
10877         Return char*. Copy result with alloca/strcpy/strdup.
10878         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
10879         returns char*. Free cached. If not saving realname
10880         free cached.
10881         * elf/dl-open.c (dl_open_worker): Do not assert that
10882         _r_debug->r_state is RT_CONSISTENT.
10883         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
10884         returns char*.
10886 2015-01-21  Torvald Riegel  <triegel@redhat.com>
10887             Carlos O'Donell  <carlos@redhat.com>
10889         [BZ #12674]
10890         * nptl/sem_waitcommon.c: New file.
10891         * nptl/sem_wait.c: Include sem_waitcommon.c.
10892         (__sem_wait_cleanup, do_futex_wait): Remove.
10893         (__new_sem_wait): Adapt.
10894         (__new_sem_trywait): New function.
10895         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
10896         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
10897         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
10898         (sem_timedwait): Adapt.
10899         * nptl/sem_post.c (__new_sem_post): Adapt.
10900         (futex_wake): New function.
10901         (__old_sem_post): Add release MO fence.
10902         * nptl/sem_open.c (sem_open): Adapt.
10903         * nptl/sem_init.c (__new_sem_init): Adapt.
10904         (futex_private_if_supported): New function.
10905         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
10906         (__old_sem_getvalue): Add using previous code.
10907         * sysdeps/nptl/internaltypes.h: Adapt.
10908         * nptl/tst-sem13.c (do_test): Adapt.
10909         * nptl/tst-sem11.c (main): Adapt.
10910         * nptl/sem_trywait.c: Remove.
10911         * nptl/DESIGN-sem.txt: Remove.
10912         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
10913         (gen-as-const-headers): Remove structsem.sym.
10914         * nptl/structsem.sym: Remove.
10915         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
10916         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
10917         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
10918         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
10919         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
10920         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
10921         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
10922         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
10923         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
10924         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
10925         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
10926         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
10927         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
10928         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
10929         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
10930         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
10931         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
10932         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
10933         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
10934         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
10935         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
10936         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
10938 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
10940         * INSTALL: Regenerated.
10942         * po/libc.pot: Regenerated.
10944 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
10945             Sandra Loosemore  <sandra@codesourcery.com>
10946             Andrew Jenner  <andrew@codesourcery.com>
10947             Joseph Myers  <joseph@codesourcery.com>
10948             Nathan Sidwell  <nathan@codesourcery.com>
10950         * NEWS: Mention new Nios II port.
10951         * sysdeps/nios2/Implies: New file.
10952         * sysdeps/nios2/Makefile: New file.
10953         * sysdeps/nios2/Subdirs: New file.
10954         * sysdeps/nios2/Versions: New file.
10955         * sysdeps/nios2/__longjmp.S: New file.
10956         * sysdeps/nios2/abort-instr.h: New file.
10957         * sysdeps/nios2/backtrace.c: New file.
10958         * sysdeps/nios2/bits/endian.h: New file.
10959         * sysdeps/nios2/bits/fenv.h: New file.
10960         * sysdeps/nios2/bits/link.h: New file.
10961         * sysdeps/nios2/bits/setjmp.h: New file.
10962         * sysdeps/nios2/bsd-_setjmp.S: New file.
10963         * sysdeps/nios2/bsd-setjmp.S: New file.
10964         * sysdeps/nios2/configure: New generated file.
10965         * sysdeps/nios2/configure.ac: New file.
10966         * sysdeps/nios2/crti.S: New file.
10967         * sysdeps/nios2/crtn.S: New file.
10968         * sysdeps/nios2/dl-init.c: New file.
10969         * sysdeps/nios2/dl-machine.h: New file.
10970         * sysdeps/nios2/dl-sysdep.h: New file.
10971         * sysdeps/nios2/dl-tls.h: New file.
10972         * sysdeps/nios2/dl-trampoline.S: New file.
10973         * sysdeps/nios2/gccframe.h: New file.
10974         * sysdeps/nios2/gmp-mparam.h: New file.
10975         * sysdeps/nios2/jmpbuf-offsets.h: New file.
10976         * sysdeps/nios2/jmpbuf-unwind.h: New file.
10977         * sysdeps/nios2/ldsodefs.h: New file.
10978         * sysdeps/nios2/libc-tls.c: New file.
10979         * sysdeps/nios2/libm-test-ulps: New file.
10980         * sysdeps/nios2/machine-gmon.h: New file.
10981         * sysdeps/nios2/math-tests.h: New file.
10982         * sysdeps/nios2/math_private.h: New file.
10983         * sysdeps/nios2/memusage.h: New file.
10984         * sysdeps/nios2/nptl/Makefile: New file.
10985         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
10986         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
10987         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
10988         * sysdeps/nios2/nptl/pthreaddef.h: New file.
10989         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
10990         * sysdeps/nios2/nptl/tls.h: New file.
10991         * sysdeps/nios2/preconfigure: New file.
10992         * sysdeps/nios2/s_fma.c: New file.
10993         * sysdeps/nios2/s_fmaf.c: New file.
10994         * sysdeps/nios2/setjmp.S: New file.
10995         * sysdeps/nios2/sfp-machine.h: New file.
10996         * sysdeps/nios2/sotruss-lib.c: New file.
10997         * sysdeps/nios2/stackguard-macros.h: New file.
10998         * sysdeps/nios2/stackinfo.h: New file.
10999         * sysdeps/nios2/start.S: New file.
11000         * sysdeps/nios2/sysdep.h: New file.
11001         * sysdeps/nios2/tls-macros.h: New file.
11002         * sysdeps/nios2/tst-audit.h: New file.
11003         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
11004         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
11005         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
11006         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
11007         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
11008         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
11009         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
11010         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
11011         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
11012         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
11013         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
11014         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
11015         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
11016         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
11017         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
11018         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
11019         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
11020         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
11021         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
11022         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
11023         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
11024         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
11025         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
11026         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
11027         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
11028         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
11029         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
11030         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
11031         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
11032         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
11033         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
11034         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
11035         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
11036         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
11037         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
11038         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
11039         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
11040         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
11041         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
11042         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
11043         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
11044         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
11045         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
11046         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
11048 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11050         [BZ #17844]
11051         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
11052         (getutent): Use weak_alias in non SHARED case
11053         and default_symbol_version in SHARED case.
11054         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
11055         (getutent_r, pututline): Likewise.
11056         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
11057         (getutid): Likewise.
11058         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
11059         (getutid_r): Likewise.
11060         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
11061         (getutline): Likewise.
11062         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
11063         (getutline_r): Likewise.
11064         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
11065         (updwtmp): Likewise.
11067 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11069         [BZ #17848]
11070         * sysdeps/s390/s390-32/memcmp.S
11071         (memcmp_g5): Rename to __memcmp_g5.
11072         * sysdeps/s390/s390-32/memcpy.S
11073         (memcpy_g5): Rename to __memcpy_g5.
11074         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11075         (memcpy_mvcle) Rename to __memcpy_mvcle.
11076         * sysdeps/s390/s390-32/memset.S
11077         (memset_g5): Rename to __memset_g5.
11078         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11079         (IFUNC_RESOLVE): Prefix ifunc-resolve function
11080         and use prefixed functions.
11081         * sysdeps/s390/s390-32/multiarch/memcmp.S
11082         (memcmp_z196): Rename to __memcmp_z196.
11083         (memcmp_z10): Rename to __memcmp_z10.
11084         (memcmp): Set alias to __memcmp_g5.
11085         (bcmp): Set alias to __memcmp_g5.
11086         * sysdeps/s390/s390-32/multiarch/memcpy.S
11087         (memcpy_z196): Rename to __memcpy_z196.
11088         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11089         (memcpy_z10): Rename to __memcpy_z10.
11090         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11091         (memcpy): Set alias to __memcpy_g5.
11092         * sysdeps/s390/s390-32/multiarch/memset.S
11093         (memset_z196): Rename to __memset_z196.
11094         Jump to __memset_mvcle instead of memset_mvcle.
11095         (memset_z10): Rename to __memset_z10.
11096         Jump to __memset_mvcle instead of memset_mvcle.
11097         (memset_mvcle) Rename to __memset_mvcle.
11098         (memset): Set alias to __memset_g5.
11099         * sysdeps/s390/s390-64/memcmp.S
11100         (memcmp_z900): Rename to __memcmp_z900.
11101         * sysdeps/s390/s390-64/memcpy.S
11102         (memcpy_z900): Rename to __memcpy_z900.
11103         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11104         (memcpy_mvcle) Rename to __memcpy_mvcle.
11105         * sysdeps/s390/s390-64/memset.S
11106         (memset_z900): Rename to __memset_z900.
11107         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
11108         (IFUNC_RESOLVE): Prefix ifunc-resolve function
11109         and use prefixed functions.
11110         * sysdeps/s390/s390-64/multiarch/memcmp.S
11111         (memcmp_z196): Rename to __memcmp_z196.
11112         (memcmp_z10): Rename to __memcmp_z10.
11113         (memcmp): Set alias to __memcmp_z900.
11114         (bcmp): Set alias to __memcmp_z900.
11115         * sysdeps/s390/s390-64/multiarch/memcpy.S
11116         (memcpy_z196): Rename to __memcpy_z196.
11117         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11118         (memcpy_z10): Rename to __memcpy_z10.
11119         Jump to __memcpy_mvcle instead of memcpy_mvcle.
11120         (memcpy): Set alias to __memcpy_z900.
11121         * sysdeps/s390/s390-64/multiarch/memset.S
11122         (memset_z196): Rename to __memset_z196.
11123         Jump to __memset_mvcle instead of memset_mvcle.
11124         (memset_z10): Rename to __memset_z10.
11125         Jump to __memset_mvcle instead of memset_mvcle.
11126         (memset_mvcle) Rename to __memset_mvcle.
11127         (memset): Set alias to __memset_z900.
11129 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
11131         [BZ #17748]
11132         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
11133         __fesetenv instead of fesetenv.
11135 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11137         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
11138         macro.
11140 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11142         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
11143         regression on LE.
11145         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
11146         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
11147         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11148         strncmp-power8 object.
11149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11150         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
11151         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
11152         * NEWS: Update.
11154 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11155             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11157         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
11158         trailing byte check.
11160 2015-01-13  David S. Miller  <davem@davemloft.net>
11162         * include/signal.h (__sigreturn): Guard with __USE_MISC.
11164 2015-01-13  Roland McGrath  <roland@hack.frob.com>
11166         * login/logout.c (logout): Use memset rather than bzero.
11167         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
11168         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
11169         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
11170         (_gethtbyaddr): Likewise.
11171         * locale/programs/simple-hash.c (bcopy): Macro removed.
11173 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11175         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11176         Add strcmp-power8 object.
11177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11178         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
11179         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
11180         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
11181         __strcmp_power8 implementation.
11182         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
11183         * NEWS: Update.
11185         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11186         Add strncpy-power8 and stpncpy-power8 objects.
11187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11188         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
11189         implementations.
11190         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
11191         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
11192         __stpncpy_power8 implementation.
11193         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
11194         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
11195         __strncpy_power8 implementation.
11196         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
11197         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
11198         * NEWS: Update.
11200         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
11201         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
11202         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
11204         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11205         strncat-power8 object.
11206         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
11207         __strcat_power8 implementation.
11208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11209         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
11210         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
11211         optimized strcat for power8.
11213         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11214         strcpy-power8 and stpcpy-power8 objects.
11215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11216         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
11217         implementations.
11218         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
11219         multiarch stpcpy implementation for POWER8.
11220         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
11221         multiarch strcpy implementation for POWER8.
11222         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
11223         __strcpy_power8 function.
11224         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
11225         stpcpy for POWER8.
11226         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
11227         strcpy for POWER8.
11228         * NEWS: Update.
11230 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
11232         [BZ #16009]
11233         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
11234         weights and rules. Use do_xfrm_cached if data fits in cache,
11235         do_xfrm otherwise.  Moved former main loop to...
11236         * (do_xfrm_cached): New function.
11237         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
11238         find_idx, find_position and stack_push.
11239         * (find_idx): New function.
11240         * (find_position): Likewise.
11241         * localedata/sort-test.sh: Added test run for do_xfrm.
11242         * localedata/xfrm-test.c (main): Added command line option
11243         -nocache to run the test with strings that are too large for
11244         the STRXFRM cache.
11246 2015-01-13  Torvald Riegel  <triegel@redhat.com>
11248         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
11249         variable to lll_futex_wake call, not the value itself.
11251 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
11253         [BZ #17803]
11254         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
11255         twom64.  Adjust value to 0x1p-64L.
11256         (__scalblnl): Only return standard underflowing result for K <=
11257         -64 not K <= -63; adjust exponent for underflowing result by 64
11258         not 63.
11259         * math/libm-test.inc (scalbn_test_data): Add more tests.
11260         (scalbln_test_data): Likewise.
11262         [BZ #17834]
11263         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
11264         0x1p63L.
11265         (__scalblnl): Get new exponent of adjusted subnormal value from ES
11266         not HX.
11267         * math/libm-test.inc (scalbn_test_data): Add more tests.
11268         (scalbln_test_data): Likewise.
11270 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11271             Stefani Seibold  <stefani@seibold.net>
11273         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
11274         (sysdep_routines): Add dl-vdso here, ...
11275         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
11276         (sysdep_routines): ... not here.
11277         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
11278         fallback when vDSO is not presented.
11279         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11280         Define with libc_hidden_proto/libc_hidden_data_def definitions.
11281         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
11282         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
11283         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
11284         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
11285         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
11286         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
11287         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
11288         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
11289         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
11290         fallback configurable symbol when vDSO is not available.
11291         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
11292         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
11293         be able to redefine fallback symbol when vDSO is not available.
11294         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
11295         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
11297 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11299         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
11300         (TLS_INIT_TP): Add tm_capable initialization.
11301         (TLS_DEFINE_INIT_TP): Likewise.
11302         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
11303         TCB.
11304         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
11305         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
11306         calculation.
11307         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
11308         transactoion is lock elision is built and TCB tm_capable is set.
11309         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
11310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11311         (INTERNAL_SYSCALL_NCS): Likewise.
11312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11313         (INTERNAL_SYSCALL_NCS): Likewise.
11314         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
11316         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
11317         for powerpc.
11318         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11319         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
11320         and remove it for 32 bits case.
11321         [pthread_rwlock_t] (__rwelision): New field for lock elision.
11322         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
11323         initialization.
11324         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
11325         Disable lock elision with rdlocks if elision is not available.
11327         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
11328         (sysdep_routines): Add lock elision objects.
11329         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11330         [pthread_mutex_t] (__spins): Rework to add lock elision field.
11331         [pthread_mutex_t] (__elision): Add field.
11332         [__PTHREAD_SPINS]: Adjust to init lock elision field.
11333         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
11334         elision definitions for powerpc.
11335         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
11336         implementation of lock elision for powerpc.
11337         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
11338         implementation of timed lock elision for powerpc.
11339         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
11340         implementation of trylock with lock elision for powerpc.
11341         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
11342         implementaion of unlock for lock elision for powerpc.
11343         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
11344         automatic enable lock elision for mutexes.
11345         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
11346         transaction execution definitions for powerpc.
11347         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
11348         definitions.
11349         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
11350         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
11351         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
11352         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
11353         * NEWS: Update.
11355 2015-01-09  Roland McGrath  <roland@hack.frob.com>
11357         * sysdeps/posix/shm-directory.c: Use <> rather than ""
11358         for #include of <shm-directory.h>.
11360 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
11362         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
11363         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
11365 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
11367         [BZ #17791]
11368         * NEWS: Mention bug fix.
11369         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
11370         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
11371         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
11373 2015-01-09  Torvald Riegel <triegel@redhat.com>
11375         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
11377 2015-01-09  Torvald Riegel <triegel@redhat.com>
11379         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
11381 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11383         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
11384         pointer and cast to uintptr_t.
11386 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11388         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
11389         removed.
11390         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
11392 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
11394         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
11395         of 0.
11397 2015-01-08  Roland McGrath  <roland@hack.frob.com>
11399         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
11400         <nptl/pthreadP.h> instead.
11401         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
11403         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
11404         already defined.
11405         [__SIGRTMIN] (init): Function removed.
11406         [__SIGRTMIN] (initialized): Variable removed.
11407         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
11408         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
11409         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
11410         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11411         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
11412         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
11413         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
11414         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
11415         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
11416         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
11417         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
11418         * sysdeps/nptl/allocrtsig.c: New file.
11419         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
11420         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
11421         * sysdeps/generic/testrtsig.h: File removed.
11423         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
11424         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
11426         * nptl/nptl-init.c (pthread_functions): Conditionalize
11427         .ptr__nptl_setxid initialization on [SIGSETXID].
11429         * sysdeps/nptl/sys/procfs.h: New file.
11430         * nptl_db/Makefile (headers): Add it.
11431         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
11433         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11434         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
11435         * nptl/pthread_attr_setaffinity.c: Include it.
11436         * nptl/pthread_setattr_default_np.c: Likewise.
11437         * nptl/check-cpuset.h: New file.
11439 2015-01-08  Richard Henderson  <rth@redhat.com>
11441         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
11442         (CFLAGS-tst-execstack-prog.c): Likewise.
11443         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
11445 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
11446             Sandra Loosemore  <sandra@codesourcery.com>
11447             Andrew Jenner  <andrew@codesourcery.com>
11448             Joseph Myers  <joseph@codesourcery.com>
11449             Nathan Sidwell  <nathan@codesourcery.com>
11451         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
11452         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
11453         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
11454         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11455         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
11456         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
11457         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
11458         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
11459         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
11460         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
11461         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
11462         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
11463         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
11464         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
11465         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
11466         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
11467         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
11469 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11471         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
11472         timespec struct member in syscall macro.
11473         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11474         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11475         first timeval struct member in syscall macro.
11476         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11478 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
11480         [BZ #17748]
11481         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11482         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11483         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11484         __feupdateenv and define as weak alias of __feupdateenv.  Use
11485         libm_hidden_weak.
11486         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11487         libm_hidden_def.
11488         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11489         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
11490         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11491         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11492         libm_hidden_def.
11493         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11494         __feupdateenv and define as weak alias of __feupdateenv.  Use
11495         libm_hidden_weak.
11496         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11497         libm_hidden_def.
11498         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11499         __feupdateenv and define as weak alias of __feupdateenv.  Use
11500         libm_hidden_weak.
11501         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11502         libm_hidden_def.
11503         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11504         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11505         (__feupdateenv): Likewise.
11506         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11507         __feupdateenv and define as weak alias of __feupdateenv.  Use
11508         libm_hidden_weak.
11509         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11510         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11511         libm_hidden_def.
11512         * sysdeps/tile/math_private.h (__feupdateenv): New inline
11513         function.
11514         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11515         libm_hidden_def.
11516         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11517         __feupdateenv instead of feupdateenv.
11518         (default_libc_feupdateenv_test): Likewise.
11519         (libc_feresetround_ctx): Likewise.
11521 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11523         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11524         prototype.
11526 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
11528         * posix/regcomp.c (parse_bracket_exp): Initialize type to
11529         COLL_SYM in a couple of places to avoid uninitialized variable
11530         wanings on tilegx gcc 4.8.2.
11532 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11534         * sysdeps/aarch64/strcpy.S: New file.
11535         * sysdeps/aarch64/stpcpy.S: New file.
11536         * NEWS: Updated.
11538 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
11540         * sysdeps/aarch64/strrchr.S: New file.
11541         * NEWS: Updated.
11543 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
11545         [BZ #17658]
11546         * stdlib/setenv.c: Fix memory leak when setting large,
11547         duplicate string.
11549 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
11551         [BZ #17273]
11552         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11553         and tabs from buffer before parsing fstab entry.
11554         * misc/tst-mntent.c (main): Add test for mount entry with
11555         trailing spaces and tabs.
11557 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
11559         [BZ #17748]
11560         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
11561         * math/fesetround.c (fesetround): Rename to __fesetround and
11562         define as weak alias of __fesetround.  Use libm_hidden_weak.
11563         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11564         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11565         * sysdeps/arm/fesetround.c (fesetround): Likewise.
11566         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11567         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11568         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11569         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11570         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11571         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11572         __fesetround_inline.
11573         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11574         __fesetround_inline instead of __fesetround.
11575         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11576         __fesetround and define as weak alias of __fesetround.  Use
11577         libm_hidden_weak.  Call __fesetround_inline instead of
11578         __fesetround.
11579         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11580         __fesetround and define as weak alias of __fesetround.  Use
11581         libm_hidden_weak.
11582         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11583         Likewise.
11584         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11585         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11586         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11587         * sysdeps/tile/math_private.h (__fesetround): New inline function.
11588         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11589         __fesetround and define as weak alias of __fesetround.  Use
11590         libm_hidden_weak.
11591         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11592         __fesetround instead of fesetround.
11593         (default_libc_feholdexcept_setround): Likewise.
11594         (libc_feholdsetround_ctx): Likewise.
11595         (libc_feholdsetround_noex_ctx): Likewise.
11597         [BZ #17748]
11598         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11599         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11600         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11601         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11602         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11603         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11604         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11605         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11606         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11607         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11608         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11609         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11610         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11611         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11612         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11613         libm_hidden_def.
11614         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11615         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11616         Likewise.
11617         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11618         define as weak alias of __fesetenv.  Use libm_hidden_weak.
11619         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11620         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11621         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11622         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11623         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
11624         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11625         __fesetenv instead of fesetenv.
11626         (libc_feresetround_noex_ctx): Likewise.
11627         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11628         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11629         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11630         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11631         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11632         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11633         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11634         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11635         (__feupdateenv): Likewise.
11636         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11637         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11638         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11639         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11641 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
11643         [BZ #17806]
11644         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11645         addresses have been freed.
11647 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
11649         * resolv/res_init.c (__res_vinit): Improve comments about nserv
11650         and nservall.
11652 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
11654         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11655         Clean up check_pf allocation pattern. addresses
11657 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11659         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11660         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11661         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11662         * nptl/pthread_exit.c (__pthread_exit): Likewise.
11663         * nptl/pthread_join.c (pthread_join): Likewise.
11664         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11665         * sysdeps/posix/waitid.c (__waitid): Likewise.
11666         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11667         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11668         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11669         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11670         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11671         Likewise.
11672         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11673         (__libc_pread64): Likewise.
11674         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11675         (__libc_pwrite): Likewise.
11676         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11677         (__libc_pwrite64): Likewsie.
11678         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11679         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11680         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11681         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11682         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11683         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11684         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11686         Likewise.
11687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11688         (__libc_pread64): Likewise.
11689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11690         Likewise.
11691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11692         (__libc_pwrite64): Likewise.
11693         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11694         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11695         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11696         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11697         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11698         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11699         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11700         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11701         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11702         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11703         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11704         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11705         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11706         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11707         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11708         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11709         Likewise.
11711 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
11713         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11714         (CFLAGS-test-double.c): Likewise.
11715         (CFLAGS-test-ldouble.c): Likewise.
11716         (CPPFLAGS-test-ifloat.c): Likewise.
11717         (CPPFLAGS-test-idouble.c): Likewise.
11718         (CPPFLAGS-test-ildoubl.c): Likewise.
11719         (CFLAGS-test-test-fenv.c): Remove variable.
11720         (CFLAGS-test-misc.c): Likewise.
11722 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
11724         [BZ #17797]
11725         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11726         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11727         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11728         CLOCKS_PER_SEC == 1000000.
11729         * time/clocktest.c (main): Replace %ld with %jd and cast to
11730         intmax_t.
11732 2015-01-05  Roland McGrath  <roland@hack.frob.com>
11734         * sysdeps/generic/unwind-resume.h: New file.
11735         * sysdeps/gnu/unwind-resume.c: Include it.
11736         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11737         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11738         argument list.
11739         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11740         global rather than static.
11741         (_Unwind_Resume): Update user.
11742         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11743         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
11744         rather than static.  Add __attribute__ ((cold)).
11745         (_Unwind_Resume, __gcc_personality_v0): Update callers.
11746         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11747         * sysdeps/arm/arm-unwind-resume.S: New file.
11748         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11749         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11750         * sysdeps/arm/Makefile [$(subdir) = csu]
11751         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11752         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11753         Add rt-arm-unwind-resume.
11754         [$(subdir) = nptl]
11755         (libpthread-sysdep_routines, libpthread-shared-only-routines):
11756         Add pt-arm-unwind-resume.
11757         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11758         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11760 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11762         [BZ #17748]
11763         * include/fenv.h (__feholdexcept): Declare.  Use
11764         libm_hidden_proto.
11765         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11766         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
11767         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11768         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11769         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11770         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11771         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11772         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11773         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11774         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11775         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11776         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11777         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11778         (feholdexcept): Likewise.
11779         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11780         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11781         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11782         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11783         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11784         __feholdexcept instead of feholdexcept.
11785         (default_libc_feholdexcept_setround): Likewise.
11787 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11789         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11790         to avoid using stl/str to align destination.
11792 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11794         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11796 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11798         [BZ #17796]
11799         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11800         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11801         Define as weak alias not strong alias.
11803 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
11805         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11806         bltzal with addiupc.
11807         (RTLD_START): Ditto.
11809 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
11811         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11812         for __vdso_* functions in declarations.
11813         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11814         definitions.
11815         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11816         INTERNAL_VSYSCALL): Use struct return types to check for error.
11818         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11819         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11820         function with cast from llround().
11821         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11822         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11823         Define.
11825 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11827         [BZ #17793]
11828         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11829         Define as weak alias not strong alias.
11831         [BZ #17635]
11832         * ctype/ctype-c99.c: New file.  isblank implementation moved from
11833         ...
11834         * ctype/ctype-extn.c: ... here.
11835         (__isblank_l): Move to ...
11836         * ctype/ctype-c99_l.c: ... here.  New file.
11837         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11838         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11839         Remove variable.
11840         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11841         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11842         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11843         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11844         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11846         [BZ #17777]
11847         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11848         (posix_fadvise64): Define as weak alias not strong alias.
11849         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11850         (posix_fallocate64): Likewise.
11851         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
11852         Remove variable.
11853         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11854         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11855         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11856         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11857         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11859 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
11861         [BZ #16191]
11862         * NEWS: Mention bug fix.
11863         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
11864         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
11865         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
11866         (HOST_STACK_END_ADDR): Likewise.
11868 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
11870         [BZ #17748]
11871         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
11872         * math/fegetround.c (fegetround): Rename to __fegetround and
11873         define as weak alias of __fegetround.  Use libm_hidden_weak.
11874         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
11875         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
11876         * sysdeps/arm/fegetround.c (fegetround): Likewise.
11877         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
11878         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11879         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
11880         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
11881         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
11882         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11883         Undefine after rather than before function definition; use
11884         parentheses around function name in definition.
11885         (__fegetround): Also undefine macro after function definition.
11886         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
11887         __fegetround and define as weak alias of __fegetround.  Use
11888         libm_hidden_weak.  Do not undefine as macro.
11889         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11890         Likewise.
11891         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
11892         __fegetround and define as weak alias of __fegetround.  Use
11893         libm_hidden_weak.
11894         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11895         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11896         * sysdeps/tile/math_private.h (__fegetround): New inline function.
11897         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
11898         __fegetround and define as weak alias of __fegetround.  Use
11899         libm_hidden_weak.
11900         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
11901         __fegetround instead of fegetround.
11903         [BZ #17782]
11904         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
11905         Condition macro definition on [__USE_MISC].
11907         [BZ #17781]
11908         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
11909         (struct sigaction): Change type of sa_flags field to int.
11911         [BZ #17780]
11912         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
11913         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
11914         __glibc_reserved0.
11916         * nptl/version.c (banner): Use single year in copyright notice.
11918         * NEWS: Update copyright dates.
11919         * catgets/gencat.c (print_version): Likewise.
11920         * csu/version.c (banner): Likewise.
11921         * debug/catchsegv.sh: Likewise.
11922         * debug/pcprofiledump.c (print_version): Likewise.
11923         * debug/xtrace.sh (do_version): Likewise.
11924         * elf/ldconfig.c (print_version): Likewise.
11925         * elf/ldd.bash.in: Likewise.
11926         * elf/pldd.c (print_version): Likewise.
11927         * elf/sotruss.sh: Likewise.
11928         * elf/sprof.c (print_version): Likewise.
11929         * iconv/iconv_prog.c (print_version): Likewise.
11930         * iconv/iconvconfig.c (print_version): Likewise.
11931         * locale/programs/locale.c (print_version): Likewise.
11932         * locale/programs/localedef.c (print_version): Likewise.
11933         * login/programs/pt_chown.c (print_version): Likewise.
11934         * malloc/memusage.sh (do_version): Likewise.
11935         * malloc/memusagestat.c (print_version): Likewise.
11936         * malloc/mtrace.pl: Likewise.
11937         * manual/libc.texinfo: Likewise.
11938         * nptl/version.c (banner): Likewise.
11939         * nscd/nscd.c (print_version): Likewise.
11940         * nss/getent.c (print_version): Likewise.
11941         * nss/makedb.c (print_version): Likewise.
11942         * posix/getconf.c (main): Likewise.
11943         * scripts/test-installation.pl: Likewise.
11944         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11946 2015-01-02  Will Newton  <will.newton@linaro.org>
11948         * sysdeps/arm/armv7/configure: Removed.
11949         * sysdeps/arm/armv7/configure.ac: Likewise.
11951 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
11953         * All files with FSF copyright notices: Update copyright dates
11954         using scripts/update-copyrights.
11955         * intl/plural.c: Regenerated.
11956         * locale/programs/charmap-kw.h: Likewise.
11957         * locale/programs/locfile-kw.h: Likewise.
11959 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11961         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
11963 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
11965         [BZ #17748]
11966         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
11967         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
11968         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11969         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
11970         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11971         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
11972         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11973         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
11974         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11975         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11976         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11977         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11978         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11979         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11980         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
11981         libm_hidden_def.
11982         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
11983         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
11984         Likewise.
11985         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
11986         define as weak alias of __fegetenv.  Use libm_hidden_weak.
11987         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11988         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
11989         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
11990         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
11991         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
11992         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
11993         __fegetenv instead of fegetenv.
11994         (libc_feholdsetround_noex_ctx): Likewise.
11996 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11998         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
11999         (Elf_MIPS_ABIFlags_v0): New structure.
12000         (EF_MIPS_FP64): Define.
12001         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
12002         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
12003         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
12004         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
12005         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
12006         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
12007         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
12008         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
12009         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
12010         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
12011         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
12012         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
12013         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
12014         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
12015         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
12016         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
12017         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
12018         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
12019         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
12020         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
12021         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
12022         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
12023         field.
12024         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
12025         EF_MIPS_FP64.
12026         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
12027         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
12028         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
12029         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
12030         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
12031         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
12032         * sysdeps/mips/tst-abi-interlink.c: Likewise.
12033         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
12034         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
12035         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
12036         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
12037         record the current FP ABI extension.
12038         (mips-mode-switch): Define to show if kernel headers support mode
12039         switching.
12040         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12041         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
12042         supported SYSV ABI version to 3.
12043         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
12044         feature.
12046 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12047             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12049         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
12050         path.
12051         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
12053 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
12055         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
12056         __fegetround and redefine to call __fegetround.  Remove condition
12057         on [!__NO_MATH_INLINES].
12058         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
12059         function.
12060         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
12061         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12062         Remove macro.
12063         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
12064         instead of <fenv_libc.h>.
12065         (__llrintl): Call fegetround instead of __fegetround.
12066         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
12067         instead of <fenv_libc.h>.
12068         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12069         (__lrintl): Call fegetround instead of __fegetround.
12070         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
12071         instead of <fenv_libc.h>.
12072         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12073         (__rintl): Call fegetround instead of __fegetround.
12075 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12077         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
12078         arrays.
12080 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
12082         [BZ #17775]
12083         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
12084         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
12085         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
12087 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12089         * sysdeps/i386/tls-macros.h: Include <features.h>.
12090         (TLS_LE): Use non-PIC version for GCC >= 5.0.
12091         (TLS_IE): Likewise.
12092         (TLS_LD): Likewise.
12093         (TLS_GD): Likewise.
12094         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
12095         define for GCC >= 5.0.
12097 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
12099         * math/test-fenv.c (test_single_exception, set_single_exc,
12100         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
12101         feexcp_mask_test, feenable_test, fe_single_test): Add
12102         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
12103         case where they are not used.
12104         * math/libm-test.inc: Likewise.
12105         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
12106         unused in the absence of FP rounding/exception support.
12107         * stdio-common/tst-printf-round.c: Likewise.
12108         * stdlib/tst-strtod-round.c: Likewise.
12109         * stdlib/tst-strtod-underflow.c: Likewise.
12111 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
12113         [BZ #17723]
12114         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
12115         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
12116         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12117         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12118         libm_hidden_weak.
12119         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
12120         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
12121         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
12122         libm_hidden_def.
12123         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12124         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12125         libm_hidden_weak.
12126         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
12127         Likewise.
12128         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
12129         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12130         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12131         libm_hidden_weak.
12132         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
12133         libm_hidden_def.
12134         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12135         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
12136         (__feraiseexcept): Likewise.
12137         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12138         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
12139         libm_hidden_weak.
12140         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
12141         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
12142         libm_hidden_def.
12143         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
12144         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
12145         Use libm_hidden_def.
12146         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
12147         libm_hidden_def.
12148         (feraiseexcept): Define as weak not strong alias.  Use
12149         libm_hidden_weak.
12150         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
12151         New inline function.  Factored out of ...
12152         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
12153         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
12154         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
12155         feraiseexcept.
12156         * math/w_acos.c (__acos): Likewise.
12157         * math/w_asin.c (__asin): Likewise.
12158         * math/w_ilogb.c (__ilogb): Likewise.
12159         * math/w_j0.c (y0): Likewise.
12160         * math/w_j1.c (y1): Likewise.
12161         * math/w_jn.c (yn): Likewise.
12162         * math/w_log.c (__log): Likewise.
12163         * math/w_log10.c (__log10): Likewise.
12164         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
12165         * sysdeps/aarch64/fpu/math_private.h
12166         (libc_feupdateenv_test_aarch64): Likewise.
12167         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
12168         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
12169         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
12170         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
12171         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
12172         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
12173         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
12174         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12175         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12176         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12178 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
12180         [BZ #17732]
12181         * io/test-utime.c (main): Replace %ld with %jd and cast to
12182         intmax_t.
12183         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
12184         * nptl/tst-mutex5.c: Include <stdint.h>.
12185         (do_test): Replace %ld with %jd and cast to intmax_t.
12186         * posix/tst-regex.c (run_test): Likewise.
12187         (run_test_backwards): Likewise.
12188         * rt/tst-clock.c: Include <stdint.h>.
12189         (clock_test): Replace %ld with %jd and cast to intmax_t.
12190         * rt/tst-cpuclock1.c: Include <stdint.h>.
12191         (do_test): Replace %lu with %ju and cast to uintmax_t.
12192         * rt/tst-cpuclock2.c: Include <stdint.h>.
12193         (do_test): Replace %lu with %ju and cast to uintmax_t.
12194         * rt/tst-mqueue1.c: Include <stdint.h>.
12195         (check_attrs): Replace %ld with %jd and cast to intmax_t.
12196         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
12197         intmax_t.
12198         * rt/tst-mqueue4.c (do_test): Likewise.
12199         * rt/tst-timer4.c: Include <stdint.h>.
12200         (check_ts): Replace %ld with %jd and cast to intmax_t.
12201         (do_test): Likewise.
12202         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
12203         and cast to intmax_t.
12204         * sysdeps/pthread/tst-timer.c (main): Likewise.
12205         * time/clocktest.c (main): Likewise.
12206         * time/tst-posixtz.c (do_test): Likewise.
12207         * timezone/tst-timezone.c (main): Likewise.
12209 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12210             H.J. Lu  <hongjiu.lu@intel.com>
12212         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
12213         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
12214         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
12215         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
12216         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
12217         version if bit_Fast_Unaligned_Load is set.
12218         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12219         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12220         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12221         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12222         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12223         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12224         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12225         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
12226         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
12227         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
12228         to 4.
12229         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
12230         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
12231         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
12232         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
12234 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
12236         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
12237         instead of #if to avoid a Wundef warning.
12238         * stdlib/tst-limits.c (do_test): Likewise.
12240         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
12241         parallel other exception macros.
12242         (fegetenv): Convert from macro to extern inline so that it applies
12243         retroactively to inline functions already seen by the compiler.
12244         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
12246         * posix/Makefile (before-compile): Use $(objpfx) for
12247         posix-conf-vars-def.h.
12249 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12251         * posix/getconf.c (main): Use size_t for type of I.
12252         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
12253         NSPEC.
12255         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
12256         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
12257         * posix/posix-envs.def: Likewise.
12258         * sysdeps/posix/sysconf.c: Likewise.
12259         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
12260         (specs): Remove array.
12261         * scripts/gen-posix-conf-vars.awk: Support generation of specs
12262         array.
12264         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
12265         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
12266         (__sysconf): Use CONF_IS_* macros.
12268         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
12269         ($(objpfx)posix-conf-vars-def.h): New target.
12270         * posix/posix-conf-vars.list: New file.
12271         * posix/posix-conf-vars.h: New file.
12272         * posix/confstr.c: Include posix-conf-vars.h.
12273         (confstr): Use CONF_IS_* macros.
12274         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
12275         CONF_IS_* macros.
12276         * scripts/gen-posix-conf-vars.awk: New file.
12278 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
12280         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
12281         fegetround): Add no-op macros to avoid linknamespace issues.
12283         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
12284         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
12286         * sysdeps/unix/sysv/linux/tile/sysdep.h
12287         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
12288         assembly-specific section to avoid a redefinition warning.
12290         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
12291         long before casting to pointer to avoid a cast warning.
12293 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
12295         * sysdeps/tile/tilegx/Implies: New file.
12297 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
12299         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
12301 2014-12-23  Florian Weimer  <fweimer@redhat.com>
12303         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
12305 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12307         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
12308         not define.
12309         * sysdeps/unix/sysv/linux/utimes.c: Do not include
12310         <kernel-features.h>.
12311         (__utimes) [__NR_utimes]: Make code unconditional.
12312         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
12313         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12314         (__ASSUME_UTIMES): Do not undefine.
12315         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12316         (__ASSUME_UTIMES): Likewise.
12317         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12318         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
12319         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
12320         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
12322 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
12324         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
12326 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
12328         [BZ #17747]
12329         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
12330         alias to weak alias for j0l, y0l.
12331         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
12332         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
12334         [BZ #17746]
12335         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
12336         conversion.
12338 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
12340         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
12341         to zero if not already defined.
12343 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12345         [BZ #17724]
12346         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
12347         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
12348         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
12349         (char *) casts added.
12350         * sysdeps/ieee754/k_standardf.c: New file.
12351         * sysdeps/ieee754/k_standardl.c: Likewise.
12352         * math/Makefile (libm-support): Remove k_standard.
12353         (libm-calls): Add k_standard.
12355 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12357         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12358         Optimize to avoid an unnecessary FPCR read.
12360 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12362         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12363         Optimize to reduce FPCR/FPSR accesses.
12365 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12367         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
12368         Call libc_fetestexcept_aarch64.
12370 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
12372         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
12373         Call libc_fesetround_aarch64.
12375 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
12377         [BZ #17733]
12378         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
12379         (__bind): Do not define as weak alias.
12380         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
12381         define.
12382         (__getsockname): Do not define as weak alias.
12384 2014-12-22  Will Newton  <will.newton@linaro.org>
12386         * manual/install.texi: Document that we require bison 2.7
12387         or above.
12388         * INSTALL: Regenerate.
12389         * configure.ac: Use AC_CHECK_PROG_VER instead of
12390         AC_PATH_PROG when checking for bison and check for
12391         version 2.7 or above.
12392         * configure: Regenerate.
12394 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
12396         [BZ #17745]
12397         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
12398         * sysdeps/tile/ffsll.c (ffsll): To here.
12400         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
12402 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12404         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
12405         if not defined.
12406         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
12407         definition.
12408         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12409         hidden ___tls_get_addr.
12410         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12411         hidden __tls_get_addr.
12412         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
12413         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
12414         Likewise.
12416 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
12418         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
12419         _dl_init call.
12421 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
12423         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
12424         from "call _dl_init@PLT".
12425         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
12427 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
12429         * manual/search.texi: (Array Sort Function): Clarify stable sorting
12430         guarantees.
12432 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
12434         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
12436 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12438         [BZ #17744]
12439         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
12440         strnlen.
12442 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12444         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
12445         of multu on MIPSr6.
12446         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
12447         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
12448         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
12449         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
12450         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
12452 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
12454         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
12455         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
12456         (PTR_SUBU): Use subu for mips32r6/mips64r6.
12457         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
12458         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
12459         mips32r6/mips64r6.
12460         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
12462 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
12464         * string/strncat.c (STRNCAT): Simplify implementation.
12466 2014-12-19  David S. Miller  <davem@davemloft.net>
12468         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
12469         access the quad as both a long double and as a series of 4 words.
12471         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
12472         link_map->l_info array access.
12474 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
12476         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12478         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12479         * math/atest-exp2.c (TIMEOUT): Likewise.
12480         * math/atest-sincos.c (TIMEOUT): Likewise.
12482 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12484         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12485         -Wno-error with -fno-builtin-lround.
12487 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12489         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12490         Contains futex constants and functions moved over from ...
12491         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
12492         <lowlevellock-futex.h>.
12493         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12494         (lll_timedwait_tid): Add comments and parentheses around macro
12495         arguments.
12497 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12499         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12500         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
12501         (__lll_private_flag): Remove.
12502         (lll_futex_wait): Likewise.
12503         (lll_futex_timed_wait): Likewise.
12504         (lll_futex_wake): Likewise.
12505         (lll_futex_requeue): Likewise.
12506         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12507         (__lll_timedwait_tid): Spell out argument names.
12508         (lll_timedwait_tid): Add comments and parentheses around macro
12509         arguments.
12510         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12511         LLL_SHARED and LLL_PRIVATE usable from assembly code.
12513 2014-12-19  Torvald Riegel  <triegel@redhat.com>
12515         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12516         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12517         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12518         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12519         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12520         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12521         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12522         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12523         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12524         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12525         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12526         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12527         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12528         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12529         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12530         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12531         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12532         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12533         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12535 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12537         * sysdeps/x86_64/x32/Makefile: New file.
12539 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
12541         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12542         1L with (mp_limb_t) 1.
12544 2014-12-17  Roland McGrath  <roland@hack.frob.com>
12546         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12547         * nptl/libc_pthread_init.c: ... here.
12548         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12549         * nptl/register-atfork.c: ... here.
12551         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12552         Use pthread_sigmask rather than INTERNAL_SYSCALL.
12553         Use assert_perror to check its return value.
12554         (__gai_create_helper_thread): Likewise.
12556         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12558         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12560 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
12562         [BZ #17725]
12563         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12564         __profil_counter.
12565         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12566         Likewise.
12567         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12568         Likewise.
12569         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12570         Likewise.
12571         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12572         (profil_counter): Likewise.
12573         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12574         (profil_counter): Likewise.
12575         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12576         Likewise.
12577         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12578         Likewise.
12579         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12580         (profil_counter): Likewise.
12581         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12582         Likewise.
12583         [!__profil_counter] (profil_counter): Define as weak alias of
12584         __profil_counter.
12585         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12586         (profil_counter): Rename to __profil_counter.
12587         [!__profil_counter] (profil_counter): Define as weak alias of
12588         __profil_counter.
12589         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12590         (profil_counter): Rename to __profil_counter.
12591         [!__profil_counter] (profil_counter): Define as weak alias of
12592         __profil_counter.
12593         * sysdeps/posix/profil.c: Update comment referring to
12594         profil_counter.
12595         (__profil): Use __profil_counter instead of profil_counter.
12596         * sysdeps/posix/sprofil.c (profil_counter): Rename to
12597         __profil_counter.  Use __profil_counter_ushort and
12598         __profil_counter_uint in definitions.
12599         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12600         instead of profil_counter_uint and profil_counter_ushort.
12602         [BZ #17722]
12603         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12604         define as weak alias of __inet_makeaddr.
12605         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12606         as weak alias of __inet_addr.
12607         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12608         as weak alias of __inet_pton.  Use libc_hidden_weak.
12609         * include/arpa/inet.h (__inet_pton): Declare.  Use
12610         libc_hidden_proto.
12611         (inet_makeaddr): Don't use libc_hidden_proto.
12612         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
12613         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12614         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
12615         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12616         Remove variable.
12617         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12618         (test-xfail-POSIX/time.h/linknamespace): Likewise.
12620 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
12622         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12624 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12626         * stdio-common/bug-vfprintf-nargs.c (do_test):
12627         Cast value to intptr_t to avoid format warning
12628         for usage with PRIdPTR printing macro.
12630 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12632         * libio/tst-widetext.c (do_test):
12633         Use format type %td instead of %Zd for ptrdiff_t
12634         in order to avoid format warning.
12636 2014-12-17  Andreas Schwab  <schwab@suse.de>
12638         * nscd/mem.c (gc): Add size_t cast to match printf format.
12640 2014-12-16  Roland McGrath  <roland@hack.frob.com>
12642         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12643         (init): Apply PTR_MANGLE to pointers before storing them.
12644         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12645         before using them.
12647 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
12649         [BZ #17719]
12650         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12651         define as weak alias of __memrchr.
12652         (__memrchr): Do not define as strong alias of memrchr.
12653         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12654         Remove variable.
12655         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12656         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12657         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12659         [BZ #17717]
12660         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12661         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
12662         (if_indextoname): Rename to __if_indextoname and define as weak
12663         alias of __if_indextoname.  Use libc_hidden_weak.
12664         (if_freenameindex): Rename to __if_freenameindex and define as
12665         weak alias of __if_freenameindex.
12666         (if_nameindex): Rename to __if_nameindex and define as weak alias
12667         of __if_nameindex.
12668         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12669         __if_nametoindex and define as weak alias of __if_nametoindex.
12670         Use libc_hidden_weak.
12671         (if_freenameindex): Rename to __if_freenameindex and define as
12672         weak alias of __if_freenameindex.
12673         (if_nameindex): Rename to __if_nameindex and define as weak alias
12674         of __if_nameindex.
12675         (if_indextoname): Rename to __if_indextoname and define as weak
12676         alias of __if_indextoname.  Use libc_hidden_weak.
12677         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12678         __if_nametoindex and define as weak alias of __if_nametoindex.
12679         Use libc_hidden_weak.
12680         (if_freenameindex): Rename to __if_freenameindex and define as
12681         weak alias of __if_freenameindex.  Use libc_hidden_weak.
12682         (if_nameindex_netlink): Use __if_freenameindex instead of
12683         if_freenameindex.
12684         (if_nameindex): Rename to __if_nameindex and define as weak alias
12685         of __if_nameindex.  Use libc_hidden_weak.
12686         (if_indextoname): Rename to __if_indextoname and define as weak
12687         alias of __if_indextoname.  Use libc_hidden_weak.
12688         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12689         libc_hidden_proto.
12690         [!_ISOMAC] (__if_freenameindex): Likewise.
12691         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12692         if_nametoindex.
12693         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12694         variable.
12695         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12696         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12697         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12698         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12699         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12700         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12701         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12703         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12704         Remove variable.
12705         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12706         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12708 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12710         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12711         subscript above bounds'
12713         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12714         bounds.
12716 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
12718         * libio/tst-fopenloc.c: Use test-skeleton.c.
12720         * stdlib/tst-bsearch.c: Use test-skeleton.c.
12721         (entry): Rename to ITEM.
12722         (do_test, comp): Adjust.
12724         * stdio-common/tst-fseek.c: Use test-skeleton.c.
12726 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12728         * string/tester.c: Include <libc-internal.h>.
12729         (test_memset): Ignore -Wmemset-transposed-args.
12731 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12733         * misc/tst-mntent2.c (do_test): Fix warning.
12735 2014-12-16  Torvald Riegel  <triegel@redhat.com>
12737         * elf/tst-unique4lib.cc(a): Mark as used.
12739 2014-12-16  Florian Weimer  <fweimer@redhat.com>
12741         [BZ #17630]
12742         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12743         names.
12745 2014-12-16  Allan McRae  <allan@archlinux.org>
12747         * stdio-common/Makefile (tests): Re-add bug26.
12749 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
12751         [BZ #17657]
12752         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12753         static array.
12755 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
12757         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12758         (__lll_lock_wait): Likewise.
12759         (__lll_timedlock_wait): Likewise.
12760         (__lll_timedwait_tid): Likewise.
12761         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12762         (__lll_robust_timedlock_wait): Likewise.
12763         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12764         (lll_cond_trylock): Likewise.
12765         (__lll_lock): Likewise.
12766         (__lll_robust_lock): Likewise.
12767         (__lll_cond_lock): Likewise.
12768         (lll_robust_cond_lock): Likewise.
12769         (__lll_timedlock): Likewise.
12770         (__lll_robust_timedlock): Likewise.
12771         (__lll_unlock): Likewise.
12772         (__lll_robust_unlock): Likewise.
12773         (lll_wait_tid): Likewise.
12774         (lll_timedwait_tid): Likewise.
12776 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12778         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12780 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12782         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12784 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
12786         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12787         * stdio-common/tst-sprintf.c: Likewise.
12789 2014-12-15  Torvald Riegel  <triegel@redhat.com>
12791         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12793 2014-12-15  Jeff Law  <law@redhat.com>
12795         [BZ #16617]
12796         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12797         on the heap.  (CVE-2012-3406)
12798         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12799         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
12800         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12802 2014-12-15  Will Newton  <will.newton@linaro.org>
12804         * manual/install.texi: Bump required version of texinfo
12805         to 4.7 from 4.5.
12806         * INSTALL: Regenerated.
12807         * configure.ac: Check for makeinfo version 4.7 and above.
12808         * configure: Regenerated.
12810 2014-12-12  Roland McGrath  <roland@hack.frob.com>
12812         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12813         PREFIX, string constant to insert between directory and name.
12814         * sysdeps/posix/shm_open.c: Update caller.
12815         * sysdeps/posix/shm_unlink.c: Likewise.
12816         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12817         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12818         (SEM_SHM_PREFIX): New macro.
12819         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12820         [$(have-thread-library) = no].
12821         * nptl/Makefile (libpthread-routines): Add shm-directory.
12822         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12823         * sysdeps/nptl/shm-directory.h: New file.
12824         * sysdeps/posix/shm-directory.c
12825         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12826         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12827         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12828         INTERNAL_SYSCALL.
12829         (__where_is_shmfs): Function removed.
12830         (mountpoint, defaultmount, defaultdir, __namedsem_once):
12831         Variables removed.
12832         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12833         Use SHM_GET_NAME.
12834         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
12836         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12837         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12838         unconditional for use inside libpthread.
12839         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12841 2014-12-12  Roland McGrath  <roland@hack.frob.com>
12843         * nptl/pthread_getaffinity.c: New file.
12844         * nptl/pthread_setaffinity.c: New file.
12845         * nptl/pthread_getname.c: New file.
12846         * nptl/pthread_setname.c: New file.
12848         * nptl/pthread_create.c (START_THREAD_DEFN)
12849         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12851 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12852             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12854         * resolv/res_send.c (send_vc): Disable warning resplen may
12855         be used uninitialized.
12857 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12859         * nptl/tst-mutex6.c
12860         (ATTR_NULL): New define checks ATTR against NULL.
12861         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
12862         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
12864 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
12866         [BZ #17581]
12867         * malloc/hooks.c
12868         (mem2mem_check): Revert my previous change.
12869         (malloc_check_get_size): Revert my previous change.
12870         (mem2chunk_check): Revert my previous change.
12872 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12874         * sysdeps/posix/shm-directory.c: New file.
12875         * sysdeps/posix/shm-directory.h: New file.
12876         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
12877         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
12878         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
12879         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
12880         Transmute EPERM to EACCES.
12881         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
12882         from ...
12883         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
12884         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
12886 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12888         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
12889         pointer and cast to uintptr_t.
12890         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
12891         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
12892         Add cast to avoid warning.
12893         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
12895 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
12897         * nptl/semaphore.h: Move to ...
12898         * sysdeps/pthread/semaphore.h: ... here.
12899         * Makefile (installed-headers): Change nptl/semaphore.h to
12900         sysdeps/pthread/semaphore.h.
12902 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12904         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
12905         generated error format strings.
12907         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
12908         -Wformat-extra-args warnings for scanf formats.
12909         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
12910         test of zero-length format (duh).
12911         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
12912         corner-case scanf format test.
12913         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
12914         generated fprintf format string.
12915         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
12916         corner-case sprintf format tests.
12917         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
12918         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
12919         -Wformat-extra-args warnings throughout.
12920         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
12921         (CFLAGS-scanf4.c): Likewise.
12922         (CFLAGS-scanf7.c): Likewise.
12923         (CFLAGS-tst-sprintf.c): Likewise.
12924         (CFLAGS-tst-printf.c): Likewise.
12925         (CFLAGS-tst-printfsz.c): Likewise.
12927 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
12929         * include/cpio.h: New file.
12930         * include/fmtmsg.h: Likewise.
12932         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
12933         corresponding format argument to size_t.
12934         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
12935         arguments.
12936         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
12937         corresponding format argument to size_t.
12938         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
12939         arguments.
12940         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
12941         corresponding format argument to size_t.
12942         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
12943         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
12944         (CFLAGS-tst-mbswcs2.c): Likewise.
12945         (CFLAGS-tst-mbswcs3.c): Likewise.
12946         (CFLAGS-tst-mbswcs4.c): Likewise.
12947         (CFLAGS-tst-mbswcs5.c): Likewise.
12948         (CFLAGS-tst-trans.c): Likewise
12950 2014-12-11  Roland McGrath  <roland@hack.frob.com>
12952         * posix/regexbug1.c (main): Use "%s" format with regerror results,
12953         rather than assuming they won't contain any '%'s.
12955 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
12957         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
12958         inhibit_loop_to_libcall to avoid recursive calls.
12959         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
12960         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
12962 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
12964         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
12965         prototype.
12967 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
12969         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
12970         integer value instead of boolean.
12972 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
12974         * malloc/malloc.c: Fix powerof2 check.
12976 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12978         * locale/programs/locfile.h (maybe_swap_uint32):
12979         Remove inline and add unused attribute.
12981 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12983         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12984         Truncating assembler expression to a .long expression.
12986 2014-12-11  Andreas Schwab  <schwab@suse.de>
12988         * elf/rtld.c (struct map_args): Constify str member.
12989         (do_preload): Constify fname argument.
12991 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12993         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
12994         constants definition.
12996 2014-12-11  Andreas Schwab  <schwab@suse.de>
12998         [BZ #16657]
12999         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
13000         FORCE_ELISION instead of DO_ELISION.
13001         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
13002         Remove.
13003         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
13004         Likewise.
13006         * iconvdata/gconv-modules: Remove duplicate entry.
13008 2014-12-11  Will Newton  <will.newton@linaro.org>
13010         Merge gettext 0.19.3 into intl/.
13012         This involves a number of cosmetic changes to comments
13013         and ANSI function definitions and prototypes throughout
13014         all the files. The gettext copyright header is used but
13015         with the date ranges taken from the glibc copy.
13017         * NEWS: Add gettext merge to 2.21.
13018         * intl/bindtextdom.c: Switch to gettext copyright.
13019         Use ANSI definitions and prototypes.
13020         Use gl_* locking primitives rather than __libc_* ones.
13021         Use __builtin_expect rather than __glibc_likely/unlikely.
13022         * intl/dcgettext.c: Switch to gettext copyright.
13023         Use ANSI definitions and prototypes.
13024         * intl/dcigettext.c: Switch to gettext copyright.
13025         Use ANSI definitions and prototypes.
13026         (INTDIV0_RAISES_SIGFPE): New define.
13027         Use gl_* locking primitives rather than __libc_* ones.
13028         Include eval-plural.h instead of plural-eval.c.
13029         Use __builtin_expect rather than __glibc_likely/unlikely.
13030         * intl/dcngettext.c: Switch to gettext copyright.
13031         Use ANSI definitions and prototypes.
13032         * intl/dgettext.c: Likewise.
13033         * intl/dngettext.c: Likewise.
13034         * intl/plural-eval.c: Renamed to...
13035         * intl/eval-plural.h: ...this.
13036         * intl/explodename.c: Switch to gettext copyright.
13037         Use ANSI definitions and prototypes.
13038         (_nl_explode_name): Use strchr instead of __rawmemchr.
13039         * intl/finddomain.c: Switch to gettext copyright.
13040         Use ANSI definitions and prototypes.
13041         Use gl_* locking primitives rather than __libc_* ones.
13042         (_nl_find_domain): Use malloc rather than alloca for
13043         allocation of temporary locale name.
13044         * intl/gettext.c: Switch to gettext copyright.
13045         Use ANSI definitions and prototypes.
13046         * intl/gettextP.h: Switch to gettext copyright.
13047         Use ANSI definitions and prototypes.
13048         Use gl_* locking primitives rather than __libc_* ones.
13049         * intl/gmo.h: Switch to gettext copyright.
13050         (struct sysdep_string): Move struct segment_pair outside of
13051         struct definition.
13052         * intl/hash-string.c: Use ANSI definitions and prototypes.
13053         * intl/hash-string.h: Switch to gettext copyright.
13054         Use ANSI definitions and prototypes.
13055         * intl/l10nflist.c: Switch to gettext copyright.
13056         Use ANSI definitions and prototypes.
13057         (_nl_normalize_codeset): Avoid integer overflow.
13058         * intl/loadinfo.h: Switch to gettext copyright.
13059         Use ANSI definitions and prototypes.
13060         (LIBINTL_DLL_EXPORTED): New define.
13061         (PATH_SEPARATOR): New define.
13062         * intl/loadmsgcat.c: Switch to gettext copyright.
13063         * intl/localealias.c: Switch to gettext copyright.
13064         Use ANSI definitions and prototypes.
13065         (_nl_expand_alias): Use PATH_SEPARATOR.
13066         * intl/ngettext.c: Switch to gettext copyright.
13067         Use ANSI definitions and prototypes.
13068         * intl/plural-exp.c: Likewise.
13069         * intl/plural-exp.h: Switch to gettext copyright.
13070         Use ANSI definitions and prototypes.
13071         (struct expression): Move definition of enum operator outside
13072         of struct definition.
13073         * intl/plural.c: Regenerate.
13074         * intl/plural.y: Switch to gettext copyright.
13075         Use ANSI definitions and prototypes.
13076         Port to bison 3.0.
13077         * intl/textdomain.c: Switch to gettext copyright.
13078         Use ANSI definitions and prototypes.
13079         Use gl_* locking primitives rather than __libc_* ones.
13081 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
13083         * debug/warning-nop.c: Add used atrribute.
13085 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13087         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
13089         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
13090         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
13091         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
13093 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13094             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13096         [BZ #17634]
13097         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
13098         Undefine after defining function.  Define as weak alias of
13099         __wcschr.  Use libc_hidden_weak.
13100         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
13101         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
13102         (libc_hidden_def): Also define __GI___wcschr alias.
13103         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
13104         __wcschr and define as weak alias of __wcschr.
13105         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
13106         __wcschr.
13107         [!WCSCHR] (DEFAULT_WCSCHR): Define.
13108         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
13109         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
13110         libc_hidden_weak.  Do not use libc_hidden_def.
13111         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
13112         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
13113         __GI___wcschr alias.
13114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
13115         [IS_IN (libc)] (wcschr): Define as macro expanding to
13116         __redirect_wcschr.
13117         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
13118         [IS_IN (libc)] (__wcschr_power6): Likewise.
13119         [IS_IN (libc)] (__wcschr_power7): Likewise.
13120         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
13121         instead of wcschr.
13122         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
13123         __libc_wcschr.
13124         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
13125         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
13126         __wcschr and define as weak alias of __wcschr.  Use
13127         libc_hidden_builtin_def.
13128         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
13129         as weak alias of __wcschr.  Use libc_hidden_weak.
13130         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
13131         wcschr.
13132         * time/era.c (_nl_init_era_entries): Likewise.
13133         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
13134         variable.
13135         (test-xfail-XPG3/time.h/linknamespace): Likewise.
13136         (test-xfail-XPG4/time.h/linknamespace): Likewise.
13138 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13140         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
13141         format for long int variable.
13143 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
13145         [BZ #10672]
13146         * manual/search.texi: (Array Sort Function): Remove claim how to make
13147         qsort stable.
13149 2014-12-10  Andreas Schwab  <schwab@suse.de>
13151         [BZ #12847]
13152         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
13153         user-controlled locks.
13155 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
13157         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
13158         register.
13160 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
13162         * configure.ac (--disable-werror): New configure option.
13163         (enable_werror): New AC_SUBST.
13164         * configure: Regenerated.
13165         * config.make.in (enable-werror): New variable.
13166         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
13167         -Wno-error=undef.
13168         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
13169         * manual/install.texi (Configuring and compiling): Document
13170         --disable-werror.
13171         * INSTALL: Regenerated.
13172         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
13173         (CFLAGS-tst-chk2.c): Likewise.
13174         (CFLAGS-tst-chk3.c): Likewise.
13175         (CFLAGS-tst-chk4.cc): Likewise.
13176         (CFLAGS-tst-chk5.cc): Likewise.
13177         (CFLAGS-tst-chk6.cc): Likewise.
13178         (CFLAGS-tst-lfschk1.c): Likewise.
13179         (CFLAGS-tst-lfschk2.c): Likewise.
13180         (CFLAGS-tst-lfschk3.c): Likewise.
13181         (CFLAGS-tst-lfschk4.cc): Likewise.
13182         (CFLAGS-tst-lfschk5.cc): Likewise.
13183         (CFLAGS-tst-lfschk6.cc): Likewise.
13185         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
13186         (main): Disable -Wdeprecated-declarations around calls to
13187         register_printf_function.
13189         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
13190         (do_test): Disable -Wdiv-by-zero around some calls to
13191         fwrite_unlocked and fread_unlocked.
13193         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
13194         (DIAG_POP_NEEDS_COMMENT): Likewise.
13195         (_DIAG_STR1): Likewise.
13196         (_DIAG_STR): Likewise.
13197         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
13198         * stdio-common/bug21.c: Include <libc-internal.h>.
13199         (do_test): Disable -Wformat around call to sscanf.
13200         * stdio-common/scanf14.c: Include <libc-internal.h>.
13201         (main): Disable -Wformat around some calls to scanf functions.
13203 2014-12-09  Torvald Riegel  <triegel@redhat.com>
13205         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
13207 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13209         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
13210         stack variable alignment.
13212 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
13214         [BZ #17682]
13215         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
13216         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
13217         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
13218         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
13219         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
13220         __getrlimit instead of getrlimit.
13221         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
13222         __gettimeofday instead of gettimeofday.
13223         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13224         Likewise.
13225         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13226         Likewise.
13227         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13228         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
13229         Remove variable.
13230         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13231         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13233 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13235         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
13236         for wide-character tests.
13238 2014-12-04  Roland McGrath  <roland@hack.frob.com>
13240         * io/openat64.c: #include <libc-internal.h>
13241         (__openat64): Prototypify.  Use ignore_value on MODE.
13242         * io/openat.c: Likewise.
13243         * misc/reboot.c: #include <libc-internal.h>
13244         (reboot): Prototypify.  Use ignore_value on HOWTO.
13245         * misc/ptrace.c: #include <libc-internal.h>
13246         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
13248 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
13250         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
13251         XPG4, UNIX98 and XOPEN2K.
13252         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
13253         Remove variable.
13254         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13256 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13258         * libio/fileops.c: Use ISO C style for function definitions.
13259         * libio/iofopen.c: Likewise.
13260         * libio/wfileops.c: Likewise.
13262         [BZ #17653]
13263         * libio/fileops.c (_IO_new_file_underflow): Unset cached
13264         offset on EOF.
13265         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13266         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
13267         (fgets_func): Function pointer to fgets and fgetws.
13268         (do_ftell_test): Add test to verify ftell value after read
13269         EOF.
13270         (do_test): Set fgets_func.
13272         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
13273         O_TRUNC flag for w and w+ modes.
13274         (do_rewind_test): Likewise.
13275         (do_ftell_test): Likewise.
13276         (do_write_test): Likewise.
13278         [BZ #17647]
13279         * libio/fileops.c (do_ftell): Seek only when there are
13280         unflushed writes.
13281         * libio/wfileops.c (do_ftell_wide): Likewise.
13282         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
13283         test case.
13284         (do_one_test): Call it.
13286 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
13288         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
13289         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
13290         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
13291         Remove variable.
13292         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13293         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13294         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13296 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
13298         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
13299         Remove variable.
13300         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13302         [BZ #17668]
13303         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
13304         as weak alias of __getifaddrs.  Use libc_hidden_weak.
13305         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13306         __freeifaddrs.  Use libc_hidden_weak.
13307         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
13308         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
13309         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13310         __freeifaddrs.  Use libc_hidden_weak.
13311         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
13312         __getifaddrs and define as weak alias of __getifaddrs.  Use
13313         libc_hidden_weak.
13314         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13315         __freeifaddrs.  Use libc_hidden_weak.
13316         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
13317         Remove variable.
13318         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13319         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13321 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
13323         [BZ #17601]
13324         * sysdeps/mips/start.S (__start): Use indirect jump to call
13325         __libc_start_main.
13327 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
13329         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
13331         * nptl/tst-mutex1.c: Include <stdbool.h>.
13332         [!ATTR] (ATTR_NULL): New macro.
13333         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
13334         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
13335         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
13337         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
13338         to char *.
13340         [BZ #17665]
13341         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
13342         Change conditional to [__USE_MISC].
13344         [BZ #17664]
13345         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
13346         fgets_unlocked.
13347         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
13348         __fgets_unlocked.
13349         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
13350         fgets_unlocked.
13351         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
13352         Remove variable.
13353         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13354         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13355         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13356         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13357         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13358         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13359         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13360         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13361         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13363         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
13365 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13367         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13368         Remove strpbrk objects.
13369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13370         (__libc_ifunc_impl_list): Remove strpbrk implementation.
13371         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
13372         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
13373         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
13374         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
13376         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13377         Remove strcspn objects.
13378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13379         (__libc_ifunc_impl_list): Remove strcspn implementation.
13380         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
13381         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
13382         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
13383         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
13385         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13386         Remove strspn objetcs.
13387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13388         (__libc_ifunc_impl_list): Remove strspn implementation.
13389         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
13390         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13391         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
13392         * sysdeps/powerpc/powerpc64/strspn.S: New file.
13394 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
13396         [BZ #17581]
13397         * malloc/hooks.c
13398         (mem2mem_check): Add a terminator to the chain of checking blocks.
13399         (malloc_check_get_size): Use it here.
13400         (mem2chunk_check): Ditto.
13402 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13404         * sysdeps/powerpc/powerpc64/strtok.S: New file.
13405         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13407 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
13409         * bits/ioctl-types.h: Indent preprocessor directives correctly.
13411         * nptl/nptl-init.c: Include libc-internal.h.
13412         (__pthread_initialize_minimal_internal): Use ROUND_UP.
13414         * elf/ldconfig.c (search_dir): Expand comment.
13416 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
13418         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
13419         variable.
13420         (linknamespace-symlist-stdlibs-tests): Likewise.
13421         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
13422         instead of $(objpfx)symlist-stdlibs.
13423         (linknamespace-libs-isoc): New variable.
13424         (linknamespace-libs): Use $(linknamespace-libs-isoc).
13425         (linknamespace-libs-ISO): New variable.
13426         (linknamespace-libs-ISO99): Likewise.
13427         (linknamespace-libs-ISO11): Likewise.
13428         (linknamespace-libs-XPG3): Likewise.
13429         (linknamespace-libs-XPG4): Likewise.
13430         (linknamespace-libs-POSIX): Likewise.
13431         (linknamespace-libs-UNIX98): Likewise.
13432         (linknamespace-libs-XOPEN2K): Likewise.
13433         (linknamespace-libs-POSIX2008): Likewise.
13434         (linknamespace-libs-XOPEN2K8): Likewise.
13435         ($(objpfx)symlist-stdlibs): Replace by
13436         $(linknamespace-symlist-stdlibs-tests).  Use
13437         $(linknamespace-libs-$*) as set of libraries.
13438         ($(linknamespace-header-tests)): Update dependencies.  Use
13439         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
13440         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
13441         * conform/linknamespace.pl: Remove comment about considering
13442         definitions of symbols from irrelevant libraries.
13444 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13446         [BZ #13862]
13447         * elf/dl-tls.c: Include <atomic.h>.
13448         (oom): Remove #ifdef SHARED/#endif.
13449         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
13450         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
13451         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
13452         big enough.
13453         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
13454         * nptl/Makefile (tests): Add tst-stack4.
13455         (modules-names): Add tst-stack4mod.
13456         ($(objpfx)tst-stack4): New.
13457         (tst-stack4mod.sos): Likewise.
13458         ($(objpfx)tst-stack4.out): Likewise.
13459         ($(tst-stack4mod.sos)): Likewise.
13460         (clean): Likewise.
13461         * nptl/tst-stack4.c: New file.
13462         * nptl/tst-stack4mod.c: Likewise.
13464 2014-11-27  J. Brown  <jb999@gmx.de>
13466         * sysdeps/x86/bits/string.h: Add recent CPUs.
13468 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13470         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
13471         sigblock.
13473         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
13474         feof.
13476         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13477         variable.
13479 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
13481         * nscd/connections.c: Include libc-internal.h because of macro
13482         usage ignore_value.
13484 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13486         * string/bits/string3.h (__warn_memset_zero_len): Don't
13487         declare for gcc newer than 5.0.
13488         (memset): Don't test for zero-length __LEN for gcc newer than
13489         5.0.
13491 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
13493         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13494         size_t for %zu format.
13496         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13497         difference, not %ju.
13499 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13501         * include/libc-internal.h (ignore_value): New macro.
13502         * nscd/connections.c (restart): Wrap calls to setuid and setgid
13503         with ignore_value.
13505         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13506         definition.
13508         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13509         pthread_cleanup_push to void *.
13511         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13512         Undefine.
13514         [BZ #16619]
13515         [BZ #16740]
13516         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13517         instead of 1L << 52.
13519         * libio/bug-rewind.c (do_test): Check fwscanf return values.
13520         * libio/bug-rewind2.c (do_test): Likewise.
13522         * debug/test-stpcpy_chk-ifunc.c: Remove file.
13523         * debug/test-strcpy_chk-ifunc.c: Likewise.
13524         * wcsmbs/test-wcschr-ifunc.c: Likewise.
13525         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13526         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13527         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13528         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13529         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13530         * Rules [$(multi-arch) = no] (tests): Do not filter out
13531         $(tests-ifunc).
13532         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13533         * debug/Makefile (tests-ifunc): Remove variable.
13534         (tests): Do not add $(tests-ifunc).
13535         * wcsmbs/Makefile (tests-ifunc): Remove variable.
13536         (tests): Do not add $(tests-ifunc).
13537         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13538         [TEST_IFUNC]: Remove conditionals.
13539         * string/test-string.h (TEST_IFUNC): Remove macro.
13540         [TEST_IFUNC]: Remove conditionals.
13542         * string/test-strchr.c [!WIDE] (L): New macro.
13543         [WIDE] (L): Likewise.
13544         (check1): Use CHAR instead of char.  Use L on string and character
13545         constants.
13547 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
13549         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13550         tests.
13551         * sysdeps/powerpc/bits/atomic.h
13552         (__arch_atomic_exchange_and_add_32_acq): Add definition.
13553         (__arch_atomic_exchange_and_add_32_rel): Likewise.
13554         (atomic_exchange_and_add_acq): Likewise.
13555         (atomic_exchange_and_add_rel): Likewise.
13556         * sysdeps/powerpc/powerpc32/bits/atomic.h
13557         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13558         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13559         * sysdeps/powerpc/powerpc64/bits/atomic.h
13560         (__arch_atomic_exchange_and_add_64_acq): Add definition.
13561         (__arch_atomic_exchange_and_add_64_rel): Likewise.
13563 2014-11-26  Torvald Riegel  <triegel@redhat.com>
13565         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13566         Change synchronization of __sched_fifo_min_prio and
13567         __sched_fifo_max_prio.
13568         * nptl/pthread_mutexattr_getprioceiling.c
13569         (pthread_mutexattr_getprioceiling): Likewise.
13570         * nptl/pthread_mutexattr_setprioceiling.c
13571         (pthread_mutexattr_setprioceiling): Likewise.
13572         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13573         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13574         Likewise.
13576 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
13578         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13579         void.
13581 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13583         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13584         third argument const.
13586 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
13588         fnmatch: work around GCC compiler warning bug with uninit var
13589         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13590         This works around a bug with x86-64 GCC 4.9.2 and earlier
13591         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13592         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13593         used uninitialized in this function [-Wmaybe-uninitialized]".
13595 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
13597         * posix/bug-regex31.c (main): Return RES not 0.
13599 2014-11-25  Anton Blanchard <anton@samba.org>
13601         * sysdeps/powerpc/bits/atomic.h
13602         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13604 2014-11-24  Sterling Augustine  <saugustine@google.com>
13606         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13608 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
13610         [BZ #17608]
13611         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13613 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
13615         [BZ #17633]
13616         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13617         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13618         variable.
13619         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13620         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13622 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13624         * string/strncpy.c (strncpy): Improve performance by using memset.
13626 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
13628         * string/strcpy.c (strcpy):
13629         Improve performance by using strlen and memcpy.
13631 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
13633         * string/strcoll_l.c (get_next_seq): __always_inline.
13634         * string/strcoll_l.c (do_compare): __always_inline.
13636 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13638         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13639         defined.
13640         * include/mqueue.h: Likewise.
13641         * include/stdlib.h: Likewise.
13643         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13644         (get_null_defines): Adjust.
13645         * sunrpc/Makefile: Adjust comment.
13646         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13647         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13648         (CFLAGS-interp.c): Likewise.
13649         (CFLAGS-ldconfig.c): Likewise.
13650         (CPPFLAGS-.os): Likewise.
13651         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13652         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13653         * extra-modules.mk (extra-modules.mk): Likewise.
13654         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13655         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13656         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13657         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13658         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13659         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13660         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13661         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13662         * iconvdata/Makefile (CPPFLAGS): Likewise.
13663         (cpp-srcs-left): Add libof for all iconvdata routines.
13664         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13665         * include/assert.h: Likewise.
13666         * include/ctype.h: Likewise.
13667         * include/errno.h: Likewise.
13668         * include/libc-symbols.h: Likewise.
13669         * include/math.h: Likewise.
13670         * include/netdb.h: Likewise.
13671         * include/resolv.h: Likewise.
13672         * include/stdio.h: Likewise.
13673         * include/stdlib.h: Likewise.
13674         * include/string.h: Likewise.
13675         * include/sys/stat.h: Likewise.
13676         * include/wctype.h: Likewise.
13677         * intl/l10nflist.c: Likewise.
13678         * libidn/idn-stub.c: Likewise.
13679         * libio/libioP.h: Likewise.
13680         * nptl/libc_multiple_threads.c: Likewise.
13681         * nptl/pthreadP.h: Likewise.
13682         * posix/regex_internal.h: Likewise.
13683         * resolv/res_hconf.c: Likewise.
13684         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13685         * sysdeps/arm/memmove.S: Likewise.
13686         * sysdeps/arm/sysdep.h: Likewise.
13687         * sysdeps/generic/_itoa.h: Likewise.
13688         * sysdeps/generic/symbol-hacks.h: Likewise.
13689         * sysdeps/gnu/errlist.awk: Likewise.
13690         * sysdeps/gnu/errlist.c: Likewise.
13691         * sysdeps/i386/i586/memcpy.S: Likewise.
13692         * sysdeps/i386/i586/memset.S: Likewise.
13693         * sysdeps/i386/i686/memcpy.S: Likewise.
13694         * sysdeps/i386/i686/memmove.S: Likewise.
13695         * sysdeps/i386/i686/mempcpy.S: Likewise.
13696         * sysdeps/i386/i686/memset.S: Likewise.
13697         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13698         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13699         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13700         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13701         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13702         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13703         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13704         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13705         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13706         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13707         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13708         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13709         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13710         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13711         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13712         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13713         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13714         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13715         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13716         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13717         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13718         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13719         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13720         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13721         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13722         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13723         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13724         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13725         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13726         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13727         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13728         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13729         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13730         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13731         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13732         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13733         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13734         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13735         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13736         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13737         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13738         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13739         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13740         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13741         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13742         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13743         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13744         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13745         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13746         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13747         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13748         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13749         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13750         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13751         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13752         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13753         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13754         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13755         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13756         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13757         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13758         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13759         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13760         * sysdeps/nptl/bits/libc-lock.h: Likewise.
13761         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13762         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13763         * sysdeps/posix/closedir.c: Likewise.
13764         * sysdeps/posix/opendir.c: Likewise.
13765         * sysdeps/posix/readdir.c: Likewise.
13766         * sysdeps/posix/rewinddir.c: Likewise.
13767         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13768         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13769         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13770         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13771         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13772         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13773         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13774         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13775         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13776         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13777         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13778         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13779         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13780         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13781         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13782         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13783         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13784         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13785         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13786         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13787         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13788         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13789         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13790         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13791         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13792         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13793         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13794         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13795         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13796         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13799         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13801         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13802         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13803         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13804         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13805         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13806         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13807         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13808         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13809         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13810         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13811         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13812         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13813         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13814         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13815         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13816         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13817         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13818         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13819         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13820         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13821         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13822         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13823         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13824         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13825         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13826         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13827         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13828         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13829         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13830         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13831         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13832         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13833         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13834         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13835         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13836         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13837         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13838         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13839         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13840         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13841         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13842         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13843         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13844         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13845         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13846         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13847         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13848         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13849         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13850         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
13851         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13852         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
13853         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
13854         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13855         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13856         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13857         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
13858         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
13859         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
13860         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13861         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13862         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
13863         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13864         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13865         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
13866         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
13867         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13868         * sysdeps/unix/alpha/sysdep.S: Likewise.
13869         * sysdeps/unix/alpha/sysdep.h: Likewise.
13870         * sysdeps/unix/make-syscalls.sh: Likewise.
13871         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
13872         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
13873         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
13874         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13875         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
13876         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13877         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
13878         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13879         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
13880         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
13881         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13882         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
13883         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13884         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
13885         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
13886         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13887         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13888         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13889         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
13890         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13891         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13892         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13893         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
13894         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
13895         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
13896         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
13897         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
13899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13900         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
13901         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13902         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
13903         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13904         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13905         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
13907         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13908         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13909         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13910         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
13911         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13912         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
13913         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13914         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13915         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13916         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
13917         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13918         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13919         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13920         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13921         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13922         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
13923         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
13924         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
13925         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13926         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13927         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
13928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13929         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
13930         * sysdeps/x86_64/memcpy.S: Likewise.
13931         * sysdeps/x86_64/memmove.c: Likewise.
13932         * sysdeps/x86_64/memset.S: Likewise.
13933         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
13934         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13935         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13936         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
13937         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13938         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13939         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13940         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13941         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13942         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13943         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13944         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13945         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
13946         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13947         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13948         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
13949         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13950         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13951         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13952         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13953         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
13954         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13955         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13956         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13957         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13958         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13959         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13960         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
13961         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13962         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13963         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
13964         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13965         * sysdeps/x86_64/strcmp.S: Likewise.
13967         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
13969         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
13970         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
13971         * elf/rtld-Rules: Likewise.
13972         * elf/setup-vdso.h: Likewise.
13973         * include/assert.h: Likewise.
13974         * include/bits/stdlib-float.h: Likewise.
13975         * include/errno.h: Likewise.
13976         * include/sys/stat.h: Likewise.
13977         * include/unistd.h: Likewise.
13978         * sysdeps/aarch64/setjmp.S: Likewise.
13979         * sysdeps/alpha/setjmp.S: Likewise.
13980         * sysdeps/arm/__longjmp.S: Likewise.
13981         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
13982         * sysdeps/arm/setjmp.S: Likewise.
13983         * sysdeps/arm/sysdep.h: Likewise.
13984         * sysdeps/generic/_itoa.h: Likewise.
13985         * sysdeps/generic/dl-sysdep.h: Likewise.
13986         * sysdeps/generic/ldsodefs.h: Likewise.
13987         * sysdeps/i386/dl-tls.h: Likewise.
13988         * sysdeps/i386/setjmp.S: Likewise.
13989         * sysdeps/m68k/setjmp.c: Likewise.
13990         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
13991         * sysdeps/mach/hurd/opendir.c: Likewise.
13992         * sysdeps/posix/getcwd.c: Likewise.
13993         * sysdeps/posix/opendir.c: Likewise.
13994         * sysdeps/posix/profil.c: Likewise.
13995         * sysdeps/powerpc/dl-procinfo.h: Likewise.
13996         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13997         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13998         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13999         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14000         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
14001         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14002         * sysdeps/s390/dl-tls.h: Likewise.
14003         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14004         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14005         * sysdeps/sh/sh3/setjmp.S: Likewise.
14006         * sysdeps/sh/sh4/setjmp.S: Likewise.
14007         * sysdeps/unix/alpha/sysdep.h: Likewise.
14008         * sysdeps/unix/arm/sysdep.S: Likewise.
14009         * sysdeps/unix/i386/sysdep.S: Likewise.
14010         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14011         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14012         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14013         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14014         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14015         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
14016         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14017         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14018         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14019         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
14020         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14021         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14022         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14025         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14026         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14027         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14028         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14029         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14030         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14033         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14034         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14035         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14037         * sysdeps/unix/x86_64/sysdep.S: Likewise.
14038         * sysdeps/x86_64/setjmp.S: Likewise.
14040         * include/math.h: Use IS_IN instead of IS_IN_libm.
14041         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
14042         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14043         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14044         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14045         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14046         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14047         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14048         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14049         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14050         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14051         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
14052         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
14053         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
14054         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
14055         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
14056         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
14057         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
14058         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
14059         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
14060         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
14061         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
14062         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
14063         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
14064         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
14065         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
14066         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
14067         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
14068         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
14069         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
14070         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
14071         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
14072         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14073         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
14075         Likewise.
14076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14077         Likewise.
14078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
14079         Likewise.
14080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
14081         Likewise.
14082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
14083         Likewise.
14084         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14085         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
14086         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14087         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14088         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14089         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
14091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
14095         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
14096         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
14097         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14098         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14099         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14100         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14101         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14102         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14103         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14104         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
14105         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
14106         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
14107         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
14108         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
14109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14110         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
14112         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
14113         * nptl/pthreadP.h: Likewise.
14114         * nptl_db/structs.def: Likewise.
14115         * sysdeps/arm/sysdep.h: Likewise.
14116         * sysdeps/nptl/bits/libc-lock.h: Likewise.
14117         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
14118         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
14119         * sysdeps/unix/alpha/sysdep.h: Likewise.
14120         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
14121         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14122         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
14123         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
14124         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
14125         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
14126         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14127         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
14128         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14129         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
14130         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14131         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
14132         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14133         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
14135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
14136         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14137         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14138         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14139         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14140         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14141         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14142         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14143         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14144         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14145         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14147         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
14148         * nptl/pthreadP.h: Likewise.
14149         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
14150         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
14151         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
14152         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
14153         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
14154         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
14155         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14156         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
14157         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14158         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
14159         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14160         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14162         Likewise.
14163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14164         Likewise.
14165         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14166         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14167         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14168         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14169         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14170         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14171         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14172         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14174         * dlfcn/dladdr.c: Use IS_IN.
14175         * dlfcn/dladdr1.c: Likewise.
14176         * dlfcn/dlclose.c: Likewise.
14177         * dlfcn/dlerror.c: Likewise.
14178         * dlfcn/dlinfo.c: Likewise.
14179         * dlfcn/dlmopen.c: Likewise.
14180         * dlfcn/dlopen.c: Likewise.
14181         * dlfcn/dlsym.c: Likewise.
14182         * dlfcn/dlvsym.c: Likewise.
14184         * include/ifaddrs.h: Use IS_IN.
14185         * inet/check_pf.c: Likewise.
14186         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14187         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
14189         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
14190         IS_IN_ldconfig.
14191         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
14192         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
14194         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
14195         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
14196         IS_IN (libc).
14198         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
14200         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
14201         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14202         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
14203         * include/libc-symbols.h (IS_IN_LIB): New macro.
14204         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
14205         * include/netdb.h: Likewise.
14206         * include/stap-probe.h: Remove all uses of IN_LIB.
14208         * Makeconfig (module-cppflags-real): Define MODULE_NAME
14209         instead of IN_MODULE.
14210         * include/libc-symbols.h (IN_MODULE): Define using
14211         MODULE_NAME.
14212         (PASTE_NAME, PASTE_NAME1): New macros.
14213         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
14214         of IN_LIB.
14215         (STAP_PROBE_ASM): Likewise.
14217 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14219         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
14220         __mach_init in dlopened libc.
14222 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
14224         * sysdeps/arm/preconfigure.ac: Delete EABI check.
14225         * sysdeps/arm/preconfigure: Regenerate.
14227 2014-11-21  Roland McGrath  <roland@hack.frob.com>
14229         * nptl/pthread_create.c (__pthread_create_2_1): Set
14230         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
14231         when copying values from IATTR into PD.
14233 2014-11-21  Will Newton  <will.newton@linaro.org>
14234             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
14236         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
14237         Refactor inline-asm.  Also add comment.
14239         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
14240         ElfW macro instead of hardcoded Elf64 types.
14241         (la_aarch64_gnu_pltenter): Likewise.
14242         * sysdeps/aarch64/dl-machine.h
14243         (elf_machine_runtime_setup): Use ElfW(Addr).
14245         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
14246         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
14247         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
14248         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
14249         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
14250         (R_AARCH64_TLS_DTPMOD64): Rename to ..
14251         (R_AARCH64_TLS_DTPMOD): This.
14252         (R_AARCH64_TLS_DTPREL64): Rename to ...
14253         (R_AARCH64_TLS_DTPREL): This.
14254         (R_AARCH64_TLS_TPREL64): Rename to ...
14255         (R_AARCH64_TLS_TPREL): This.
14256         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
14257         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
14258         R_AARCH64_TLS_TPREL64.
14259         (elf_machine_rela): Likewise.
14261 2014-11-21  Torvald Riegel  <triegel@redhat.com>
14263         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
14264         by setting it to 0.  64b atomics are not supported currently.
14266 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14268         [BZ #16469]
14269         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
14270         search domain names.
14272 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14274         [BZ #16469]
14275         * NEWS: Update.
14276         * resolv/res_query.c (__libc_res_nquerydomain): Retain
14277         trailing dot.
14278         * posix/tst-getaddrinfo5.c: New.
14279         * posix/Makefile (tests): Add it.
14281 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14283         [BZ #14498]
14284         * NEWS: Fixed.
14285         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
14286         after parsing line but before break_if_match.
14287         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
14288         if there is a protocol mismatch.
14290 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
14292         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
14293         because the potential race is on the user-supplied stream.
14295 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14297         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
14298         string literal if not passed a buffer.
14299         * manual/job.texi (ctermid): Update reasoning, note deviation
14300         from posix, suggest mtasurace when not passed a buffer, for
14301         future non-preliminary safety notes.
14303 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14305         * manual/users.texi (cuserid): Fix MT-Safety note for the case
14306         of not passing it a buffer.
14307         Reported by Peng Haitao.
14309 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
14311         * manual/Makefile ($(objpfx)stamp-summary): Require
14312         check-safety.sh to pass.
14313         * manual/check-safety.sh: Wish for verification that every
14314         @deftypefn and @deftypefun is followed by a @safety remark.
14316 2014-11-20  Roland McGrath  <roland@hack.frob.com>
14318         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
14320         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
14321         PTHREAD_CANCEL_ASYNCHRONOUS.
14322         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
14323         send SIGCANCEL.
14325         * nptl/default-sched.h: New file.
14326         * sysdeps/unix/sysv/linux/default-sched.h: New file.
14327         * nptl/pthread_create.c: Include it.
14328         (__pthread_create_2_1): Use collect_default_sched instead of making
14329         Linux syscalls here directly.
14331 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14333         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
14334         __pthread_once): Use C11 atomics.
14336 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14338         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
14340 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14342         * include/atomic.h (__atomic_link_error, __atomic_check_size,
14343         atomic_thread_fence_acquire, atomic_thread_fence_release,
14344         atomic_thread_fence_seq_cst, atomic_load_relaxed,
14345         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
14346         atomic_compare_exchange_weak_relaxed,
14347         atomic_compare_exchange_weak_acquire,
14348         atomic_compare_exchange_weak_release,
14349         atomic_exchange_acquire, atomic_exchange_release,
14350         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
14351         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
14352         atomic_fetch_and_acquire,
14353         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
14355 2014-11-20  Torvald Riegel  <triegel@redhat.com>
14357         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
14358         USE_ATOMIC_COMPILER_BUILTINS): Define.
14359         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
14360         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14361         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
14362         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14363         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
14364         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14365         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
14366         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14367         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
14368         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14369         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
14370         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14371         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
14372         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14373         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
14374         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14375         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14376         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14377         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14378         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14379         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
14380         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14381         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14382         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14383         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
14384         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14385         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14386         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14387         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
14388         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14389         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
14390         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14391         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
14392         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14393         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14394         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14395         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
14396         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14397         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
14398         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14400 2014-11-19  Roland McGrath  <roland@hack.frob.com>
14402         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
14403         the sched_priority value here.  It was already checked when the user
14404         called pthread_attr_setschedparam.
14406         * nptl/tst-bad-schedattr.c: New file.
14407         * nptl/Makefile (tests): Add it.
14409 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
14410             Florian Weimer  <fweimer@redhat.com>
14411             Joseph Myers  <joseph@codesourcery.com>
14412             Adam Conrad  <adconrad@0c3.net>
14413             Andreas Schwab  <schwab@suse.de>
14414             Brooks  <bmoses@google.com>
14416         [BZ #17625]
14417         * wordexp-test.c (__dso_handle): Add prototype.
14418         (__register_atfork): Likewise.
14419         (__app_register_atfork): New function.
14420         (registered_forks): New global.
14421         (register_fork): New function.
14422         (test_case): Add 3 new tests for WRDE_CMDSUB.
14423         (main): Call __app_register_atfork.
14424         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
14425         fork count is non-zero fail the test.
14426         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
14427         is set.
14428         (parse_dollars): Remove check for WRDE_NOCMD.
14429         (parse_dquote): Likewise.
14431 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14433         * Makeconfig (built-modules): List non-library modules to be
14434         built.
14435         (module-cppflags): Include libc-modules.h for
14436         everything except shlib-versions.v.i.
14437         (CPPFLAGS): Use it.
14438         (before-compile): Add libc-modules.h.
14439         ($(common-objpfx)libc-modules.h,
14440         $(common-objpfx)libc-modules.stmp): New targets.
14441         (common-generated): Add libc-modules.h and libc-modules.stmp.
14442         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
14443         * include/libc-symbols.h: Don't include libc-modules.h.
14444         * include/libc-modules.h: Remove file.
14445         * scripts/gen-libc-modules.awk: New script to generate
14446         libc-modules.h.
14447         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
14448         Depend on libc-modules.stmp.
14450         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
14452         * Makeconfig (in-module): Get value of libof set for the
14453         translation unit.
14454         (CPPFLAGS): Use $(in-module).
14455         * Makerules: Don't suffix routine names for nonlib.
14456         * include/libc-modules.h: New file.
14457         * include/libc-symbols.h: Include libc-modules.h
14458         (IS_IN): New macro to replace IS_IN_* macros.
14459         * elf/Makefile: Set libof-* for each routine.
14460         * elf/rtld-Rules: Likewise.
14461         * extra-modules.mk: Likewise.
14462         * iconv/Makefile: Likewise.
14463         * iconvdata/Makefile: Likewise.
14464         * locale/Makefile: Likewise.
14465         * malloc/Makefile: Likewise.
14466         * nss/Makefile: Likewise.
14467         * sysdeps/gnu/Makefile: Likewise.
14468         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
14469         * sysdeps/unix/sysv/linux/Makefile: Likewise.
14470         * sysdeps/s390/s390-64/Makefile: Likewise.
14471         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
14472         CPPFLAGS for nscd instead of nonlib.
14474 2014-11-18  Roland McGrath  <roland@hack.frob.com>
14476         * nptl/createthread.c: New file.
14478         * nptl/createthread.c: Moved ...
14479         * sysdeps/unix/sysv/linux/createthread.c: ... here.
14481         * nptl/createthread.c: Add proper top-line comment.
14482         (do_clone): Folded into ...
14483         (create_thread): ... here.  Take new arguments STOPPED_START and
14484         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
14485         increment __nptl_threads, do event-reporting logic, do
14486         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14487         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
14488         resource cleanup if sched_setaffinity or sched_setscheduler fails,
14489         just send SIGCANCEL.
14490         * nptl/pthread_create.c: Forward-declare create_thread before
14491         including createthread.c.
14492         (start_thread): Use new macro START_THREAD_DEFN to replace defining
14493         declaration, and new macro START_THREAD_SELF to replace argument.
14494         Remove return statement.
14495         (report_thread_creation): New function.
14496         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
14497         synchronization logic, and __nptl_nthreads increment here, around
14498         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
14499         PD->parent_cancelhandling here, before create_thread.  When
14500         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14501         __deallocate_stack, and ENOMEM translation here.
14503 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
14505         [BZ #17616]
14506         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14507         (mptwo): Rename to __mptwo.
14508         (__inv): Use __mptwo instead of mptwo.
14509         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14510         (mptwo): Rename to __mptwo.
14511         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14512         of mpone and __mptwo instead of mptwo.
14513         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14514         instead of mpone.
14515         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14516         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14517         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14518         of mpone and __mptwo instead of mptwo.
14519         (__mpranred): Use __mpone instead of mpone.
14520         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14521         variable.
14522         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14523         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14524         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14525         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14526         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14527         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14528         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14529         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14530         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14531         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14532         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14533         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14534         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14535         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14536         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14537         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14538         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14539         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14540         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14542 2014-11-18  Tom de Vries  <tom@codesoucery.com>
14544         * manual/signal.texi (Primitives Interrupted by Signals): In section,
14545         replace BSD Handler xref with BSD Signal Handling.
14547 2014-11-17  Richard Henderson  <rth@redhat.com>
14549         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14550         (_FP_PACK_RAW_2): Remove.
14551         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14552         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14553         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14554         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14555         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14556         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14557         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14558         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14559         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14560         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14561         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14562         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14563         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14564         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14565         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14566         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14568 2014-11-14  Roland McGrath  <roland@hack.frob.com>
14570         * signal/signal.h [__USE_MISC]
14571         (struct sigvec): Remove type.
14572         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14573         (sigvec): Remove declaration.
14574         * sysdeps/posix/sigvec.c: Moved ...
14575         * signal/sigvec.c: ... here, replacing old file.
14576         (struct sigvec): New type, copied from old signal.h definition.
14577         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14578         (__sigvec): Convert definition to prototype.
14579         (sigvec): Replace weak_alias with compat_symbol.
14580         * signal/Versions (libc: GLIBC_2.21): New version set.
14581         * include/signal.h: Remove __sigvec declaration.
14582         * sysdeps/unix/bsd/sigvec.c: Remove file.
14583         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14584         * manual/signal.texi (BSD Handler): Remove subsection.
14585         Move siginterrupt up to ...
14586         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
14587         (Blocking in BSD): Fold subsection into its parent.
14588         * NEWS: Mention sigvec removal.
14590 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14592         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14593         (DLA_FMS): Make definition conditional only on [__FMA4__].
14594         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14595         definition.
14597         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14598         Make definition conditional only on [PROF].
14599         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14600         definition.
14601         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14602         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14604         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14605         !__GNUC__].
14606         * include/signal.h (__sigpause): Move declaration above call to
14607         libc_hidden_proto.
14608         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14609         variable.
14610         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14611         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14613 2014-11-14  David S. Miller  <davem@davemloft.net>
14615         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14616         Define before including <string/memcpy.c> and <string/mempcpy.c>.
14618 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
14620         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14621         * configure: Regenerated.
14622         * manual/install.texi (Tools for Compilation): Document a
14623         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14624         compiler verified to work.
14625         * INSTALL: Regenerated.
14627         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14628         redeclare with asm name.
14629         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14630         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14631         including <string.h>.
14632         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14633         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14634         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14635         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14636         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14637         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14638         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14640 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
14642         * stdlib/strtol.c (__strtol): Use prototype definition.
14644         [BZ #17594]
14645         * stdlib/strtol.c (SYM__): New macro.
14646         (SYM__1): Likewise.
14647         (__strtol): Likewise.
14648         (strtol): Rename to __strtol and define as weak alias of
14649         __strtol.  Use libc_hidden_weak.
14651 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14653         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14654         Use numbered labels in inline assembly.
14656 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14658         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14659         Add setjmp LIBC_PROBE.
14660         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14661         Likewise.
14662         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14663         Add longjmp, longjmp_target LIBC_PROBE.
14664         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14665         Likewise.
14667 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14669         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14670         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14671         to get rid of unused variable warning.
14673 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14675         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14676         Check for unwind_backtrace ==  NULL only in SHARED case.
14677         (__backchain_backtrace): Compile only in SHARED case.
14678         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14679         Likewise.
14680         (__backchain_backtrace): Declare as static.
14682 2014-11-12  Roland McGrath  <roland@hack.frob.com>
14684         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14685         (__libc_multiple_threads_ptr): Variable moved ...
14686         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14688 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
14690         * conform/GlibcConform.pm: New file.
14691         * conform/conformtest.pl: Use GlibcConform module.
14692         * conform/linknamespace.pl: New file.
14693         * conform/list-header-symbols.pl: Likewise.
14694         * conform/Makefile (linknamespace-symlists-base): New variable.
14695         (linknamespace-symlists-tests): Likewise.
14696         (linknamespace-header-base): Likewise.
14697         (linknamespace-header-tests): Likewise.
14698         (tests-special): Add new tests.
14699         ($(linknamespace-symlists-tests)): New rule.
14700         (linknamespace-libs): New variable.
14701         ($(objpfx)symlist-stdlibs): New rule.
14702         ($(linknamespace-header-tests)): Likewise.
14703         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14704         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14705         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14706         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14707         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14708         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14709         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14710         (test-xfail-ISO/math.h/linknamespace): Likewise.
14711         (test-xfail-ISO/signal.h/linknamespace): Likewise.
14712         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14713         (test-xfail-ISO/time.h/linknamespace): Likewise.
14714         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14715         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14716         (test-xfail-ISO99/math.h/linknamespace): Likewise.
14717         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14718         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14719         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14720         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14721         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14722         (test-xfail-ISO11/math.h/linknamespace): Likewise.
14723         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14724         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14725         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14726         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14727         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14728         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14729         (test-xfail-XPG3/math.h/linknamespace): Likewise.
14730         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14731         (test-xfail-XPG3/search.h/linknamespace): Likewise.
14732         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14733         (test-xfail-XPG3/time.h/linknamespace): Likewise.
14734         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14735         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14736         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14737         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14738         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14739         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14740         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14741         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14742         (test-xfail-XPG4/math.h/linknamespace): Likewise.
14743         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14744         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14745         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14746         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14747         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14748         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14749         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14750         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14751         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14752         (test-xfail-XPG4/time.h/linknamespace): Likewise.
14753         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14754         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14755         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14756         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14757         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14758         (test-xfail-POSIX/math.h/linknamespace): Likewise.
14759         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14760         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14761         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14762         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14763         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14764         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14765         (test-xfail-POSIX/time.h/linknamespace): Likewise.
14766         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14767         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14768         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14769         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14770         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14771         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14772         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14773         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14774         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14775         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14776         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14777         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14778         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14779         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14780         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14781         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14782         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14783         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14784         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14785         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14786         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14787         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14788         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14789         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14790         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14791         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14792         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14793         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14794         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14795         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14796         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14797         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14798         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14799         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14800         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14801         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14802         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14803         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14804         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14805         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14806         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14807         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14808         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14809         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14810         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14811         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14812         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14813         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14814         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14815         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14816         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14817         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14818         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14819         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14820         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14821         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14822         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14823         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14824         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14825         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14826         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14827         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14828         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14829         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14830         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14831         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14832         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14833         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14834         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14835         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14836         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14837         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14838         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14839         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14840         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14841         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14842         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14843         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14844         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14845         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14846         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14847         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14848         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14849         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14850         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
14851         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14852         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
14853         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14854         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14855         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14856         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
14857         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14858         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
14859         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
14860         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
14861         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14862         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
14863         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14865         [BZ #17589]
14866         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
14867         of fgets_unlocked.
14869         [BZ #17585]
14870         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
14871         (memmem): Rename to __memmem and define as weak alias of
14872         __memmem.  Use libc_hidden_weak.
14873         (__memmem): Use libc_hidden_def.
14874         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
14875         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
14876         memmem.
14878         [BZ #17582]
14879         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
14880         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
14881         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
14882         and define as weak alias of __fgets_unlocked.  Use
14883         libc_hidden_weak.
14884         (__fgets_unlocked): Use libc_hidden_def.
14885         * include/stdio.h (__fgets_unlocked): Declare.  Use
14886         libc_hidden_proto.
14887         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
14888         __fgets_unlocked instead of fgets_unlocked.
14889         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
14890         (GET_NPROCS_CONF_PARSER): Likewise.
14891         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
14892         (GET_NPROCS_CONF_PARSER): Likewise.
14894         [BZ #17574]
14895         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
14896         weak alias of __wmemset.  Use libc_hidden_weak.
14897         (__wmemset): Use libc_hidden_def.
14898         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
14899         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
14900         of wmemset.
14902         [BZ #17573]
14903         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
14904         with asm name __mempcpy.
14905         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
14907         [BZ #17572]
14908         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
14909         and define as weak alias of __rawmemchr.
14910         (__rawmemchr): Do not define as strong alias of rawmemchr.
14912         [BZ #17571]
14913         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
14914         alias of __qsort_r.
14915         (qsort): Call __qsort_r instead of qsort_r.
14916         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
14917         (__qsort_r): Declare.  Call libc_hidden_proto.
14918         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
14919         instead of qsort_r.
14920         * nscd/gai.c (__qsort_r): Define to qsort_r.
14921         * posix/tst-rfc3484.c (__qsort_r): Likewise.
14922         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
14923         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
14925         [BZ #17570]
14926         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
14927         define as weak alias of __malloc_info.
14929         [BZ #17584]
14930         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
14931         as weak alias of __rewinddir.  Don't use libc_hidden_def.
14932         (__rewinddir): Use libc_hidden_def.
14933         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
14934         as weak alias of __rewinddir.  Don't use libc_hidden_def.
14935         (__rewinddir): Use libc_hidden_def.
14936         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
14937         weak alias of __rewinddir.  Don't use libc_hidden_def.
14938         (__rewinddir): Use libc_hidden_def.
14939         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
14940         (__rewinddir): Use libc_hidden_proto.
14941         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
14942         rewinddir.
14943         (__getcwd): Use __rewinddir instead of rewinddir.
14945         [BZ #17583]
14946         * libio/fileno.c (fileno): Rename to __fileno and define as weak
14947         alias of __fileno.  Use libc_hidden_weak.
14948         (__fileno): Use libc_hidden_def.
14949         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
14950         * libio/ftello.c (ftello): Rename to __ftello and define as weak
14951         alias of __ftello.
14952         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
14953         __ftello.
14954         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
14955         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
14956         libc_hidden_def.
14957         (fread_unlocked): Don't use libc_hidden_ver.
14958         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
14959         and define as weak alias of __fread_unlocked.  Don't use
14960         libc_hidden_def.
14961         (__fread_unlocked): Use libc_hidden_def.
14962         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
14963         (ftello): Don't use libc_hidden_proto.
14964         (__ftello): Declare.  Use libc_hidden_proto.
14965         (fread_unlocked): Don't use libc_hidden_proto.
14966         (__fread_unlocked): Declare.  Use libc_hidden_proto.
14967         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
14968         and __ftello instead of fileno, fread_unlocked and ftello.
14970 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14972         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
14973         GOT12.
14974         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
14975         Likewise.
14976         (_dl_start_user): Likewise.
14977         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
14979 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
14980             Siddhesh Poyarekar  <siddhesh@redhat.com>
14982         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14983         Move argv and envp down instead of moving argc up.
14984         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
14986 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
14988         [BZ #17506]
14989         * test-skeleton.c (main): Return successful if one of
14990         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
14991         * string/tst-strcoll-overflow.c: Define expected status.
14993 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
14995         [BZ #17475]
14996         * locale/iso-639.def: Define Bhili and Tulu language codes.
14998 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
15000         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
15002 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
15004         [BZ #17555]
15005         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
15007 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15009         * configure.ac: Updated check of minimal required version to
15010         2.22.
15011         * manual/install.texi (Tools for Compilation): Updated version
15012         number.
15013         * configure: Regenerated.
15014         * INSTALL: Likewise.
15016 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
15018         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
15019         __tls_get_addr.
15021 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
15023         * include/sys/wait.h (__libc_waitpid): Remove declaration.
15024         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
15025         (__waitpid): Don't define as alias.  Use libc_hidden_def not
15026         libc_hidden_weak.
15027         (waitpid): Define as alias of __waitpid.
15028         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
15029         __waitpid.
15030         (__waitpid): Don't define as alias.  Use libc_hidden_def not
15031         libc_hidden_weak.
15032         (waitpid): Define as alias of __waitpid.
15033         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
15034         __libc_waitpid alias.
15035         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
15036         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
15037         Likewise.
15038         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
15039         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
15040         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
15041         alias.
15042         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
15043         __waitpid.
15044         (__waitpid): Don't define as alias.  Use libc_hidden_def not
15045         libc_hidden_weak.
15046         (waitpid): Define as alias of __waitpid.
15048 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
15050         * manual/llio.texi: Add comment that write safety has been
15051         fixed in Linux.
15053         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
15054         (localplt-build-dso): Add elf/ld.so.
15055         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
15056         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
15057         and free for ld.so.
15058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
15059         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
15060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
15061         Likewise.
15062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15063         Likewise.
15064         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
15065         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
15066         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
15067         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
15068         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15069         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
15070         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
15071         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
15072         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15073         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
15074         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15076 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
15078         [BZ #14132]
15079         * include/libc-symbols.h (INTUSE): Remove macro.
15080         (INTDEF): Likewise.
15081         (INTVARDEF): Likewise.
15082         (_INTVARDEF): Likewise.
15083         (INTDEF2): Likewise.
15084         (INTVARDEF2): Likewise.
15085         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
15086         rtld_hidden_def instead of INTVARDEF.
15087         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
15088         (_dl_starting_up_internal): Remove declaration.
15089         (_dl_starting_up): Use rtld_hidden_proto.
15090         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
15091         declaration.
15092         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
15093         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
15094         _dl_starting_up.
15095         * elf/dl-writev.h (_dl_writev): Likewise.
15096         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
15097         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
15098         _dl_starting_up_internal.
15100 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15102         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15103         test-skeleton.c.
15105 2014-11-05  Will Newton  <will.newton@linaro.org>
15107         * benchtests/Makefile: (bench-malloc): Add malloc thread
15108         scalability benchmark.
15109         * benchtests/bench-malloc-threads.c: New file.
15111 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
15113         * sysdeps/aarch64/strchrnul.S: New file.
15115 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15117         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
15118         definition.
15119         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15120         Likwise.
15121         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15122         Likewise.
15123         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15124         Likewise.
15125         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15126         Likewise.
15127         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15128         Likewise.
15130 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
15132         * catgets/test-gencat.c: Use test-skeleton.c.
15133         * catgets/tst-catgets.c: Likewise.
15134         * csu/tst-empty.c: Likewise.
15135         * elf/tst-audit2.c: Likewise.
15136         * elf/tst-global1.c: Likewise.
15137         * elf/tst-pathopt.c: Likewise.
15138         * elf/tst-piemod1.c: Likewise.
15139         * elf/tst-tls10.c: Likewise.
15140         * elf/tst-tls11.c: Likewise.
15141         * elf/tst-tls12.c: Likewise.
15142         * gnulib/tst-gcc.c: Likewise.
15143         * iconvdata/tst-e2big.c: Likewise.
15144         * iconvdata/tst-loading.c: Likewise.
15145         * iconv/tst-iconv1.c: Likewise.
15146         * iconv/tst-iconv2.c: Likewise.
15147         * inet/test-inet6_opt.c: Likewise.
15148         * inet/tst-gethnm.c: Likewise.
15149         * inet/tst-network.c: Likewise.
15150         * inet/tst-ntoa.c: Likewise.
15151         * intl/tst-codeset.c: Likewise.
15152         * intl/tst-gettext2.c: Likewise.
15153         * intl/tst-gettext3.c: Likewise.
15154         * intl/tst-ngettext.c: Likewise.
15155         * intl/tst-translit.c: Likewise.
15156         * io/test-stat.c: Likewise.
15157         * libio/test-fmemopen.c: Likewise.
15158         * libio/tst-freopen.c: Likewise.
15159         * libio/tst-sscanf.c: Likewise.
15160         * libio/tst-ungetwc1.c: Likewise.
15161         * libio/tst-ungetwc2.c: Likewise.
15162         * libio/tst-widetext.c: Likewise.
15163         * localedata/tst-ctype.c: Likewise.
15164         * localedata/tst-digits.c: Likewise.
15165         * localedata/tst-leaks.c: Likewise.
15166         * localedata/tst-mbswcs1.c: Likewise.
15167         * localedata/tst-mbswcs2.c: Likewise.
15168         * localedata/tst-mbswcs3.c: Likewise.
15169         * localedata/tst-mbswcs4.c: Likewise.
15170         * localedata/tst-mbswcs5.c: Likewise.
15171         * localedata/tst-setlocale.c: Likewise.
15172         * localedata/tst-trans.c: Likewise.
15173         * localedata/tst-wctype.c: Likewise.
15174         * localedata/tst-xlocale1.c: Likewise.
15175         * login/tst-grantpt.c: Likewise.
15176         * malloc/tst-calloc.c: Likewise.
15177         * malloc/tst-malloc.c: Likewise.
15178         * malloc/tst-mallocstate.c: Likewise.
15179         * malloc/tst-mcheck.c: Likewise.
15180         * malloc/tst-mtrace.c: Likewise.
15181         * malloc/tst-obstack.c: Likewise.
15182         * math/atest-exp2.c: Likewise.
15183         * math/atest-exp.c: Likewise.
15184         * math/atest-sincos.c: Likewise.
15185         * math/test-matherr.c: Likewise.
15186         * math/test-misc.c: Likewise.
15187         * math/test-powl.c: Likewise.
15188         * math/tst-definitions.c: Likewise.
15189         * misc/tst-dirname.c: Likewise.
15190         * misc/tst-efgcvt.c: Likewise.
15191         * misc/tst-fdset.c: Likewise.
15192         * misc/tst-hsearch.c: Likewise.
15193         * misc/tst-mntent2.c: Likewise.
15194         * nptl/tst-sem7.c: Likewise.
15195         * nptl/tst-sem8.c: Likewise.
15196         * nptl/tst-sem9.c: Likewise.
15197         * nss/test-netdb.c: Likewise.
15198         * posix/tst-fnmatch.c: Likewise.
15199         * posix/tst-getlogin.c: Likewise.
15200         * posix/tst-gnuglob.c: Likewise.
15201         * posix/tst-mmap.c: Likewise.
15202         * pwd/tst-getpw.c: Likewise.
15203         * resolv/tst-inet_ntop.c: Likewise.
15204         * rt/tst-timer.c: Likewise.
15205         * stdio-common/test-fseek.c: Likewise.
15206         * stdio-common/test-popen.c: Likewise.
15207         * stdio-common/test-vfprintf.c: Likewise.
15208         * stdio-common/tst-cookie.c: Likewise.
15209         * stdio-common/tst-fileno.c: Likewise.
15210         * stdio-common/tst-gets.c: Likewise.
15211         * stdio-common/tst-obprintf.c: Likewise.
15212         * stdio-common/tst-perror.c: Likewise.
15213         * stdio-common/tst-sprintf2.c: Likewise.
15214         * stdio-common/tst-sprintf3.c: Likewise.
15215         * stdio-common/tst-sprintf.c: Likewise.
15216         * stdio-common/tst-swprintf.c: Likewise.
15217         * stdio-common/tst-tmpnam.c: Likewise.
15218         * stdio-common/tst-unbputc.c: Likewise.
15219         * stdio-common/tst-wc-printf.c: Likewise.
15220         * stdlib/tst-environ.c: Likewise.
15221         * stdlib/tst-fmtmsg.c: Likewise.
15222         * stdlib/tst-limits.c: Likewise.
15223         * stdlib/tst-rand48-2.c: Likewise.
15224         * stdlib/tst-rand48.c: Likewise.
15225         * stdlib/tst-random2.c: Likewise.
15226         * stdlib/tst-random.c: Likewise.
15227         * stdlib/tst-strtol.c: Likewise.
15228         * stdlib/tst-strtoll.c: Likewise.
15229         * stdlib/tst-tls-atexit.c: Likewise.
15230         * stdlib/tst-xpg-basename.c: Likewise.
15231         * string/test-ffs.c: Likewise.
15232         * string/tst-bswap.c: Likewise.
15233         * string/tst-inlcall.c: Likewise.
15234         * string/tst-strtok.c: Likewise.
15235         * string/tst-strxfrm.c: Likewise.
15236         * sysdeps/x86_64/tst-audit10.c: Likewise.
15237         * sysdeps/x86_64/tst-audit3.c: Likewise.
15238         * sysdeps/x86_64/tst-audit4.c: Likewise.
15239         * sysdeps/x86_64/tst-audit5.c: Likewise.
15240         * time/tst-ftime_l.c: Likewise.
15241         * time/tst-getdate.c: Likewise.
15242         * time/tst-mktime3.c: Likewise.
15243         * time/tst-mktime.c: Likewise.
15244         * time/tst-posixtz.c: Likewise.
15245         * time/tst-strptime2.c: Likewise.
15246         * time/tst-strptime3.c: Likewise.
15247         * wcsmbs/tst-btowc.c: Likewise.
15248         * wcsmbs/tst-mbrtowc.c: Likewise.
15249         * wcsmbs/tst-mbsrtowcs.c: Likewise.
15250         * wcsmbs/tst-wchar-h.c: Likewise.
15251         * wcsmbs/tst-wcpncpy.c: Likewise.
15252         * wcsmbs/tst-wcrtomb.c: Likewise.
15253         * wcsmbs/tst-wcsnlen.c: Likewise.
15254         * wcsmbs/tst-wcstof.c: Likewise.
15256 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
15258         [BZ #14132]
15259         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
15260         INTDEF.
15261         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
15262         declaration.
15263         (_dl_mcount): Use rtld_hidden_proto.
15264         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
15265         _dl_mcount.
15266         * elf/rtld.c (_rtld_global_ro): Likewise.
15268         [BZ #14132]
15269         * elf/dl-init.c (_dl_init): Don't use INTDEF.
15270         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
15271         of _dl_init_internal.
15272         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
15273         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
15274         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
15275         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
15276         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
15277         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
15278         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
15279         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
15280         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
15281         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
15282         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
15283         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
15284         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15285         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15286         * sysdeps/tile/dl-start.S (_start): Likewise.
15287         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
15288         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
15290         [BZ #14132]
15291         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
15292         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
15293         (rtld_progname): Make macro definition unconditional.
15294         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
15295         INTDEF.
15296         (dlmopen_doit): Do not use INTUSE with _dl_argv.
15297         (dl_main): Likewise.
15298         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15299         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
15300         instead of _dl_argv_internal.
15301         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15302         __GI__dl_argv instead of INTUSE(_dl_argv).
15303         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
15304         __GI__dl_argv instead of _dl_argv_internal.
15306         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
15307         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
15308         macro.
15309         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
15310         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
15311         New macro.
15312         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
15313         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
15314         macro.
15315         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
15316         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
15318 2014-11-04  Andreas Schwab  <schwab@suse.de>
15320         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
15322 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15324         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
15325         mtvsrd instruction in binary form.
15327 2014-11-03  Andreas Schwab  <schwab@suse.de>
15329         [BZ #17522]
15330         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
15331         for less than MB_LEN_MAX use a local buffer of that size.
15332         * libio/tst-fputws.c: New file.
15333         * libio/Makefile (tests): Add tst-fputws.
15335 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
15337         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
15338         the size of the fpu_fr.fpu_dregs[] array.
15340 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
15342         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
15343         (__nanosleep): Do not define as alias.
15344         (nanosleep): Define as alias of __nanosleep.
15345         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
15346         __libc_nanosleep name.
15348 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15350         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
15351         install.texi in comment.
15353 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15355         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
15356         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
15357         ... add here and use lwsync or sync ...
15358         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
15359         ... and add here using lwsync.
15361 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15363         * elf/dl-machine-reject-phdr.h: New file.
15364         * elf/dl-load.c: #include that.
15365         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
15366         if that returned true.
15368 2014-10-31  Roland McGrath  <roland@hack.frob.com>
15370         [BZ #17496]
15371         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
15372         gen-as-const-headers chunk.  Add a big scare comment after the last
15373         safe place to touch before-compile.
15375 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
15377         * manual/install.texi (Tools for Compilation): Update autoconf
15378         version requirements.
15379         * INSTALL: Regenerated.
15381         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
15382         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
15383         (__libc_pselect): Likewise.
15385         [BZ #14138]
15386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
15387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15391 2014-10-31  Torvald Riegel  <triegel@redhat.com>
15393         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
15394         correct barrier instruction.
15395         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
15396         Likewise.
15397         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
15398         Likewise.
15400 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15402         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
15403         after defining inlines.  Instead, just use parens to defeat macro
15404         expansion of __isctype in its declaration.
15406 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15408         * include/sys/uio.h (__libc_readv): Remove declaration.
15409         (__libc_writev): Likewise.
15410         * misc/readv.c (__libc_readv): Rename to __readv.
15411         (__readv): Do not define as alias.
15412         (readv): Define as alias of __readv.
15413         * misc/writev.c (__libc_writev): Rename to __writev.
15414         (__writev): Do not define as alias.
15415         (writev): Define as alias of __writev.
15416         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
15417         (__readv): Do not define as alias.
15418         (readv): Define unconditionally as alias of __readv.
15419         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15420         (__writev): Do not define as alias.
15421         (writev): Define unconditionally as alias of __writev.
15422         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
15423         name.
15424         (writev): Do not define __libc_writev name.
15426 2014-10-30  Roland McGrath  <roland@hack.frob.com>
15428         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
15429         (convert_charseq): New function, broken out of ...
15430         (use_from_charmap): ... here.  Call it.
15431         (use_to_charmap): Use convert_charseq and free instead of duplicating
15432         its code with a variable-length stack struct.
15434 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
15436         * include/fcntl.h (__libc_creat): Remove declaration.
15437         * io/creat.c (__libc_creat): Rename to creat.
15438         (creat): Do not define as alias.
15439         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
15440         of creat instead of __libc_creat.
15441         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
15442         to creat.
15443         (creat): Do not define as alias.
15444         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
15445         __libc_creat.
15446         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
15447         __libc_creat name.
15448         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
15449         Likewise.
15451 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
15453         * manual/llio.texi: Add comments discussing why write() may be
15454         considered MT-unsafe on Linux.
15456 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
15458         * dl-load.c (local_strdup): Remove.
15459         (expand_dynamic_string_token): Use __strdup.
15460         (decompose_rpath): Likewise.
15461         (_dl_map_object): Likewise.
15463 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
15465         [BZ #14132]
15466         * sysdeps/generic/unwind-dw2-fde.c
15467         (__register_frame_info_bases_internal): Do not declare.
15468         (__register_frame_info_table_bases_internal): Likewise.
15469         (__deregister_frame_info_bases_internal): Likewise.
15470         (__register_frame_info_bases): Declare and use hidden_proto before
15471         definition.  Use hidden_def instead of INTDEF.
15472         (__register_frame_info_table_bases): Likewise.
15473         (__deregister_frame_info_bases): Likewise.
15474         (__register_frame_info): Do not use INTUSE.
15475         (__register_frame): Likewise.
15476         (__register_frame_info_table): Likewise.
15477         (__register_frame_table): Likewise.
15478         (__deregister_frame_info): Likewise.
15479         (__deregister_frame): Likewise.
15481 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
15483         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15484         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15485         not undefine.
15486         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15487         Likewise.
15488         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15489         Likewise.
15491 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
15493         [BZ #14138]
15494         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15495         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15496         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15497         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15498         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15499         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15500         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15501         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15502         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15503         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15504         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15505         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15506         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15507         syscall.
15508         (setfsuid): Likewise.
15509         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15510         (setfsuid): Likewise.
15511         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15512         (setfsuid): Likewise.
15513         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15514         Likewise.
15515         (setfsuid): Likewise.
15516         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15517         (setfsuid): Likewise.
15518         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15519         Likewise.
15520         (setfsuid): Likewise.
15522 2014-10-27  Andreas Schwab  <schwab@suse.de>
15524         [BZ #17501]
15525         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15526         check for Slow_SSE4_2 feature bit.
15527         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15528         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15529         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15530         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
15532 2014-10-24  Roland McGrath  <roland@hack.frob.com>
15534         * configure.ac: Validate compiler version with a empirical test of
15535         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15536         $CC -v output.
15537         * configure: Regenerated.
15539         * inet/htons.c (htons): Prototypify.
15540         * inet/htonl.c (htonl): Likewise.
15542 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15544         * string/strncat.c (strncat): Improve performance by using strlen.
15546 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15548         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15550 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15552         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15553         Call libc_fetestexcept_aarch64.
15555 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15557         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15558         Call libc_feholdexcept_aarch64.
15560 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15562         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15563         Call get_rounding_mode.
15565 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15567         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15568         Simplify logic.
15570 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
15572         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15573         Simplify logic.
15575 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
15577         [BZ #14138]
15578         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15579         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15580         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15581         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15582         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15583         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15584         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15585         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15586         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15587         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15588         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15589         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15590         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15591         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15592         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15593         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15594         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15595         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15596         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15597         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15598         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15599         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15600         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15601         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15602         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15603         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15604         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15605         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15606         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15607         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15608         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15609         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15610         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15611         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15612         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15613         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15614         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15615         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15616         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15617         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15618         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15619         syscall.
15620         (geteuid): Likewise.
15621         (getgid): Likewise.
15622         (getuid): Likewise.
15623         (getresgid): Likewise.
15624         (getresuid): Likewise.
15625         (getgroups): Likewise.
15626         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15627         (geteuid): Likewise.
15628         (getgid): Likewise.
15629         (getuid): Likewise.
15630         (getresgid): Likewise.
15631         (getresuid): Likewise.
15632         (getgroups): Likewise.
15633         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15634         (geteuid): Likewise.
15635         (getgid): Likewise.
15636         (getuid): Likewise.
15637         (getresgid): Likewise.
15638         (getresuid): Likewise.
15639         (getgroups): Likewise.
15640         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15641         Likewise.
15642         (geteuid): Likewise.
15643         (getgid): Likewise.
15644         (getuid): Likewise.
15645         (getresgid): Likewise.
15646         (getresuid): Likewise.
15647         (getgroups): Likewise.
15648         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15649         (geteuid): Likewise.
15650         (getgid): Likewise.
15651         (getuid): Likewise.
15652         (getresgid): Likewise.
15653         (getresuid): Likewise.
15654         (getgroups): Likewise.
15655         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15656         Likewise.
15657         (geteuid): Likewise.
15658         (getgid): Likewise.
15659         (getuid): Likewise.
15660         (getgroups): Likewise.
15662         [BZ #14138]
15663         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15664         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15665         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15666         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15667         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15668         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15669         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15670         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15671         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15672         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15673         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15674         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15675         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15676         __chown.
15677         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15678         (lchown): Likewise.
15679         (fchown): Likewise.
15680         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15681         Likewise.
15682         (lchown): Likewise.
15683         (fchown): Likewise.
15684         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15685         (lchown): Likewise.
15686         (fchown): Likewise.
15687         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15688         Likewise.
15689         (lchown): Likewise.
15690         (fchown): Likewise.
15692 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15694         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15695         Simplify logic.
15697 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15699         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15700         Cleanup logic.
15702 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15704         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15705         Remove unused include.
15707 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
15709         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15710         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15711         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15712         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15714 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
15715             Helge Deller <deller@gmx.de>
15717         [BZ #17508]
15718         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15719         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15720         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15722 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
15724         [BZ #14132]
15725         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15726         Remove macro definition.
15727         (__ashrdi3_v_glibc20): Likewise.
15728         (__lshrdi3_v_glibc20): Likewise.
15729         (__cmpdi2_v_glibc20): Likewise.
15730         (__ucmpdi2_v_glibc20): Likewise.
15731         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15732         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15733         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15734         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15735         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15736         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15738 2014-10-22  Roland McGrath  <roland@hack.frob.com>
15740         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15741         old GNU extension [0] syntax.
15742         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15743         alloca rather than an array member with variable length.
15744         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15745         * nscd/nscd.c (invalidate_db): New function, broken out of ...
15746         (parse_opt): ... here.  Likewise use alloca there.
15747         Validate the -i argument before checking for rootness.
15748         (send_shutdown): New function, broken out of ...
15749         (parse_opt): ... here.
15751 2014-10-22  Roland McGrath  <roland@hack.frob.com>
15753         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15754         macro to get at the _rt_local_ro field.
15755         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15756         ([PIC] case) or _dl_hwcap ([!PIC] case).
15757         * sysdeps/arm/setjmp.S: Likewise.
15759         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15760         * sysdeps/arm/configure.ac: New check to define it.
15761         * sysdeps/arm/configure: Regenerated.
15762         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15763         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15764         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15765         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15766         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15767         Use move/movt pair instead of a load.
15768         (LDST_GLOBAL): Macro removed.
15769         (LDR_GLOBAL): New macro replaces it.
15770         (LDR_HIDDEN): New macro.
15771         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15772         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15774         * setjmp/tst-setjmp-static.c: New file.
15775         * setjmp/Makefile (tests): Add it.
15776         (tests-static): New variable.
15778 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
15780         [BZ #17485]
15781         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15783 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
15785         [BZ #14132]
15786         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15788 2014-10-21  Roland McGrath  <roland@hack.frob.com>
15790         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15792 2014-10-20  Roland McGrath  <roland@hack.frob.com>
15794         * io/fts.c (dirent_not_directory): New function.
15795         (fts_build): Call it.
15797 2014-10-20  Roland McGrath  <roland@hack.frob.com>
15799         * nptl/version.c (__nptl_main): Use normal __write rather than
15800         INTERNAL_SYSCALL.
15801         (banner): Update copyright years.
15803         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15804         gettimeofday.
15805         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15806         * nptl/pthread_cond_timedwait.c: Likewise.
15807         * nptl/pthread_mutex_timedlock.c: Likewise.
15808         * nptl/sem_timedwait.c: Likewise.
15810         * sysdeps/nptl/bits/libc-lock.h
15811         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15812         (__libc_lock_init_recursive): Return void, not 0.
15813         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15814         (__libc_rwlock_init): Likewise.
15815         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15817 2014-10-20  Torvald Riegel  <triegel@redhat.com>
15819         [BZ #15215]
15820         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15821         (__pthread_once_slow): ... here.
15822         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15823         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15825 2014-10-20  Torvald Riegel  <triegel@redhat.com>
15827         [BZ #15215]
15828         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15829         __PTHREAD_ONCE_FORK_GEN_INCR): New.
15830         * sysdeps/nptl/fork.c (__libc_fork): Use them.
15831         * nptl/pthread_once.c (__pthread_once): Likewise.
15832         Update comments.
15834 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
15836         [BZ #14138]
15837         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15838         name.
15839         (writev): Use __libc_writev as strong name.
15840         * sysdeps/unix/sysv/linux/readv.c: Remove file.
15841         * sysdeps/unix/sysv/linux/writev.c: Likewise.
15843 2014-10-17  Roland McGrath  <roland@hack.frob.com>
15845         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15847         * sysdeps/i386/nptl/tls.h
15848         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15849         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15850         New macros.
15851         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
15852         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
15853         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
15854         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
15855         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
15856         Call CHECK_THREAD_SYSINFO instead of doing an assert.
15858         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15859         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
15860         on [__NR_futex].
15861         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
15862         broken out of ...
15863         (__pthread_mutex_init): ... here.  Call it.
15864         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
15865         Conditionalize PI cases on [__NR_futex].
15866         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
15867         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
15868         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15870         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
15871         conditional on [SIGSETXID].
15872         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
15873         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
15874         is defined.  Likewise for SIGSETXID.
15875         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
15876         Conditionalize definitions on [SIGSETXID].
15877         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
15878         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
15879         unblocking on [SIGCANCEL].
15881         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
15882         [__NR_set_robust_list].
15884 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15886         * string/strcoll_l.c (get_next_seq): Fix up formatting.
15887         (do_compare): Likewise.
15889 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
15891         [BZ #15884]
15892         * string/strcoll_l.c: Don't include stdio.h.
15893         (coll_seq): Remove members idxarr and rulearr.
15894         (get_next_seq_cached): Remove function.
15895         (get_next_seq): Likewise.
15896         (get_next_seq_nocache): Rename to get_next_seq.
15897         (do_compare): Remove function.
15898         (do_compare_nocache): Rename to do_compare.
15899         (STRCOLL): Remove weight and rules cache.
15901 2014-10-16  Roland McGrath  <roland@hack.frob.com>
15903         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
15904         * sysdeps/arm/sfp-machine.h: ... to here.
15905         * sysdeps/arm/Implies: Remove arm/soft-fp.
15907 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
15909         * conform/data/sys/utsname.h-data (*_t): Allow.
15910         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
15911         [POSIX] (WEXITED): Do not expect constant.
15912         [POSIX] (WSTOPPED): Likewise.
15913         [POSIX] (WNOHANG): Likewise.
15914         [POSIX] (WNOWAIT): Likewise.
15915         [POSIX] (siginfo_t): Do not expect type or elements.
15916         [POSIX] (pid_t): Do not expect type.
15917         [POSIX] (signal.h): Do not allow header.
15918         [POSIX] (sys/resource.h): Likewise.
15919         [POSIX] (si_*): Do not allow pattern.
15920         [POSIX] (W*): Likewise.
15921         [POSIX] (P_*): Likewise.
15922         [POSIX] (BUS_*): Likewise.
15923         [POSIX] (CLD_*): Likewise.
15924         [POSIX] (FPE_*): Likewise.
15925         [POSIX] (ILL_*): Likewise.
15926         [POSIX] (POLL_*): Likewise.
15927         [POSIX] (SEGV_*): Likewise.
15928         [POSIX] (SI_*): Likewise.
15929         [POSIX] (TRAP_*): Likewise.
15930         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
15931         variable.
15933 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15935         [BZ #12926]
15936         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
15937         infinite loop when __recvmsg returns 0.
15939 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
15941         * CANCEL-FCT-WAIVE: Remove file.
15942         * CANCEL-FILE-WAIVE: Likewise.
15944         [BZ #14132]
15945         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
15946         instead of INTVARDEF.
15947         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15948         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
15949         rtld_hidden_data_def instead of INTVARDEF.
15950         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
15951         * elf/dl-deps.c (expand_dst): Likewise.
15952         * elf/dl-load.c (_dl_dst_count): Likewise.
15953         (_dl_dst_substitute): Likewise.
15954         (decompose_rpath): Likewise.
15955         (_dl_init_paths): Likewise.
15956         (open_path): Likewise.
15957         (_dl_map_object): Likewise.
15958         * elf/rtld.c (dl_main): Likewise.
15959         (process_dl_audit): Likewise.
15960         (process_envvars): Likewise.
15961         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
15962         Remove declaration.
15963         (__libc_enable_secure): Use rtld_hidden_proto.
15965 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15967         * elf/dl-load.c
15968         (add_path): New function broken out of _dl_rtld_di_serinfo.
15969         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
15971 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
15973         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
15974         parentheses around macro arguments.
15975         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
15976         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
15977         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
15978         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
15979         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
15980         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15981         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
15982         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
15983         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
15984         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
15985         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
15986         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
15987         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
15988         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
15989         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
15990         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
15991         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
15992         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
15993         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
15994         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
15995         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
15996         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
15997         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
15998         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
15999         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
16000         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
16001         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
16002         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
16003         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
16004         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
16005         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
16006         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
16007         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
16008         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
16009         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
16010         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
16011         Likewise.
16012         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
16013         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
16014         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
16015         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
16016         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
16017         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
16018         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
16019         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
16020         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
16021         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
16022         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
16023         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
16024         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
16025         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
16026         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
16027         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
16028         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
16029         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
16030         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
16031         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
16032         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
16033         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
16034         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
16035         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
16036         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
16037         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
16038         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
16039         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
16040         (_FP_FRAC_SRS_1): Likewise.
16041         (_FP_FRAC_CLZ_1): Likewise.
16042         (_FP_MUL_MEAT_1_imm): Likewise.
16043         (_FP_MUL_MEAT_1_wide): Likewise.
16044         (_FP_MUL_MEAT_1_hard): Likewise.
16045         (_FP_SQRT_MEAT_1): Likewise.
16046         (_FP_FRAC_ASSEMBLE_1): Likewise.
16047         (_FP_FRAC_DISASSEMBLE_1): Likewise.
16048         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
16049         (__FP_CLZ_2): Likewise.
16050         (_FP_MUL_MEAT_2_wide): Likewise.
16051         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16052         (_FP_MUL_MEAT_2_gmp): Likewise.
16053         (_FP_MUL_MEAT_2_120_240_double): Likewise.
16054         (_FP_SQRT_MEAT_2): Likewise.
16055         (_FP_FRAC_ASSEMBLE_2): Likewise.
16056         (_FP_FRAC_DISASSEMBLE_2): Likewise.
16057         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
16058         (_FP_FRAC_CLZ_4): Likewise.
16059         (_FP_MUL_MEAT_4_wide): Likewise.
16060         (_FP_MUL_MEAT_4_gmp): Likewise.
16061         (_FP_SQRT_MEAT_4): Likewise.
16062         (_FP_FRAC_ASSEMBLE_4): Likewise.
16063         (_FP_FRAC_DISASSEMBLE_4): Likewise.
16064         * soft-fp/op-common.h (_FP_CMP): Likewise.
16065         (_FP_CMP_EQ): Likewise.
16066         (_FP_CMP_UNORD): Likewise.
16067         (_FP_TO_INT): Likewise.
16068         (_FP_FROM_INT): Likewise.
16069         [!__FP_CLZ] (__FP_CLZ): Likewise.
16070         (_FP_DIV_HELP_imm): Likewise.
16071         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
16072         Likewise.
16073         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
16074         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
16075         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
16076         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
16077         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
16078         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
16079         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
16080         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
16081         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
16082         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
16083         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
16084         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
16085         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
16086         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
16087         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
16088         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
16089         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
16090         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
16091         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
16092         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
16093         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
16094         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
16095         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
16096         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
16097         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
16098         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
16099         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
16100         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
16101         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
16102         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
16103         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
16104         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
16105         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
16106         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
16107         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
16108         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
16109         (FP_UNPACK_RAW_SP): Likewise.
16110         (FP_PACK_RAW_S): Likewise.
16111         (FP_PACK_RAW_SP): Likewise.
16112         (FP_UNPACK_S): Likewise.
16113         (FP_UNPACK_SP): Likewise.
16114         (FP_UNPACK_SEMIRAW_S): Likewise.
16115         (FP_UNPACK_SEMIRAW_SP): Likewise.
16116         (FP_PACK_S): Likewise.
16117         (FP_PACK_SP): Likewise.
16118         (FP_PACK_SEMIRAW_S): Likewise.
16119         (FP_PACK_SEMIRAW_SP): Likewise.
16120         (_FP_SQRT_MEAT_S): Likewise.
16121         (FP_CMP_S): Likewise.
16122         (FP_CMP_EQ_S): Likewise.
16123         (FP_CMP_UNORD_S): Likewise.
16124         (FP_TO_INT_S): Likewise.
16125         (FP_FROM_INT_S): Likewise.
16127         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
16129         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
16130         (FP_EX_INVALID_IMZ): Likewise.
16131         (FP_EX_INVALID_IMZ_FMA): Likewise.
16132         (FP_EX_INVALID_ISI): Likewise.
16133         (FP_EX_INVALID_ZDZ): Likewise.
16134         (FP_EX_INVALID_IDI): Likewise.
16135         (FP_EX_INVALID_SQRT): Likewise.
16136         (FP_EX_INVALID_CVI): Likewise.
16137         (FP_EX_INVALID_VC): Likewise.
16138         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
16139         "invalid" exceptions.
16140         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
16141         (_FP_ADD_INTERNAL): Likewise.
16142         (_FP_MUL): Likewise.
16143         (_FP_FMA): Likewise.
16144         (_FP_DIV): Likewise.
16145         (_FP_CMP_CHECK_NAN): Likewise.
16146         (_FP_SQRT): Likewise.
16147         (_FP_TO_INT): Likewise.
16148         (FP_EXTEND): Likewise.
16150 2014-10-09  Allan McRae  <allan@archlinux.org>
16152         * po/fr.po: Update French translation from translation project.
16154 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
16156         [BZ #14132]
16157         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
16158         of INTDEF.
16159         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
16160         (__cxa_atexit): Use libc_hidden_proto.
16161         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
16163         [BZ #14132]
16164         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
16165         declaration.
16166         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
16167         [!_ISOMAC] (__iswspace_l_internal): Likewise.
16168         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
16169         [!_ISOMAC] (__iswctype_internal): Likewise.
16170         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
16171         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
16172         alias.
16173         (fcntl): Remove __fcntl_internal alias.
16174         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
16175         __connect_internal alias.
16176         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
16177         Likewise.
16179         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
16180         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
16181         FP_DENORM_ZERO.
16182         (_FP_CHECK_FLUSH_ZERO): New macro.
16183         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
16184         (_FP_CMP): Likewise.
16185         (_FP_CMP_EQ): Likewise.
16186         (_FP_TO_INT): Do not set inexact for subnormal arguments if
16187         FP_DENORM_ZERO.
16188         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
16189         (FP_TRUNC): Likewise.
16191         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
16192         treated as invalid conversion, not as normal exponent.
16194         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
16195         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
16196         (_FP_CMP_EQ): Likewise.
16197         (_FP_CMP_UNORD): Likewise.
16198         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
16199         (FP_CMP_EQ_D): Likewise.
16200         (FP_CMP_UNORD_D): Likewise.
16201         * soft-fp/extended.h (FP_CMP_E): Likewise.
16202         (FP_CMP_EQ_E): Likewise.
16203         (FP_CMP_UNORD_E): Likewise.
16204         * soft-fp/quad.h (FP_CMP_Q): Likewise.
16205         (FP_CMP_EQ_Q): Likewise.
16206         (FP_CMP_UNORD_Q): Likewise.
16207         * soft-fp/single.h (FP_CMP_S): Likewise.
16208         (FP_CMP_EQ_S): Likewise.
16209         (FP_CMP_UNORD_S): Likewise.
16210         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
16211         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
16212         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
16213         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
16214         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
16215         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
16216         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
16217         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
16218         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
16219         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
16220         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
16221         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
16222         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
16223         to FP_CMP_Q.
16224         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
16225         FP_CMP_Q.
16226         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
16227         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
16228         FP_CMP_EQ_Q.
16229         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
16230         FP_CMP_Q.
16231         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
16232         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
16233         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
16234         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
16235         FP_CMP_EQ_Q.
16236         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
16237         FP_CMP_Q.
16238         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
16239         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
16240         FP_CMP_EQ_Q.
16241         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
16242         FP_CMP_Q.
16243         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
16244         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
16245         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
16246         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
16247         FP_CMP_EQ_Q.
16249         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
16250         a subnormal result, set the underflow exception if trapping on
16251         underflow is enabled.
16252         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
16253         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
16254         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
16255         redefine to 0.
16256         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
16257         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16258         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16259         * soft-fp/extendxftf2.c (__extendxftf2): Use
16260         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
16262         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
16263         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
16264         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16265         FP_HANDLE_EXCEPTIONS.
16266         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
16267         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16268         FP_HANDLE_EXCEPTIONS.
16269         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
16270         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16271         FP_HANDLE_EXCEPTIONS.
16272         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
16273         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16274         FP_HANDLE_EXCEPTIONS.
16276 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
16278         [BZ #14132]
16279         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
16280         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
16281         use INTUSE.
16282         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
16283         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
16284         Remove alias.
16285         (__adjtimex): Define using libc_hidden_ver.
16286         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
16287         Remove declaration.
16288         (ntp_gettime): Call __adjtimex directly.
16289         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
16290         Remove declaration.
16291         (ntp_gettimex): Call __adjtimex directly.
16292         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
16293         __adjtimex_internal alias.
16295 2014-10-08  Roland McGrath  <roland@hack.frob.com>
16297         [BZ #17460]
16298         * nscd/nscd.c (more_help): Rewrite list of tables collection
16299         using xstrdup and asprintf.
16301         * nscd/nscd_conf.c: Remove local xstrdup declaration.
16303 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16304             Roland McGrath  <roland@hack.frob.com>
16306         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
16307         (do_lookup_unique): ... local function 'enter' here; update callers.
16309 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
16311         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
16312         compat_symbol calls on [SHARED].
16313         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
16314         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
16315         Remove.
16316         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16317         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
16318         (oldsetrlimit): Remove.
16319         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16321         (lchown): New syscall entry.
16322         (oldsetrlimit): Remove.
16323         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16324         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
16325         (oldsetrlimit): Remove.
16326         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16328         [BZ #14138]
16329         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
16330         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
16331         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
16332         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
16333         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16334         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
16335         (fchown): Likewise.
16336         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
16337         (fchown): Likewise.
16338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
16339         Likewise.
16341 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16343         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
16344         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
16345         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
16346         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
16347         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
16348         Likewise.
16349         (__old_sem_post): Likewise.
16351 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
16353         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
16354         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
16355         HAVE_CLOCK_GETTIME_VSYSCALL macros.
16356         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
16357         Use INLINE_VSYSCALL macro.
16358         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
16359         __vdso_clock_gettime.
16360         * sysdeps/unix/sysv/linux/tile/init-first.c
16361         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
16362         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
16363         __vdso_clock_gettime.
16365         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
16366         to set up frame more cleanly.
16368         * sysdeps/tile/memcmp.c: New file.
16370         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
16372         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
16373         * sysdeps/tile/tilegx/strcasestr.c: New file.
16374         * sysdeps/tile/tilegx/strnlen.c: New file.
16375         * sysdeps/tile/tilegx/strstr.c: New file.
16377         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
16379 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
16381         * nptl/tst-setuid3.c: Write errors to stdout.
16383 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16385         * elf/dl-deps.c
16386         (preload): New functions broken out of _dl_map_object_deps.
16387         (_dl_map_object_deps):  Remove a nested function. Update call sites.
16389 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
16391         [BZ #14138]
16392         * sysdeps/unix/sysv/linux/execve.c: Remove file.
16393         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
16395 2014-10-01  Steve Ellcey  <sellcey@mips.com>
16397         * sysdeps/mips/strcmp.S: New.
16399 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
16401         [BZ #14138]
16402         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
16403         (linkat): Likewise.
16404         (mkdirat): Likewise.
16405         (readlinkat): Likewise.
16406         (renameat): Likewise.
16407         (symlinkat): Likewise.
16408         (unlinkat): Likewise.
16409         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16410         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
16411         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
16412         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
16413         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16414         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
16415         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
16417 2014-09-30  Will Newton  <will.newton@linaro.org>
16419         * math/math.h: Define long double math functions if
16420         _LIBC_TEST is defined.
16421         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
16423         * localedata/Makefile: Move assignment to tests-special
16424         into an ifdef testing run-built-tests.
16425         * timezone/Makefile: Likewise.
16427 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
16429         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
16430         with $(BASH) not $(SHELL).
16432 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
16433             Matthew LeGendre  <legendre1@llnl.gov>
16435         [BZ #17411]
16436         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
16437         l_reloc_result.
16439 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16441         * stdio-common/printf_fp.c
16442         (hack_digit): New function, broken out of ...
16443         (__printf_fp): ... local function here.  Update call sites.
16444         hack_digit now takes an additional parameter that is a pointer
16445         to a struct of the referenced locals.  Those locals moved inside
16446         the struct and references updated.
16448 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
16450         * aclocal.m4: Require autoconf 2.69.
16451         * configure: Regenerated.
16452         * sysdeps/aarch64/configure: Likewise.
16453         * sysdeps/alpha/configure: Likewise.
16454         * sysdeps/arm/armv7/configure: Likewise.
16455         * sysdeps/arm/configure: Likewise.
16456         * sysdeps/ia64/configure: Likewise.
16457         * sysdeps/mach/configure: Likewise.
16458         * sysdeps/mips/configure: Likewise.
16459         * sysdeps/s390/configure: Likewise.
16460         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
16461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
16463         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
16464         file.
16465         * sysdeps/ia64/configure.ac: Likewise.
16467 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
16469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
16470         specify symbol version for ld.so.  Do not include entry for
16471         libpthread.
16472         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16473         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16474         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16476         [BZ #14171]
16477         * Makeconfig [$(build-shared) = yes]
16478         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16479         makefiles.
16480         [$(build-shared) = yes && $(soversions.mk-done) = t]
16481         ($(common-objpfx)gnu/lib-names.h): Remove rule.
16482         [$(build-shared) = yes && $(soversions.mk-done) = t]
16483         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
16484         to Makerules.
16485         [$(build-shared) = yes && $(soversions.mk-done) = t]
16486         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16487         here.
16488         [$(build-shared) = yes && $(soversions.mk-done) = t]
16489         (common-generated): Don't append gnu/lib-names.h and
16490         gnu/lib-names.stmp here.
16491         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16492         (lib-names-h-abi): New variable.
16493         [$(build-shared) = yes && $(soversions.mk-done) = t]
16494         (lib-names-stmp-abi): Likewise.
16495         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16496         abi-variants] (before-compile): Append
16497         $(common-objpfx)$(lib-names-h-abi).
16498         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16499         abi-variants] (common-generated): Append gnu/lib-names.h.
16500         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16501         abi-variants] (install-others-nosubdir): Depend on
16502         $(inst_includedir)/$(lib-names-h-abi).
16503         [$(build-shared) = yes && $(soversions.mk-done) = t &&
16504         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16505         [$(build-shared) = yes && $(soversions.mk-done) = t]
16506         ($(common-objpfx)$(lib-names-h-abi)): New rule.
16507         [$(build-shared) = yes && $(soversions.mk-done) = t]
16508         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16509         [$(build-shared) = yes && $(soversions.mk-done) = t]
16510         (common-generated): Append $(lib-names-h-abi) and
16511         $(lib-names-stmp-abi).
16512         * scripts/lib-names.awk: Do not handle multi being set.
16513         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16514         Remove variable.
16515         (abi-lp64_be-ld-soname): Likewise.
16516         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16517         Likewise.
16518         (abi-hard-ld-soname): Likewise.
16519         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16520         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16521         Remove variable.
16522         (abi-o32_hard-ld-soname): Likewise.
16523         (abi-o32_soft_2008-ld-soname): Likewise.
16524         (abi-o32_hard_2008-ld-soname): Likewise.
16525         (abi-n32_soft-ld-soname): Likewise.
16526         (abi-n32_hard-ld-soname): Likewise.
16527         (abi-n32_soft_2008-ld-soname): Likewise.
16528         (abi-n32_hard_2008-ld-soname): Likewise.
16529         (abi-n64_soft-ld-soname): Likewise.
16530         (abi-n64_hard-ld-soname): Likewise.
16531         (abi-n64_soft_2008-ld-soname): Likewise.
16532         (abi-n64_hard_2008-ld-soname): Likewise.
16533         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16534         Likewise.
16535         (abi-64-v2-ld-soname): Likewise.
16536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16537         ld.so entries.
16538         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16539         variable.
16540         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16541         entry.
16542         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16543         variable.
16544         (abi-64-ld-soname): Likewise.
16545         (abi-x32-ld-soname): Likewise.
16546         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16547         entry.
16548         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16550 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
16552         [BZ #14138]
16553         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16554         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16555         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16556         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16557         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16558         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16559         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16560         syscall entry for GLIBC_2.2 symbol version.
16561         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16562         Likewise.
16563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16564         (setrlimit): Likewise.
16565         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16566         Likewise.
16568 2014-09-23  Will Newton  <will.newton@linaro.org>
16570         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16571         _LINUX_ARM_SYSDEP_H include guard too.
16572         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16573         define.
16575 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16577         * sysdeps/unix/sysv/linux/eventfd.c:
16578         Make first argument unsigned.
16579         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16580         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16582 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
16584         * socket/recvmmsg.c (recvmmsg): Drop const argument.
16585         * socket/sys/socket.h: Likewise
16586         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16588 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16590         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16592 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
16594         * time/tst-ftime.c: New test.
16595         * time/Makefile (tests): Add tst-ftime.
16597 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
16599         * soft-fp/extended.h: Fix comment formatting.
16600         * soft-fp/op-1.h: Likewise.
16601         * soft-fp/op-2.h: Likewise.
16602         * soft-fp/op-4.h: Likewise.
16603         * soft-fp/op-8.h: Likewise.
16604         * soft-fp/op-common.h: Likewise.
16605         * soft-fp/soft-fp.h: Likewise.
16607         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16609 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
16611         [BZ #6652]
16612         * Makeconfig (soversions-default-setname): Remove variable.
16613         ($(common-objpfx)soversions.i): Don't pass default_setname to
16614         soversions.awk.
16615         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16616         oldest_abi to abi-versions.awk.
16617         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16618         * config.make.in (oldest-abi): Remove variable.
16619         * configure.ac (--enable-oldest-abi): Remove configure option.
16620         * configure: Regenerated.
16621         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16622         text.
16623         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16624         * scripts/soversions.awk: Do not handle default_setname variable.
16625         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16626         variable.
16627         * sysdeps/mach/hurd/configure: Regenerated.
16628         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16629         variable.
16630         * sysdeps/unix/sysv/linux/configure: Regenerated.
16632 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16634         * elf/Makefile (CFLAGS-interp.c): Remove.
16635         ($(elf-objpfx)runtime-linker.h): Generate header with linker
16636         path string.
16637         * elf/interp.c: Include generated runtime-linker.h
16639         * Makerules (lib%.so): Don't include $(+interp) in
16640         prerequisites.
16641         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16642         * dlfcn/eval.c: Remove file.
16644         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16645         macros.
16647         [BZ #17266]
16648         * misc/sys/cdefs.h: Define __extern_always_inline for clang
16649         4.2 and newer.
16651         [BZ #17370]
16652         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16654 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16655             Jakub Jelinek  <jakub@redhat.com>
16657         [BZ #17266]
16658         * libio/stdio.h: Check definition of __fortify_function
16659         instead of __extern_always_inline to include bits/stdio2.h.
16660         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16661         check if __extern_always_inline is defined.
16662         [__USE_MISC || __USE_XOPEN]: Likewise.
16663         [__USE_ISOC99] Likewise.
16664         * misc/sys/cdefs.h (__fortify_function): Define only if
16665         __extern_always_inline is defined.
16666         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16667         __extern_always_inline and __extern_inline only for g++-4.3
16668         and newer or a compatible gcc.
16670 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
16672         [BZ #17371]
16673         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16674         last change to handle zero prefix length.
16676 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16678         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16679         _SC_REGEX_VERSION.
16681         * posix/getconf.c (vars): Add _POSIX_IPV6 and
16682         _POSIX_RAW_SOCKETS.
16684 2014-09-13  Allan McRae  <allan@archlinux.org>
16686         * po/ru.po: Update Russian translation from translation project.
16688 2014-09-12  Roland McGrath  <roland@hack.frob.com>
16690         * locale/programs/locale.c (show_locale_vars): Inline local function
16691         into its sole call site.  Clean up some style nits.
16692         (print_item): New function, broken out of ...
16693         (show_info): ... local function here.  Clean up style nits.
16695         * locale/programs/ld-ctype.c (set_one_default): New function, broken
16696         out of ...
16697         (set_class_defaults): ... local function set_default here.
16698         Define set_default as a macro locally to pass constant parameters.
16699         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16700         rather than a shared local.
16702         * stdlib/rpmatch.c (try): New function, broken out of ...
16703         (rpmatch): ... local function here.  Also, prototypify definition.
16705 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
16707         * scripts/soversions.awk: Do not handle configuration names.
16708         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16709         vendor and os variables to soversions.awk.
16710         * configure.ac: Do not modify gnu-* host_os.
16711         * configure: Regenerated
16712         * shlib-versions: Remove first column with configuration names.
16713         * nptl/shlib-versions: Likewise.
16714         * nptl_db/shlib-versions: Likewise.
16715         * sysdeps/hppa/shlib-versions: Likewise.
16716         * sysdeps/m68k/shlib-versions: Likewise.
16717         * sysdeps/mach/hurd/shlib-versions: Likewise.
16718         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16719         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16720         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16721         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16722         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16723         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16724         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16725         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16727         Likewise.
16728         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16729         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16730         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16731         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16732         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16733         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16734         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16735         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16738         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16740         Regenerated.
16741         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16743         Condition symbol version definitions on [HAVE_ELFV2_ABI].
16745         * shlib-versions: Remove OS-specific entries.  Moved to files in
16746         sysdeps.
16747         * sysdeps/mach/hurd/shlib-versions: New file.
16748         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16750         * nptl/shlib-versions: Remove architecture-specific entries.
16751         Moved to files in sysdeps.
16752         * shlib-versions: Likewise.
16753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16754         file.
16755         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16756         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16757         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16758         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16760         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16761         (UDP_NO_CHECK6_RX): Likewise.
16763 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16765         * sysdeps/posix/sysconf.c (__sysconf): Spell
16766         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16768 2014-08-12  Florian Weimer  <fweimer@redhat.com>
16770         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16771         loading.
16772         * iconv/Versions (__gconv_transliterate): Export for use from
16773         gconv modules.
16774         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16775         (struct __gconv_trans_data, __gconv_trans_fct,
16776         __gconv_trans_context_fct, __gconv_trans_query_fct,
16777         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16778         definitions.
16779         (struct __gconv_step_data): Remove __trans member.
16780         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
16781         longer hidden.  Remove unused trans_data argument.
16782         * iconv/gconv_int.h (struct trans_struct): Remove definition.
16783         (__gconv_translit_find): Remove declaration.
16784         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
16785         prototype.
16786         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16787         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16788         trans_data argument.  Add hidden definition.
16789         (__gconv_translit_find): Remove.
16790         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16791         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16792         * iconv/skeleton.c: Remove transliteration initialization.
16793         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16794         __gconv_step_data initialization.
16795         * libio/iofwide.c (__libio_translit_): Remove.
16796         (_IO_fwide): Adjust struct __gconv_step_data initialization.
16797         * wcsmbs/btowc.c (__btowc): Likewise.
16798         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16799         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16800         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16801         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16802         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16803         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16804         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16805         * wcsmbs/wctob.c (wctob): Likewise.
16807 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16809         [BZ #16194]
16810         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16811         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
16812         register usage.
16813         * sysdeps/x86/Makefile: Adjust.
16815 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16816             Roland McGrath  <roland@hack.frob.com>
16818         * locale/weight.h: Add include guard.
16819         (findidx): Make static rather than auto; take new parameters
16820         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16821         * locale/weightwc.h: Likewise.
16822         * posix/fnmatch_loop.c
16823         (FCT): Change type of EXTRA from int32_t to wint_t.
16824         Don't include either header inside the function.
16825         Call FINDIDX rather than findidx, and pass new arguments.
16826         #undef FINDIDX at the end of the file.
16827         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16828         FINDIDX before including fnmatch_loop.c for the non-wide version.
16829         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16830         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16831         for the wide version.
16832         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16833         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16834         Pass new arguments to findidx.
16835         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16836         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16837         Don't #include it inside the function.  Pass new arguments to findidx.
16838         * posix/regex_internal.h
16839         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16840         (re_string_elem_size_at): Don't #include it inside the function.
16841         Pass new arguments to findidx.
16842         * string/strcoll_l.c: #include WEIGHT_H at top level.
16843         (get_next_seq): Don't #include it inside the function.
16844         Pass new arguments to findidx.
16845         (get_next_seq_nocache): Likewise.
16846         * string/strxfrm_l.c: #include WEIGHT_H at top level.
16847         (STRXFRM): Don't #include it inside the function.
16848         Pass new arguments to findidx.
16850 2014-09-11  Florian Weimer  <fweimer@redhat.com>
16852         [BZ #17344]
16853         * malloc/malloc.c (unlink): Turn asserts into a call to
16854         malloc_printerr.
16856 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
16858         [BZ #17370]
16859         * libio/wfileops (do_ftell_wide): Free OUT.
16861 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
16863         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
16865 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16867         [BZ #17363]
16868         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
16869         group if the current group is empty.
16871 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16873         * benchtests/bench-memset.c (test_main): Add more test from size
16874         from 32 to 512 bytes.
16875         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16876         Add POWER8 memset object.
16877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16878         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
16879         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
16880         implementation.
16881         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
16882         Likewise.
16883         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
16884         multiarch POWER8 memset optimization.
16885         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
16886         POWER8 memset optimization.
16888         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16889         Remove bzero multiarch objects.
16890         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
16891         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
16892         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
16893         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
16894         Remove define.
16895         [__bzero]: Redefine to specific name.
16896         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
16897         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
16898         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
16899         define.
16900         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16901         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16903 2014-09-10  Florian Weimer  <fweimer@redhat.com>
16905         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
16906         warnings into errors.
16908         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
16909         __cxa_thread_atexit_impl prototype.
16911 2014-09-09  Steve Ellcey  <sellcey@mips.com>
16913         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
16914         Fix capitalization of error message.
16916 2014-09-09  Steve Ellcey  <sellcey@mips.com>
16918         * sysdeps/mips/preconfigure: Modify ABI tests.
16920 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
16922         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
16924 2014-09-07  Roland McGrath  <roland@hack.frob.com>
16925             Carlos O'Donell  <carlos@systemhalted.org>
16927         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
16928         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
16929         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
16930         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
16931         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
16932         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
16933         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
16934         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
16935         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
16936         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
16937         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
16938         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
16939         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
16940         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
16941         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
16942         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
16943         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
16944         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
16945         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
16946         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
16947         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
16948         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
16949         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
16950         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
16951         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
16952         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
16953         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
16954         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
16955         Deconditionalize the code that was previously under [RESET_PID].
16956         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
16957         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
16958         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
16959         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
16960         include sysdep.h.
16962 2014-09-08  Allan McRae  <allan@archlinux.org>
16964         * version.h (RELEASE): Set to "development".
16965         (VERSION): Set to "2.20.90"
16967 2014-09-07  Allan McRae  <allan@archlinux.org
16969         * version.h (RELEASE): Set to "stable".
16970         (VERSION): Set to "2.20"
16971         * include/features.h (__GLIBC_MINOR__): Set to 20.
16973         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
16974         Liebler.
16976         * po/ko.po: Update Korean translation from translation project.
16978 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
16980         [BZ #17354]
16981         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16982         macro for handling signed relocations.
16984 2014-09-03  Florian Weimer  <fweimer@redhat.com>
16986         [BZ #17325]
16987         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
16988         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
16989         assert.
16990         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
16991         * iconvdata/ibm935.c (BODY): Likewise.
16992         * iconvdata/ibm937.c (BODY): Likewise.
16993         * iconvdata/ibm939.c (BODY): Likewise.
16994         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
16995         assert.
16996         * iconvdata/Makefile (iconv-test.out): Pass module list to test
16997         script.
16998         * iconvdata/run-iconv-test.sh: New test loop for checking for
16999         decoder crashers.
17001 2014-09-02  Khem Raj  <raj.khem@gmail.com>
17003         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
17004         libm_hidden_ver.
17006 2014-09-01  Allan McRae  <allan@archlinux.org>
17008         * po/eo.po: Update Esperanto translation from translation project.
17010         * po/ca.po: Update Catalan translation from translation project.
17012 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17014         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
17015         __proc_dostop call.
17017 2014-08-27  Mark Wielaard  <mjw@redhat.com>
17019         [BZ #17319]
17020         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
17021         to call set_thread_area instead of hand written asm.
17022         (__NR_set_thread_area): Removed define.
17023         (TLS_FLAG_WRITABLE): Likewise.
17024         (__ASSUME_SET_THREAD_AREA): Remove check.
17025         (TLS_EBX_ARG): Remove define.
17026         (TLS_LOAD_EBX): Likewise.
17028 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17030         Simplify atomicity of socket creation in bind.
17032         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
17033         looking up the name after linking the file.
17035 2014-08-27  Allan McRae  <allan@archlinux.org>
17037         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17039 2014-08-26  Florian Weimer  <fweimer@redhat.com>
17041         [BZ #17187]
17042         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
17043         trans_compare, open_translit, __gconv_translit_find):
17044         Remove module loading code.
17046 2014-08-26  Allan McRae  <allan@archlinux.org>
17048         * po/vi.po: Update Vietnamese translation from translation project.
17050         * po/uk.po: Update Ukrainian translation from translation project.
17052         * po/fr.po: Update French translation from translation project.
17054         * po/ru.po: Update Russian translation from translation project.
17056         * po/pl.po: Update Polish translation from translation project.
17058         * po/cs.po: Update Czech translation from translation project.
17060         * po/de.po: Update German translation from translation project.
17062         * po/bg.po: Update Bulgarian translation from translation project.
17064         * po/sv.po: Update Sweedish translation from translation project.
17066         * po/nl.po: Update Dutch translation from translation project.
17068         * po/es.po: Update Spanish translation from translation project.
17070 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17072         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
17074         * catgets/Makefile (CPPFLAGS-gencat): Remove.
17075         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
17076         (CPPFLAGS-iconvconfig): Likewise.
17077         * timezone/Makefile (CPPFLAGS-zic): Likewise.
17079         * include/libc-symbols.h: Remove unnecessary check for
17080         NOT_IN_libc.
17081         * nptl/pthreadP.h: Likewise.
17082         * sysdeps/aarch64/setjmp.S: Likewise.
17083         * sysdeps/alpha/setjmp.S: Likewise.
17084         * sysdeps/arm/sysdep.h: Likewise.
17085         * sysdeps/i386/setjmp.S: Likewise.
17086         * sysdeps/m68k/setjmp.c: Likewise.
17087         * sysdeps/posix/getcwd.c: Likewise.
17088         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17089         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17090         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17091         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17092         * sysdeps/sh/sh3/setjmp.S: Likewise.
17093         * sysdeps/sh/sh4/setjmp.S: Likewise.
17094         * sysdeps/unix/alpha/sysdep.h: Likewise.
17095         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17096         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17097         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17098         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17101         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17102         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17103         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17104         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17105         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17106         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17107         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17108         * sysdeps/x86_64/setjmp.S: Likewise.
17110 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
17112         [BZ #17263]
17113         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
17114         <stdint.h>.
17115         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
17116         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
17118 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17120         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
17122         [BZ #17262]
17123         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
17124         and __x86_64__ when disabling x87 inline functions.
17126 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
17128         [BZ #17259]
17129         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
17130         asm statement with __cpuid_count.
17132 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
17134         * configure.ac: Change __ehdr_start code to dereference the struct.
17135         Run readelf on the output to look for relocations.
17136         * configure: Regenerated.
17138 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
17140         [BZ #17261]
17141         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
17142         value to 0.
17143         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
17145 2014-08-12  Roland McGrath  <roland@hack.frob.com>
17147         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
17149 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
17151         [BZ #16892]
17152         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
17153         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
17155 2014-08-12  Sean Anderson  <seanga2@gmail.com>
17157         * malloc/malloc.c: Fix typo in comment.
17159 2014-08-09  Allan McRae  <allan@archlinux.org>
17161         * Regenerate libc.po.
17163 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
17165         * intl/tst-gettext2.sh: Check every lang file for creation.
17167 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
17169         * sysdeps/aarch64/fpu/math_private.h
17170         (libc_feholdsetround_noex_aarch64_ctx): New function.
17172 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
17174         * sysdeps/arm/armv6/strcpy.S (strcpy):
17175         Fix performance issue in misaligned cases.
17177 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17179         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
17180         Move definition from termios.h.
17181         (struct termio): Likewise.
17182         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17183         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
17184         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
17185         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
17186         Likewise.
17187         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
17188         Move definition to ioctl-types.h
17189         (struct termio): Likewise.
17190         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17191         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
17192         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
17193         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
17194         Likewise.
17196 2014-08-05  Richard Henderson  <rth@redhat.com>
17198         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
17199         exceptions.
17200         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
17201         Add fraiseexcpt.
17202         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
17203         Use __feraiseexcept.
17204         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
17205         Protect libm symbols with IS_IN_libm.
17207         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
17209 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
17211         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
17213 2014-08-04  Will Newton  <will.newton@linaro.org>
17215         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
17216         file.
17218 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
17220         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
17221         variants for each function.
17223 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17225         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
17226         appended ...
17227         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
17228         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
17229         appended ...
17230         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
17231         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
17232         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
17233         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
17234         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
17235         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
17236         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
17237         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
17238         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
17239         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
17240         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
17241         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
17242         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
17243         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
17244         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
17245         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
17246         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
17247         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
17248         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
17249         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
17250         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
17251         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
17252         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
17253         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
17254         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
17255         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
17256         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
17257         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
17258         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
17259         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
17260         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
17261         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
17262         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
17263         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
17264         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
17265         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
17266         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
17267         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
17268         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
17269         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
17270         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
17271         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
17272         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
17273         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
17274         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
17275         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
17276         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
17277         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
17278         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
17279         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
17280         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
17281         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
17282         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
17283         Update #include.
17284         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
17285         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
17287 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17289         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
17290         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
17291         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
17292         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
17293         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
17294         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
17296 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17298         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
17299         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
17300         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17301         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
17303 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17305         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
17306         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
17307         (__libc_vfork): Define function under this name.
17308         (__vfork): Define as an alias.
17309         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
17310         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
17312 2014-08-04  Roland McGrath  <roland@hack.frob.com>
17314         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
17315         that was previously under [RESET_PID].
17316         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
17318 2014-08-04  Andreas Schwab  <schwab@suse.de>
17320         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
17322 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
17324         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
17325         (main): Likewise.
17327 2014-08-01  Roland McGrath  <roland@hack.frob.com>
17329         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
17331 2014-08-01  Richard Henderon  <rth@redhat.com>
17333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
17334         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
17335         typo in exact zero test.
17336         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17337         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17338         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17340 2014-08-01  Roland McGrath  <roland@hack.frob.com>
17342         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
17343         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
17344         * sysdeps/arm/sysdep.h: ... here.
17345         [!__ASSEMBLER__]: Include <stdint.h>.
17347 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17349         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
17350         (HAVE_WCTYPE_H): Likewise.
17351         (HAVE_ISWCTYPE): Likewise.
17352         (ENABLE_NLS): Likewise.
17353         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
17354         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
17356         * posix/regex_internal.c: Check if DEBUG is defined and is
17357         set.
17359         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
17360         (HAVE_MBSRTOWCS): Likewise.
17361         * posix/fnmatch.c: Include string.h unconditionally.
17363 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17365         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
17366         reversal.
17368 2014-07-31  Roland McGrath  <roland@hack.frob.com>
17370         * sysdeps/generic/safe-fatal.h: New file.
17371         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
17372         * nptl/forward.c: Include it.
17373         (__pthread_unwind): Use __safe_fatal as default action, rather
17374         than a bogus use of INTERNAL_SYSCALL that could never work.
17376         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
17377         * configure.ac (libc_cv_builtin_trap): New test.
17378         * configure: Regenerated.
17379         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
17380         (ABORT_INSTRUCTION): Define using __builtin_trap.
17382         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
17383         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
17384         * sysdeps/nptl/nptl-signals.h: New file.
17385         * nptl/pthreadP.h: Include <nptl-signals.h>.
17387 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17389         * sysdeps/s390/s390-64/utf16-utf32-z9.c
17390         (ONE_DIRECTION): Define.
17391         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17392         (ONE_DIRECTION): Define.
17393         * sysdeps/s390/s390-64/utf8-utf32-z9.c
17394         (ONE_DIRECTION): Define.
17396 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17398         * sysdeps/s390/Makefile: Delete file.
17399         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
17400         * sysdeps/s390/__longjmp.c: Delete file.
17401         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
17402         Remove fields __flags and __reserved.
17403         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
17404         and add versioning.
17405         * sysdeps/s390/rtld-__longjmp.c: Delete file.
17406         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
17407         * sysdeps/s390/rtld-setjmp.S: Likewise.
17408         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
17409         * sysdeps/s390/s390-32/__longjmp.c: ... here.
17410         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
17411         * sysdeps/s390/s390-32/setjmp.S: ... here.
17412         Add versioning.
17413         (__sigsetjmp): Remove setting __flags field.
17414         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
17415         * sysdeps/s390/s390-64/__longjmp.c: ... here.
17416         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
17417         * sysdeps/s390/s390-64/setjmp.S: ... here.
17418         Add versioning.
17419         (__sigsetjmp): Remove setting __flags field.
17420         * sysdeps/s390/setjmp.S: Delete file.
17421         * sysdeps/s390/sigjmp.c: Likewise.
17422         * sysdeps/s390/v1-longjmp.c: Likewise.
17423         * sysdeps/s390/v1-setjmp.h: Likewise.
17424         * sysdeps/s390/v1-sigjmp.c: Likewise.
17425         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
17426         Remove v1-longjmp_chk.
17427         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
17428         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
17429         Include debug/longjmp_chk.c and add versioning.
17430         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
17431         Include nptl/pt-longjmp.c and add versioning.
17432         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
17433         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
17434         Include __longjmp.c.
17435         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17436         Move to ...
17437         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
17438         (__getcontext): Remove setting __flags field.
17439         Add versioning.
17440         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17441         Don't restore upper high grps.
17442         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
17443         Likewise.
17444         (__swapcontext): Remove setting uc_flags field.
17445         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
17446         Delete file.
17447         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17448         Include __longjmp.c.
17449         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17450         Move to ...
17451         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
17452         (__getcontext): Remove setting __flags field.
17453         Add versioning.
17454         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
17455         (__swapcontext): Remove setting uc_flags field.
17456         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
17457         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
17458         Remove fields uc_high_gprs and __reserved.
17459         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
17460         New file with reverted content.
17461         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
17462         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
17463         Regenerated.
17464         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
17465         Regenerated.
17467 2014-07-31  Andreas Schwab  <schwab@suse.de>
17469         * config.h.in (HAVE_IFUNC): Define to 0.
17470         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
17471         definedness.
17473 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
17475         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17476         memmove-avx-unaligned, memcpy-avx-unaligned and
17477         mempcpy-avx-unaligned.
17478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17479         Add tests for AVX memcpy functions.
17480         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17481         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17482         memcpy_chk.
17483         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17484         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17485         memmove_chk.
17486         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17487         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17488         mempcpy_chk.
17489         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17490         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17491         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17493 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17495         [BZ #17213]
17496         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17497         powerpc64le.
17499 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
17501         [BZ #16839]
17502         * manual/llio.texi: Add section about open file description locks.
17503         * manual/examples/ofdlocks.c: Example of open file description
17504         lock usage.
17505         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17506         F_OFD_SETLK, and F_OFD_SETLKW.
17508 2014-07-23  Allan McRae  <allan@archlinux.org>
17510         * po/es.po: Update Spanish translation from translation project.
17512 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
17514         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17516 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
17518         [BZ #17078]
17519         * sysdeps/arm/dl-machine.h (elf_machine_rela)
17520         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17521         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17523 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
17525         [BZ #17088]
17526         * math/fesetenv.c (__fesetenv)
17527         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17528         * math/feupdateenv.c (__feupdateenv)
17529         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17531         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17532         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17533         (__ASSUME_SOCKETCALL): Do not define.
17535         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17536         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17537         (__ASSUME_SOCKETCALL): Do not define.
17538         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17539         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17540         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17541         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17542         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17543         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17544         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17545         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17547         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17548         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17549         (__ASSUME_SOCKETCALL): Do not define.
17550         (__ASSUME_IPC64): Define unconditionally.
17551         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17552         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17553         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17554         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17555         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17556         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17557         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17558         Likewise.
17560         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17561         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17562         (__ASSUME_SOCKETCALL): Do not define.
17563         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17564         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17565         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17566         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17567         (__ASSUME_REQUEUE_PI): Define unconditionally.
17568         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17569         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17570         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17571         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17572         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17573         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17575         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17576         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17577         (__ASSUME_SOCKETCALL): Do not define.
17578         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17579         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17580         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17581         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17582         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17583         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17585         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17586         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17587         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17588         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17589         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17590         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17591         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17592         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17593         (__ASSUME_GETCPU_SYSCALL): Likewise.
17595         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17596         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
17597         cases for individual architectures.
17598         * sysdeps/gnu/configure: Regenerated.
17599         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17600         LIBC_SLIBDIR_RTLDDIR.
17601         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17602         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17603         LIBC_SLIBDIR_RTLDDIR.
17604         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17606         LIBC_SLIBDIR_RTLDDIR.
17607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17608         Regenerated.
17609         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17610         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17611         file.
17612         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17613         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17614         file.
17615         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17616         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17617         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17618         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17620         * sysdeps/aarch64/shlib-versions: Move to ...
17621         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17622         * sysdeps/alpha/shlib-versions: Move to ...
17623         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17624         * sysdeps/arm/shlib-versions: Move to ...
17625         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17626         * sysdeps/hppa/shlib-versions: Move all contents except for
17627         libgcc_s entry to ...
17628         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
17629         entry from ...
17630         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
17631         * sysdeps/ia64/shlib-versions: Move to ...
17632         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
17633         entry from ...
17634         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
17635         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17636         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17637         * sysdeps/microblaze/shlib-versions: Move to ...
17638         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17639         * sysdeps/mips/shlib-versions: Move to ...
17640         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
17641         entry from ...
17642         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
17643         * sysdeps/tile/shlib-versions: Move to ...
17644         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17645         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17646         from ...
17647         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
17648         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17649         entry from ...
17650         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
17652 2014-07-17  Will Newton  <will.newton@linaro.org>
17654         * sysdeps/arm/bits/atomic.h
17655         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17656         (__arch_compare_and_exchange_bool_16_int): Likewise.
17657         (__arch_compare_and_exchange_bool_64_int): Likewise.
17659         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17660         into an #else block.
17662 2014-07-16  Roland McGrath  <roland@hack.frob.com>
17664         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17665         just Linux configurations.  Test empirically that the compiler sets
17666         __ARM_EABI__, rather than using the tuple to decide.
17667         * sysdeps/arm/preconfigure: Regenerated.
17668         * sysdeps/unix/sysv/linux/arm/configure: File removed.
17669         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17670         contents appended ...
17671         * sysdeps/arm/configure.ac: ... here.
17672         * sysdeps/arm/configure: Regenerated.
17674 2014-07-15  Roland McGrath  <roland@hack.frob.com>
17676         * nptl/pthread_kill.c: New file.
17677         * nptl/pthread_sigmask.c: New file.
17678         * nptl/pthread_sigqueue.c: New file.
17680         * sysdeps/nptl/lowlevellock.h: New file.
17681         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17682         * sysdeps/nptl/lowlevellock-futex.h: New file.
17684         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17685         Remove dead declarations.
17687 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
17689         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17690         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17691         config-cflags-avx2.
17692         * sysdeps/x86_64/configure.ac: Likewise.
17693         * sysdeps/i386/configure: Regenerated.
17694         * sysdeps/x86_64/configure: Likewise.
17695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17696         memset-avx2 only if config-cflags-avx2 is yes.
17697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17698         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17699         defined.
17700         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17701         only if HAVE_AVX2_SUPPORT is defined.
17702         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17704 2014-07-14  Alan Modra  <amodra@gmail.com>
17706         [BZ #17153]
17707         * elf/elf.h (DT_PPC64_NUM): Correct value.
17708         * NEWS: Add to fixed bug list.
17710 2014-07-13  Jim Meyering  <meyering@fb.com>
17712         [BZ 17150]
17713         regex: don't deref NULL upon heap allocation failure
17714         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17715         failure in one more place.
17716         To trigger the segfault, configure grep -with-included-regex,
17717         build it, and run these commands:
17718         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17720 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
17722         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17724 2014-07-11  Richard Henderson  <rth@redhat.com>
17726         * sysdeps/aarch64/libm-test-ulps: Update.
17728 2014-07-10  Florian Weimer  <fweimer@redhat.com>
17730         [BZ #17135]
17731         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17732         * nptl/allocatestack.c (__nptl_setxid_error): New function.
17733         (__nptl_setxid): Initialize error member.  Call
17734         __nptl_setxid_error.
17735         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17736         * nptl/descr.h (struct xid_command): Add error member.
17737         * nptl/tst-setuid3.c: New file.
17738         * nptl/Makefile (tests): Add it.
17740 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17742         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17743         New define.
17744         (__lll_trylock): Use __lll_base_trylock.
17745         (__lll_cond_trylock): Likewise.
17747 2014-07-10  Roland McGrath  <roland@hack.frob.com>
17749         * nptl/pthread_create.c (start_thread): Use atomic_or and
17750         lll_futex_wake directly rather than lll_robust_dead.
17751         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17752         (lll_robust_dead): Macro removed.
17753         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17754         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17755         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17756         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17757         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17758         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17759         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17760         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17761         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17762         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17763         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17764         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17765         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17766         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17767         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17769         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17770         Use atomic_compare_and_exchange_val_acq directly rather than
17771         lll_robust_trylock.
17772         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17773         (__lll_robust_trylock, lll_robust_trylock): Removed.
17774         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17775         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17776         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17777         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17778         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17779         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17780         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17781         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17782         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17783         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17784         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17785         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17786         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17787         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17789 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17791         * manual/locale.texi (Locale Names): New section documenting
17792         locale name syntax.  Adjust menu and node chaining accordingly.
17793         (Choosing Locale): Reference Locale Names, Locale Categories.
17794         Mention setting LC_ALL=C.  Reflect that name syntax is now
17795         documented.
17796         (Locale Categories): New section title.  Reference Locale Names.
17797         LC_ALL is an environment variable, but not a category.
17798         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17799         description, now in Locale Name.  Reference that section.  Locale
17800         name syntax is now documented.
17802 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17804         [BZ #17137]
17805         * locale/findlocale.c (name_present, valid_locale_name): New
17806         functions.
17807         (_nl_find_locale): Use the loc_name variable to store name
17808         candidates.  Call name_present and valid_locale_name to check and
17809         validate locale names.  Return an error if the locale is invalid.
17811 2014-07-02  Florian Weimer  <fweimer@redhat.com>
17813         * locale/setlocale.c (setlocale): Use strdup for allocating
17814         composite name copy.
17816 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17818         Sync up with gnulib.
17819         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17820         [!_LIBC && ENABLE_NLS]: Include gettext.h.
17821         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17822         and _GL_ARG_NONNULL.
17823         [USE_UNLOCKED_IO]: Include unlocked-io.h.
17824         [!_LIBC]: Include code for Windows and Cygwin.
17825         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17826         Include prototype for int strerror_r.
17827         [!_LIBC] (is_open): New function.
17828         (flush_stdout): New function.
17829         (print_errno_message): Use it.
17830         (error): Likewise.
17831         (error_at_line): Likewise.
17832         (error_tail) Add function attribute macros.  Use
17833         __builtin_expect.
17835         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17837         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17839         * io/ftw.c: Include sys/param.h unconditionally.
17841         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17843         [BZ #17125]
17844         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17845         libc_freeres_ptr.
17846         (freecache): New function to free CACHE on exit.
17848         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17849         initialization.
17851 2014-07-09  David S. Miller  <davem@davemloft.net>
17853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17855         * sysdeps/sparc/nptl/internaltypes.h: Delete.
17856         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
17857         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
17858         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
17859         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
17860         * sysdeps/sparc/nptl/sem_init.c: Likewise.
17861         * sysdeps/sparc/nptl/sem_post.c: Likewise.
17862         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
17863         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
17864         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
17865         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
17866         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
17867         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
17869 2014-07-09  Andreas Schwab  <schwab@suse.de>
17871         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
17872         output.
17873         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
17874         (do_test): Likewise.
17876         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17878 2014-07-09  Will Newton  <will.newton@linaro.org>
17880         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
17881         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
17882         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
17883         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
17884         * sysdeps/hppa/start.S (_start): Likewise.
17886 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
17888         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
17890         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
17891         defined.
17893 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17895         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
17896         after checking that it is non-NULL.
17898         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
17900 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17902         * sysdeps/powerpc/memmove.c: Remove file.
17903         * sysdeps/powerpc/powerpc32/power4/memcopy.h
17904         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
17905         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
17906         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
17907         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
17908         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
17909         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
17910         string memmove instead of removed powerpc one.
17912         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17913         [weak_alias]: Fix compiler warning due trailing data.
17914         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
17915         [weak_alias]: Likewise.
17916         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
17917         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
17919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17920         (__libc_ifunc_impl_list): Add memmove functions.
17922 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17924         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
17925         Remove code.
17926         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
17927         Likewise
17928         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
17929         Likewise
17930         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
17931         Likewise
17932         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
17933         Likewise
17934         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
17935         Likewise
17936         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
17937         Likewise
17938         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
17939         Likewise
17940         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
17941         Likewise
17942         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
17943         Likewise
17944         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
17945         Likewise
17946         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
17947         Likewise
17948         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
17949         Likewise
17950         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
17951         Likewise
17952         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
17953         Likewise
17954         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
17955         Likewise
17956         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
17957         Likewise
17959 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17961         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
17962         to avoid alignment traps in non-cacheable memory.
17963         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
17966         multiarch objects.
17967         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
17968         file: multiarch power7 memmove.
17969         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
17970         multiarch default memmove.
17971         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
17972         multiarch memove for powerpc32/power4.
17974         * string/bcopy.c: Use full path to include memmove.c.
17975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
17976         multiarch objects.
17977         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
17978         bcopy for powerpc64.
17979         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
17980         bcopy for powerpc64.
17981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
17982         and memmove implementations.
17983         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
17984         optimized multiarch memmove for POWER7/powerpc64.
17985         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
17986         default multiarch memmove for powerpc64.
17987         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
17988         multiarch for powerpc64.
17989         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
17990         for POWER7/powerpc64.
17991         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
17992         memmove for POWER7/powerpc64.
17994         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
17995         glibc default one.
17997         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
17998         __ELF_NATIVE_CLASS equal to 64.
18000 2014-07-07  Roland McGrath  <roland@hack.frob.com>
18002         * sysdeps/nptl/lowlevellock.h: File removed.
18004         * NEWS: NPTL is no longer an add-on!
18005         * nptl/internaltypes.h: Moved ...
18006         * sysdeps/nptl/internaltypes.h: ... here.
18007         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
18008         * sysdeps/nptl/fork.c: Likewise.
18009         * sysdeps/nptl/gai_misc.h: Likewise.
18010         * sysdeps/nptl/librt-cancellation.c: Likewise.
18011         * sysdeps/nptl/jmp-unwind.c: Likewise.
18012         * sysdeps/nptl/setxid.h: Likewise.
18013         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
18014         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
18015         * sysdeps/unix/sysv/linux/arm/Implies: New file.
18016         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
18017         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
18018         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
18019         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
18020         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
18021         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
18022         * sysdeps/unix/sysv/linux/mips/Implies: New file.
18023         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
18024         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
18025         * sysdeps/unix/sysv/linux/sh/Implies: New file.
18026         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
18027         * sysdeps/unix/sysv/linux/tile/Implies: New file.
18028         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
18029         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
18030         * nptl/Makeconfig: Moved ...
18031         * sysdeps/nptl/Makeconfig: ... here.
18032         * nptl/configure: File removed.
18033         * nptl/ANNOUNCE: File removed.
18034         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
18035         * sysdeps/unix/sysv/linux/configure: Regenerated.
18037         * nptl/Makefile (routines): Add libc_pthread_init,
18038         libc_multiple_threads, register-atfork and unregister-atfork.
18039         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
18040         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
18041         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
18042         pthread-pi-defines.sym, structsem.sym.
18043         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
18044         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
18045         [$(subdir) = nptl] (tests): Add tst-setgetname.
18046         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
18047         * sysdeps/unix/sysv/linux/sigaction.c: Just include
18048         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
18049         [!LIBC_SIGACTION]: Remove aliases.
18050         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18051         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18052         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18053         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
18054         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18055         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18056         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18057         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18058         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18059         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
18060         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
18061         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
18062         __libc_allocate_rtsig_private.
18063         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
18064         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
18065         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
18066         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
18067         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
18068         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
18069         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
18070         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
18071         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
18072         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
18073         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
18074         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
18075         * nptl/internaltypes.h: ... here.
18076         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
18077         * sysdeps/nptl/jmp-unwind.c: ... here.
18078         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
18079         * nptl/libc-lowlevellock.c: ... here.
18080         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
18081         * nptl/libc_multiple_threads.c: ... here.
18082         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
18083         * nptl/libc_pthread_init.c: ... here.
18084         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
18085         * nptl/lowlevelbarrier.sym: ... here.
18086         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
18087         * nptl/lowlevelcond.sym: ... here.
18088         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
18089         * nptl/lowlevellock.c: ... here.
18090         * nptl/lowlevellock.h: Moved ...
18091         * sysdeps/nptl/lowlevellock.h: ... here.
18092         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
18093         * nptl/lowlevelrobustlock.c: ... here.
18094         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
18095         * nptl/lowlevelrobustlock.sym: ... here.
18096         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
18097         * nptl/lowlevelrwlock.sym: ... here.
18098         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
18099         * nptl/pt-fork.c: ... here.
18100         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
18101         * nptl/pthread-pi-defines.sym: ... here.
18102         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
18103         * nptl/pthread_attr_getaffinity.c: ... here.
18104         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
18105         * nptl/pthread_attr_setaffinity.c: ... here.
18106         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
18107         * nptl/pthread_mutex_cond_lock.c: ... here.
18108         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18109         Update #include.
18110         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
18111         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
18112         * nptl/pthread_once.c: ... here, replacing old file.
18113         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
18114         * nptl/pthread_yield.c: ... here.
18115         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
18116         * nptl/register-atfork.c: ... here.
18117         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
18118         * nptl/sem_post.c: ... here.
18119         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
18120         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
18121         * nptl/sem_timedwait.c: ... here.
18122         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
18123         * nptl/sem_trywait.c: ... here.
18124         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
18125         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
18126         * nptl/sem_wait.c: ... here.
18127         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
18128         * nptl/structsem.sym: ... here.
18129         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
18130         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
18131         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
18132         * nptl/unregister-atfork.c: ... here.
18133         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
18134         * nptl/unwindbuf.sym: ... here.
18135         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
18136         * sysdeps/nptl/fork.c: ... here.
18137         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
18138         * sysdeps/nptl/fork.h: ... here.
18139         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
18140         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
18141         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
18142         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
18143         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
18144         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
18145         * sysdeps/unix/sysv/linux/getpid.c: ... here.
18146         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
18147         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
18148         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
18149         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
18150         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
18151         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
18152         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
18153         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
18154         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
18155         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
18156         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
18157         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
18158         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
18159         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
18160         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
18161         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
18162         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
18163         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
18164         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
18165         * sysdeps/unix/sysv/linux/raise.c: ... here.
18166         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
18167         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
18168         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
18169         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
18170         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
18171         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
18172         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
18173         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
18174         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
18175         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
18176         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
18177         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
18178         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
18179         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
18180         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
18182 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18184         * sysdeps/generic/memcopy.h: Add comment for
18185         MEMCPY_OK_FOR_FWD_MEMMOVE.
18187 2014-07-04  Will Newton  <will.newton@linaro.org>
18189         * string/memchr.c: Merge from gnulib.
18190         [_LIBC]: Remove conditionals.
18191         (__ptr_t): Remove define.
18192         (LONG_MAX_32_BITS): Likewise.
18193         (LONG_MAX): Likewise.
18194         (MEMCHR): Use ANSI prototype and optimize algorithm.
18196         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
18198 2014-07-03  Roland McGrath  <roland@hack.frob.com>
18200         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
18201         (lll_futex_timed_wait_bitset): Fix syscall argument count.
18203         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
18204         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
18205         in a bare environment with no <stdlib.h> installed.
18206         * sysdeps/nptl/configure: Regenerated.
18208         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
18210         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
18211         AC_EGREP_CPP for kernel header checks, so they only succeed if
18212         including <linux/version.h> actually works right.
18213         * sysdeps/unix/sysv/linux/configure: Regenerated.
18215         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
18216         value so it's not diagnosed as unused.
18218         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
18219         thing) with "ifeq ($(subdir),rt)".
18221 2014-07-03  Richard Henderson  <rth@redhat.com>
18223         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
18224         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
18225         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
18227         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
18228         (math_force_eval): New.
18230         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
18231         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
18233         * sysdeps/alpha/fpu/s_round.c: Remove file.
18234         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
18236         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
18237         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
18238         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
18239         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
18240         (_dl_start, print_statistics): Likewise.
18241         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
18242         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
18244         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18245         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18246         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18247         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18248         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18249         (HP_SMALL_TIMING_AVAIL): Define.
18250         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18251         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18252         (HP_SMALL_TIMING_AVAIL): Define.
18253         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18254         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18256         * sysdeps/aarch64/hp-timing.h: New file.
18258         * sysdeps/generic/hp-timing.h: Remove dead comment.
18259         * sysdeps/generic/hp-timing-common.h: New file.
18260         * sysdeps/alpha/hp-timing.h: Include it.
18261         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
18262         * sysdeps/i386/i686/hp-timing.h: Likewise.
18263         * sysdeps/ia64/hp-timing.h: Likewise.
18264         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18265         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18266         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18267         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18268         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
18269         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
18270         (hp_timing_t): New.
18272         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
18273         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
18274         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
18275         * elf/rtld.c (_dl_start_final): Likewise.
18276         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
18277         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18278         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18279         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18280         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18281         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18282         (HP_TIMING_DIFF_INIT): Remove.
18283         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18284         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18285         (HP_TIMING_DIFF_INIT): Remove.
18286         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18287         * sysdeps/i386/i686/hp-timing.c: Remove file.
18288         * sysdeps/x86_64/hp-timing.c: Remove file.
18289         * sysdeps/ia64/hp-timing.c: Remove file.
18290         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
18291         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
18292         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
18293         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
18295         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
18296         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
18297         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
18298         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18299         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18300         (HP_TIMING_ACCUM): Remove.
18301         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18302         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
18303         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18305         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
18306         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
18307         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
18308         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
18309         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
18310         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18311         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
18312         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18314         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
18316 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
18318         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
18320 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18322         Sync up with gettext.
18323         * intl/loadmsgcat.c: Define O_BINARY if not defined.
18324         [_MSC_VER]: Include malloc.h
18325         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
18326         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
18327         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
18328         TEMP_FAILURE_RETRY.  Cast return of alloca.
18329         [!_LIBC] Call gl_rwlock_init.
18330         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
18332 2014-07-02  Roland McGrath  <roland@hack.frob.com>
18334         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
18335         before checking its value.
18337 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18339         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
18341         * debug/memcpy_chk.c: Don't include pagecopy.h.
18342         * debug/mempcpy_chk.c: Likewise.
18343         * string/memcpy.c: Likewise.
18344         * string/memmove.c: Likewise.
18345         * sysdeps/powerpc/memmove.c: Likewise.
18346         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
18347         definition of PAGE_COPY_FWD_MAYBE here...
18348         * sysdeps/generic/pagecopy.h: ... from here.
18349         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
18351 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18352             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18354         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
18355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
18356         optimizations.
18357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18358         (__libc_ifunc_impl_list): Likewise.
18359         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
18360         multiarch strcat for PPC64.
18361         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
18362         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
18364 2014-07-02  Roland McGrath  <roland@hack.frob.com>
18366         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
18368 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18370         * intl/loadmsgcat.c: Remove declaration of
18371         get_sysdep_segment_value.
18372         (get_sysdep_segment_value): Use ISO C style.
18373         (_nl_load_domain): Use ISO C style.  Get rid of redundant
18374         semicolon.  Fix typo and formatting in comment.
18375         (_nl_unload_domain): Use ISO C style.
18377         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
18379 2014-07-02  Will Newton  <will.newton@linaro.org>
18381         * malloc/obstack.c: Merge from gnulib master.
18382         [HAVE_CONFIG_H]: Remove conditional code.
18383         [!_LIBC]: Include config.h.
18384         [!ELIDE_CODE]: Don't include inttypes.h, include
18385         stdint.h unconditionally.
18386         (print_and_abort): Mark as _Noreturn.
18387         (_obstack_allocated_p): Mark as __attribute_pure__.
18388         (obstack_free): Rename to __obstack_free.
18389         [!__attribute__]: Remove conditional code.
18390         * malloc/obstack.h: Merge from gnulib master.
18391         [__cplusplus]: Move conditional down.
18392         [!__attribute_pure__]: Define __attribute_pure__ here
18393         if it is not already defined.
18394         (_obstack_memory_used): Mark as __attribute_pure__.
18395         [!__obstack_free]: Define as obstack_free.
18396         [__GNUC__]: Remove check for ancient NeXT gcc.
18398 2014-07-02  Will Newton  <will.newton@linaro.org>
18399             Paul Eggert  <eggert@cs.ucla.edu>
18401         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
18403 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18405         * resolv/gethnamaddr.c: Add comment warning that the file is
18406         not maintained.
18408 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
18410         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
18411         entries.
18413         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
18414         entry for aio_cancel and aio_cancel64.
18415         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
18416         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
18417         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
18418         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
18419         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
18420         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
18421         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
18422         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
18423         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
18424         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18425         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
18426         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
18427         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
18429 2014-07-01  Roland McGrath  <roland@hack.frob.com>
18431         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
18432         * nptl/pthread_mutex_lock.c: Likewise.
18433         * nptl/pthread_mutex_timedlock.c: Likewise.
18434         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
18436 2014-07-01  Richard henderson  <rth@redhat.com>
18438         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
18439         (__isnan, __isnanl): Remove.
18440         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
18442         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18444 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
18446         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18448 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18450         * resolv/nss_dns/dns-host.c (getanswer_r)
18451         [MULTI_PTRS_ARE_ALIASES]: Remove code.
18453 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
18455         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18456         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18457         undefine.
18458         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
18459         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
18461 2014-07-01  Roland McGrath <roland@hack.frob.com>
18463         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
18464         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18466         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
18467         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
18469         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18470         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
18471         ... here.
18472         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
18473         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
18475         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18476         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18477         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18478         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18480         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18481         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18482         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18483         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18484         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18485         Moved ...
18486         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18487         ... here.
18488         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18489         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18490         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18491         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18492         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18493         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18494         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18495         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18496         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18497         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18498         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18499         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18500         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18501         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18502         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18503         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18504         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18505         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18506         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18507         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18508         ... here.
18509         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18510         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18511         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18512         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18513         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18514         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18515         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18516         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18518 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
18520         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18521         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18522         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18523         Add sysdep.
18525 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18527         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18529 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18531         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18532         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18534         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18536         * sysdeps/arm/libm-test-ulps: Regenerated.
18538 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18539             Roland McGrath <roland@hack.frob.com>
18541         * test-skeleton.c (signal_handler): Kill the whole process group
18542         before killing the child individually.
18543         (main): Report any failure on `setpgid'.
18545 2014-06-30  Roland McGrath  <roland@hack.frob.com>
18547         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18548         from _TLS_H to _ARM_NPTL_TLS_H.
18549         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18550         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18552 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
18554         [BZ #16539]
18555         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18556         (__expm1l): Return argument unchanged when small but not
18557         subnormal.
18559         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18560         include macro name.
18561         (_FP_UNPACK_RAW_1_P): Likewise.
18562         (_FP_PACK_RAW_1): Likewise.
18563         (_FP_PACK_RAW_1_P): Likewise.
18564         (_FP_MUL_MEAT_1_wide): Likewise.
18565         (_FP_MUL_MEAT_DW_1_hard): Likewise.
18566         (_FP_MUL_MEAT_1_hard): Likewise.
18567         (_FP_DIV_MEAT_1_imm): Likewise.
18568         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18569         (_FP_DIV_MEAT_1_udiv): Likewise.
18570         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18571         (_FP_UNPACK_RAW_2): Likewise.
18572         (_FP_UNPACK_RAW_2_P): Likewise.
18573         (_FP_PACK_RAW_2): Likewise.
18574         (_FP_PACK_RAW_2_P): Likewise.
18575         (_FP_MUL_MEAT_DW_2_wide): Likewise.
18576         (_FP_MUL_MEAT_2_wide): Likewise.
18577         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18578         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18579         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18580         (_FP_MUL_MEAT_2_gmp): Likewise.
18581         (_FP_DIV_MEAT_2_udiv): Likewise.
18582         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18583         (_FP_FRAC_SRL_4): Likewise.
18584         (_FP_FRAC_SRST_4): Likewise.
18585         (_FP_FRAC_SRS_4): Likewise.
18586         (_FP_UNPACK_RAW_4): Likewise.
18587         (_FP_UNPACK_RAW_4_P): Likewise.
18588         (_FP_PACK_RAW_4): Likewise.
18589         (_FP_PACK_RAW_4_P): Likewise.
18590         (_FP_MUL_MEAT_DW_4_wide): Likewise.
18591         (_FP_MUL_MEAT_4_wide): Likewise.
18592         (_FP_MUL_MEAT_4_gmp): Likewise.
18593         (umul_ppppmnnn): Likewise.
18594         (_FP_DIV_MEAT_4_udiv): Likewise.
18595         (__FP_FRAC_ADD_4): Likewise.
18596         (__FP_FRAC_SUB_3): Likewise.
18597         (__FP_FRAC_SUB_4): Likewise.
18598         (__FP_FRAC_DEC_3): Likewise.
18599         (__FP_FRAC_DEC_4): Likewise.
18600         (__FP_FRAC_ADDI_4): Likewise.
18601         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18602         (_FP_FRAC_SRL_8): Likewise.
18603         (_FP_FRAC_SRS_8): Likewise.
18605         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18606         include macro name.
18607         (FP_UNPACK_RAW_EP): Likewise.
18608         (FP_PACK_RAW_E): Likewise.
18609         (FP_PACK_RAW_EP): Likewise.
18610         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18611         (_FP_ISSIGNAN): Likewise.
18612         (_FP_ADD_INTERNAL): Likewise.
18613         (_FP_FMA): Likewise.
18614         (_FP_CMP): Likewise.
18615         (_FP_SQRT): Likewise.
18616         (_FP_TO_INT): Likewise.
18617         (_FP_FROM_INT): Likewise.
18618         (FP_EXTEND): Likewise.
18619         (_FP_DIV_MEAT_N_loop): Likewise.
18621 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
18623         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18624         throughout.
18626 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
18628         [BZ #17097]
18629         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18630         result with correct sign in case of exponents that produce
18631         overflow except for X very close to 1.
18633 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
18635         mktime: merge #if/#ifdef usage from glibc
18636         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18637         as that works with both Glibc's and Gnulib's style.
18638         See thread starting at Siddhesh Poyarekar's bug report at:
18639         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18641 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18643         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18644         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18645         * sysdeps/tile/tilegx/memmove.c: Remove file.
18647 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
18649         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18650         abi-name definition.
18651         * scripts/soversions.awk: Do not handle or generate ABI lines.
18652         * shlib-versions: Remove ABI entries.
18653         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18654         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18656 2014-06-27  Roland McGrath  <roland@hack.frob.com>
18658         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18659         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18660         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18661         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18662         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18663         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18664         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18665         Moved ...
18666         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18667         ... here.
18668         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18669         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18670         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18671         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18672         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18673         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18674         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18675         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18676         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18677         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18678         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18679         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18680         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18681         Moved ...
18682         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18683         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18684         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18685         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18686         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18687         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18688         Moved ...
18689         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18690         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18691         Moved ...
18692         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18693         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18694         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18695         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18696         Moved ...
18697         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18698         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18699         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18700         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18701         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18702         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18703         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18704         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18705         Moved ...
18706         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18707         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18708         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18709         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18710         Moved ...
18711         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18712         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18713         Moved ...
18714         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18715         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18716         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18717         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18718         Moved ...
18719         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18720         ... here.
18721         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18722         Identical file removed.
18723         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18724         Moved ...
18725         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18726         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18727         Identical file removed.
18728         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18729         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18730         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18731         Moved ...
18732         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18733         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18734         Identical file removed.
18735         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18736         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18737         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18738         Identical file removed.
18739         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18740         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18741         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18742         Identical file removed.
18743         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18744         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18745         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18746         Identical file removed.
18747         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18748         Moved ...
18749         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18750         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18751         Identical file removed.
18752         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18753         Moved ...
18754         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18755         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18756         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18757         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18758         Identical file removed.
18759         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18760         Moved ...
18761         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18762         ... here.
18763         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18764         Identical file removed.
18765         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18766         Moved ...
18767         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18768         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18769         Identical file removed.
18770         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18771         Moved ...
18772         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18773         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18774         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18775         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18776         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18777         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18778         Moved ...
18779         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18780         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18781         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18783         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18784         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18785         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18786         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18787         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18789 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
18791         [BZ #17092]
18792         * nscd/nscd.c (monitor_child): Return exit status of child
18793         instead of return value from wait syscall.
18795 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
18797         * configure.ac (libc_commonpagesize): Remove variable.
18798         (libc_relro_required): Likewise.
18799         (libc_cv_z_relro): Remove configure test.
18800         * configure: Regenerated.
18801         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18802         variable.
18803         (libc_relro_required): Likewise.
18804         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18805         (libc_relro_required): Likewise.
18806         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18807         (libc_relro_required): Likewise.
18808         * sysdeps/arm/preconfigure: Regenerated.
18809         * sysdeps/ia64/preconfigure: Remove file.
18810         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18811         variable.
18812         (libc_relro_required): Likewise.
18814         [BZ #16561]
18815         [BZ #16562]
18816         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18817         (__ieee754_yn): Set FE_TONEAREST mode internally and then
18818         recompute overflowing results in original rounding mode.
18819         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18820         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18821         recompute overflowing results in original rounding mode.
18822         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18823         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18824         recompute overflowing results in original rounding mode.
18825         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18826         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18827         recompute overflowing results in original rounding mode.
18828         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18829         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18830         recompute overflowing results in original rounding mode.
18831         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18832         (libc_feholdsetround_ctx): New macro.
18833         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18834         * sysdeps/i386/fpu/libm-test-ulps: Update.
18835         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18837 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18839         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18840         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18841         corresponding .cpsetup call.
18843 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18845         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18846         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18847         * sysdeps/arm/Makefile [$(subdir) = csu]
18848         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18849         (static-only-routines): Add aeabi_read_tp here.
18850         (shared-only-routines): Add libc-aeabi_read_tp here.
18851         (CFLAGS-libc-start.c): Add -fexceptions here.
18852         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
18853         (sysdep_routines, static-only-routines, shared-only-routines):
18854         Don't add to these here.
18855         (CFLAGS-libc-start.c): Likewise.
18857         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
18858         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18859         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
18860         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18861         * sysdeps/arm/Makefile [$(subdir) = rt]
18862         (librt-sysdep_routines, librt-shared-only-routines):
18863         Append rt-aeabi_unwind_cpp_pr1 here.
18864         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
18865         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
18866         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
18867         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18868         Append nptl-aeabi_unwind_cpp_pr1 here.
18869         (tests): Filter out tst-cleanupx4 here.
18870         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
18871         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
18872         Don't do those here.
18874 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18876         * scripts/list-sources.sh: Do not handle ports specially.
18878 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18880         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
18881         * sysdeps/arm/feupdateenv.c: Likewise.
18883         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
18885 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18887         * manual/texinfo.tex: Update to version 2014-05-05.10 with
18888         trailing whitespace removed.
18889         * scripts/config.guess: Update to version 2014-03-23.
18890         * scripts/config.sub: Update to version 2014-05-01
18891         * scripts/install-sh: Update to version 2013-12-25.23.
18892         * scripts/move-if-change: Update from gnulib.
18894 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18896         * debug/memmove_chk.c: Remove pagecopy.h include.
18898 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
18900         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
18901         identical to gnulib mktime.
18903 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
18905         * configure.ac: Do not test for machine being rs6000.  Do not test
18906         for powerpc*-*soft.
18907         * configure: Regenerated.
18909         [BZ #11505]
18910         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
18911         test.
18912         * configure: Regenerated.
18913         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
18914         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
18915         Remove configure test.
18916         * sysdeps/arm/configure: Regenerated.
18917         * sysdeps/nptl/configure.ac: Do not check
18918         libc_cv_asm_cfi_directives.
18919         * sysdeps/nptl/configure: Regenerated.
18920         * sysdeps/x86_64/nptl/configure.ac: Remove file.
18921         * sysdeps/x86_64/nptl/configure: Remove generated file.
18922         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
18923         unconditional.
18924         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
18926 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18928         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
18929         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
18930         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
18931         it is defined.
18933         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
18934         instead of whether it is defined.
18935         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
18936         * sysdeps/hppa/dl-machine.h: Likewise.
18937         * sysdeps/ia64/dl-machine.h: Likewise.
18938         * sysdeps/m68k/dl-machine.h: Likewise.
18939         * sysdeps/microblaze/dl-machine.h: Likewise.
18940         * sysdeps/mips/dl-machine.: Likewise.
18941         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18942         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18943         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18944         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18945         * sysdeps/sh/dl-machine.h: Likewise.
18946         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18947         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18948         * sysdeps/tile/dl-machine.h: Likewise.
18949         * sysdeps/x86_64/dl-machine.h: Likewise.
18951         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
18952         code.
18953         (verify_persistent_db): Likewise.
18955 2014-06-26  Roland McGrath  <roland@hack.frob.com>
18957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
18958         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
18959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
18960         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
18961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18962         Moved ...
18963         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
18964         ... here.
18965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
18966         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
18967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
18968         Identical file removed.
18969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
18970         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
18971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
18972         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
18973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
18974         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
18975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
18976         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
18977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
18978         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
18979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18980         Moved ...
18981         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
18982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
18983         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
18984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
18985         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
18986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18987         Moved ...
18988         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
18989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
18990         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
18991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
18992         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
18993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18994         Identical file removed.
18995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
18996         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
18997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
18998         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
18999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19000         Moved ...
19001         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
19002         ... here.
19003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
19004         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
19005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
19006         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
19007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
19008         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
19009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
19010         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
19011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
19012         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
19013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19014         Moved ...
19015         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
19016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
19017         Moved ...
19018         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
19019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
19020         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
19021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19022         Moved ...
19023         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
19024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
19025         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
19027         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
19028         folded into ...
19029         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
19030         * sysdeps/unix/sysv/linux/s390/Versions
19031         (libpthread: GLIBC_2.19): New version set.
19032         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
19033         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
19034         (librt: GLIBC_2.3.3): New version set.
19035         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
19036         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
19037         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
19038         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
19039         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
19040         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
19041         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
19042         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
19043         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
19044         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
19045         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
19046         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
19047         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
19048         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
19049         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
19050         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
19051         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
19052         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
19053         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
19054         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
19055         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
19056         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
19057         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
19058         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
19059         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
19060         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
19061         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
19062         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
19063         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
19064         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
19065         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
19066         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
19067         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
19068         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
19069         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
19070         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
19071         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
19072         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
19073         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
19074         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
19075         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
19076         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
19077         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
19078         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
19079         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
19081         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
19082         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
19083         (__libc_vfork): Define the function under this name.
19084         [!NOT_IN_libc] (__vfork): Make this an alias.
19085         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
19086         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
19087         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
19088         (__libc_vfork): Define the function under this name.
19089         [!NOT_IN_libc] (__vfork): Make this an alias.
19090         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
19091         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
19092         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
19093         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
19094         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
19095         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19097         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
19098         code that was previously under [RESET_PID].
19099         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
19100         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
19101         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
19103         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
19104         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
19105         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
19106         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
19107         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
19108         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
19109         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
19110         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
19111         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
19112         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
19113         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
19114         Moved ...
19115         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
19116         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
19117         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
19118         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
19119         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
19120         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
19121         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
19122         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
19123         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
19124         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
19125         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
19126         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
19127         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
19128         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
19129         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
19130         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
19131         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
19132         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
19133         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
19134         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
19135         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
19136         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
19137         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
19138         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
19139         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
19140         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
19141         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
19142         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
19143         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
19145 2014-06-25  Roland McGrath  <roland@hack.frob.com>
19147         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
19148         that was previously under [RESET_PID].
19149         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
19151 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19153         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
19154         not undefine and redefine.
19155         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
19156         [O_CLOEXEC]: Make code unconditional.
19157         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
19158         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
19159         <kernel-features.h>.
19160         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
19161         conditional variable definition.
19162         (shm_open) [O_CLOEXEC]: Make code unconditional.
19163         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
19164         code.
19166         * configure.ac (USE_REGPARMS): Don't define here.
19167         * configure: Regenerated.
19168         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
19169         * sysdeps/i386/configure: Regenerated.
19171         * nptl/createthread.c: Don't include kernel-features.h.
19172         * nptl/pthread_cancel.c: Likewise.
19173         * nptl/pthread_condattr_setclock.c: Likewise.
19174         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
19175         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
19176         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
19177         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
19178         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
19179         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
19180         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19181         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
19182         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19183         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
19184         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
19185         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
19186         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
19187         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
19188         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
19189         * nscd/gai.c: Likewise.
19190         * nss/nss_db/db-open.c: Likewise.
19191         * sysdeps/generic/ldsodefs.h: Likewise.
19192         * sysdeps/sh/nptl/tls.h: Likewise.
19193         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
19194         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
19195         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
19196         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
19197         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
19198         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19199         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
19200         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19201         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19202         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19203         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19204         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19205         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
19206         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
19207         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
19208         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
19209         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19210         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
19211         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
19212         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
19213         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19214         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19215         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
19216         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
19217         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19218         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19219         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
19220         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19221         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19222         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
19223         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
19224         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
19225         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
19226         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19227         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19228         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19229         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19230         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
19231         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
19232         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
19233         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19234         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
19235         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
19236         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19237         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
19238         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
19239         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
19240         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
19241         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
19242         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19243         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19244         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19245         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19246         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19247         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
19248         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19249         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19250         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
19251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
19253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
19254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
19255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
19256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
19262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
19263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
19264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
19265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
19271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
19272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
19273         * sysdeps/unix/sysv/linux/pread.c: Likewise.
19274         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
19275         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
19276         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
19277         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
19278         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
19279         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
19280         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
19281         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
19282         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19283         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
19284         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19285         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
19286         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
19287         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
19288         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
19289         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19290         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
19291         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
19292         * sysdeps/unix/sysv/linux/system.c: Likewise.
19293         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
19294         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19295         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19296         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19297         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19298         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19299         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19301         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
19302         * configure: Regenerated.
19303         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
19305         * configure.ac (base_machine): Do not set specially for particular
19306         machines here.
19307         * configure: Regenerated.
19308         * sysdeps/powerpc/preconfigure: Move machine and base_machine
19309         settings from configure.ac.
19310         * sysdeps/i386/preconfigure: New file.
19311         * sysdeps/s390/preconfigure: Likewise.
19312         * sysdeps/sh/preconfigure: Likewise.
19313         * sysdeps/sparc/preconfigure: Likewise.
19315 2014-06-25  Roland McGrath  <roland@hack.frob.com>
19317         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
19318         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
19319         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
19320         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
19321         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
19322         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
19323         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
19324         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
19325         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
19326         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
19327         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
19328         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
19329         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
19330         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
19331         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
19332         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
19333         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
19334         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
19335         * sysdeps/sparc/sparc64/Makefile: ... appended here.
19337         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
19338         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
19339         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
19340         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
19341         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
19342         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
19343         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
19344         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
19345         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
19346         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
19347         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
19348         * sysdeps/sparc/sparc32/sem_post.c: ... here.
19349         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
19350         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
19351         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
19352         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
19353         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
19354         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
19355         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
19356         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
19357         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
19358         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
19359         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
19360         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
19361         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
19362         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
19363         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
19364         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
19365         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
19366         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
19367         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
19368         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
19369         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
19370         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
19371         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
19372         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
19373         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
19374         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
19376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
19377         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
19378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
19379         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
19380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19381         Moved ...
19382         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
19383         ... here.
19384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
19385         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
19386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
19387         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
19388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
19389         Moved ...
19390         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
19391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
19392         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
19393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
19394         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
19395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
19396         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
19397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19398         Moved ...
19399         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
19400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19401         Moved ...
19402         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
19403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
19404         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
19405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19406         Moved ...
19407         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
19408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
19409         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
19410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
19411         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
19412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
19413         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
19414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
19415         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
19416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19417         Moved ...
19418         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
19419         ... here.
19420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
19421         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
19422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
19423         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
19424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
19425         Moved ...
19426         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
19427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
19428         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
19429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
19430         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
19431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
19432         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
19433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19434         Moved ...
19435         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
19436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19437         Moved ...
19438         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
19439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
19440         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
19441         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19442         Moved ...
19443         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
19444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
19445         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
19446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
19447         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
19449 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19451         * timezone/checktab.awk: Update from tzcode 2014e.
19452         * timezone/private.h: Likewise.
19453         * timezone/tzfile.h: Likewise.
19454         * timezone/zdump.c: Likewise.
19455         * timezone/zic.c: Likewise.
19457         * sysdeps/unix/sysv/linux/kernel-features.h
19458         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
19459         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
19460         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
19461         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19462         Remove conditional code.
19464 2014-06-25  Will Newton  <will.newton@linaro.org>
19466         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19467         (_dl_arm_cap_flags): Add HWCAP2 values.
19468         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
19469         (_DL_HWCAP_COUNT): Increase to 37.
19470         (_DL_HWCAP_LAST): New define.
19471         (_DL_HWCAP2_LAST): New define.
19472         (_dl_procinfo): Add support for printing
19473         AT_HWCAP2 entries.
19474         (_dl_string_hwcap): Use _dl_hwcap_string.
19476 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19480 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
19482         * README: Do not mention ports directory.
19484         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19485         Remove macro.
19486         * sysdeps/unix/sysv/linux/futimes.c: Do not include
19487         <kernel-features.h>.
19488         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19489         conditional variable definition.
19490         (__futimes): Update comment.
19491         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19492         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19494         [BZ #16560]
19495         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19496         arguments close to 0.
19497         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19498         Likewise.
19499         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19500         Likewise.
19501         * math/auto-libm-test-in: Add more tests of exp10.
19502         * math/auto-libm-test-out: Regenerated.
19503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19505         * sysdeps/unix/sysv/linux/kernel-features.h
19506         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19507         * sysdeps/unix/sysv/linux/readv.c: Do not include
19508         <kernel-features.h>.
19509         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19510         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19511         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19512         unconditional.
19513         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19514         conditional code.
19515         * sysdeps/unix/sysv/linux/writev.c: Do not include
19516         <kernel-features.h>.
19517         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19518         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19519         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19520         unconditional.
19521         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19522         conditional code.
19524 2014-06-25  Will Newton  <will.newton@linaro.org>
19526         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19527         comment changes throughout the file.  Remove checks
19528         for HAVE_*_H definitions that are not required.
19529         (__gen_tempname): Call abort if an unknown kind value is
19530         passed.
19532 2014-06-25  Andreas Schwab  <schwab@suse.de>
19534         [BZ #17086]
19535         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19536         scalbln, scalblnf, scalblnl in libc.
19538 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19540         [BZ #17086]
19541         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19542         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19543         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19545 2014-06-24  Roland McGrath  <roland@hack.frob.com>
19547         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19548         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19549         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19550         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19551         Update #include.
19552         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19553         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19554         Update #include.
19555         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19556         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19557         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19558         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19559         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19560         * sysdeps/x86/bits/pthreadtypes.h: ... here.
19561         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19562         * sysdeps/x86/bits/semaphore.h: ... here.
19563         * sysdeps/x86/nptl/elide.h: Moved ...
19564         * sysdeps/x86/elide.h: ... here.
19565         * sysdeps/x86_64/nptl/Implies: File removed.
19566         * sysdeps/i386/nptl/Implies: File removed.
19568 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
19570         [BZ #16539]
19571         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19572         return the argument for normal arguments with exponent below -64.
19573         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19574         Likewise.
19575         * math/auto-libm-test-in: Add another test of expm1.
19576         * math/auto-libm-test-out: Regenerated.
19578         [BZ #16287]
19579         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19580         calling __erfcl for arguments at least 16.
19581         * math/auto-libm-test-in: Add more tests of erf.
19582         * math/auto-libm-test-out: Regenerated.
19584         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19585         individual architectures.
19586         * sysdeps/unix/sysv/linux/configure: Regenerated.
19587         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19588         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19589         * sysdeps/unix/sysv/linux/powerpc/configure.ac
19590         (ldd_rewrite_script): Define variable.
19591         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19593         file.
19594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19595         generated file.
19596         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19597         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19598         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19599         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19600         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19601         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19602         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19603         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19605 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19607         [BZ #17084]
19608         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19609         Rename member __data.d to __data.__elision_data.
19611 2014-06-24  Wilco  <wdijkstr@arm.com>
19613         * NEWS: Add 16918 to fixed bug list.
19615 2014-06-24  Wilco  <wdijkstr@arm.com>
19617         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19619 2014-06-24  Wilco  <wdijkstr@arm.com>
19621         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19622         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19623         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19624         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19625         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19626         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19627         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19628         Use _FPU_MASK_RM.
19630 2014-06-24  Wilco  <wdijkstr@arm.com>
19632         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19634 2014-06-24  Wilco  <wdijkstr@arm.com>
19636         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19637         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19638         * sysdeps/arm/fesetround.c (fesetround): Remove space.
19639         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19641 2014-06-24  Wilco  <wdijkstr@arm.com>
19643         [BZ #16918]
19644         * sysdeps/arm/feupdateenv.c (feupdateenv):
19645         Rewrite to reduce FPSCR accesses and fix return value.
19647 2014-06-24  Wilco  <wdijkstr@arm.com>
19649         * sysdeps/arm/fclrexcpt.c (feclearexcept):
19650         Optimize to avoid unnecessary FPSCR writes.
19651         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19652         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19653         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19654         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19656 2014-06-24  Wilco  <wdijkstr@arm.com>
19658         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19659         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19660         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19661         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19662         Call libc_fetestexcept_vfp.
19663         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19664         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19665         __SOFTFP__ ifdef so that they can be built for softfp.
19667 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19669         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19670         argument type signed char.
19672         * Makerules (check-abi): Dump diff of symlist if the test
19673         fails.
19675 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19677         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19678         using abort.
19680         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19681         Remove unused variable ST.
19683 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
19685         [BZ #16354]
19686         [BZ #17061]
19687         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19688         small arguments before calling __expm1.
19689         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19690         small arguments before calling __expm1f.
19691         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19692         small arguments before calling __expm1l.
19693         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19694         Likewise.
19695         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19696         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
19697         spurious underflow for some cosh tests.
19698         * math/auto-libm-test-out: Regenerated.
19699         * sysdeps/i386/fpu/libm-test-ulps: Update.
19701         [BZ #17050]
19702         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19703         (__ieee754_y1): Set errno if return value overflows.
19704         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19705         (__ieee754_y1f): Set errno if return value overflows.
19706         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19707         (__ieee754_y1l): Set errno if return value overflows.
19708         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19709         (__ieee754_y1l): Set errno if return value overflows.
19710         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19711         * math/auto-libm-test-out: Regenerated.
19713         * math/gen-auto-libm-tests.c: Document use of
19714         ignore-zero-inf-sign.
19715         (input_flag_type): Add value flag_ignore_zero_inf_sign.
19716         (input_flags): Add ignore-zero-inf-sign.
19717         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19718         * math/gen-libm-test.pl (generate_testfile): Handle
19719         ignore-zero-inf-sign.
19720         * math/auto-libm-test-in: Mark some cpow tests with
19721         ignore-zero-inf-sign and some with xfail-rounding.
19722         * math/auto-libm-test-out: Regenerated.
19723         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19724         * sysdeps/i386/fpu/libm-test-ulps: Update.
19725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19727         [BZ #16315]
19728         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19729         overflowing or underflowing operations take place with sign of
19730         result.
19731         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19732         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19733         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19734         (__ieee754_pow): Recompute overflowing and underflowing results in
19735         original rounding mode.
19736         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19737         (__powl_helper): Allow negative argument X and scale negated value
19738         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
19739         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19740         overflowing or underflowing operations take place with sign of
19741         result.
19742         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19743         Include <math.h>.
19744         * math/auto-libm-test-in: Add more tests of pow.
19745         * math/auto-libm-test-out: Regenerated.
19746         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19747         (pow_tonearest_test_data): Remove.
19748         (pow_test_tonearest): Likewise.
19749         (pow_towardzero_test_data): Likewise.
19750         (pow_test_towardzero): Likewise.
19751         (pow_downward_test_data): Likewise.
19752         (pow_test_downward): Likewise.
19753         (pow_upward_test_data): Likewise.
19754         (pow_test_upward): Likewise.
19755         (main): Don't call removed functions.
19756         * sysdeps/i386/fpu/libm-test-ulps: Update.
19757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19759 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19762         Moved ...
19763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19765         Moved ...
19766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19768         Moved ...
19769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19771         Moved ...
19772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19774         File removed.
19775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19776         File removed.
19777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19778         File removed.
19779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19780         File removed.
19781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19782         File removed.
19783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19784         File removed.
19785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19786         File removed.
19787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19788         File removed.
19789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19790         File removed.
19791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19792         File removed.
19793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19794         File removed.
19795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19796         File removed.
19797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19798         Moved ...
19799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19801         Moved ...
19802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19803         ... here.
19804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19805         Moved ...
19806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19808         Moved ...
19809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19811         Moved ...
19812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19814         Moved ...
19815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19817         Moved ...
19818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19820         Moved ...
19821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19823         Moved ...
19824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19827         ... here.
19828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19829         Moved ...
19830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19832         Moved ...
19833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19834         ... here.
19835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19836         Moved ...
19837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19838         ... here.
19839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19840         Moved ...
19841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19842         ... here.
19843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19844         Moved ...
19845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19847         Moved ...
19848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
19851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19852         Moved ...
19853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
19854         ... here.
19855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19856         Moved ...
19857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
19858         ... here.
19859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19860         Moved ...
19861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
19862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19863         Moved ...
19864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
19865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19866         Moved ...
19867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
19868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19869         Moved ...
19870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
19871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19872         Moved ...
19873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
19874         ... here.
19875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19876         Moved ...
19877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
19878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19879         Moved ...
19880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
19881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19882         Moved ...
19883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
19884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19885         Moved ...
19886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
19887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
19888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
19889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19890         Moved ...
19891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
19892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19893         Moved ...
19894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
19895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19896         Moved ...
19897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
19898         ... here.
19899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19900         Moved ...
19901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
19902         ... here.
19903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19904         Moved ...
19905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
19906         ... here.
19907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19908         Moved ...
19909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
19910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19911         Moved ...
19912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
19913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19914         Moved ...
19915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
19916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19917         Moved ...
19918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
19919         ... here.
19920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19921         Moved ...
19922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
19923         ... here.
19924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19925         Moved ...
19926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
19927         ... here.
19928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19929         Moved ...
19930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
19931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19932         Moved ...
19933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
19935 2014-06-23  Will Newton  <will.newton@linaro.org>
19936             Wilco  <wdijkstr@arm.com>
19938         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
19939         implementation.  Include get-rounding-mode.h.
19940         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
19941         [!libc_feholdsetround_noex_ctx]: Define
19942         libc_feholdsetround_noex_ctx.
19943         [!libc_feholdsetround_noexf_ctx]: Define
19944         libc_feholdsetround_noexf_ctx.
19945         [!libc_feholdsetround_noexl_ctx]: Define
19946         libc_feholdsetround_noexl_ctx.
19947         (libc_feholdsetround_ctx): New function.
19948         (libc_feresetround_ctx): New function.
19949         (libc_feholdsetround_noex_ctx): New function.
19950         (libc_feresetround_noex_ctx): New function.
19952 2014-06-23  Roland McGrath  <roland@hack.frob.com>
19954         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
19955         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
19956         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
19957         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
19958         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
19959         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
19961         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
19962         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
19963         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
19964         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
19965         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
19966         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
19967         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
19968         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
19969         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
19970         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
19971         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
19972         Moved ...
19973         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
19974         ... here.
19975         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
19976         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
19977         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
19978         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
19979         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
19980         Moved ...
19981         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
19982         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
19983         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
19984         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
19985         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
19986         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
19987         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
19988         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
19989         Moved ...
19990         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
19991         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
19992         Moved ...
19993         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
19994         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
19995         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
19996         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
19997         Moved ...
19998         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
19999         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
20000         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
20001         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
20002         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
20003         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
20004         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
20005         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
20006         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
20007         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
20008         Moved ...
20009         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
20010         ... here.
20011         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
20012         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
20013         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
20014         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
20015         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
20016         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
20017         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
20018         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
20019         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
20020         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
20021         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
20022         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
20023         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
20024         Moved ...
20025         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
20026         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
20027         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
20028         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
20029         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
20030         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
20031         Moved ...
20032         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
20033         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
20034         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
20035         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
20036         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
20038         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
20039         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
20040         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
20041         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
20042         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
20043         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
20044         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
20045         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
20046         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
20047         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
20048         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
20049         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
20050         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
20051         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
20052         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
20053         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
20054         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
20055         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
20056         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
20057         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
20058         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
20059         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
20060         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
20061         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
20062         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
20063         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
20064         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
20065         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
20067 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
20069         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
20070         (FALLOC_FL_COLLAPSE_RANGE): New macro.
20071         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
20072         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
20073         (IPV6_PMTUDISC_INTERFACE): Likewise.
20074         (IPV6_PMTUDISC_OMIT): Likewise.
20076 2014-06-23  Andreas Schwab  <schwab@suse.de>
20078         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
20079         Remove unused errout label.
20081 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20083         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
20084         macro: hardware supports Vector Crypto instructions.
20086 2014-06-23  Will Newton  <will.newton@linaro.org>
20088         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
20089         rather than __builtin_expect.
20091         * elf/dl-lookup.c (undefined_msg): Remove variable.
20092         (_dl_lookup_symbol_x): Replace undefined_msg with string
20093         literal.
20095         * elf/dl-lookup.c (do_lookup_unique): New function.
20096         (do_lookup_x): Move STB_GNU_UNIQUE handling code
20097         to a separate function.
20099 2014-06-23  Andreas Schwab  <schwab@suse.de>
20101         [BZ #17079]
20102         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
20103         before reading the next line.
20105 2014-06-23  Will Newton  <will.newton@linaro.org>
20107         * test-skeleton.c (signal_handler): Use printf and %m
20108         rather than perror.  Use printf rather than fprintf to
20109         stderr.  Use puts rather than fputs to stderr.
20110         (main): Likewise.
20112 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
20114         * nscd/nscd.c (thread_info_t): Remove typedef.
20115         (thread_info): Remove variable.
20117 2014-06-21  Allan McRae  <allan@archlinux.org>
20119         * NEWS: Mention CVE-2014-4043.
20121 2014-06-20  Roland McGrath  <roland@hack.frob.com>
20123         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
20124         * nptl/smp.h: ... here.
20126         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
20128         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
20129         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
20130         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
20131         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
20133         * nptl/allocatestack.c: Include <stack-aliasing.h>.
20134         * nptl/stack-aliasing.h: New file.
20135         * sysdeps/i386/i686/stack-aliasing.h: New file.
20136         * sysdeps/i386/i686/nptl/Makefile: File removed.
20137         * sysdeps/x86_64/stack-aliasing.h: New file.
20138         * sysdeps/x86_64/nptl/Makefile
20139         (CFLAGS-pthread_create.c): Variable removed.
20141         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
20142         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
20143         old file.
20144         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
20145         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
20146         old file.
20148 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
20150         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20151         (__ASSUME_SIGFRAME_V2): Remove macro.
20152         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
20153         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
20154         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
20155         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
20156         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
20157         Declare as function.  Remove conditional macro definitions.
20158         (__default_rt_sa_restorer): Likewise.
20159         (__default_sa_restorer_v1): Remove declaration.
20160         (__default_sa_restorer_v2): Likewise.
20161         (__default_rt_sa_restorer_v1): Likewise.
20162         (__default_rt_sa_restorer_v2): Likewise.
20163         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
20164         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
20165         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
20167 2014-06-20  Roland McGrath  <roland@hack.frob.com>
20169         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
20170         (libpthread-routines): Add sysdep.
20171         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
20172         * sysdeps/unix/sysv/linux/sparc/Versions
20173         (libpthread: GLIBC_2.3.3): New version set.
20174         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
20175         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
20176         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
20177         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
20178         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
20179         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
20180         Moved ...
20181         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
20182         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
20183         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
20184         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
20185         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
20186         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
20187         * sysdeps/sparc/nptl/sem_init.c: ... here.
20188         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
20189         * sysdeps/sparc/nptl/sem_post.c: ... here.
20190         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
20191         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
20192         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
20193         * sysdeps/sparc/nptl/sem_wait.c: ... here.
20194         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
20195         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
20196         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
20197         (libpthread-routines): Add cpu_relax.
20198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
20199         File removed.
20200         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
20201         (librt: GLIBC_2.3.3): New version set.
20202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
20203         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
20204         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
20205         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
20206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
20207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
20208         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
20209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
20210         Moved ...
20211         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
20212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
20213         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
20214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
20215         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
20216         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
20217         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
20218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
20219         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
20220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
20221         Moved ...
20222         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
20223         Update #include.
20224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
20225         Moved ...
20226         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
20227         Update #include.
20228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
20229         Moved ...
20230         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
20231         Update #include.
20232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
20233         Moved ...
20234         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
20235         Update #include.
20236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
20237         Moved ...
20238         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
20239         Update #include.
20240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
20241         Moved ...
20242         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
20243         Update #include.
20244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
20245         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
20246         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
20247         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
20248         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
20249         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
20250         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
20251         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
20252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
20253         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
20254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20255         Moved ...
20256         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
20257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
20258         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
20259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
20260         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
20262 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20264         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
20265         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
20266         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20267         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
20268         * nscd/nscd.c: Likewise.
20269         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
20270         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
20271         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
20272         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
20274         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
20275         <kernel-features.h>.
20276         (init_mq_netlink): Remove conditional have_sock_cloexec
20277         definitions.  Remove code conditional on have_sock_cloexec < 0.
20278         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
20279         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
20280         * sysdeps/unix/sysv/linux/opensock.c: Do not include
20281         <kernel-features.h>.
20282         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
20283         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
20285 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20288         Add tests for memset_chk and memset.
20290         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
20291         with AVX2_Usable.
20293 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
20295         [BZ #16046]
20296         * elf/tst-dl-iter-static.c: New file.
20297         * elf/Makefile (tests-static): Add tst-dl-iter-static.
20299         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
20300         error.
20302 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20304         * sysdeps/unix/sysv/linux/kernel-features.h
20305         (__ASSUME_F_GETOWN_EX): Remove macro.
20306         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
20307         <kernel-features.h>.
20308         (miss_F_GETOWN_EX): Remove variable or macro.
20309         (do_fcntl): Do not check miss_F_GETOWN_EX.
20310         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
20312         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
20313         Remove macro.
20314         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
20315         [!__ASSUME_AT_RANDOM]: Remove conditional code.
20316         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
20318         * sysdeps/unix/sysv/linux/kernel-features.h
20319         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
20320         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
20321         [ADJ_OFFSET_SS_READ]: Make code unconditional.
20322         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
20324 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
20326         [BZ #17075]
20327         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
20328         Fix calculation of the symbol's value.
20329         * sysdeps/arm/tst-armtlsdescloc.c: New file.
20330         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
20331         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
20332         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
20333         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
20334         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
20335         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
20336         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
20337         (modules-names): Add `tst-armtlsdescmod',
20338         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
20339         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
20340         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20341         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
20342         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
20343         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20344         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
20345         ($(objpfx)tst-armtlsdescloc): New dependency.
20346         ($(objpfx)tst-armtlsdescextnow): Likewise.
20347         ($(objpfx)tst-armtlsdescextlazy): Likewise.
20348         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
20349         TLS scheme support.
20350         * sysdeps/arm/configure: Regenerate.
20352 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
20354         * include/fcntl.h (__atfct_seterrno): Remove prototype.
20355         (__atfct_seterrno_2): Likewise.
20356         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
20357         <kernel-features.h>.
20358         (__ASSUME_ATFCTS): Do not undefine and redefine.
20359         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
20360         (__have_atfcts): Remove conditional definition.
20361         (__fxstatat([__NR_fstatat64]: Make code unconditional.
20362         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
20363         unreachable if [__ASSUME_ATFCTS].
20364         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
20365         not undefine and redefine.
20366         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
20367         <kernel-features.h>.
20368         (faccessat) [__NR_faccessat]: Make code unconditional.
20369         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
20370         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
20371         <kernel-features.h>.
20372         (fchmodat) [__NR_fchmodat]: Make code unconditional.
20373         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20374         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
20375         <kernel-features.h>.
20376         (fchownat) [__NR_fchownat]: Make code unconditional.
20377         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
20378         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
20379         <kernel-features.h>.
20380         (futimesat) [__NR_futimesat]: Make code unconditional.
20381         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
20382         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20383         <kernel-features.h>.
20384         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20385         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20386         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20387         <kernel-features.h>.
20388         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
20389         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20390         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
20391         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20392         <kernel-features.h>.
20393         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
20394         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20395         * sysdeps/unix/sysv/linux/linkat.c: Do not include
20396         <kernel-features.h>.
20397         (linkat) [__NR_linkat]: Make code unconditional.
20398         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20399         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
20400         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
20401         <kernel-features.h>.
20402         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
20403         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20404         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
20405         <kernel-features.h>.
20406         (mkdirat) [__NR_mkdirat]: Make code unconditional.
20407         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
20408         * sysdeps/unix/sysv/linux/openat.c: Do not include
20409         <kernel-features.h>.
20410         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
20411         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
20412         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
20413         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
20414         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
20415         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
20416         <kernel-features.h>.
20417         (readlinkat) [__NR_readlinkat]: Make code unconditional.
20418         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
20419         result of INLINE_SYSCALL directly, not via int variable.
20420         * sysdeps/unix/sysv/linux/renameat.c: Do not include
20421         <kernel-features.h>.
20422         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
20423         (renameat) [__NR_renameat]: Make code unconditional.
20424         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
20425         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
20426         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
20427         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
20428         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
20429         (__ASSUME_ATFCTS): Do not undefine and redefine.
20430         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
20431         <kernel-features.h>.
20432         (symlinkat) [__NR_symlinkat]: Make code unconditional.
20433         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20434         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
20435         <kernel-features.h>.
20436         (unlinkat) [__NR_unlinkat]: Make code unconditional.
20437         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20438         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
20439         (__ASSUME_ATFCTS): Do not undefine and redefine.
20440         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20441         <kernel-features.h>.
20442         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20443         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20444         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20445         <kernel-features.h>.
20446         (__xmknodat) [__NR_mknodat]: Make code unconditional.
20447         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20449 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
20451         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
20453 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
20455         [BZ #17069]
20456         * posix/regcomp.c (parse_reg_exp): Deallocate partially
20457         constructed tree before returning error.
20458         * posix/bug-regexp36.c: Expand test case.
20460 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20462         [BZ #6803]
20463         * math/libm-test.inc (scalbln_test_date):
20464         Add errno expectations.
20465         * math/w_scalblnf.c: New File.
20466         Add wrapper which checks for setting errno to ERANGE.
20467         Add weak_alias for corresponding scalbln function.
20468         * math/w_scalbln.c: Likewise.
20469         * math/w_scalblnl.c: Likewise.
20470         * math/Makefile (libm-calls): Add w_scalbln.
20471         * sysdeps/ieee754/flt-32/s_scalblnf.c:
20472         Remove weak_alias for corresponding scalbln function.
20473         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20474         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20475         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20476         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20477         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20478         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20479         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20480         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20481         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20482         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20483         Remove long_double_symbol for scalblnl function in libm, libc.
20484         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20485         Add wrapper which checks for setting errno to ERANGE.
20486         Add long_double_symbol for scalblnl function in libm, libc.
20487         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20488         Remove long_double_symbol for scalblnl in libm.
20489         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20490         Add wrapper which checks for setting errno to ERANGE.
20491         Add long_double_symbol for scalblnl function in libm.
20492         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20493         Do not use wrapper because of own implementation.
20495 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
20497         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20498         3 bytes for __pad1 for x32.
20499         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20501 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
20502             H.J. Lu  <hongjiu.lu@intel.com>
20504         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20505         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20506         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20507         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20508         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20510 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
20512         [BZ #17069]
20513         * posix/regcomp.c (parse_expression): Deallocate partially
20514         constructed tree before returning error.
20515         * posix/Makefile.c (tests): Add bug-regex36.
20516         (generated): Add bug-regex36.mtrace.
20517         (tests-special): Add $(objpfx)bug-regex36-mem.out
20518         (bug-regex36-ENV): New variable.
20519         ($(objpfx)bug-regex36-mem.out): New rule.
20520         * posix/bug-regex36.c: New file.
20522 2014-06-19  Will Newton  <will.newton@linaro.org>
20524         * malloc/malloc.c (systrim): If extra is zero then return
20525         early.
20527 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20529         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20531 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
20533         * sysdeps/aarch64/strchr.S: New file.
20535 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20537         [BZ #17022]
20538         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20539         from arguments -2 or below.
20540         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20541         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20543 2014-06-18  Andreas Schwab  <schwab@suse.de>
20545         [BZ #17062]
20546         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20547         of a bracket expr not to run off the end of the string.
20548         * posix/Makefile (tests): Add tst-fnmatch3.
20549         * posix/tst-fnmatch3.c: New file.
20551 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
20553         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20554         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20555         [$(cross-compiling) = no]: Likewise.
20556         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20557         [$(cross-compiling) = no]: Likewise.
20559 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20561         [BZ #17031]
20562         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20563         double, adjusted for any remainder from the high double.
20564         * math/libm-test.inc (nearbyint): Add tests.
20565         (rint): Likewise.
20567 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20569         * nptl/sysdeps/powerpc/Makefile: Moved ...
20570         * sysdeps/powerpc/nptl/Makefile: ... here.
20571         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20572         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20573         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20574         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20575         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20576         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20577         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20578         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20579         * nptl/sysdeps/powerpc/tls.h: Moved ...
20580         * sysdeps/powerpc/nptl/tls.h: ... here.
20582 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
20584         [BZ #16681]
20585         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20586         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20587         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20588         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20589         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20590         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20591         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20592         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20593         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20595 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
20597         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20599 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
20601         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20602         defined operator.
20604         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20605         $TIMEOUTFACTOR.
20607 2014-06-16  Florian Weimer  <fweimer@redhat.com>
20609         [BZ #17058]
20610         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20611         non-executed part of the test.
20613 2014-06-16  Andreas Schwab  <schwab@suse.de>
20615         * string/bits/string2.h (strdup, strndup): Update feature guard.
20617 2014-06-14  David S. Miller  <davem@davemloft.net>
20619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20621 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
20623         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20624         that was previously under [RESET_PID].
20625         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20627         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20628         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20629         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20630         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20631         (__libc_vfork): New strong alias.
20632         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20634 2014-06-14 Andi Kleen  <ak@linux.intel.com>
20636         * sysdeps/generic/elide.h: New file.
20638 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20640         * Makefile (installed-headers): Adjust path of pthread.h header.
20642 2014-06-13  Roland McGrath  <roland@hack.frob.com>
20644         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20645         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20646         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20647         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20649         * nptl/sysdeps/s390/Makefile: Moved ...
20650         * sysdeps/s390/nptl/Makefile: ... here.
20651         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20652         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20653         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20654         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20655         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20656         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20657         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20658         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20659         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20660         * sysdeps/s390/nptl/pthreaddef.h: ... here.
20661         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20662         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20663         * nptl/sysdeps/s390/tls.h: Moved ...
20664         * sysdeps/s390/nptl/tls.h: ... here.
20666         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20667         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20669 2014-06-13  David S. Miller  <davem@davemloft.net>
20671         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20673         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20674         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20675         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20677         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20678         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20679         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20680         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20681         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20682         Remove RESET_PID cpp guards.
20683         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20684         Remove RESET_PID cpp guards.
20685         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20687 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
20689         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20690         __sp to uintptr_t.
20692 2014-06-13  Andi Kleen  <ak@linux.intel.com>
20694         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20695         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20696         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20697         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20698         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20699         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20700         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20701         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20702         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20703         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20704         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20705         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20706         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20707         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20708         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20709         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20710         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20711         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20712         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20713         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20715         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20716         (pthread_rwlock_rdlock): Add elision.
20717         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20718         (pthread_rwlock_wrlock): Add elision.
20719         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20720         (pthread_rwlock_trywrlock): Add elision.
20721         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20722         (pthread_rwlock_tryrdlock): Add elision.
20723         * nptl/pthread_rwlock_unlock.c: Include elide.h.
20724         (pthread_rwlock_tryrdlock): Add elision unlock.
20725         * nptl/sysdeps/pthread/pthread.h:
20726         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20727         (PTHREAD_RWLOCK_INITIALIZER,
20728         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20729         Handle new elision field.
20730         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20731         * sysdeps/arm/nptl/bits/pthreadtypes.h
20732         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20733         * sysdeps/sh/nptl/bits/pthreadtypes.h
20734         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20735         * sysdeps/tile/nptl/bits/pthreadtypes.h
20736         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20737         * sysdeps/a/nptl/bits/pthreadtypes.h
20738         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20739         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20740         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20741         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20742         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20743         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20744         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20745         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20746         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20747         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20748         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20749         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20750         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20751         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20752         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20753         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20754         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20755         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20756         (elision_init): Set try_xbegin to zero when no RTM.
20757         * sysdeps/x86/nptl/bits/pthreadtypes.h
20758         (pthread_rwlock_t): Change __pad1 to __rwelision.
20759         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20761 2014-06-13  Andi Kleen  <ak@linux.intel.com>
20763         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20764         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20765         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20766         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20768 2014-06-13  Meador Inge  <meadori@codesourcery.com>
20770         [BZ #16996]
20771         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20772         that the cached result has been set before returning it.
20774 2014-06-12  Roland McGrath  <roland@hack.frob.com>
20776         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20777         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20778         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20779         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20780         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20781         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20783         * nptl/sysdeps/sparc/Makefile: Moved ...
20784         * sysdeps/sparc/nptl/Makefile: ... here.
20785         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20786         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20787         * nptl/sysdeps/sparc/tls.h: Moved ...
20788         * sysdeps/sparc/nptl/tls.h: ... here.
20789         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20790         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20791         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20792         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20793         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20794         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20795         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20796         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20797         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20798         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20799         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20800         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20801         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20802         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20803         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20804         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20805         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20806         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20807         Update #include.
20808         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20809         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20810         Update #include.
20811         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20812         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20813         Update #include.
20814         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20815         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20816         Update #include.
20818         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20820         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20821         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20823         * sysdeps/pthread/posix-timer.h: Include <list.h>.
20824         (struct list_links): Type removed.
20825         (struct thread_node, struct timer_node): Replace struct list_links
20826         with struct list_head.
20827         (list_unlink_ip): Likewise.
20828         * sysdeps/pthread/timer_routines.c
20829         (timer_free_list, thread_free_list, thread_active_list): Likewise.
20830         (list_append, list_insbefore): Likewise.
20831         (list_init): Function removed.
20832         (thread_init, init_module): Use INIT_LIST_HEAD instead.
20833         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20834         * sysdeps/pthread/Makefile: ... here, new file.
20836         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20837         * sysdeps/nptl/Implies: ... here.
20838         * sysdeps/unix/sysv/linux/Implies: Add nptl.
20839         * nptl/sysdeps/pthread/list.h: Moved ...
20840         * include/list.h: ... here.
20841         * nptl/sysdeps/pthread/createthread.c: Moved ...
20842         * nptl/createthread.c: ... here.
20843         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20844         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20845         * nptl/pt-longjmp.c: ... here.
20846         * nptl/sysdeps/pthread/Makefile: Moved ...
20847         * sysdeps/nptl/Makefile: ... here.
20848         * nptl/sysdeps/pthread/Subdirs: Moved ...
20849         * sysdeps/nptl/Subdirs: ... here.
20850         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
20851         * sysdeps/nptl/aio_misc.h: ... here.
20852         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
20853         * sysdeps/nptl/bits/libc-lock.h: ... here.
20854         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
20855         * sysdeps/nptl/bits/libc-lockP.h: ... here.
20856         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
20857         * sysdeps/nptl/bits/stdio-lock.h: ... here.
20858         * nptl/sysdeps/pthread/configure: Moved ...
20859         * sysdeps/nptl/configure: ... here.
20860         * nptl/sysdeps/pthread/configure.ac: Moved ...
20861         * sysdeps/nptl/configure.ac: ... here.
20862         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
20863         * sysdeps/nptl/gai_misc.h: ... here.
20864         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
20865         * sysdeps/nptl/librt-cancellation.c: ... here.
20866         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
20867         * sysdeps/nptl/malloc-machine.h: ... here.
20868         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
20869         * sysdeps/nptl/pthread-functions.h: ... here.
20870         * nptl/sysdeps/pthread/pthread.h: Moved ...
20871         * sysdeps/nptl/pthread.h: ... here.
20872         * nptl/sysdeps/pthread/setxid.h: Moved ...
20873         * sysdeps/nptl/setxid.h: ... here.
20874         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
20875         * sysdeps/nptl/sigfillset.c: ... here.
20876         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
20877         * sysdeps/nptl/tcb-offsets.h: ... here.
20878         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
20879         * sysdeps/nptl/tst-mqueue8x.c: ... here.
20880         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
20881         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
20882         * nptl/sysdeps/pthread/allocalim.h: Moved ...
20883         * sysdeps/pthread/allocalim.h: ... here.
20884         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
20885         * sysdeps/pthread/bits/sigthread.h: ... here.
20886         * nptl/sysdeps/pthread/flockfile.c: Moved ...
20887         * sysdeps/pthread/flockfile.c: ... here.
20888         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
20889         * sysdeps/pthread/ftrylockfile.c: ... here.
20890         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
20891         * sysdeps/pthread/funlockfile.c: ... here.
20892         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
20893         * sysdeps/pthread/posix-timer.h: ... here.
20894         * nptl/sysdeps/pthread/timer_create.c: Moved ...
20895         * sysdeps/pthread/timer_create.c: ... here.
20896         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
20897         * sysdeps/pthread/timer_delete.c: ... here.
20898         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
20899         * sysdeps/pthread/timer_getoverr.c: ... here.
20900         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
20901         * sysdeps/pthread/timer_gettime.c: ... here.
20902         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
20903         * sysdeps/pthread/timer_routines.c: ... here.
20904         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
20905         * sysdeps/pthread/timer_settime.c: ... here.
20906         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
20907         * sysdeps/pthread/tst-timer.c: ... here.
20908         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
20909         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
20911         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
20912         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
20914         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
20915         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
20916         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
20917         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
20918         Update #include target.
20919         * nptl/sysdeps/i386/i686/Makefile: Moved ...
20920         * sysdeps/i386/i686/nptl/Makefile: ... here.
20921         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
20922         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
20923         Update #include target.
20924         * nptl/sysdeps/i386/i686/tls.h: Moved ...
20925         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
20926         * nptl/sysdeps/i386/Makefile: Moved ...
20927         * sysdeps/i386/nptl/Makefile: ... here.
20928         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
20929         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
20930         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
20931         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
20932         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
20933         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
20934         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
20935         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
20936         * sysdeps/i386/nptl/pthreaddef.h: ... here.
20937         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
20938         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
20939         * nptl/sysdeps/i386/tls.h: Moved ...
20940         * sysdeps/i386/nptl/tls.h: ... here.
20942         * sysdeps/sh/Makefile [$(subdir) = csu]
20943         (gen-as-const-headers): Add tcb-offsets.sym.
20944         * nptl/sysdeps/sh/Makefile: File removed.
20945         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
20946         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
20947         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
20948         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
20949         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
20950         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
20951         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
20952         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
20953         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
20954         * sysdeps/sh/nptl/pthreaddef.h: ... here.
20955         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
20956         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
20957         * nptl/sysdeps/sh/tls.h: Moved ...
20958         * sysdeps/sh/nptl/tls.h: ... here.
20959         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
20960         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
20961         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
20962         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
20963         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
20964         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
20965         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
20966         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
20967         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
20968         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
20969         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
20970         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
20971         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
20972         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
20973         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
20974         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
20975         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
20976         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
20977         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
20978         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
20979         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
20980         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
20981         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
20982         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
20983         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
20984         Moved ...
20985         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
20986         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
20987         Moved ...
20988         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
20989         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
20990         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
20991         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
20992         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
20993         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
20994         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
20995         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
20996         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
20997         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
20998         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
20999         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
21000         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
21001         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
21002         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
21003         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
21004         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
21005         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
21006         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
21008 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21010         * posix/spawn_faction_addopen.c: Include string.h.
21012 2014-06-11  Roland McGrath  <roland@hack.frob.com>
21014         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
21015         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
21016         * nptl/sysdeps/x86_64/Makefile: Moved ...
21017         * sysdeps/x86_64/nptl/Makefile: ... here.
21018         * nptl/sysdeps/x86_64/configure: Moved ...
21019         * sysdeps/x86_64/nptl/configure: ... here.
21020         * nptl/sysdeps/x86_64/configure.ac: Moved ...
21021         * sysdeps/x86_64/nptl/configure.ac: ... here.
21022         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
21023         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
21024         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
21025         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
21026         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
21027         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
21028         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
21029         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
21030         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
21031         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
21032         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
21033         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
21034         * nptl/sysdeps/x86_64/tls.h: Moved ...
21035         * sysdeps/x86_64/nptl/tls.h: ... here.
21036         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
21037         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
21038         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
21039         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
21041         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
21043 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21047 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
21049         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
21050         type.
21051         [POSIX] (off_t): Likewise.
21052         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
21053         [POSIX] (S_ISBLK): Require macro.
21054         [POSIX] (S_ISCHR): Likewise.
21055         [POSIX] (S_ISDIR): Likewise.
21056         [POSIX] (S_ISFIFO): Likewise.
21057         [POSIX] (S_ISREG): Likewise.
21058         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
21059         optional-macro.
21060         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
21061         type.
21062         [POSIX] (time_t): Likewise.
21063         [POSIX] (timer_t): Likewise.
21065 2014-06-11  Florian Weimer  <fweimer@redhat.com>
21067         [BZ #17048]
21068         * posix/spawn_int.h (struct __spawn_action): Make the path string
21069         non-const to support deallocation.
21070         * posix/spawn_faction_addopen.c
21071         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
21072         * posix/spawn_faction_destroy.c
21073         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
21074         path in all spawn_do_open actions.
21075         * posix/tst-spawn.c (do_test): Exercise the copy operation in
21076         posix_spawn_file_actions_addopen.
21078 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
21080         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
21081         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
21082         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
21083         conditional code always true.
21084         (__libc_vfork): New alias.
21086 2014-06-11  Roland McGrath  <roland@hack.frob.com>
21088         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21089         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
21091         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
21093         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21094         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
21096         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
21097         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
21099         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21100         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
21102 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21104         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
21105         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
21106         multiarch strcmp for PPC64.
21107         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
21108         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
21109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
21110         multiarch optimizations.
21111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21112         (__libc_ifunc_impl_list): Likewise.
21114 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21116         * benchtests/scripts/validate_benchout.py: New script.
21117         * benchtests/Makefile (bench-func): Call it.
21118         * benchtests/scripts/benchout.schema.json: New file.
21120 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
21122         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
21123         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
21124         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
21125         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
21126         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
21127         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21128         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
21129         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
21130         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
21131         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
21132         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
21133         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
21134         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
21135         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
21136         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
21137         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
21138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
21139         Moved ...
21140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
21141         ... here.
21142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
21143         Moved ...
21144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
21145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
21146         Moved ...
21147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
21148         ... here.
21149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
21150         Moved ...
21151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
21152         ... here.
21153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
21154         Moved ...
21155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
21156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
21157         Moved ...
21158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
21159         ... here.
21160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
21161         Moved ...
21162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
21163         ... here.
21164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
21165         Moved ...
21166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
21167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
21168         Moved ...
21169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
21170         ... here.
21171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
21172         Moved ...
21173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
21174         ... here.
21175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
21176         Moved ...
21177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
21178         ... here.
21179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
21180         Moved ...
21181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
21182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
21183         Moved ...
21184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
21185         ... here.
21186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
21187         Moved ...
21188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
21189         ... here.
21190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
21191         Moved ...
21192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
21193         ... here.
21194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
21195         Moved ...
21196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
21197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
21198         Moved ...
21199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
21200         ... here.
21201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
21202         Moved ...
21203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
21204         ... here.
21205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
21206         Moved ...
21207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
21208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
21209         Moved ...
21210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
21211         ... here.
21212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
21213         Moved ...
21214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
21215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
21216         Moved ...
21217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
21218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
21219         Moved ...
21220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
21221         ... here.
21222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
21223         Moved ...
21224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
21225         ... here.
21226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
21227         Moved ...
21228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
21229         ... here.
21230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
21231         Moved ...
21232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
21233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
21234         Moved ...
21235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
21236         ... here.
21237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
21238         Moved ...
21239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
21240         ... here.
21241         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
21242         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
21243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
21244         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
21245         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
21246         Moved ...
21247         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21248         ... here.
21249         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
21250         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
21251         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
21252         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
21253         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
21254         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
21255         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
21256         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
21257         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
21258         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
21259         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
21260         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
21261         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
21262         Moved ...
21263         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
21264         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
21265         Moved ...
21266         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
21267         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
21268         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
21269         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
21270         Moved ...
21271         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
21272         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
21273         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
21274         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
21275         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
21276         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
21277         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
21279 2014-06-10  Wilco  <wdijkstr@arm.com>
21281         * math/test-fenv-return.c: New file.
21282         * math/Makefile: Add new test test-fenv-return.
21284 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
21286         [BZ #17042]
21287         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
21288         when x - 1 is zero.
21289         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
21290         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
21291         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
21292         0.0L for an argument of 1.0L.
21293         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21294         Likewise.
21295         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
21296         value when x - 1 is zero.
21297         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
21298         * sysdeps/i386/fpu/libm-test-ulps: Update.
21299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21301 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
21303         [BZ #15119]
21304         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
21306 2014-06-09  Roland McGrath  <roland@hack.frob.com>
21308         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
21309         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
21311 2014-06-09  Roland McGrath  <roland@hack.frob.com>
21313         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21314         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
21316         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21317         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
21319         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21320         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
21322         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21323         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
21325         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
21326         if not already defined.
21327         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
21328         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
21329         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
21330         (TLS_INIT_TP): Use it.
21331         (TLS_DEFINE_INIT_TP): New macro.
21332         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
21334 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
21336         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
21337         constant.
21338         [POSIX] (IXANY): Likewise.
21339         [POSIX] (OLCUC): Likewise.
21340         [POSIX || POSIX2008] (CBAUD): Do not allow.
21341         [POSIX || POSIX2008] (DEFECHO): Likewise.
21342         [POSIX || POSIX2008] (ECHOCTL): Likewise.
21343         [POSIX || POSIX2008] (ECHOKE): Likewise.
21344         [POSIX || POSIX2008] (ECHOPRT): Likewise.
21345         [POSIX || POSIX2008] (EXTA): Likewise.
21346         [POSIX || POSIX2008] (EXTB): Likewise.
21347         [POSIX || POSIX2008] (FLUSHO): Likewise.
21348         [POSIX || POSIX2008] (LOBLK): Likewise.
21349         [POSIX || POSIX2008] (PENDIN): Likewise.
21350         [POSIX || POSIX2008] (SWTCH): Likewise.
21351         [POSIX || POSIX2008] (VDISCARD): Likewise.
21352         [POSIX || POSIX2008] (VDSUSP): Likewise.
21353         [POSIX || POSIX2008] (VLNEXT): Likewise.
21354         [POSIX || POSIX2008] (VREPRINT): Likewise.
21355         [POSIX || POSIX2008] (VSTATUS): Likewise.
21356         [POSIX || POSIX2008] (VWERASE): Likewise.
21357         (B*): Change to B[0123456789]*.
21358         * conform/data/time.h-data [POSIX || UNIX98]
21359         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
21360         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21361         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
21362         [POSIX] (tm_*): Do not allow.
21364 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
21366         * Makefile (install): Don't set LANGUAGE.
21367         * Makefile.in (install): Likewise.
21368         * assert/Makefile (test-assert-ENV): Remove variable.
21369         (test-assert-perr-ENV): Likewise.
21370         * elf/Makefile (neededtest4-ENV): Likewise.
21371         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21372         [$(cross-compiling) = no]: Don't set LANGUAGE.
21373         * io/ftwtest-sh (LANG): Remove variable.
21374         * libio/Makefile (tst-widetext-ENV): Likewise.
21375         * manual/install.texi (Running make install): Don't refer to
21376         environment settings for make install.
21377         * INSTALL: Regenerated.
21378         * nptl/tst-tls6.sh: Don't set LANG.
21379         * posix/globtest.sh (LANG): Remove variable.
21380         * string/Makefile (tester-ENV): Likewise.
21381         (inl-tester-ENV): Likewise.
21382         (noinl-tester-ENV): Likewise.
21383         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21384         [$(cross-compiling) = no]: Don't set LANGUAGE.
21385         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
21386         without explicit environment settings.
21388 2014-06-06  Roland McGrath  <roland@hack.frob.com>
21390         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
21391         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
21392         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
21393         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
21395 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
21397         * crypt/crypt-private.h [DOS]: Add some includes taken from the
21398         other files in the crypt directory.
21399         * crypt/crypt.c: Remove duplicate includes.
21400         * crypt/crypt-entry.c: Likewise.
21401         * crypt/crypt_util.c: Likewise.
21403 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
21405         * Makeconfig (run-program-env): New variable.
21406         (run-program-prefix-before-env): Likewise.
21407         (run-program-prefix-after-env): Likewise.
21408         (run-program-prefix): Define in terms of new variables.
21409         (built-program-cmd-before-env): New variable.
21410         (built-program-cmd-after-env): Likewise.
21411         (built-program-cmd): Define in terms of new variables.
21412         (test-program-prefix-before-env): New variable.
21413         (test-program-prefix-after-env): Likewise.
21414         (test-program-prefix): Define in terms of new variables.
21415         (test-program-cmd-before-env): New variable.
21416         (test-program-cmd-after-env): Likewise.
21417         (test-program-cmd): Define in terms of new variables.
21418         * Rules (make-test-out): Use $(run-program-env).
21419         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
21420         (help): Do not mention environment variables.  Mention
21421         --timeoutfactor option.
21422         (timeoutfactor): New variable.
21423         (blacklist_exports): Remove function.
21424         (exports): Remove variable.
21425         (command): Do not include ${exports}.
21426         * manual/install.texi (Configuring and compiling): Do not mention
21427         test wrappers preserving environment variables.  Mention that last
21428         assignment to a variable must take precedence.
21429         * INSTALL: Regenerated.
21430         * benchtests/Makefile (run-bench): Use $(run-program-env).
21431         * catgets/Makefile ($(objpfx)test1.cat): Use
21432         $(built-program-cmd-before-env), $(run-program-env) and
21433         $(built-program-cmd-after-env).
21434         ($(objpfx)test2.cat): Do not specify environment variables
21435         explicitly.
21436         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
21437         $(run-program-env) and $(built-program-cmd-after-env).
21438         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
21439         $(run-program-env) and $(test-program-cmd-after-env).
21440         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
21441         explicitly.
21442         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
21443         run_program_env and test_program_cmd_after_env arguments.
21444         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
21445         * elf/tst-pathopt.sh: Use run_program_env argument.
21446         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
21447         $(test-wrapper-env) and $(run-program-env).
21448         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
21449         run_program_env arguments.
21450         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
21451         * intl/Makefile ($(objpfx)tst-gettext.out): Use
21452         $(test-program-prefix-before-env), $(run-program-env) and
21453         $(test-program-prefix-after-env).
21454         ($(objpfx)tst-gettext2.out): Likewise.
21455         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
21456         run_program_env and test_program_prefix_after_env arguments.
21457         * intl/tst-gettext2.sh: Likewise.
21458         * intl/tst-gettext4.sh: Do not set environment variables
21459         explicitly.
21460         * intl/tst-gettext6.sh: Likewise.
21461         * intl/tst-translit.sh: Likewise.
21462         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
21463         $(test-program-prefix-before-env), $(run-program-env) and
21464         $(test-program-prefix-after-env).
21465         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
21466         run_program_env and test_program_prefix_after_env arguments.
21467         * math/Makefile (run-regen-ulps): Use $(run-program-env).
21468         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
21469         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
21470         explicitly with each use of ${test_wrapper_env}.
21471         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
21472         $(test-program-prefix-before-env), $(run-program-env) and
21473         $(test-program-prefix-after-env).
21474         * posix/tst-getconf.sh: Do not set environment variables
21475         explicitly.
21476         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21477         run_program_env and test_program_prefix_after_env arguments.
21478         * stdio-common/tst-printf.sh: Do not set environment variables
21479         explicitly.
21480         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21481         $(test-program-prefix-before-env), $(run-program-env) and
21482         $(test-program-prefix-after-env).
21483         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21484         run_program_env and test_program_prefix_after_env arguments.
21485         Split $test calls into $test_pre and $test.
21486         * timezone/Makefile (build-testdata): Use
21487         $(built-program-cmd-before-env), $(run-program-env) and
21488         $(built-program-cmd-after-env).
21490 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21492         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21493         strlen for non SHARED builds.
21495 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21497         * nptl/allocatestack.c (check_list): Inlined function...
21498         (__reclaim_stacks): ... here.
21500 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21502         [BZ #15698]
21503         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21504         memory overrun.
21506 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
21508         * Rules (make-test-out): Include
21509         LOCPATH=$(common-objpfx)localedata in default environment.
21510         * debug/Makefile (tst-chk1-ENV): Remove variable.
21511         (tst-chk2-ENV): Likewise.
21512         (tst-chk3-ENV): Likewise.
21513         (tst-chk4-ENV): Likewise.
21514         (tst-chk5-ENV): Likewise.
21515         (tst-chk6-ENV): Likewise.
21516         (tst-lfschk1-ENV): Likewise.
21517         (tst-lfschk2-ENV): Likewise.
21518         (tst-lfschk3-ENV): Likewise.
21519         (tst-lfschk4-ENV): Likewise.
21520         (tst-lfschk5-ENV): Likewise.
21521         (tst-lfschk6-ENV): Likewise.
21522         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21523         (tst-iconv7-ENV): Likewise.
21524         * intl/Makefile (LOCPATH-ENV): Likewise.
21525         (tst-codeset-ENV): Likewise.
21526         (tst-gettext3-ENV): Likewise.
21527         (tst-gettext5-ENV): Likewise.
21528         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21529         (tst-fopenloc-ENV): Likewise.
21530         (tst-fgetws-ENV): Remove variable.
21531         (tst-ungetwc1-ENV): Likewise.
21532         (tst-ungetwc2-ENV): Likewise.
21533         (bug-ungetwc2-ENV): Likewise.
21534         (tst-swscanf-ENV): Likewise.
21535         (bug-ftell-ENV): Likewise.
21536         (tst-fgetwc-ENV): Likewise.
21537         (tst-fseek-ENV): Likewise.
21538         (tst-ftell-partial-wide-ENV): Likewise.
21539         (tst-ftell-active-handler-ENV): Likewise.
21540         (tst-ftell-append-ENV): Likewise.
21541         * posix/Makefile (tst-fnmatch-ENV): Likewise.
21542         (tst-regexloc-ENV): Likewise.
21543         (bug-regex1-ENV): Likewise.
21544         (tst-regex-ENV): Likewise.
21545         (tst-regex2-ENV): Likewise.
21546         (bug-regex5-ENV): Likewise.
21547         (bug-regex6-ENV): Likewise.
21548         (bug-regex17-ENV): Likewise.
21549         (bug-regex18-ENV): Likewise.
21550         (bug-regex19-ENV): Likewise.
21551         (bug-regex20-ENV): Likewise.
21552         (bug-regex22-ENV): Likewise.
21553         (bug-regex23-ENV): Likewise.
21554         (bug-regex25-ENV): Likewise.
21555         (bug-regex26-ENV): Likewise.
21556         (bug-regex30-ENV): Likewise.
21557         (bug-regex32-ENV): Likewise.
21558         (bug-regex33-ENV): Likewise.
21559         (bug-regex34-ENV): Likewise.
21560         (bug-regex35-ENV): Likewise.
21561         (tst-rxspencer-ENV): Likewise.
21562         (tst-rxspencer-no-utf8-ENV): Likewise.
21563         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21564         (tst-sscanf-ENV): Likewise.
21565         (tst-swprintf-ENV): Likewise.
21566         (tst-swscanf-ENV): Likewise.
21567         (test-vfprintf-ENV): Likewise.
21568         (scanf13-ENV): Likewise.
21569         (bug14-ENV): Likewise.
21570         (tst-grouping-ENV): Likewise.
21571         * stdlib/Makefile (tst-strtod-ENV): Likewise.
21572         (tst-strtod3-ENV): Likewise.
21573         (tst-strtod4-ENV): Likewise.
21574         (tst-strtod5-ENV): Likewise.
21575         (testmb2-ENV): Likewise./
21576         * string/Makefile (tst-strxfrm-ENV): Likewise.
21577         (tst-strxfrm2-ENV): Likewise.
21578         (bug-strcoll1-ENV): Likewise.
21579         (test-strcasecmp-ENV): Likewise.
21580         (test-strncasecmp-ENV): Likewise.
21581         * time/Makefile (tst-strptime-ENV): Likewise.
21582         (tst-ftime_l-ENV): Likewise.
21583         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21584         (tst-mbrtowc-ENV): Likewise.
21585         (tst-wcrtomb-ENV): Likewise.
21586         (tst-mbrtowc2-ENV): Likewise.
21587         (tst-c16c32-1-ENV): Likewise.
21588         (tst-mbsnrtowcs-ENV): Likewise.
21590 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
21592         * manual/resource.texi (How to get information about the memory
21593         subsystem?): Fix typo.
21594         Reported by Peon de la Parra Ivan <peon@keba.com>
21596 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
21598         [BZ #16882]
21599         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21600         (pthread_spin_lock): Branch out of spin loop to proper location.
21601         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21602         (pthread_spin_lock): Likewise.
21604         * nptl/tst-spin4.c: New test.
21605         * nptl/Makefile (tests): Add tst-spin4.
21607 2014-06-03  Andreas Schwab  <schwab@suse.de>
21609         [BZ #15946]
21610         * resolv/res_send.c (send_dg): Reload file descriptor after
21611         calling reopen.
21613 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
21615         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21617 2014-06-03  Richard Henderson  <rth@redhat.com>
21619         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21620         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21621         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21622         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
21623         in the SAVE_PID block.
21624         (__libc_vfork): New alias.
21625         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21627         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21628         child in registers, not on the stack.  Remove RESET_PID conditionals.
21629         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21631 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21633         * sysdeps/aarch64/libm-test-ulps: Regenerate.
21635 2014-06-03  Wilco  <wdijkstr@arm.com>
21637         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21638         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21639         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21640         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21641         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21642         Likewise.
21644 2014-06-03  Wilco  <wdijkstr@arm.com>
21646         * sysdeps/aarch64/fpu/math_private.h
21647         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21648         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21649         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21650         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21651         Fix declarations.
21653 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21655         * crypt/crypt-private.h: Include ufc-crypt.h.
21656         (__b64_from_24bit): Declare extern.
21657         * crypt/crypt_util.c(__b64_from_24bit): New function.
21658         (b64t): New static const variable.
21659         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21660         (b64t): Remove variable.
21661         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21662         * crypt/sha256-crypt.c: Include crypt-private.h.
21663         (b64t): Remove variable.
21664         (__sha256_crypt_r): Remove b64_from_24bit and replace
21665         with __b64_from_24bit.
21666         * crypt/sha512-crypt.c: Likewise.
21668 2014-06-02  Roland McGrath  <roland@hack.frob.com>
21670         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21671         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21672         Label the code __libc_vfork rather than __vfork.
21673         [!NOT_IN_libc] (vfork): Define as weak alias.
21674         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21675         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21676         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21678 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21680         * malloc/malloc.c (malloc_info): Fix format specifier for
21681         n_mmaps.
21683 2014-06-02  Wilco  <wdijkstr@arm.com>
21685         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21686         FPCR write.
21688 2014-06-02  Wilco  <wdijkstr@arm.com>
21690         [BZ #17009]
21691         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21692         Rewrite to reduce FPCR/FPSR accesses.
21694 2014-06-01  David S. Miller  <davem@davemloft.net>
21696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21698 2014-05-31  David S. Miller  <davem@davemloft.net>
21700         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21701         to occur in round to nearest mode when |x| >= 2.0
21703 2014-05-30  Richard Henderson  <rth@twiddle.net>
21705         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21706         (PSEUDO_RET_NOERRNO): Remove.
21707         (ret): Don't redefine.
21708         (ret_NOERRNO): Define in terms of ret.
21709         (ret_ERRVAL): Likewise.
21711         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21712         use of PSEUDO_RET; perform the error check directly.
21714 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
21716         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21717         with __int128_t.
21719 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21721         * malloc/malloc (malloc_info): Fix formatting.
21723 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21724             Roland McGrath  <roland@hack.frob.com>
21726         * malloc/malloc (malloc_info): Also print mmapped statistics.
21728 2014-05-30  Roland McGrath  <roland@hack.frob.com>
21730         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21731         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21733 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
21735         * malloc/malloc.c (malloc_info): Inline mi_arena.
21737 2014-05-29  Richard Henderson  <rth@twiddle.net>
21739         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21740         Remove comma before expanding ASM_ARGS_##nr.
21741         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21742         Make _x0 a strict output; make _x8 a strict input; adjust expansion
21743         of ASM_ARGS_##nr.
21744         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21745         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21746         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21747         (ASM_ARGS_1): Add leading comma.
21749         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21750         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21751         to __errno_location.
21752         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21753         Remove the expected plt for __errno_location.
21755         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21756         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21757         call to __read_tp.
21759         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21760         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
21761         it and break it down.
21762         (DOCARGS_0, DOCARGS_1): Do nothing.
21763         (DOCARGS_2): Update to store into the new stack frame.
21764         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21765         (UNDOCARGS_1): Update to restore from the new stack frame.
21766         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21767         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21769         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21770         (SINGLE_THREAD_P): New parameter for result regno.
21771         (PSEUDO): Update to match; use cbz instead of beq.
21773         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21774         Use ENTRY to define the _nocancel entry point.  Share the syscall
21775         and syscall error check paths with the cancel path.
21776         (PSEUDO_END): New.
21778         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21779         whitespace; tabs before and after asm mnemonics.
21781 2014-05-29  Eric Wong  <normalperson@yhbt.net>
21783         [BZ #15132]
21784         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21785         Call fstat64 or stat64 internally, depending on arguments passed.
21786         Replace stat buffer argument with file descriptor argument.
21787         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21788         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21789         Pass fd to __internal_statvfs instead of calling fstat64.
21790         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21791         Pass fd to __internal_statvfs64 instead of calling fstat64.
21792         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21793         Pass -1 to __internal_statvfs instead of calling stat64.
21794         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21795         Pass -1 to __internal_statvfs64 instead of calling stat64.
21797 2014-05-28  Roland McGrath  <roland@hack.frob.com>
21799         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21800         that was previously under [RESET_PID].
21801         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21803         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21804         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21806 2014-05-27  Roland McGrath  <roland@hack.frob.com>
21808         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21810         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21811         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21813 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
21815         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21817 2014-05-27  Andreas Schwab  <schwab@suse.de>
21819         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21820         TLS_INIT_TP macro.
21821         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21822         * elf/rtld.c (init_tls, dl_main): Likewise.
21823         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21824         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21825         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21826         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21827         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21828         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21829         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21830         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21831         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21832         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21833         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21834         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21835         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21836         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21837         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21838         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21839         * sysdeps/generic/tls.h: Update description.
21841 2014-05-27  Will Newton  <will.newton@linaro.org>
21843         [BZ #16990]
21844         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21845         and restore r2 rather than just restoring.
21847 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21849         [BZ #16724]
21850         * libio/tst-ftell-append.c: New test case.
21851         * libio/Makefile (tests): Add test case.
21852         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
21853         append mode.
21854         * libio/wfileops.c (do_ftell_wide): Likewise.
21856 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21860         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
21861         ...
21862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
21863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21864         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
21865         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
21866         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
21867         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
21868         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
21869         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
21870         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
21871         Moved ...
21872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
21873         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
21874         Moved ...
21875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
21876         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
21877         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
21878         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
21879         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
21880         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
21881         ...
21882         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
21883         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
21884         Moved ...
21885         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
21886         here.
21887         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
21888         ...
21889         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
21890         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
21891         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
21893         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
21894         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
21895         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
21896         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
21898         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
21899         merge into ...
21900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
21901         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
21902         ...
21903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
21904         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
21905         ...
21906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
21907         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21908         Moved ...
21909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
21910         here.
21911         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21912         Moved ...
21913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
21914         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21915         Moved ...
21916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
21918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
21919         conditional [RESET_PID].
21920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
21921         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
21922         removed.
21923         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
21924         removed.
21926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
21927         <tcb-offsets.h>.
21928         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21929         (__libc_vfork): New strong alias.
21930         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
21931         removed.
21932         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
21933         Removed.
21935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
21936         <tcb-offsets.h>.
21937         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
21938         (__libc_vfork): New strong alias.
21939         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
21940         removed.
21941         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
21942         removed.
21944 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
21946         * malloc/malloc.c (mi_arena): New function.
21947         (malloc_info): Remove nested function mi_arena. Call non-nosted
21948         function mi_arena.
21950 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21952         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
21953         by insrwi.
21954         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
21955         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
21956         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
21957         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
21958         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
21959         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
21960         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
21962 2014-05-26  Andreas Schwab  <schwab@suse.de>
21964         [BZ #16984]
21965         * locale/programs/repertoire.c (repertoire_read): Add slash
21966         between I18NPATH element and file name.
21967         * locale/programs/locfile.c (locfile_read): Likewise.
21969 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21971         * nptl/pthread_mutexattr_settype.c
21972         (__pthread_mutexattr_settype):
21973         Disable lock elision for PTHREAD_MUTEX_NORMAL.
21975 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21977         * nptl/tst-mutex5 (do_test):
21978         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
21980 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21982         * benchtests/README: Document 'init' directive.
21983         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
21984         BENCH_INIT.
21985         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
21986         (parse_file): Recognize 'init' directive.
21988 2014-05-26  Kyle McMartin  <kyle@redhat.com>
21990         [BZ #16796]
21991         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
21992         alignment of struct pthread.
21994 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21996         [BZ #16878]
21997         * nscd/netgroupcache.c (addgetnetgrentX): Look for
21998         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
21999         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
22000         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
22002 2014-05-25  Richard Henderson  <rth@twiddle.net>
22004         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
22005         (SINGLE_THREAD_P_PIC): Remove.
22006         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
22007         (SINGLE_THREAD_P_PIC): Remove.
22009         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
22010         branch to syscall error ...
22011         (PSEUDO): ... here.
22012         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
22013         from __local_syscall_error to .Lsyscall_error.
22014         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
22015         (SYSCALL_ERROR): Update label name.
22017         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22018         Do not use DOARGS/UNDOARGS.
22019         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
22020         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
22021         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
22022         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
22023         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
22025         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
22026         block comment.
22028         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
22029         define if !NOT_IN_libc.
22030         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
22031         define with non-default symbol versions.
22033 2014-05-23  Richard Henderson  <rth@twiddle.net>
22035         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
22036         (vfork, __vfork): Define via compat_symbol.
22038         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
22039         [!HAVE_IFUNC] (vfork_compat): Remove.
22040         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
22042 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
22044         [BZ #16978]
22045         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
22046         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
22047         variable.
22049 2014-05-23  Richard Henderson  <rth@twiddle.net>
22051         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
22052         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
22053         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
22054         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
22056         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
22057         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
22058         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
22059         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
22060         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
22061         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
22062         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
22063         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
22064         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
22065         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
22066         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
22067         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
22068         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
22069         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
22070         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
22071         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
22072         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
22073         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
22074         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
22075         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
22076         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
22077         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
22078         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
22079         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
22080         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
22081         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
22082         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
22083         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
22084         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
22085         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
22086         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
22087         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
22088         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
22089         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
22090         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
22091         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
22092         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
22093         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
22094         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
22095         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
22096         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
22097         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
22098         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
22099         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
22100         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
22101         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
22102         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
22103         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
22104         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
22105         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
22106         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
22107         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
22108         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
22109         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
22110         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
22111         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
22113         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
22114         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
22115         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
22116         before exiting on error.
22117         (__libc_vfork): New strong alias.
22118         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
22119         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
22121         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
22122         that was previously under [RESET_PID].
22123         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
22125         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
22127 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
22129         [BZ #16977]
22130         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
22131         value when x - 1 is zero.
22132         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
22133         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
22134         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
22135         0.0L for an argument of 1.0L.
22136         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
22137         Likewise.
22138         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
22139         value when x - 1 is zero.
22140         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
22141         * sysdeps/i386/fpu/libm-test-ulps: Update.
22142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22144 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
22146         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
22147         alphasort and versionsort.
22149 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22151         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
22152         macro.
22153         [copysignf]: Likewise.
22155 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22157         * crypt/md5-crypt.c: Fix formatting.
22159 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22161         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
22162         (b64_from_24bit): New function.
22164 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22166         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
22167         libc_hidden_builtin_def to ifunc.
22168         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22169         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
22171 2014-05-21  Roland McGrath  <roland@hack.frob.com>
22173         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
22174         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
22176 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
22178         * nscd/Depend (linuxthreads): Remove.
22179         (nptl): Add.
22180         * resolv/Depend (linuxthreads): Remove.
22181         * rt/Depend (linuxthreads): Remove.
22183         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
22184         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
22185         $(common-objpfx)elf/.
22186         (link-libc-before-gnulib): Likewise.
22187         (elfobjdir): Remove variable.
22188         * Makefile (install): Use $(elf-objpfx) instead of
22189         $(common-objpfx)elf/.
22190         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
22191         $(elfobjdir)/.
22192         (link-libc-deps): Likewise.
22193         ($(common-objpfx)libc.so): Likewise.
22194         ($(common-objpfx)linkobj/libc.so): Likewise.
22195         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
22196         instead of $(common-objpfx)elf/.
22197         (symbolic-link-list): Likewise.
22198         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22199         [$(cross-compiling) = no]: Likewise.
22200         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
22201         $(elfobjdir)/.
22202         (static-gnulib-arch): Likewise.
22203         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22204         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
22205         $(common-objpfx)elf/.
22207 2014-05-21  Richard Henderson  <rth@redhat.com>
22209         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
22210         (SINGLE_THREAD_P): Use the correct width load.  Fold
22211         into the ldr offset.
22213         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
22214         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
22216 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
22218         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
22219         (libgcc_s_resume): Use __attribute_used__.
22220         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
22221         Likewise.
22223 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22225         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
22226         optimization when used with float constants.
22228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22230 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
22232         [BZ #16915]
22233         * locale/nl_langinfo_l.c: Make direct reference to every
22234         _nl_current_CATEGORY symbol.
22235         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
22236         (tests-static): Add tst-langinfo-static.
22237         (tests-special): Add tst-langinfo-static.out.
22238         ($(objpfx)tst-langinfo.out): Redirect output.
22239         ($(objpfx)tst-langinfo-static.out): New.
22240         * localedata/tst-langinfo.sh: Send output to stdout.
22241         * localedata/tst-langinfo-static.c: New file.
22243         [BZ #16965]
22244         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
22245         when the shift amount is modulo the limb size.
22247 2014-05-20  Richard Henderson  <rth@redhat.com>
22249         [BZ #16967]
22250         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
22251         Change type of sa_flags from unsigned int to int.
22253         [BZ #16966]
22254         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
22256         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
22258 2014-05-20  Will Newton  <will.newton@linaro.org>
22260         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22261         Test the return value of the system call in the nocancel case.
22263 2014-05-20  Will Newton  <will.newton@linaro.org>
22264             Yvan Roux  <yvan.roux@linaro.org>
22266         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
22267         #include of asm/ptrace.h.
22268         (PTRACE_GET_THREAD_AREA): Remove #undef.
22269         (PTRACE_GETHBPREGS): Likewise.
22270         (PTRACE_SETHBPREGS): Likewise.
22271         (struct user_regs_struct): New structure.
22272         (struct user_fpsimd_struct): New structure.
22273         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
22274         #include of asm/ptrace.h and second #include of sys/user.h.
22275         (PTRACE_GET_THREAD_AREA): Remove #undef.
22276         (PTRACE_GETHBPREGS): Likewise.
22277         (PTRACE_SETHBPREGS): Likewise.
22278         (ELF_NGREG): Use new struct user_regs_struct.
22279         (elf_fpregset_t): Use new struct user_fpsimd_struct.
22281 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22283         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
22284         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
22286 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
22288         [BZ #16958]
22289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
22290         membar to avoid block loads/stores to overlap previous stores.
22292 2014-05-17  Richard Henderson  <rth@redhat.com>
22294         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
22295         Create the __##syscall_name##_nocancel entry point.
22296         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
22297         Remove; let the sysdep-cancel.h code create it.
22299 2014-05-17  David S. Miller  <davem@davemloft.net>
22301         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
22302         Protect with __USE_GNU.
22303         (TIOCSET_TEMPT): Likewise.
22304         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22305         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
22306         these are already provided in bits/ioctl-types.h
22308 2014-05-16  Roland McGrath  <roland@hack.frob.com>
22310         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
22311         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
22313         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
22314         Use wait4 regardless of [__NR_waitpid].
22316 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22318         PR libgcc/60166
22319         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22320         (_FP_NANSIGN_Q): Set the quiet bit.
22322 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
22324         * benchtests/Makefile
22325         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
22326         not $(common-objpfx)math/libm.so.
22327         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
22328         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
22329         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
22330         $(common-objpfx)dlfcn/libdl.so.
22331         ($(objpfx)tst-audit8): Depend on $(libm), not
22332         $(common-objpfx)math/libm.so.
22333         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
22334         not $(common-objpfx)dlfcn/libdl.so.
22335         * math/Makefile
22336         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22337         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
22338         [$(build-shared) = yes].
22339         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
22340         $(common-objpfx)nptl/libpthread.so.
22341         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
22342         $(common-objpfx)math/libm.so$(libm.so-version) or
22343         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
22344         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
22345         $(common-objpfx)dlfcn/libdl.so.
22346         * setjmp/Makefile (link-libm): Remove variable.
22347         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
22348         * stdio-common/Makefile (link-libm): Remove variable.
22349         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
22350         * stdlib/Makefile (link-libm): Remove variable.
22351         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
22352         ($(objpfx)tst-strtod-round): Likewise.
22353         ($(objpfx)tst-tininess): Likewise.
22354         ($(objpfx)tst-strtod-underflow): Likewise.
22355         ($(objpfx)tst-strtod6): Likewise.
22356         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
22357         $(libdl), not $(common-objpfx)nptl/libpthread.so and
22358         $(common-objpfx)dlfcn/libdl.so.
22360 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22362         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
22363         BSD terminal modes definitions.
22365 2014-05-16  Roland McGrath  <roland@hack.frob.com>
22367         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
22368         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
22370         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
22371         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
22372         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
22373         Don't do #include_next.
22374         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
22375         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
22376         Don't do #include_next.
22377         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
22378         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
22379         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
22380         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
22382 2014-05-16  Allan McRae  <allan@archlinux.org>
22384         * po/sv.po: Update Swedish translation from translation project.
22386         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
22387         in sed expression.
22389 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
22391         [BZ #16917]
22392         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
22393         errno if the TIOCGPTN ioctl fails with an error different than
22394         EINVAL.
22395         * login/tst-ptsname.c: New file.
22396         * login/Makefile (tests): Add tst-ptsname.
22398         [BZ #16943]
22399         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
22400         and prlimit64.
22402 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22404         [BZ #16849]
22405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
22406         herrno to return EAI_AGAIN.
22408 2014-05-14  Roland McGrath  <roland@hack.frob.com>
22410         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
22411         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
22412         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
22413         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
22414         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
22415         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
22416         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
22417         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
22418         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
22419         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
22420         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
22421         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
22422         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
22423         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
22424         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
22425         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
22426         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
22427         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
22428         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
22429         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
22430         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
22431         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
22432         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
22433         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
22434         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
22435         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
22436         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
22437         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
22438         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
22439         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
22440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
22441         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
22442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
22443         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
22444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22445         Moved ...
22446         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
22447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
22448         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
22449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
22450         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
22451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
22452         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
22453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
22454         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
22455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
22456         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
22457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
22458         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
22459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
22460         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
22461         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
22462         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
22463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
22464         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
22465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
22466         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
22467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
22468         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
22469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
22470         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
22471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
22472         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
22473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22474         Moved ...
22475         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22477         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22479         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22481         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22483         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22485         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22487         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22489         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22491         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22493         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22495         Moved ...
22496         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22498         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22500         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22501         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22502         (libpthread-sysdep_routines): Add elision-related stuff here instead.
22503         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22504         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22505         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22506         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22507         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22508         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22509         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22510         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22511         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22512         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22513         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22514         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22515         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22516         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22517         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22518         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22519         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22520         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22521         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22522         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22523         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22524         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22525         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22526         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22527         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22528         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22529         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22530         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22532         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22533         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22535         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22536         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22537         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22538         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22539         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22540         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22541         Moved ...
22542         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22543         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22544         Moved ...
22545         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22546         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22547         Moved ...
22548         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22549         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22550         Moved ...
22551         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22552         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22553         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22554         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22555         Moved ...
22556         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22557         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22558         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22559         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22560         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22561         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22562         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22563         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22564         Moved ...
22565         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22566         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22567         Moved ...
22568         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22569         ... here.
22570         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22571         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22572         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22573         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22574         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22575         Moved ...
22576         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22577         ... here.
22578         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22579         Moved ...
22580         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22581         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22582         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22583         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22584         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22585         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22586         Moved ...
22587         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22588         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22589         Moved ...
22590         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22591         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22592         Moved ...
22593         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22594         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22595         Moved ...
22596         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22597         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22598         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22599         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22600         Moved ...
22601         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22602         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22603         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22604         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22605         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22606         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22607         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22608         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22609         Moved ...
22610         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22611         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22612         Moved ...
22613         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22614         ... here.
22615         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22616         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22617         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22618         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22619         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22620         Moved ...
22621         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22622         ... here.
22623         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22624         Moved ...
22625         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22626         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22627         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22628         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22629         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22630         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22631         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22632         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22633         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22634         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22635         Moved ...
22636         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22637         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22638         Moved ...
22639         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22640         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22641         Moved ...
22642         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22643         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22644         Moved ...
22645         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22646         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22647         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22648         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22649         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22650         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22651         Moved ...
22652         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22653         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22654         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22655         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22656         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22657         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22658         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22659         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22660         Moved ...
22661         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22662         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22663         Moved ...
22664         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22665         ... here.
22666         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22667         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22668         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22669         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22670         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22671         Moved ...
22672         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22673         ... here.
22674         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22675         Moved ...
22676         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22677         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22678         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22679         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22680         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22681         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22682         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22683         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22684         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22685         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22686         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22688         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22689         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22691         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22692         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22694         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22695         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22696         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22697         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22698         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22699         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22700         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22701         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22702         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22703         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22704         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22705         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22706         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22707         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22708         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22709         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22710         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22711         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22712         Moved ...
22713         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22714         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22715         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22716         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22717         Moved ...
22718         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22719         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22720         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22721         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22722         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22723         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22724         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22725         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22726         Moved ...
22727         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22728         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22729         Moved ...
22730         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22731         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22732         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22733         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22734         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22735         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22736         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22737         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22738         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22739         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22740         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22741         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22742         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22743         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22744         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22745         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22746         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22748         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22749         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22750         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22751         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22752         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22754         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22755         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22756         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22757         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22758         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22759         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22760         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22761         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22762         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22763         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22765         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22766         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22768         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22769         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22770         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22771         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22772         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22773         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22774         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22775         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22776         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22777         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22778         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22779         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22780         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22781         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22783         Update #include.
22784         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22785         Likewise.
22786         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22787         Likewise.
22788         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22789         Likewise.
22790         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22791         Likewise.
22792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22793         Likewise.
22794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22795         Likewise.
22796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22797         Likewise.
22798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22799         Likewise.
22800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22801         Likewise.
22802         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22803         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22804         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22805         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22806         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22807         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22808         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22809         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22810         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22811         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22812         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22813         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22814         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22815         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
22816         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
22818         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22819         that was previously under [RESET_PID].
22820         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22821         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22822         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22824         * sysdeps/i386/nptl/Implies: New file.
22825         * sysdeps/x86_64/nptl/Implies: New file.
22826         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22827         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22828         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22829         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22831         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22832         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22833         (__libc_vfork): New strong alias.
22834         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22835         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22837         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22838         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22839         (__libc_vfork): New strong alias.
22840         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22841         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22843         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22844         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22845         (__libc_vfork): New strong alias.
22846         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22847         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22848         * nptl/pt-vfork.c: New file.
22849         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22850         (libpthread: GLIBC_2.20): New version set (empty).
22852 2014-05-14  Will Newton  <will.newton@linaro.org>
22854         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
22855         rather than #if.
22857 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
22859         [BZ #16564]
22860         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
22861         arguments with exponent 65 or above.
22862         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
22863         arguments 0x1p113L or above.
22864         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
22865         to arguments 0x1p107L or above.
22866         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
22867         positive arguments with exponent 65 or above.
22868         * math/auto-libm-test-in: Add more tests of log1p.
22869         * math/auto-libm-test-out: Regenerated.
22871         [BZ #16928]
22872         * math/s_cacos.c (__cacos): Ensure zero real part of result from
22873         non-finite arguments is +0.
22874         * math/s_cacosf.c (__cacosf): Likewise.
22875         * math/s_cacosl.c (__cacosl): Likewise.
22876         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
22877         * sysdeps/i386/fpu/libm-test-ulps: Update.
22878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22880         [BZ #16927]
22881         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
22882         value.
22883         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22884         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
22885         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
22886         for explicit high bit of mantissa when testing for argument equal
22887         to 1.
22888         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
22889         * sysdeps/i386/fpu/libm-test-ulps: Update.
22890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22892         [BZ #16516]
22893         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
22894         (__erf): Scale by 16 instead of 8 in potentially underflowing
22895         case.  Ensure exception if result actually underflows.
22896         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
22897         (__erff): Scale by 16 instead of 8 in potentially underflowing
22898         case.  Ensure exception if result actually underflows.
22899         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
22900         (efx8): Remove variable.
22901         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22902         case.  Ensure exception if result actually underflows.
22903         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
22904         (efx8): Remove variable.
22905         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22906         case.  Ensure exception if result actually underflows.
22907         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
22908         (efx8): Remove variable.
22909         (__erfl): Scale by 16 instead of 8 in potentially underflowing
22910         case.  Ensure exception if result actually underflows.
22911         * math/auto-libm-test-in: Add more tests of erf.
22912         * math/auto-libm-test-out: Regenerated.
22914 2014-05-14  Andreas Schwab  <schwab@suse.de>
22916         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
22917         Remove code conditionalized on USE___THREAD.
22919         * config.h.in (HAVE_PT_CHOWN): Define as 0.
22920         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
22921         not definedness.
22923 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
22925         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
22926         Define unconditionally.
22927         (__ASSUME_O_CLOEXEC): Likewise.
22928         (__ASSUME_SOCK_CLOEXEC): Likewise.
22929         (__ASSUME_IN_NONBLOCK): Likewise.
22930         (__ASSUME_PIPE2): Likewise.
22931         (__ASSUME_EVENTFD2): Likewise.
22932         (__ASSUME_SIGNALFD4): Likewise.
22933         (__ASSUME_DUP3): Likewise.
22934         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22935         (__ASSUME_DUP3): Do not define.
22936         (__ASSUME_EVENTFD2): Likewise.
22937         (__ASSUME_IN_NONBLOCK): Likewise.
22938         (__ASSUME_O_CLOEXEC): Likewise.
22939         (__ASSUME_PIPE2): Likewise.
22940         (__ASSUME_SIGNALFD4): Likewise.
22941         (__ASSUME_SOCK_CLOEXEC): Likewise.
22942         (__ASSUME_UTIMES): Undefine.
22943         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22944         (__ASSUME_UTIMES): Do not define.
22945         (__ASSUME_O_CLOEXEC): Likewise.
22946         (__ASSUME_SOCK_CLOEXEC): Likewise.
22947         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
22948         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
22949         0x020621].
22950         (__ASSUME_PIPE2): Likewise.
22951         (__ASSUME_EVENTFD2): Likewise.
22952         (__ASSUME_SIGNALFD4): Likewise.
22953         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
22954         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
22955         Do not define.
22956         (__ASSUME_EVENTFD2): Likewise.
22957         (__ASSUME_SIGNALFD4): Likewise.
22958         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22959         (__ASSUME_32BITUIDS): Likewise.
22960         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22961         (__ASSUME_IPC64): Likewise.
22962         (__ASSUME_ST_INO_64_BIT): Likewise.
22963         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
22964         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
22965         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22966         (__ASSUME_UTIMES): Do not define.
22967         (__ASSUME_PSELECT): Likewise.
22968         (__ASSUME_PPOLL): Likewise.
22969         (__ASSUME_O_CLOEXEC): Likewise.
22970         (__ASSUME_SOCK_CLOEXEC): Likewise.
22971         (__ASSUME_IN_NONBLOCK): Likewise.
22972         (__ASSUME_PIPE2): Likewise.
22973         (__ASSUME_EVENTFD2): Likewise.
22974         (__ASSUME_SIGNALFD4): Likewise.
22975         (__ASSUME_DUP3): Likewise.
22976         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22977         (__ASSUME_UTIMES): Likewise.
22978         (__ASSUME_O_CLOEXEC): Likewise.
22979         (__ASSUME_SOCK_CLOEXEC): Likewise.
22980         (__ASSUME_IN_NONBLOCK): Likewise.
22981         (__ASSUME_PIPE2): Likewise.
22982         (__ASSUME_EVENTFD2): Likewise.
22983         (__ASSUME_SIGNALFD4): Likewise.
22984         (__ASSUME_DUP3): Likewise.
22985         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22986         (__ASSUME_UTIMES): Likewise.
22987         (__ASSUME_O_CLOEXEC): Likewise.
22988         (__ASSUME_SOCK_CLOEXEC): Likewise.
22989         (__ASSUME_IN_NONBLOCK): Likewise.
22990         (__ASSUME_PIPE2): Likewise.
22991         (__ASSUME_EVENTFD2): Likewise.
22992         (__ASSUME_SIGNALFD4): Likewise.
22993         (__ASSUME_DUP3): Likewise.
22994         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
22995         Likewise.
22996         (__ASSUME_UTIMES): Likewise.
22997         (__ASSUME_EVENTFD2): Likewise.
22998         (__ASSUME_SIGNALFD4): Likewise.
22999         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23000         (__ASSUME_O_CLOEXEC): Likewise.
23001         (__ASSUME_SOCK_CLOEXEC): Likewise.
23002         (__ASSUME_IN_NONBLOCK): Likewise.
23003         (__ASSUME_PIPE2): Likewise.
23004         (__ASSUME_EVENTFD2): Likewise.
23005         (__ASSUME_SIGNALFD4): Likewise.
23006         (__ASSUME_DUP3): Likewise.
23007         (__ASSUME_UTIMES): Undefine.
23009         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
23010         feclearexcept.  Remove symbol versioning code.
23011         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
23012         symbol versioning code.
23013         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
23014         symbol versioning code.
23015         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
23016         feupdateenv.  Remove symbol versioning code.
23017         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
23018         fegetexceptflag.  Remove symbol versioning code.
23019         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
23020         fesetexceptflag.  Remove symbol versioning code.
23021         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
23022         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
23023         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
23024         (__posix_fadvise64_l32): Remove prototype.
23025         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
23026         code.
23028 2014-05-13  Roland McGrath  <roland@hack.frob.com>
23030         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
23031         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
23032         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
23033         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
23035 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
23037         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
23038         current working directory
23040 2014-05-13  Roland McGrath  <roland@hack.frob.com>
23042         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
23043         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
23044         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
23045         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
23046         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
23047         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
23048         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
23049         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
23050         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
23051         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
23052         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
23053         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
23054         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
23055         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
23056         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
23057         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
23058         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
23059         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
23060         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
23061         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
23062         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
23063         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
23064         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
23065         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
23066         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
23067         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
23068         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
23069         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
23070         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
23071         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
23072         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
23073         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
23074         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
23075         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
23076         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
23077         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
23078         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
23079         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
23080         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
23081         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
23082         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
23083         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
23085         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
23086         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
23088         * sysdeps/unix/sysv/linux/arm/Makefile
23089         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23090         Add rt-aeabi_unwind_cpp_pr1.
23091         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
23092         Add nptl-aeabi_unwind_cpp_pr1.
23093         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
23094         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
23095         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
23096         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23097         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
23098         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23100         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
23101         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
23102         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
23103         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
23105         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
23106         Deconditionalize the code that was previously under [RESET_PID].
23107         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
23109         * sysdeps/generic/exit-thread.h: New file.
23110         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
23111         * include/unistd.h (__exit_thread): Remove declaration.
23112         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
23113         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
23114         * csu/libc-start.c: Include <exit-thread.h>.
23115         (LIBC_START_MAIN): Pass no argument to __exit_thread.
23116         * nptl/pthread_create.c: Include <exit-thread.h>.
23117         (start_thread): Call __exit_thread in place of __exit_thread_inline.
23118         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
23119         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
23120         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
23121         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
23122         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
23123         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
23124         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
23125         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
23126         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
23127         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
23128         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
23129         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
23130         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
23131         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
23132         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
23133         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
23135 2014-05-13  Andreas Schwab  <schwab@suse.de>
23137         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
23139 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
23141         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23142         (__ASSUME_UTIMES): Do not condition on kernel version.
23143         (__ASSUME_PSELECT): Define unconditionally.
23144         (__ASSUME_PPOLL): Likewise.
23145         (__ASSUME_ATFCTS): Likewise.
23146         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
23147         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
23148         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
23149         (__ASSUME_UTIMENSAT): Define unconditionally.
23150         (__ASSUME_PRIVATE_FUTEX): Likewise.
23151         (__ASSUME_FALLOCATE): Likewise.
23152         (__ASSUME_O_CLOEXEC): Likewise.
23153         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
23154         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
23155         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
23156         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
23157         (__ASSUME_IN_NONBLOCK): Likewise.
23158         (__ASSUME_PIPE2): Likewise.
23159         (__ASSUME_EVENTFD2): Likewise.
23160         (__ASSUME_SIGNALFD4): Likewise.
23161         (__ASSUME_DUP3): Likewise.
23162         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23163         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
23164         (__ASSUME_AT_RANDOM): Likewise.
23165         (__ASSUME_PREADV): Likewise.
23166         (__ASSUME_PWRITEV): Likewise.
23167         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
23168         (__ASSUME_F_GETOWN_EX): Define unconditionally.
23169         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
23170         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23171         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
23172         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23173         (__ASSUME_O_CLOEXEC): Define unconditionally.
23174         (__ASSUME_PSELECT): Do not undefine conditionally.
23175         (__ASSUME_PPOLL): Likewise.
23176         (__ASSUME_ATFCTS): Likewise.
23177         (__ASSUME_SET_ROBUST_LIST): Likewise.
23178         (__ASSUME_UTIMENSAT): Likewise.
23179         (__ASSUME_FDATASYNC): Define unconditionally.
23180         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23181         (__ASSUME_SIGFRAME_V2): Likewise.
23182         )__ASSUME_EVENTFD2): Likewise.
23183         (__ASSUME_SIGNALFD4): Likewise.
23184         (__ASSUME_PSELECT): Do not undefine conditionally.
23185         (__ASSUME_PPOLL): Likewise.
23186         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23187         (__ASSUME_PSELECT): Define unconditionally.
23188         (__ASSUME_PPOLL): Likewise.
23189         (__ASSUME_O_CLOEXEC): Likewise.
23190         (__ASSUME_SOCK_CLOEXEC): Likewise.
23191         (__ASSUME_IN_NONBLOCK): Likewise.
23192         (__ASSUME_PIPE2): Likewise.
23193         (__ASSUME_EVENTFD2): Likewise.
23194         (__ASSUME_SIGNALFD4): Likewise.
23195         (__ASSUME_DUP3): Likewise.
23196         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23197         (__ASSUME_O_CLOEXEC): Likewise.
23198         (__ASSUME_SOCK_CLOEXEC): Likewise.
23199         (__ASSUME_IN_NONBLOCK): Likewise.
23200         (__ASSUME_PIPE2): Likewise.
23201         (__ASSUME_EVENTFD2): Likewise.
23202         (__ASSUME_SIGNALFD4): Likewise.
23203         (__ASSUME_DUP3): Likewise.
23204         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23205         (__ASSUME_EVENTFD2): Likewise.
23206         (__ASSUME_SIGNALFD4): Likewise.
23207         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23209 2014-05-12  Andreas Schwab  <schwab@suse.de>
23211         [BZ #16932]
23212         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
23213         (_nss_nis_gethostbyname4_r): Return error if item length is larger
23214         than maximum RPC packet size.
23215         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
23216         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
23217         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
23218         (_nss_nis_getservbyport_r): Likewise.
23220 2014-05-12  Will Newton  <will.newton@linaro.org>
23222         * malloc/Makefile (tests): Add tst-mallopt.
23223         * malloc/tst-mallopt.c: New file.
23225 2014-05-09  Roland McGrath  <roland@hack.frob.com>
23227         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
23228         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
23230 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23232         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
23233         (tst-tlsmod6.so): Likewise.
23235 2014-05-09  Roland McGrath  <roland@hack.frob.com>
23237         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
23239 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
23241         [BZ #16064]
23242         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
23243         and <dl-procinfo.h>.
23244         (__fegetenv): Save SSE state in envp->__eip if supported.
23245         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
23246         envp->__eip if supported.
23247         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
23248         and <dl-procinfo.h>.
23249         (__fesetenv): Always set __eip, __cs_selector, __opcode,
23250         __data_offset and __data_selector in environment to 0.  Set SSE
23251         state if supported.
23252         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23253         test-fenv-sse.
23254         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
23255         -mfpmath=sse.
23256         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
23258 2014-05-09  Will Newton  <will.newton@linaro.org>
23260         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
23261         and libc_relro_required for ARM.
23262         * sysdeps/arm/preconfigure: Regenerate.
23264 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
23265             Stefan Liebler  <stli@linux.vnet.ibm.com>
23267         * config.make.in (enable-lock-elision): New Makefile variable.
23268         * configure.ac: Likewise.
23269         * configure: Regenerate.
23270         * sysdeps/s390/configure.ac:
23271         Add check for gcc transactions support.
23272         * sysdeps/s390/configure: Regenerate.
23273         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
23274         Build elision files if enabled.
23275         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
23276         Add lock elision support for s390.
23277         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23278         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
23279         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
23280         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23281         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
23282         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23283         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23284         Likewise.
23285         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
23286         Likewise.
23287         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
23288         Likewise.
23289         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
23290         Likewise.
23291         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
23292         (__lll_timedlock_elision, __lll_lock_elision)
23293         (__lll_unlock_elision, __lll_trylock_elision)
23294         (lll_timedlock_elision, lll_lock_elision)
23295         (lll_unlock_elision, lll_trylock_elision): Add.
23296         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23297         (pthread_mutex_t): Add lock elision support for s390.
23299 2014-05-14  Wilco  <wdijkstr@arm.com>
23301         * sysdeps/arm/fclrexcpt.c: Cleanup.
23302         * sysdeps/arm/fedisblxcpt.c: Cleanup.
23303         * sysdeps/arm/feenablxcpt.c: Cleanup.
23304         * sysdeps/arm/fegetenv.c: Cleanup.
23305         * sysdeps/arm/fegetexcept.c: Cleanup.
23306         * sysdeps/arm/fegetround.c: Cleanup.
23307         * sysdeps/arm/feholdexcpt.c: Cleanup.
23308         * sysdeps/arm/fesetenv.c: Cleanup.
23309         * sysdeps/arm/fesetround.c: Cleanup.
23310         * sysdeps/arm/feupdateenv.c: Cleanup.
23311         * sysdeps/arm/fgetexcptflg.c: Cleanup.
23312         * sysdeps/arm/fraiseexcpt.c: Cleanup.
23313         * sysdeps/arm/fsetexcptflg.c: Cleanup.
23314         * sysdeps/arm/ftestexcept.c: Cleanup.
23315         * sysdeps/arm/get-rounding-mode.h: Cleanup.
23316         * sysdeps/arm/setfpucw.c: Cleanup.
23318 2014-05-09  Will Newton  <will.newton@linaro.org>
23320         * sysdeps/arm/armv7/strcmp.S: New file.
23321         * NEWS: Mention addition of ARMv7 optimized strcmp.
23323 2014-05-08  Roland McGrath  <roland@hack.frob.com>
23325         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
23326         look for %.ac rather than %.in.
23328         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
23329         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
23330         * sysdeps/mach/hurd/configure: Regenerated.
23331         * sysdeps/unix/sysv/linux/configure: Regenerated.
23333         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
23335 2014-05-07  Steve Ellcey  <sellcey@mips.com>
23337         [BZ# 16922]
23338         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
23339         (LONG_SUB): Ditto.
23340         (PTR_SUB): Ditto.
23342 2014-05-07  Andreas Schwab  <schwab@suse.de>
23344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
23345         when skipping over non-matching result from nscd.
23347 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
23349         [BZ #16876]
23350         * nptl/sockperf.c (client): Check socket return value.
23352         [BZ #16877]
23353         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
23354         nscd security class.
23356 2014-05-06  Roland McGrath  <roland@hack.frob.com>
23358         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
23359         * sysdeps/arm/unwind.h: ... here.
23361 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
23363         [BZ# 16916]
23364         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
23365         Define.
23367 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23369         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
23370         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
23371         multiarch strncpy for PPC64.
23372         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
23373         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
23374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
23375         multiarch optimizations.
23376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23377         (__libc_ifunc_impl_list): Likewise.
23378         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
23379         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
23380         multiarch stpncpy for PPC64.
23381         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
23382         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
23384 2014-05-06  Andreas Schwab  <schwab@suse.de>
23386         [BZ #16912]
23387         * gmon/mcount.c (_MCOUNT_DECL): Use
23388         atomic_compare_and_exchange_bool_acq instead of
23389         catomic_compare_and_exchange_bool_acq.
23391 2014-05-05  Roland McGrath  <roland@hack.frob.com>
23393         * elf/Makefile (others, install-bin): Remove pldd.
23394         (pldd-modules): Variable removed.
23395         ($(objpfx)pldd): Target removed.
23396         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
23397         (others, install-bin): Append pldd here.
23398         ($(objpfx)pldd): New target.
23400         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
23401         to 0, so the first #if test emitted later doesn't see it undefined.
23402         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
23403         * sysdeps/gnu/errlist.c: Regenerated.
23405 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23407         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23408         [libc_hidden_builtin_def]: Define to empty value.
23409         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
23410         [libc_hidden_builtin_def]: Likewise.
23411         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
23412         [libc_hidden_builtin_def]: Likewise.
23413         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
23414         [libc_hidden_builtin_def]: Likewise.
23415         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
23416         __redirect_memcpy and define ifunc as default hidden symbol.
23417         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
23418         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
23420 2014-05-04  Adam Conrad  <adconrad@0c3.net>
23422         * locale/iso-4217.def: Reintroduce XDR currency.
23424 2014-05-04  Allan McRae  <allan@archlinux.org>
23426         * po/eo.po: Update Esperanto translation from translation project.
23428 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
23430         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
23431         and FEATURE_INDEX_MAX to 1.
23432         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
23434 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23436         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
23437         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
23438         * iconvdata/big5.c (ONE_DIRECTION): Define.
23439         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
23440         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
23441         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
23442         * iconvdata/cp932.c (ONE_DIRECTION): Define.
23443         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
23444         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
23445         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
23446         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
23447         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
23448         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
23449         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
23450         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
23451         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
23452         * iconvdata/gbk.c (ONE_DIRECTION): Define.
23453         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
23454         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
23455         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23456         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
23457         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
23458         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
23459         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
23460         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
23461         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
23462         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
23463         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
23464         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
23465         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
23466         * iconvdata/iso646.c (ONE_DIRECTION): Define.
23467         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
23468         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
23469         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
23470         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
23471         * iconvdata/johab.c (ONE_DIRECTION): Define.
23472         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
23473         * iconvdata/sjis.c (ONE_DIRECTION): Define.
23474         * iconvdata/t.61.c (ONE_DIRECTION): Define.
23475         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23476         * iconvdata/tscii.c (ONE_DIRECTION): Define.
23477         * iconvdata/uhc.c (ONE_DIRECTION): Define.
23478         * iconvdata/unicode.c (ONE_DIRECTION): Define.
23479         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23480         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23481         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23483 2014-05-01  Roland McGrath  <roland@hack.frob.com>
23485         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23486         (_IO_JUMPS_OFFSET): Define to 0.
23488         * nptl/sysdeps/pthread/bits/libc-lock.h
23489         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23490         (__libc_lock_define_initialized_recursive): Always define using
23491         initializer.  Modern compilers treat uninitialized (implicit zero) and
23492         explicit zero initializers the same (i.e. put the datum in bss).
23494 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23496         * nscd/nscd-client.h: Include <string.h>.
23498 2014-05-01  David S. Miller  <davem@davemloft.net>
23500         [BZ #16885]
23501         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23502         multiple zero bytes exist at the end of a string.
23503         Reported by Aurelien Jarno <aurelien@aurel32.net>
23505         * string/test-strcmp.c (check): Add explicit test for situations where
23506         there are multiple zero bytes after the first.
23508 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
23510         [BZ #16890]
23511         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23512         when compiling wprintf.
23513         * stdio-common/tstdiomisc.c (t3): New function.
23514         (main): Call it.
23516 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23518         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23519         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23520         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23521         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23523 2014-05-01  Steve Ellcey  <sellcey@mips.com>
23525         * stdlib/longlong.h: Updated from GCC.
23527 2014-05-01  Will Newton  <will.newton@linaro.org>
23528             Bernard Ogden  <bernie.ogden@linaro.org>
23530         * NEWS: Update fixed bug list.
23532         [BZ #15119]
23533         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23535 2014-04-30  David S. Miller  <davem@davemloft.net>
23537         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23538         (libc_feholdexcept_setround_sparc_ctx): New function.
23539         (libc_fesetenv_sparc_ctx): Likewise.
23540         (libc_feupdateenv_sparc_ctx): Likewise.
23541         (libc_feholdsetround_sparc_ctx): Likewise.
23542         (libc_feholdexcept_setround_ctx): Define.
23543         (libc_feholdexcept_setroundf_ctx): Likewise.
23544         (libc_feholdexcept_setroundl_ctx): Likewise.
23545         (libc_fesetenv_ctx): Likewise.
23546         (libc_fesetenvf_ctx): Likewise.
23547         (libc_fesetenvl_ctx): Likewise.
23548         (libc_feupdateenv_ctx): Likewise.
23549         (libc_feupdateenvf_ctx): Likewise.
23550         (libc_feupdateenvl_ctx): Likewise.
23551         (libc_feresetround_ctx): Likewise.
23552         (libc_feresetroundf_ctx): Likewise.
23553         (libc_feresetroundl_ctx): Likewise.
23554         (libc_feholdsetround_ctx): Likewise.
23555         (libc_feholdsetroundf_ctx): Likewise.
23556         (libc_feholdsetroundl_ctx): Likewise.
23558         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23559         with __USE_GNU instead of XOPEN cpp guards.
23561         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23562         0.
23564         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23565         with XOPEN cpp guards.
23567 2014-04-30  Julian Brown  <julian@codesourcery.com>
23569         [BZ #16888]
23570         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23571         handling.
23573 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
23575         [BZ #9894]
23576         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23577         Change to 2.6.32.
23578         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23579         * sysdeps/unix/sysv/linux/configure: Regenerated.
23580         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23581         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23582         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23583         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23584         * README: Update reference to required Linux kernel version.
23585         * manual/install.texi (Linux): Update reference to required Linux
23586         kernel headers version.
23587         * INSTALL: Regenerated.
23589         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23590         header inclusion.
23591         [POSIX] (limits.h): Likewise.
23592         [POSIX] (math.h): Likewise.
23593         [POSIX] (sys/wait.h): Likewise.
23594         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23595         function.
23596         [POSIX] (stddef.h): Do not allow header inclusion.
23598 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23600         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23602 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
23604         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23605         Return immediately after lll_futex_wake.
23607 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23609         [BZ #16791]
23610         * nscd/nscd-client.h (datahead_init_common): Initialize entire
23611         structure.
23612         (datahead_init_pos): Call datahead_init_common early.
23613         (datahead_init_neg): Likewise.
23615         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23616         datahead_init_neg): New functions.
23617         * nscd/aicache.c (addhstaiX): Use them.
23618         * nscd/grpcache.c (cache_addgr): Likewise.
23619         * nscd/hstcache.c (cache_addhst): Likewise.
23620         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23621         * nscd/netgroupcache.c (do_notfound): Likewise.
23622         (addgetnetgrentX): Likewise.
23623         (addinnetgrX): Likewise.
23624         * nscd/pwdcache.c (cache_addpw): Likewise.
23625         * nscd/servicescache.c (cache_addserv): Likewise.
23627 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23628             Atsushi Onoe  <atsushi@onoe.org>
23630         [BZ #14308]
23631         [BZ #12994]
23632         [BZ #13651]
23633         * resolv/res_query.c (__libc_res_nsearch): Return if at least
23634         one response is valid.
23635         * resolv/res_send.c (send_dg): Check for validity of other
23636         response if the current response is a referral.
23638 2014-04-29  Steve Ellcey  <sellcey@mips.com>
23640         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23642 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
23644         [BZ #16823]
23645         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23646         Always divide by positive zero when computing -Inf result.
23647         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23648         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23650 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23652         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23653         FPSCR if value do not change.
23654         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23655         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23656         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23657         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23658         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23659         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23660         function.
23662 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
23664         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23665         * sysdeps/unix/sysv/linux/hppa: Move directory from
23666         ports/systeps/unix/sysv/linux/hppa.
23667         * README: Update listing for hppa-*-linux-gnu.
23669 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
23671         [BZ #16754]
23672         * manual/stdio.texi (Hook functions): Fix types of stream hook
23673         functions.
23674         [BZ #16854]
23675         * socket/sys/socket.h: Fix typo in comment.
23677 2014-04-28  Wilco  <wdijkstr@arm.com>
23679         * sysdeps/arm/fenv_private.h: New file.
23680         * sysdeps/arm/math_private.h: New file.
23681         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23683 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
23685         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23686         with __int128_t.
23687         (La_x86_64_retval): Likewise.
23689 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
23691         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23692         fpsr if value didn't change.
23693         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23694         to fpcr if value didn't change.
23695         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23696         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23697         fpsr or fpcr if value didn't change.
23698         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23699         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23700         fpcr if value didn't change.
23701         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23702         to fpsr if value didn't change.
23704 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23706         * nptl/tst-sem3.c: Use test-skeleton.c
23707         (main): Rename to do_test.  Use return instead of
23708         exit.
23709         * nptl/tst-sem4.c: Use test-skeleton.c
23710         (main): Rename to do_test.
23712 2014-04-22  David S. Miller  <davem@davemloft.net>
23714         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23715         (struct sigaction): New struct member __glibc_reserved0, change
23716         type of sa_flags to int.
23718 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
23720         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23721         (COUNT_LEADING_ZEROS_0): Define for AArch64.
23723 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23725         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23726         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23728 2014-04-22  Will Newton  <will.newton@linaro.org>
23729             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
23731         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23732         (__longjmp): Add longjmp and longjmp_target SystemTap
23733         probes.
23734         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23735         (__sigsetjmp): Add setjmp SystemTap probe.
23737 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
23739         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23740         match manual order.
23742 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23744         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23746         * sysdeps/powerpc/fpu/fenv_private.h
23747         (libc_feholdexcept_setroundl_ctx): Define to
23748         libc_feholdexcept_setround_ppc_ctx.
23749         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23750         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23751         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23752         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23754 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
23756         * sysdeps/aarch64/math-tests.h: New file.
23758 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
23760         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23761         New.
23762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23763         Check and set bit_AVX2_Usable.
23764         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23765         macro.
23766         (bit_AVX2): Likewise.
23767         (index_AVX2_Usable): Likewise.
23768         (CPUID_AVX2): Likewise.
23769         (HAS_AVX2): Likewise.
23771 2014-04-17  Will Newton  <will.newton@linaro.org>
23773         * manual/setjmp.texi (System V contexts): Add note that
23774         calling setcontext on a context created by a call to a
23775         signal handler is undefined.  Update text to note that
23776         setcontext from a signal handler is possible but not
23777         recommended.
23779         [BZ #16629]
23780         * stdlib/tst-setcontext.c: Include signal.h.
23781         (main): Check that the signal stack before and
23782         after swapcontext is the same.
23784         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23785         Re-implement to restore registers in user code and avoid
23786         rt_sigreturn system call.
23788 2014-04-17  Wilco  <wdijkstr@arm.com>
23790         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23791         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23792         * math/test-fenv.c: Skip exception trap tests on targets which only
23793         support non-stop mode.
23795 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
23796             Wilco Dijkstra  <wilco.dijkstra@arm.com>
23798         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23799         (libc_feholdsetround_aarch64_ctx)
23800         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23801         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23802         (libc_feresetround_ctx, libc_feresetroundf_ctx)
23803         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23804         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23805         (libc_feresetround_noexl_ctx): Define.
23807 2014-04-16  Richard Henderson  <rth@redhat.com>
23809         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23811         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23812         unwind tables.
23814         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23815         const from the non-libc, non-ldso copy.
23817         * sysdeps/alpha/libm-test-ulps: Regenerate.
23819 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
23820             Wilco Dijkstra  <wilco.dijkstra@arm.com>
23822         * sysdeps/aarch64/fpu/math_private.h: New file.
23824 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23826         * sysdeps/aarch64/libm-test-ulps: Regenerate.
23828 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
23830         [BZ #16275]
23831         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23832         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23833         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23834         Intel MPX bound registers before _dl_profile_fixup.
23835         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23836         registers after _dl_profile_fixup.  Save and restore bound
23837         registers bnd0/bnd1 when calling _dl_call_pltexit.
23838         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23839         (LR_BND_OFFSET): Likewise.
23840         (LRV_BND0_OFFSET): Likewise.
23841         (LRV_BND1_OFFSET): Likewise.
23843 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23845         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23846         to...
23847         * sysdeps/mach/hurd/i386/tls.h: ... here.
23848         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23849         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23850         fields.
23852 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23854         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
23856 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23858         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23860 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23862         [BZ #14770]
23863         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
23864         * sysdeps/s390/configure: Regenerate.
23866         [BZ #16824]
23867         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
23868         Set round-to-nearest internally to reduce error accumulation.
23870 2014-04-16  Alan Modra  <amodra@gmail.com>
23872         [BZ #16740]
23873         [BZ #16619]
23874         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
23875         * math/libm-test.inc (frexp_test_data): Add tests.
23876         * NEWS: Update fixed bug list.
23878 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23880         * benchtests/Makefile: Depend on libraries in build directory.
23881         (bench-math): Separate out math tests.
23882         (bench-pthread): Separate out pthread tests.
23883         (bench): Include math and pthread tests.
23885 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
23887         [BZ #16831]
23888         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
23889         _dl_debug_initialize.
23891         * configure.ac: Remove SELinux header check.
23892         * configure: Regenerate.
23893         * nscd/selinux.c (perms): Array of const char* to permission names.
23894         (nscd_request_avc_has_perm): Call security_deny_unknown to find
23895         default policy. Call string_to_security_class and string_to_av_perm to
23896         translate strings. Enforce default policy and call avs_has_perm with
23897         results of translated strings.
23899 2014-04-13  David S. Miller  <davem@davemloft.net>
23901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23903 2014-04-12  Allan McRae  <allan@archlinux.org>
23905         [BZ #16838]
23906         * manual/string.texi (Collation Functions): Fix qsort argument
23907         order in example.
23908         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23910 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
23912         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
23913         Make the test a no-op if there are no exceptions defined.
23915 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23917         * elf/Makefile (tests): make tst-dlopen-aout conditional on
23918         enable-hardcoded-path-in-tests
23920 2014-04-11  Will Newton  <will.newton@linaro.org>
23922         * benchtests/Makefile (extra-objs): Add json-lib.o.
23923         (bench-func): Tidy up JSON output.
23924         * benchtests/bench-skeleton.c: Include json-lib.h.
23925         (main): Use JSON library functions to do output of
23926         benchmark results.
23927         * benchtests/bench-timing-type.c (main): Output the
23928         timing type simply, leaving formatting to the user.
23929         * benchtests/json-lib.c: New file.
23930         * benchtests/json-lib.h: Likewise.
23932 2014-04-11  Torvald Riegel  <triegel@redhat.com>
23934         [BZ #15215]
23935         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
23936         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
23937         memory barriers.  Add comments.
23938         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
23939         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
23940         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
23941         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23942         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
23943         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
23945 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23947         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
23948         * sysdeps/s390/s390-64/configure.ac: ... this ...
23949         * sysdeps/s390/configure.ac: ... to here.
23950         * sysdeps/s390/s390-32/configure: Delete file.
23951         * sysdeps/s390/s390-64/configure: Delete file.
23952         * sysdeps/s390/configure: Regenerate.
23954 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
23956         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
23958 2014-04-11  Will Newton  <will.newton@linaro.org>
23960         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
23961         to zero if it is not defined elsewhere.  (mtrim): Test
23962         the value of MALLOC_DEBUG with #if rather than #ifdef.
23964 2014-04-10 Torvald Riegel  <triegel@redhat.com>
23966         * benchtests/pthread_once-inputs: New file.
23967         * benchtests/pthread_once-source.c: New file.
23968         * benchtests/README: Update documentation.
23970 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23971             H.J. Lu  <hongjiu.lu@intel.com>
23973         [BZ #16275]
23974         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
23975         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
23976         * sysdeps/x86_64/configure: Regenerated.
23977         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
23978         macro.
23979         (REGISTER_SAVE_RAX): Likewise.
23980         (REGISTER_SAVE_RCX): Likewise.
23981         (REGISTER_SAVE_RDX): Likewise.
23982         (REGISTER_SAVE_RSI): Likewise.
23983         (REGISTER_SAVE_RDI): Likewise.
23984         (REGISTER_SAVE_R8): Likewise.
23985         (REGISTER_SAVE_R9): Likewise.
23986         (REGISTER_SAVE_BND0): Likewise.
23987         (REGISTER_SAVE_BND1): Likewise.
23988         (REGISTER_SAVE_BND2): Likewise.
23989         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
23990         bound registers when calling _dl_fixup.
23992 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23994         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
23995         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
23996         of its definition.
23997         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
23998         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
23999         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
24000         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
24001         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
24002         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
24003         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
24005 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
24007         [BZ #15514]
24008         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
24009         pathconf(_PC_NAME_MAX).
24011 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24013         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
24014         Remove macro usage.
24015         (__PTHREAD_SPINS): Move definition to ...
24016         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24017         (__PTHREAD_SPINS): ... here.
24018         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24019         (__PTHREAD_SPIN): Likewise.
24020         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
24021         (__PTHREAD_SPIN): Likewise.
24022         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
24023         (__PTHREAD_SPIN): Likewise.
24024         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
24025         (__PTHREAD_SPIN): Likewise.
24026         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24027         (__PTHREAD_SPIN): Likewise.
24028         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24029         (__PTHREAD_SPIN): Likewise.
24030         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
24031         (__PTHREAD_SPIN): Likewise.
24032         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24033         (__PTHREAD_SPIN): Likewise.
24034         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24035         (__PTHREAD_SPIN): Likewise.
24036         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24037         (__PTHREAD_SPIN): Likewise.
24038         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24039         (__PTHREAD_SPIN): Likewise.
24040         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
24041         (__PTHREAD_SPIN): Likewise.
24043         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
24044         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
24045         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
24046         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
24047         imply folder.
24048         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
24049         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
24050         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
24051         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
24052         correct imply path.
24053         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
24054         strlen symbol for non multi-arch builds.
24055         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
24056         missing hidden_def and weak_alias.
24058 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
24060         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
24062 2014-04-07  Will Newton  <will.newton@linaro.org>
24064         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
24065         and contents.  [!_LIBC] Remove #ifndef and contents.
24066         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
24067         * string/memccpy.c (__memccpy): Use ANSI prototype.
24068         * string/memfrob.c (memfrob): Likewise.
24069         * string/strcoll.c (STRCOLL): Likewise.
24070         * string/strlen.c (strlen): Likewise.
24071         * string/strtok.c (STRTOK): Likewise.
24072         * string/strcat.c: Remove unused #include of memcopy.h.
24073         (strcat): Use ANSI prototype.
24074         * string/strchr.c: Remove unused #include of memcopy.h.
24075         (strchr): Use ANSI prototype.
24076         * string/strcmp.c: Remove unused #include of memcopy.h.
24077         (strcmp): Use ANSI prototype.
24078         * string/strcpy.c: Remove unused #include of memcopy.h.
24079         (strcpy): Use ANSI prototype.
24081 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24083         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
24084         * config.make.in (config-extra-cppflags): Set it from
24085         libc_extra_cppflags.
24086         * configure.ac (libc_extra_cflags): Make it accumulate over
24087         configure fragments.
24088         (libc_extra_cppflags): New flag.
24089         * configure. Regenerate.
24090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24091         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
24092         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
24093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24095         [BZ #16815]
24096         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
24097         result for FE_DOWNWARD rounding mode.
24098         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24099         Likewise.
24100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24102 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
24104         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
24105         in function argument name.
24107 2014-04-03  David Svoboda  <svoboda@cert.org>
24109         [BZ #5666]
24110         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
24111         explicitly.
24113 2014-04-03  Roland McGrath  <roland@hack.frob.com>
24115         * elf/dl-unmap-segments.h: New file.
24116         * sysdeps/generic/ldsodefs.h
24117         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
24118         * elf/dl-close.c: Include <dl-unmap-segments.h>.
24119         * elf/dl-fptr.c: Likewise.
24120         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
24121         * sysdeps/aarch64/tlsdesc.c: Likewise.
24122         * sysdeps/arm/tlsdesc.c: Likewise.
24123         * sysdeps/i386/tlsdesc.c: Likewise.
24124         * sysdeps/tile/dl-runtime.c: Likewise.
24125         * sysdeps/x86_64/tlsdesc.c: Likewise.
24126         * elf/dl-load.h: New file.
24127         * elf/dl-load.c: Include it.
24128         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
24129         Macros moved to dl-load.h.
24130         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
24131         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
24132         Use _dl_unmap_segments in place of __munmap.
24133         Break out segment-mapping loop into ...
24134         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
24136 2014-04-03  Will Newton  <will.newton@linaro.org>
24138         * elf/dl-lookup.c (do_lookup_x): Remove comment
24139         referring to nested function and move variable
24140         declarations down to before first use.
24142 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
24144         [BZ #16799]
24145         [BZ #16800]
24146         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
24147         with 0 numerator.
24148         * math/s_catanf.c (__catanf): Likewise.
24149         * math/s_catanh.c (__catanh): Likewise.
24150         * math/s_catanhf.c (__catanhf): Likewise.
24151         * math/s_catanhl.c (__catanhl): Likewise.
24152         * math/s_catanl.c (__catanl): Likewise.
24153         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
24154         by positive zero when computing -Inf result.
24155         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
24156         (catanh_test): Likewise.
24157         * sysdeps/i386/fpu/libm-test-ulps: Update.
24158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24160         [BZ #16789]
24161         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
24162         instead of using underflowing value in computing result.
24163         * math/s_clog10.c (__clog10): Likewise.
24164         * math/s_clog10f.c (__clog10f): Likewise.
24165         * math/s_clog10l.c (__clog10l): Likewise.
24166         * math/s_clogf.c (__clogf): Likewise.
24167         * math/s_clogl.c (__clogl): Likewise.
24168         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
24169         (clog10_test): Likewise.
24170         * sysdeps/i386/fpu/libm-test-ulps: Update.
24171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24173 2014-04-02  Alan Modra  <amodra@gmail.com>
24175         [BZ #16739]
24176         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
24177         output when value is near a power of two.  Use int64_t for lx and
24178         remove casts.  Use decimal rather than hex exponent constants.
24179         Don't use long double multiplication when double will suffice.
24180         * math/libm-test.inc (nextafter_test_data): Add tests.
24181         * NEWS: Add 16739 and 16786 to bug list.
24183         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
24185         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
24187 2014-04-01  Will Newton  <will.newton@linaro.org>
24189         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
24190         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
24192 2014-04-01  Florian Weimer  <fweimer@redhat.com>
24194         [BZ #13347]
24195         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
24196         * nptl/tst-setuid2.c: New file.
24197         * nptl/Makefile (xtests): Add tst-setuid2.
24199 2014-04-01  Alan Modra  <amodra@gmail.com>
24201         [BZ #16786]
24202         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
24204 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
24206         [BZ #6803]
24207         [BZ #6804]
24208         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
24209         set errno as appropriate.
24210         * math/w_scalbf.c (__scalbf): Likewise.
24211         * math/w_scalbl.c (__scalbl): Likewise.
24212         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
24213         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
24214         * math/libm-test.inc (scalb_test_data): Add errno expectations.
24215         Add more NaN tests.
24217         [BZ #16349]
24218         * math/w_atan2.c: Include <errno.h>.
24219         (__atan2): Set errno for result underflowing to zero.
24220         * math/w_atan2f.c: Include <errno.h>.
24221         (__atan2f): Set errno for result underflowing to zero.
24222         * math/w_atan2l.c: Include <errno.h>.
24223         (__atan2l): Set errno for result underflowing to zero.
24224         * math/auto-libm-test-in: Don't allow missing errno for some atan2
24225         tests.
24226         * math/auto-libm-test-out: Regenerated.
24228 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24230         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24231         Encode instruction correctly in little endian.
24232         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24233         Likewise.
24234         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24235         Likewise.
24236         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24237         Likewise.
24238         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24239         Likewise.
24241 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
24243         [BZ #9894]
24244         * sysdeps/unix/sysv/linux/kernel-features.h
24245         [__sparc__ && !__arch64__ && !__sparc_v9__]
24246         (__ASSUME_SET_ROBUST_LIST): Do not define.
24247         [__sparc__ && !__arch64__ && !__sparc_v9__]
24248         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24249         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
24250         Likewise.
24251         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24252         (__ASSUME_FUTEX_LOCK_PI): Undefine.
24253         (__ASSUME_REQUEUE_PI): Likewise.
24254         (__ASSUME_SET_ROBUST_LIST): Likewise.
24255         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24256         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
24257         Undefine.
24258         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24259         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
24260         Likewise.
24261         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
24262         Likewise.
24263         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
24264         Likewise.
24265         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24266         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
24267         Undefine.
24268         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
24269         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
24270         Likewise.
24272         [BZ #16648]
24273         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24274         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
24275         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
24277 2014-03-31  Will Newton  <will.newton@linaro.org>
24279         * benchtests/Makefile (bench): Add ffs and ffsll to list
24280         of tests.
24281         * benchtests/ffs-inputs: New file.
24282         * benchtests/ffsll-inputs: Likewise.
24284 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
24286         [BZ #16770]
24287         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
24288         too large before casting to int.
24289         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
24290         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
24291         * math/libm-test.inc (scalb_test_data): Add more tests.
24293 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24295         * benchtests/Makefile (DETAILED_OPT): New make option.
24296         (bench-func): Run benchmark program with -d if DETAILED_OPT is
24297         set.
24298         * benchtests/bench-skeleton.c: Include stdbool.h.
24299         (main): Store and print timings per input.
24300         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
24301         member to each argument value.
24302         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
24303         (_print_arg_data): Initialize per-input timing to 0.
24305         * benchtests/Makefile (timing-type): New binary.
24306         (bench-clean): Also remove bench-timing-type.
24307         (bench): New target for timing-type.
24308         (bench-func): Print output in JSON format.
24309         * benchtests/bench-skeleton.c (main): Print output in JSON
24310         format.
24311         * benchtests/bench-timing-type.c: New file.
24312         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
24313         (TIMING_PRINT_STATS): Remove.
24314         * benchtests/scripts/bench.py (_print_arg_data): Store variant
24315         name separately.
24317         * benchtests/bench-modf.c: Remove.
24318         * benchtests/modf-inputs: New inputs file.
24320 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
24322         [BZ #16362]
24323         * math/s_clog10.c (M_PI_LOG10E): New macro.
24324         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
24325         imaginary parts are 0.
24326         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
24327         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
24328         imaginary parts are 0.
24329         * math/s_clog10l.c (M_PI_LOG10El): New macro.
24330         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
24331         imaginary parts are 0.
24332         * math/libm-test.inc (clog10_test_data): Update expected results
24333         for when real and imaginary parts are 0.
24335 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
24337         * elf/dl-load.c: Finish conversion of __builtin_expect into
24338         __glibc_{un}likely.
24340 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
24342         [BZ #16348]
24343         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
24344         1+x for argument with exponent below -67.
24345         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
24346         Likewise.
24347         * math/auto-libm-test-in: Add more tests of exp.
24348         * math/auto-libm-test-out: Regenerated.
24350 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24352         [BZ #16759]
24353         * inet/getnetgrent_r.c (get_nonempty_val): New function.
24354         (nscd_getnetgrent): Use it.
24356         [BZ #16760]
24357         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
24358         of stpcpy.
24360 2014-03-27  Andi Kleen  <ak@linux.intel.com>
24362         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
24363         (lll_robust_lock, lll_cond_lock, lll_timedlock)
24364         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24365         (lll_robust_unlock): Remove out of line section. Use cfi
24366         intrinsics.
24367         (LLL_STUB_UNWIND_INFO*): Remove.
24368         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
24369         (lll_robust_lock, lll_cond_lock, lll_timedlock)
24370         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24371         (lll_robust_unlock): Remove out of line section. Use cfi
24372         intrinsics.
24373         (LLL_STUB_UNWIND_INFO*): Remove.
24375 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24377         [BZ #16758]
24378         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
24379         blank values.
24381 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24383         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
24385 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
24387         [BZ #16198]
24388         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
24389         fnstenv.
24390         * math/test-fenv-preserve.c: New file.
24391         * math/Makefile (tests): Add test-fenv-preserve.
24393 2014-03-26  Will Newton <will.newton@linaro.org>
24395         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
24397 2014-03-25  Roland McGrath  <roland@hack.frob.com>
24399         * scripts/versionlist.awk: Partition the version sets and emit all
24400         GLIBC_* (sorted) before all others (sorted).
24402 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24404         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
24405         GLIBC_2.2.5 version.
24407 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24409         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
24410         calls.
24412         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
24413         previous change.
24415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24417 2014-03-25  Andreas Schwab  <schwab@suse.de>
24419         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
24420         label to be used after in6ailist is initialized.
24422 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24424         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24425         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24427 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
24429         [BZ #16357]
24430         [BZ #16599]
24431         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
24432         min_plus_half.
24433         (fp_formats): Update initializers.
24434         (init_fp_formats): Initialize new field.
24435         (output_for_one_input_case): Allow underflow for results up to
24436         min_plus_half.
24437         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
24438         * math/auto-libm-test-in: Don't mark some underflows from asin and
24439         atanh as spurious.
24440         * math/auto-libm-test-out: Regenerated.
24441         * sysdeps/i386/fpu/libm-test-ulps: Update.
24442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24444 2014-03-25  Andreas Schwab  <schwab@suse.de>
24446         * libio/Makefile (tst-ftell-partial-wide-ENV)
24447         (tst-ftell-active-handler-ENV): Define.
24449 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
24451         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
24453 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24455         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
24457 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24459         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
24460         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24461         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24463 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24465         [BZ #16634]
24466         * elf/dl-load.c (open_verify): Add mode parameter.
24467         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
24468         (open_path): Change from boolean 'secure' to complete flag 'mode'
24469         (_dl_map_object): Adjust.
24470         * elf/Makefile (tests): Add tst-dlopen-aout.
24471         * elf/tst-dlopen-aout.c: New test.
24473 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
24475         [BZ #16714]
24476         * sysdeps/unix/sysv/linux/s390/bits/stat.h
24477         (struct stat): Rename member pad0 to __glibc_reserved0.
24479         [BZ #16712]
24480         * sysdeps/s390/s390-32/bits/wordsize.h
24481         (__WORDSIZE32_SIZE_ULONG): New define.
24482         * sysdeps/s390/s390-64/bits/wordsize.h
24483         (__WORDSIZE32_SIZE_ULONG): Likewise.
24484         * sysdeps/generic/stdint.h (SIZE_MAX):
24485         Define as UL if __WORDSIZE32_SIZE_ULONG.
24487         [BZ #16713]
24488         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24489         (__glibc_reserved0): New variable.
24490         (sa_flags): Change type to int.
24492         * posix/Makefile (before-compile): Use += before-compile instead
24493         of a :=.
24495         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24496         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24498 2014-03-20  Andreas Schwab  <schwab@suse.de>
24500         [BZ #16743]
24501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24502         non-matching result from nscd.
24504 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24506         * scripts/bench.py: Moved to ...
24507         * benchtests/scripts/bench.py: ... here.
24508         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24510 2014-03-24  Andreas Schwab  <schwab@suse.de>
24512         [BZ #16002]
24513         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24514         alloca_account and account alloca use for struct in6ailist.
24516 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
24518         [BZ #16284]
24519         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24520         rounding mode to recompute results that overflow to infinity or
24521         underflow to zero.
24522         * math/auto-libm-test-in: Don't mark tests as expected to fail for
24523         bug 16284.
24524         * math/auto-libm-test-out: Regenerated.
24525         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24526         (ccosh_test): Likewise.
24527         (csin_test_data): Use plus_oflow.
24528         (csin_test): Use ALL_RM_TEST.
24529         (csinh_test_data): Use plus_oflow.
24530         (csinh_test): Use ALL_RM_TEST.
24531         * sysdeps/i386/fpu/libm-test-ulps: Update.
24532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24534 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
24536         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24537         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24538         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24540         [BZ #16731]
24541         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24542         when x - 1 is zero.
24543         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24544         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24545         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24546         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24547         argument is 1.
24548         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24549         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24550         zero.
24551         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24552         * sysdeps/i386/fpu/libm-test-ulps: Update.
24553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24555 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24557         * scripts/bench.pl: Remove file.
24558         * scripts/bench.py: New benchmark script.
24559         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24560         * benchtests/README: Mention python dependency.
24561         * scripts/pylintrc: New file.
24562         * scripts/pylint: New file.
24564         * bits/mathdef.h: Use #ifdef instead of #if.
24565         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24566         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24567         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24568         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24569         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24570         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24572 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24573             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24575         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24577         and strpbrk-ppc64 objects.
24578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24579         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24580         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24581         multiarch strpbrk for POWER7.
24582         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24583         multiarch strpbrk for PPC64.
24584         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24585         ifunc selector.
24586         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24587         strpbrk for POWER7.
24589 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24591         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24592         (atan_test): Likewise.
24593         (atanh_test_data): Use NO_TEST_INLINE for two tests.
24594         (atanh_test): Use ALL_RM_TEST.
24595         (atan2_test_data): Likewise.
24596         (cabs_test): Likewise.
24597         (cacosh_test): Likewise.
24598         (carg_test): Likewise.
24599         (casin_test): Likewise.
24600         (casinh_test): Likewise.
24601         (cbrt_test): Likewise.
24602         (csqrt_test): Likewise.
24603         (erf_test): Likewise.
24604         (erfc_test): Likewise.
24605         (pow10_test): Likewise.
24606         (exp2_test): Likewise.
24607         (hypot_test): Likewise.
24608         (j0_test): Likewise.
24609         (j1_test): Likewise.
24610         (lgamma_test): Likewise.
24611         (gamma_test): Likewise.
24612         (sincos_test): Likewise.
24613         (tanh_test): Likewise.
24614         (y0_test): Likewise.
24615         (y1_test): Likewise.
24616         * sysdeps/i386/fpu/libm-test-ulps: Update.
24617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24619 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24621         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24622         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24623         and strcspn-ppc64 objects.
24624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24625         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24626         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24627         multiarch strcspn for POWER7.
24628         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24629         multiarch strcspn for PPC64.
24630         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24631         ifunc selector.
24632         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24633         strcspn for POWER7.
24635 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
24637         * math/gen-libm-test.pl (generate_testfile): Expect only function
24638         name as argument to AUTO_TESTS_* and pass results for all rounding
24639         modes to parse_args.
24640         (parse_auto_input): Separate inputs of automatic tests from
24641         outputs before storing in %auto_tests.
24642         * math/libm-test.inc (acos_test_data): Update call to
24643         AUTO_TESTS_f_f.
24644         (acos_test): Use ALL_RM_TEST.
24645         (acos_tonearest_test_data): Remove.
24646         (acos_test_tonearest): Likewise.
24647         (acos_towardzero_test_data): Likewise.
24648         (acos_test_towardzero): Likewise.
24649         (acos_downward_test_data): Likewise.
24650         (acos_test_downward): Likewise.
24651         (acos_upward_test_data): Likewise.
24652         (acos_test_upward): Likewise.
24653         (acosh_test_data): Update call to AUTO_TESTS_f_f.
24654         (asin_test_data): Likewise.
24655         (asin_test): Use ALL_RM_TEST.
24656         (asin_tonearest_test_data): Remove.
24657         (asin_test_tonearest): Likewise.
24658         (asin_towardzero_test_data): Likewise.
24659         (asin_test_towardzero): Likewise.
24660         (asin_downward_test_data): Likewise.
24661         (asin_test_downward): Likewise.
24662         (asin_upward_test_data): Likewise.
24663         (asin_test_upward): Likewise.
24664         (asinh_test_data): Update call to AUTO_TESTS_f_f.
24665         (atan_test_data): Likewise.
24666         (atanh_test_data): Likewise.
24667         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24668         (cabs_test_data): Update call to AUTO_TESTS_c_f.
24669         (carg_test_data): Likewise.
24670         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24671         (ccos_test_data): Update call to AUTO_TESTS_c_c.
24672         (ccosh_test_data): Likewise.
24673         (cexp_test_data): Likewise.
24674         (clog_test_data): Likewise.
24675         (clog10_test_data): Likewise.
24676         (cos_test_data): Update call to AUTO_TESTS_f_f.
24677         (cos_test): Use ALL_RM_TEST.
24678         (cos_tonearest_test_data): Remove.
24679         (cos_test_tonearest): Likewise.
24680         (cos_towardzero_test_data): Likewise.
24681         (cos_test_towardzero): Likewise.
24682         (cos_downward_test_data): Likewise.
24683         (cos_test_downward): Likewise.
24684         (cos_upward_test_data): Likewise.
24685         (cos_test_upward): Likewise.
24686         (cosh_test_data): Update call to AUTO_TESTS_f_f.
24687         (cosh_test): Use ALL_RM_TEST.
24688         (cosh_tonearest_test_data): Remove.
24689         (cosh_test_tonearest): Likewise.
24690         (cosh_towardzero_test_data): Likewise.
24691         (cosh_test_towardzero): Likewise.
24692         (cosh_downward_test_data): Likewise.
24693         (cosh_test_downward): Likewise.
24694         (cosh_upward_test_data): Likewise.
24695         (cosh_test_upward): Likewise.
24696         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24697         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24698         (ctan_test_data): Likewise.
24699         (ctan_test): Use ALL_RM_TEST.
24700         (ctan_tonearest_test_data): Remove.
24701         (ctan_test_tonearest): Likewise.
24702         (ctan_towardzero_test_data): Likewise.
24703         (ctan_test_towardzero): Likewise.
24704         (ctan_downward_test_data): Likewise.
24705         (ctan_test_downward): Likewise.
24706         (ctan_upward_test_data): Likewise.
24707         (ctan_test_upward): Likewise.
24708         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24709         (ctanh_test): Use ALL_RM_TEST.
24710         (ctanh_tonearest_test_data): Remove.
24711         (ctanh_test_tonearest): Likewise.
24712         (ctanh_towardzero_test_data): Likewise.
24713         (ctanh_test_towardzero): Likewise.
24714         (ctanh_downward_test_data): Likewise.
24715         (ctanh_test_downward): Likewise.
24716         (ctanh_upward_test_data): Likewise.
24717         (ctanh_test_upward): Likewise.
24718         (erf_test_data): Update call to AUTO_TESTS_f_f.
24719         (erfc_test_data): Likewise.
24720         (exp_test_data): Likewise.
24721         (exp_test): Use ALL_RM_TEST.
24722         (exp_tonearest_test_data): Remove.
24723         (exp_test_tonearest): Likewise.
24724         (exp_towardzero_test_data): Likewise.
24725         (exp_test_towardzero): Likewise.
24726         (exp_downward_test_data): Likewise.
24727         (exp_test_downward): Likewise.
24728         (exp_upward_test_data): Likewise.
24729         (exp_test_upward): Likewise.
24730         (exp10_test_data): Update call to AUTO_TESTS_f_f.
24731         (exp10_test): Use ALL_RM_TEST.
24732         (exp10_tonearest_test_data): Remove.
24733         (exp10_test_tonearest): Likewise.
24734         (exp10_towardzero_test_data): Likewise.
24735         (exp10_test_towardzero): Likewise.
24736         (exp10_downward_test_data): Likewise.
24737         (exp10_test_downward): Likewise.
24738         (exp10_upward_test_data): Likewise.
24739         (exp10_test_upward): Likewise.
24740         (exp2_test_data): Update call to AUTO_TESTS_f_f.
24741         (expm1_test_data): Likewise.
24742         (expm1_test): Use ALL_RM_TEST.
24743         (expm1_tonearest_test_data): Remove.
24744         (expm1_test_tonearest): Likewise.
24745         (expm1_towardzero_test_data): Likewise.
24746         (expm1_test_towardzero): Likewise.
24747         (expm1_downward_test_data): Likewise.
24748         (expm1_test_downward): Likewise.
24749         (expm1_upward_test_data): Likewise.
24750         (expm1_test_upward): Likewise.
24751         (fma_test_data): Update call to AUTO_TESTS_fff_f.
24752         (fma_test): Use ALL_RM_TEST.
24753         (fma_towardzero_test_data): Remove.
24754         (fma_test_towardzero): Likewise.
24755         (fma_downward_test_data): Likewise.
24756         (fma_test_downward): Likewise.
24757         (fma_upward_test_data): Likewise.
24758         (fma_test_upward): Likewise.
24759         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24760         (j0_test_data): Update call to AUTO_TESTS_f_f.
24761         (j1_test_data): Likewise.
24762         (jn_test_data): Update call to AUTO_TESTS_if_f.
24763         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24764         (log_test_data): Update call to AUTO_TESTS_f_f.
24765         (log10_test_data): Likewise.
24766         (log1p_test_data): Likewise.
24767         (log2_test_data): Likewise.
24768         (pow_test_data): Update call to AUTO_TESTS_ff_f.
24769         (pow_tonearest_test_data): Likewise.
24770         (sin_test_data): Update call to AUTO_TESTS_f_f.
24771         (sin_test): Use ALL_RM_TEST.
24772         (sin_tonearest_test_data): Remove.
24773         (sin_test_tonearest): Likewise.
24774         (sin_towardzero_test_data): Likewise.
24775         (sin_test_towardzero): Likewise.
24776         (sin_downward_test_data): Likewise.
24777         (sin_test_downward): Likewise.
24778         (sin_upward_test_data): Likewise.
24779         (sin_test_upward): Likewise.
24780         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24781         (sinh_test_data): Update call to AUTO_TESTS_f_f.
24782         (sinh_test): Use ALL_RM_TEST.
24783         (sinh_tonearest_test_data): Remove.
24784         (sinh_test_tonearest): Likewise.
24785         (sinh_towardzero_test_data): Likewise.
24786         (sinh_test_towardzero): Likewise.
24787         (sinh_downward_test_data): Likewise.
24788         (sinh_test_downward): Likewise.
24789         (sinh_upward_test_data): Likewise.
24790         (sinh_test_upward): Likewise.
24791         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24792         (sqrt_test): Use ALL_RM_TEST.
24793         (sqrt_tonearest_test_data): Remove.
24794         (sqrt_test_tonearest): Likewise.
24795         (sqrt_towardzero_test_data): Likewise.
24796         (sqrt_test_towardzero): Likewise.
24797         (sqrt_downward_test_data): Likewise.
24798         (sqrt_test_downward): Likewise.
24799         (sqrt_upward_test_data): Likewise.
24800         (sqrt_test_upward): Likewise.
24801         (tan_test_data): Update call to AUTO_TESTS_f_f.
24802         (tan_test): Use ALL_RM_TEST.
24803         (tan_tonearest_test_data): Remove.
24804         (tan_test_tonearest): Likewise.
24805         (tan_towardzero_test_data): Likewise.
24806         (tan_test_towardzero): Likewise.
24807         (tan_downward_test_data): Likewise.
24808         (tan_test_downward): Likewise.
24809         (tan_upward_test_data): Likewise.
24810         (tan_test_upward): Likewise.
24811         (tanh_test_data): Update call to AUTO_TESTS_f_f.
24812         (tgamma_test_data): Likewise.
24813         (y0_test_data): Likewise.
24814         (y1_test_data): Likewise.
24815         (yn_test_data): Update call to AUTO_TESTS_if_f.
24816         (main): Do not call removed functions.
24818 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
24820         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24821         (ldexp_test_data): Remove.
24822         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
24823         scalbn_test_data.
24824         (scalb_test): Use ALL_RM_TEST.
24826 2014-03-19  Andreas Schwab  <schwab@suse.de>
24828         * nscd/nscd.service: Also invalidate netgroup cache on reload.
24830 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
24832         [BZ #16649]
24833         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24834         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24835         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24836         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24837         (__ASSUME_PREADV): Undefine.
24838         (__ASSUME_PWRITEV): Likewise.
24840 2014-03-18  Roland McGrath  <roland@hack.frob.com>
24842         * bits/mman-linux.h: Add comment about non-Linux use.
24843         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24844         bits/mman-linux.h resting place.
24846         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24847         * bits/mman-linux.h: ... here.
24849 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24851         * conform/conformtest.pl: Add standard definition when calling C
24852         preprocessor on data files.
24853         (checknamespace): Remove unused variable.
24855 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
24857         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
24858         minus_oflow, plus_uflow and minus_uflow in expected results.
24859         * math/libm-test.inc (scalbn_test_data): Add more tests of
24860         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
24861         minus_uflow.
24862         (scalbn_test): Use ALL_RM_TEST.
24863         (scalbln_test_data): Add more tests of negative arguments.  Use
24864         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
24865         (scalbln_test): Use ALL_RM_TEST.
24867 2014-03-18  Roland McGrath  <roland@hack.frob.com>
24869         * scripts/abilist.awk: Ignore symbols marked with .hidden.
24871 2014-03-18  Will Newton  <will.newton@linaro.org>
24873         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
24874         inaccurate comment.
24876 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
24878         * Makerules [!subdir] (check-abi): Exit with error status if a
24879         test failed.
24881 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
24883         * math/libm-test.inc (nearbyint_test_data): Include all tests used
24884         for rint.  Include results for all rounding modes.
24885         (nearbyint_test): Use ALL_RM_TEST.
24886         (rint_test_data): Include all tests used for nearbyint.
24888 2014-03-17  Will Newton  <will.newton@linaro.org>
24890         * nptl/sysdeps/pthread/pthread.h: Revert previous
24891         change.
24893         * sysdeps/generic/ldsodefs.h: Revert previous
24894         change.
24896         * libio/genops.c: Revert previous change.
24897         * libio/libioP.h: Likewise.
24898         * stdio-common/vfprintf.c: Likewise.
24900         * sysdeps/generic/math_private.h: Revert previous
24901         change.
24903         * sysdeps/generic/math_private.h: Check whether
24904         HAVE_RM_CTX is defined with #ifdef rather
24905         than #if.
24907         * argp/argp-fmtstream.h: Check whether
24908         __STRICT_ANSI__ is defined with #ifdef rather
24909         than #if.
24910         * argp/argp.h: Likewise.
24912         * libio/genops.c: Check whether
24913         _IO_JUMPS_OFFSET is defined with #ifdef rather
24914         than #if.
24915         * libio/libioP.h: Likewise.
24916         * stdio-common/vfprintf.c: Likewise.
24918         * sysdeps/generic/ldsodefs.h: Check whether
24919         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
24920         than #if.
24922         * nptl/sysdeps/pthread/pthread.h: Check
24923         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
24924         its value.
24926 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24928         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
24929         setting O_APPEND.
24930         * libio/tst-ftell-active-handler.c (do_append_test): Add a
24931         test case.
24933         [BZ #16680]
24934         * libio/fileops.c (_IO_file_open): Seek to end of file but
24935         don't cache the offset.
24936         (get_file_offset): Remove function.
24937         (do_ftell): Use cached offset when available.
24938         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
24939         don't cache the offset.
24940         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
24941         case.
24942         (do_one_test): Call it.
24943         (do_ftell_test): Fix up expected old offset for a+ mode.
24944         * libio/wfileops.c (do_ftell_wide): Used cached offset when
24945         available.
24947         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
24948         up test status with function return status.
24949         (do_write_test): Likewise.
24950         (do_append_test): Likewise.
24952         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
24953         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
24954         Remove.
24956 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
24958         * math/gen-libm-test.pl (parse_args): Handle results specified for
24959         each rounding mode separately.
24960         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
24961         tests and results from lrint_tonearest_test_data,
24962         lrint_towardzero_test_data, lrint_downward_test_data and
24963         lrint_upward_test_data.
24964         (lrint_test): Use ALL_RM_TEST.
24965         (lrint_tonearest_test_data): Remove.
24966         (lrint_test_tonearest): Likewise.
24967         (lrint_towardzero_test_data): Likewise.
24968         (lrint_test_towardzero): Likewise.
24969         (lrint_downward_test_data): Likewise.
24970         (lrint_test_downward): Likewise.
24971         (lrint_upward_test_data): Likewise.
24972         (lrint_test_upward): Likewise.
24973         (llrint_test_data): Merge in per-rounding-mode tests and results
24974         from llrint_tonearest_test_data, llrint_towardzero_test_data,
24975         llrint_downward_test_data and llrint_upward_test_data.
24976         (llrint_test): Use ALL_RM_TEST.
24977         (llrint_tonearest_test_data): Remove.
24978         (llrint_test_tonearest): Likewise.
24979         (llrint_towardzero_test_data): Likewise.
24980         (llrint_test_towardzero): Likewise.
24981         (llrint_downward_test_data): Likewise.
24982         (llrint_test_downward): Likewise.
24983         (llrint_upward_test_data): Likewise.
24984         (llrint_test_upward): Likewise.
24985         (rint_test_data): Merge in per-rounding-mode tests and results
24986         from rint_tonearest_test_data, rint_towardzero_test_data,
24987         rint_downward_test_data and rint_upward_test_data.  Add
24988         per-rounding-mode results for tests not in those arrays.
24989         (rint_test): Use ALL_RM_TEST.
24990         (rint_tonearest_test_data): Remove.
24991         (rint_test_tonearest): Likewise.
24992         (rint_towardzero_test_data): Likewise.
24993         (rint_test_towardzero): Likewise.
24994         (rint_downward_test_data): Likewise.
24995         (rint_test_downward): Likewise.
24996         (rint_upward_test_data): Likewise.
24997         (rint_test_upward): Likewise.
24998         (main): Don't call removed functions.
25000 2014-03-14  Roland McGrath  <roland@hack.frob.com>
25002         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
25003         "Compiled on ..." crapola.  It is anti-useful.
25005 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
25007         * scripts/evaluate-test.sh: Handle fourth argument to determine
25008         whether test run should stop on failure.
25009         * Makeconfig (stop-on-test-failure): New variable.
25010         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
25011         $(stop-on-test-failure).
25012         * Makefile (tests): Give a summary of results from testing and
25013         exit with failure status if they include an ERROR or FAIL.
25014         (xtests): Likewise.
25015         * manual/install.texi (Configuring and compiling): Mention
25016         stop-on-test-failure=y.
25017         * INSTALL: Regenerated.
25019 2014-03-14  Roland McGrath  <roland@hack.frob.com>
25021         * scripts/versionlist.awk: New file.
25022         * Makerules [$(build-shared) = yes]
25023         (postclean-generated): Add Versions.def, not Versions.def.v and
25024         Versions.def.v.i.
25025         ($(common-objpfx)Versions.def.v.i): Target removed.
25026         ($(common-objpfx)Versions.def): New target.
25027         ($(common-objpfx)Versions.all): Depend on that rather that
25028         $(common-objpfx)Versions.def.v.
25029         * Versions.def: File removed.
25031         * Makeconfig (+gccwarn): Add -Wundef.
25032         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
25033         a dl-sysdep.h breaking its contract.
25034         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
25035         * include/stackinfo.h: New file.
25036         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
25037         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
25038         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
25039         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
25040         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
25041         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
25042         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25043         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25044         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25045         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25046         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25047         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
25048         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25049         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25050         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25052 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25054         [BZ #16707]
25055         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
25056         implementation.
25057         * math/libm-test.inc (round_test_data): Add more tests.
25059         [BZ #16706]
25060         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
25061         implementation.
25062         * math/libm-test.inc (nearbyint_test_data): Add more tests.
25064         [BZ #16701]
25065         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
25066         implementation.
25067         * math/libm-test.inc (ceil_test_data): Add more tests.
25069         * math/libm-test.inc (trunc_test_data): Add more tests related to
25070         BZ#16414.
25072 2014-03-14  Roland McGrath  <roland@hack.frob.com>
25074         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
25075         with #if rather than #ifdef.
25076         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
25078 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
25080         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
25081         first.  Disable AVX-512 GCC support if assembler doesn't support
25082         it.
25083         * sysdeps/x86_64/configure: Regenerated.
25085 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
25087         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
25088         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
25089         (__old_pthread_attr_setstack): Likewise.
25090         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
25091         [!_STACK_GROWS_DOWN]: Likewise.
25093 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
25095         * config.make.in (have-bash2): Delete.
25096         * configure.ac (libc_cv_have_bash2): Delete.
25097         * configure: Regenerate.
25098         * elf/Makefile (common-ldd-rewrite): Rename to ...
25099         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
25100         (sh-ldd-rewrite): Delete.
25101         (bash-ldd-rewrite): Delete.
25102         (have-bash2): Delete checks.
25103         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
25104         ldd-rewrite.
25106         * config.make.in (have-ksh): Delete.
25107         (KSH): Delete.
25108         * configure.ac (libc_cv_have_ksh): Delete.
25109         * configure: Regenerate.
25111         * elf/Makefile: Delete $(have-ksh) check.
25112         ($(objpfx)sotruss): Change KSH to BASH.
25113         * elf/sotruss.ksh: Rename to ...
25114         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
25115         function style to match POSIX.  Drop ksh vim mode setting.
25117         * manual/time.texi (Specifying the Time Zone with TZ): Change
25118         Tuesday to Thursday.
25120         * debug/tst-longjmp_chk2.c: Update header comment.
25121         (stackoverflow_handler): Add comment.  Call assert on pass value.
25123 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
25125         [BZ #16194]
25126         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
25127         (HAVE_AVX512_ASM_SUPPORT): Likewise.
25128         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
25129         (La_x86_64_vector): Add zmm.
25130         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
25131         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
25132         ($(objpfx)tst-audit10): New target.
25133         ($(objpfx)tst-audit10.out): Likewise.
25134         (tst-audit10-ENV): New.
25135         (AVX512-CFLAGS): Likewise.
25136         (CFLAGS-tst-audit10.c): Likewise.
25137         (CFLAGS-tst-auditmod10a.c): Likewise.
25138         (CFLAGS-tst-auditmod10b.c): Likewise.
25139         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
25140         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
25141         * sysdeps/x86_64/configure: Regenerated.
25142         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
25143         AVX-512 zmm register support.
25144         (_dl_x86_64_save_sse): Likewise.
25145         (_dl_x86_64_restore_sse): Likewise.
25146         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
25147         size vector registers.
25148         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
25149         (ZMM_SIZE): Likewise.
25150         * sysdeps/x86_64/tst-audit10.c: New file.
25151         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
25152         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
25154 2014-03-13  Roland McGrath  <roland@hack.frob.com>
25156         * configure.ac (HAVE_EHDR_START): New check.
25157         * configure: Regenerated.
25158         * config.h.in (HAVE_EHDR_START): New #undef.
25159         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
25160         assuming the lowest-addressed segment maps the start of the file.
25162 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
25164         * INSTALL: Regenerated.
25166 2014-03-13  Will Newton  <will.newton@linaro.org>
25168         * manual/setjmp.texi (System V contexts): Improve
25169         clarity and grammar of documentation.
25171 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25173         [BZ #16381]
25174         * elf/Makefile (tests): Add tst-pie2.
25175         (tests-pie): Add tst-pie2.
25176         * elf/tst-pie2.c: New file.
25177         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
25178         for ET_EXEC.
25179         * elf/rtld.c (map_doit): Load executable as lt_executable.
25180         (dl_main): Likewise.
25182 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
25184         [BZ #16642]
25185         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25186         (__ASSUME_PSELECT): Undefine.
25188 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25190         [BZ #16689]
25191         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
25192         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
25193         static build.
25194         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
25195         selector for static builds.
25197 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25199         [BZ #16695]
25200         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
25201         key in the buffer.
25203 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25205         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
25206         IFUNC selector for static builds.
25208 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
25210         * sysdeps/mips/math_private.h [__mips_hard_float]
25211         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
25212         libc_feresetround_mips_ctx.
25213         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
25214         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
25215         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
25217         [BZ #16677]
25218         * math/s_nextafter.c (__nextafter): Do not return value from
25219         overflowing computation.
25220         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
25221         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
25222         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
25223         Likewise.
25224         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
25225         Likewise.
25226         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
25227         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
25229 2014-03-11  Roland McGrath  <roland@hack.frob.com>
25231         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
25232         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
25233         Move sfi_sp use from the load-multiple (that no longer sets sp) to
25234         the new mov targetting sp.
25236 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25238         [BZ #16683]
25239         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
25240         Define it for static builds as well.
25241         (NO_BZERO_IMPL): Likewise.
25243 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25245         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
25246         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
25247         multiarch strspn for PPC64.
25248         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
25249         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
25250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25251         (__libc_ifunc_impl_list): Likewise.
25252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
25253         multiarch optimizations
25254         * string/strspn.c (strspn): Using macro to redefine symbol name.
25256 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25257             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25259         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
25260         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
25261         multiarch strncat for PPC64.
25262         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
25263         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
25264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25265         (__libc_ifunc_impl_list): Likewise.
25266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
25267         multiarch optimizations
25269 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25271         [BZ #16639]
25272         * nscd/nscd.service: Make service type forking.
25274 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25276         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
25277         sign in non default rounding modes.
25278         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
25280 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
25282         * math/libm-test.inc (ALL_RM_TEST): New macro.
25283         (ceil_test): Use ALL_RM_TEST.
25284         (cimag_test): Likewise.
25285         (conj_test): Likewise.
25286         (copysign_test): Likewise.
25287         (cproj_test): Likewise.
25288         (creal_test): Likewise.
25289         (fabs_test): Likewise.
25290         (floor_test): Likewise.
25291         (fmax_test): Likewise.
25292         (fmin_test): Likewise.
25293         (fmod_test): Likewise.
25294         (fpclassify_test): Likewise.
25295         (frexp_test): Likewise.
25296         (ilogb_test): Likewise.
25297         (isfinite_test): Likewise.
25298         (finite_test): Likewise.
25299         (isgreater_test): Likewise.
25300         (isgreaterequal_test): Likewise.
25301         (isinf_test): Likewise.
25302         (isless_test): Likewise.
25303         (islessequal_test): Likewise.
25304         (islessgreater_test): Likewise.
25305         (isnan_test): Likewise.
25306         (isnormal_test): Likewise.
25307         (issignaling_test): Likewise.
25308         (isunordered_test): Likewise.
25309         (logb_test): Likewise.
25310         (logb_downward_test_data): Remove.
25311         (logb_test_downward): Likewise.
25312         (lround_test): Use ALL_RM_TEST.
25313         (llround_test): Likewise.
25314         (modf_test): Likewise.
25315         (nexttoward_test): Likewise.
25316         (remainder_test): Likewise.
25317         (drem_test): Likewise.
25318         (remainder_tonearest_test_data): Likewise.
25319         (remainder_test_tonearest): Likewise.
25320         (drem_test_tonearest): Likewise.
25321         (remainder_towardzero_test_data): Likewise.
25322         (remainder_test_towardzero): Likewise.
25323         (drem_test_towardzero): Likewise.
25324         (remainder_downward_test_data): Likewise.
25325         (remainder_test_downward): Likewise.
25326         (drem_test_downward): Likewise.
25327         (remainder_upward_test_data): Likewise.
25328         (remainder_test_upward): Likewise.
25329         (drem_test_upward): Likewise.
25330         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
25331         (round_test): Use ALL_RM_TEST.
25332         (signbit_test): Likewise.
25333         (trunc_test): Likewise.
25334         (significand_test): Likewise.
25335         (main): Don't call removed functions.
25337 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
25339         [BZ #16674]
25340         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
25341         || __USE_XOPEN2K8].
25342         (ILL_ILLOPN): Likewise.
25343         (ILL_ILLADR): Likewise.
25344         (ILL_ILLTRP): Likewise.
25345         (ILL_PRVOPC): Likewise.
25346         (ILL_PRVREG): Likewise.
25347         (ILL_COPROC): Likewise.
25348         (ILL_BADSTK): Likewise.
25349         (FPE_INTDIV): Likewise.
25350         (FPE_INTOVF): Likewise.
25351         (FPE_FLTDIV): Likewise.
25352         (FPE_FLTOVF): Likewise.
25353         (FPE_FLTUND): Likewise.
25354         (FPE_FLTRES): Likewise.
25355         (FPE_FLTINV): Likewise.
25356         (FPE_FLTSUB): Likewise.
25357         (SEGV_MAPERR): Likewise.
25358         (SEGV_ACCERR): Likewise.
25359         (BUS_ADRALN): Likewise.
25360         (BUS_ADRERR): Likewise.
25361         (BUS_OBJERR): Likewise.
25362         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25363         (TRAP_TRACE): Likewise.
25364         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25365         __USE_XOPEN2K8].
25366         (CLD_KILLED): Likewise.
25367         (CLD_DUMPED): Likewise.
25368         (CLD_TRAPPED): Likewise.
25369         (CLD_STOPPED): Likewise.
25370         (CLD_CONTINUED): Likewise.
25371         (POLL_IN): Likewise.
25372         (POLL_OUT): Likewise.
25373         (POLL_MSG): Likewise.
25374         (POLL_ERR): Likewise.
25375         (POLL_PRI): Likewise.
25376         (POLL_HUP): Likewise.
25377         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
25378         Likewise.
25379         (ILL_ILLOPN): Likewise.
25380         (ILL_ILLADR): Likewise.
25381         (ILL_ILLTRP): Likewise.
25382         (ILL_PRVOPC): Likewise.
25383         (ILL_PRVREG): Likewise.
25384         (ILL_COPROC): Likewise.
25385         (ILL_BADSTK): Likewise.
25386         (FPE_INTDIV): Likewise.
25387         (FPE_INTOVF): Likewise.
25388         (FPE_FLTDIV): Likewise.
25389         (FPE_FLTOVF): Likewise.
25390         (FPE_FLTUND): Likewise.
25391         (FPE_FLTRES): Likewise.
25392         (FPE_FLTINV): Likewise.
25393         (FPE_FLTSUB): Likewise.
25394         (SEGV_MAPERR): Likewise.
25395         (SEGV_ACCERR): Likewise.
25396         (BUS_ADRALN): Likewise.
25397         (BUS_ADRERR): Likewise.
25398         (BUS_OBJERR): Likewise.
25399         (BUS_MCEERR_AR): Likewise.
25400         (BUS_MCEERR_AO): Likewise.
25401         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25402         (TRAP_TRACE): Likewise.
25403         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25404         __USE_XOPEN2K8].
25405         (CLD_KILLED): Likewise.
25406         (CLD_DUMPED): Likewise.
25407         (CLD_TRAPPED): Likewise.
25408         (CLD_STOPPED): Likewise.
25409         (CLD_CONTINUED): Likewise.
25410         (POLL_IN): Likewise.
25411         (POLL_OUT): Likewise.
25412         (POLL_MSG): Likewise.
25413         (POLL_ERR): Likewise.
25414         (POLL_PRI): Likewise.
25415         (POLL_HUP): Likewise.
25416         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
25417         (ILL_ILLOPN): Likewise.
25418         (ILL_ILLADR): Likewise.
25419         (ILL_ILLTRP): Likewise.
25420         (ILL_PRVOPC): Likewise.
25421         (ILL_PRVREG): Likewise.
25422         (ILL_COPROC): Likewise.
25423         (ILL_BADSTK): Likewise.
25424         (FPE_INTDIV): Likewise.
25425         (FPE_INTOVF): Likewise.
25426         (FPE_FLTDIV): Likewise.
25427         (FPE_FLTOVF): Likewise.
25428         (FPE_FLTUND): Likewise.
25429         (FPE_FLTRES): Likewise.
25430         (FPE_FLTINV): Likewise.
25431         (FPE_FLTSUB): Likewise.
25432         (SEGV_MAPERR): Likewise.
25433         (SEGV_ACCERR): Likewise.
25434         (BUS_ADRALN): Likewise.
25435         (BUS_ADRERR): Likewise.
25436         (BUS_OBJERR): Likewise.
25437         (BUS_MCEERR_AR): Likewise.
25438         (BUS_MCEERR_AO): Likewise.
25439         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25440         (TRAP_TRACE): Likewise.
25441         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25442         __USE_XOPEN2K8].
25443         (CLD_KILLED): Likewise.
25444         (CLD_DUMPED): Likewise.
25445         (CLD_TRAPPED): Likewise.
25446         (CLD_STOPPED): Likewise.
25447         (CLD_CONTINUED): Likewise.
25448         (POLL_IN): Likewise.
25449         (POLL_OUT): Likewise.
25450         (POLL_MSG): Likewise.
25451         (POLL_ERR): Likewise.
25452         (POLL_PRI): Likewise.
25453         (POLL_HUP): Likewise.
25454         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
25455         Likewise.
25456         (ILL_ILLOPN): Likewise.
25457         (ILL_ILLADR): Likewise.
25458         (ILL_ILLTRP): Likewise.
25459         (ILL_PRVOPC): Likewise.
25460         (ILL_PRVREG): Likewise.
25461         (ILL_COPROC): Likewise.
25462         (ILL_BADSTK): Likewise.
25463         (ILL_BADIADDR): Likewise.
25464         (ILL_BREAK): Likewise.
25465         (FPE_INTDIV): Likewise.
25466         (FPE_INTOVF): Likewise.
25467         (FPE_FLTDIV): Likewise.
25468         (FPE_FLTOVF): Likewise.
25469         (FPE_FLTUND): Likewise.
25470         (FPE_FLTRES): Likewise.
25471         (FPE_FLTINV): Likewise.
25472         (FPE_FLTSUB): Likewise.
25473         (FPE_DECOVF): Likewise.
25474         (FPE_DECDIV): Likewise.
25475         (FPE_DECERR): Likewise.
25476         (FPE_INVASC): Likewise.
25477         (FPE_INVDEC): Likewise.
25478         (SEGV_MAPERR): Likewise.
25479         (SEGV_ACCERR): Likewise.
25480         (SEGV_PSTKOVF): Likewise.
25481         (BUS_ADRALN): Likewise.
25482         (BUS_ADRERR): Likewise.
25483         (BUS_OBJERR): Likewise.
25484         (BUS_MCEERR_AR): Likewise.
25485         (BUS_MCEERR_AO): Likewise.
25486         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25487         (TRAP_TRACE): Likewise.
25488         (TRAP_BRANCH): Likewise.
25489         (TRAP_HWBKPT): Likewise.
25490         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25491         __USE_XOPEN2K8].
25492         (CLD_KILLED): Likewise.
25493         (CLD_DUMPED): Likewise.
25494         (CLD_TRAPPED): Likewise.
25495         (CLD_STOPPED): Likewise.
25496         (CLD_CONTINUED): Likewise.
25497         (POLL_IN): Likewise.
25498         (POLL_OUT): Likewise.
25499         (POLL_MSG): Likewise.
25500         (POLL_ERR): Likewise.
25501         (POLL_PRI): Likewise.
25502         (POLL_HUP): Likewise.
25503         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25504         (ILL_ILLOPN): Likewise.
25505         (ILL_ILLADR): Likewise.
25506         (ILL_ILLTRP): Likewise.
25507         (ILL_PRVOPC): Likewise.
25508         (ILL_PRVREG): Likewise.
25509         (ILL_COPROC): Likewise.
25510         (ILL_BADSTK): Likewise.
25511         (FPE_INTDIV): Likewise.
25512         (FPE_INTOVF): Likewise.
25513         (FPE_FLTDIV): Likewise.
25514         (FPE_FLTOVF): Likewise.
25515         (FPE_FLTUND): Likewise.
25516         (FPE_FLTRES): Likewise.
25517         (FPE_FLTINV): Likewise.
25518         (FPE_FLTSUB): Likewise.
25519         (SEGV_MAPERR): Likewise.
25520         (SEGV_ACCERR): Likewise.
25521         (BUS_ADRALN): Likewise.
25522         (BUS_ADRERR): Likewise.
25523         (BUS_OBJERR): Likewise.
25524         (BUS_MCEERR_AR): Likewise.
25525         (BUS_MCEERR_AO): Likewise.
25526         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25527         (TRAP_TRACE): Likewise.
25528         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25529         __USE_XOPEN2K8].
25530         (CLD_KILLED): Likewise.
25531         (CLD_DUMPED): Likewise.
25532         (CLD_TRAPPED): Likewise.
25533         (CLD_STOPPED): Likewise.
25534         (CLD_CONTINUED): Likewise.
25535         (POLL_IN): Likewise.
25536         (POLL_OUT): Likewise.
25537         (POLL_MSG): Likewise.
25538         (POLL_ERR): Likewise.
25539         (POLL_PRI): Likewise.
25540         (POLL_HUP): Likewise.
25541         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25542         (ILL_ILLOPN): Likewise.
25543         (ILL_ILLADR): Likewise.
25544         (ILL_ILLTRP): Likewise.
25545         (ILL_PRVOPC): Likewise.
25546         (ILL_PRVREG): Likewise.
25547         (ILL_COPROC): Likewise.
25548         (ILL_BADSTK): Likewise.
25549         (FPE_INTDIV): Likewise.
25550         (FPE_INTOVF): Likewise.
25551         (FPE_FLTDIV): Likewise.
25552         (FPE_FLTOVF): Likewise.
25553         (FPE_FLTUND): Likewise.
25554         (FPE_FLTRES): Likewise.
25555         (FPE_FLTINV): Likewise.
25556         (FPE_FLTSUB): Likewise.
25557         (SEGV_MAPERR): Likewise.
25558         (SEGV_ACCERR): Likewise.
25559         (BUS_ADRALN): Likewise.
25560         (BUS_ADRERR): Likewise.
25561         (BUS_OBJERR): Likewise.
25562         (BUS_MCEERR_AR): Likewise.
25563         (BUS_MCEERR_AO): Likewise.
25564         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25565         (TRAP_TRACE): Likewise.
25566         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25567         __USE_XOPEN2K8].
25568         (CLD_KILLED): Likewise.
25569         (CLD_DUMPED): Likewise.
25570         (CLD_TRAPPED): Likewise.
25571         (CLD_STOPPED): Likewise.
25572         (CLD_CONTINUED): Likewise.
25573         (POLL_IN): Likewise.
25574         (POLL_OUT): Likewise.
25575         (POLL_MSG): Likewise.
25576         (POLL_ERR): Likewise.
25577         (POLL_PRI): Likewise.
25578         (POLL_HUP): Likewise.
25579         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25580         (ILL_ILLOPN): Likewise.
25581         (ILL_ILLADR): Likewise.
25582         (ILL_ILLTRP): Likewise.
25583         (ILL_PRVOPC): Likewise.
25584         (ILL_PRVREG): Likewise.
25585         (ILL_COPROC): Likewise.
25586         (ILL_BADSTK): Likewise.
25587         (FPE_INTDIV): Likewise.
25588         (FPE_INTOVF): Likewise.
25589         (FPE_FLTDIV): Likewise.
25590         (FPE_FLTOVF): Likewise.
25591         (FPE_FLTUND): Likewise.
25592         (FPE_FLTRES): Likewise.
25593         (FPE_FLTINV): Likewise.
25594         (FPE_FLTSUB): Likewise.
25595         (SEGV_MAPERR): Likewise.
25596         (SEGV_ACCERR): Likewise.
25597         (BUS_ADRALN): Likewise.
25598         (BUS_ADRERR): Likewise.
25599         (BUS_OBJERR): Likewise.
25600         (BUS_MCEERR_AR): Likewise.
25601         (BUS_MCEERR_AO): Likewise.
25602         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25603         (TRAP_TRACE): Likewise.
25604         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25605         __USE_XOPEN2K8].
25606         (CLD_KILLED): Likewise.
25607         (CLD_DUMPED): Likewise.
25608         (CLD_TRAPPED): Likewise.
25609         (CLD_STOPPED): Likewise.
25610         (CLD_CONTINUED): Likewise.
25611         (POLL_IN): Likewise.
25612         (POLL_OUT): Likewise.
25613         (POLL_MSG): Likewise.
25614         (POLL_ERR): Likewise.
25615         (POLL_PRI): Likewise.
25616         (POLL_HUP): Likewise.
25617         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25618         (ILL_ILLOPN): Likewise.
25619         (ILL_ILLADR): Likewise.
25620         (ILL_ILLTRP): Likewise.
25621         (ILL_PRVOPC): Likewise.
25622         (ILL_PRVREG): Likewise.
25623         (ILL_COPROC): Likewise.
25624         (ILL_BADSTK): Likewise.
25625         (ILL_DBLFLT): Likewise.
25626         (ILL_HARDWALL): Likewise.
25627         (FPE_INTDIV): Likewise.
25628         (FPE_INTOVF): Likewise.
25629         (FPE_FLTDIV): Likewise.
25630         (FPE_FLTOVF): Likewise.
25631         (FPE_FLTUND): Likewise.
25632         (FPE_FLTRES): Likewise.
25633         (FPE_FLTINV): Likewise.
25634         (FPE_FLTSUB): Likewise.
25635         (SEGV_MAPERR): Likewise.
25636         (SEGV_ACCERR): Likewise.
25637         (BUS_ADRALN): Likewise.
25638         (BUS_ADRERR): Likewise.
25639         (BUS_OBJERR): Likewise.
25640         (BUS_MCEERR_AR): Likewise.
25641         (BUS_MCEERR_AO): Likewise.
25642         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25643         (TRAP_TRACE): Likewise.
25644         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25645         __USE_XOPEN2K8].
25646         (CLD_KILLED): Likewise.
25647         (CLD_DUMPED): Likewise.
25648         (CLD_TRAPPED): Likewise.
25649         (CLD_STOPPED): Likewise.
25650         (CLD_CONTINUED): Likewise.
25651         (POLL_IN): Likewise.
25652         (POLL_OUT): Likewise.
25653         (POLL_MSG): Likewise.
25654         (POLL_ERR): Likewise.
25655         (POLL_PRI): Likewise.
25656         (POLL_HUP): Likewise.
25657         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25658         (ILL_ILLOPN): Likewise.
25659         (ILL_ILLADR): Likewise.
25660         (ILL_ILLTRP): Likewise.
25661         (ILL_PRVOPC): Likewise.
25662         (ILL_PRVREG): Likewise.
25663         (ILL_COPROC): Likewise.
25664         (ILL_BADSTK): Likewise.
25665         (FPE_INTDIV): Likewise.
25666         (FPE_INTOVF): Likewise.
25667         (FPE_FLTDIV): Likewise.
25668         (FPE_FLTOVF): Likewise.
25669         (FPE_FLTUND): Likewise.
25670         (FPE_FLTRES): Likewise.
25671         (FPE_FLTINV): Likewise.
25672         (FPE_FLTSUB): Likewise.
25673         (SEGV_MAPERR): Likewise.
25674         (SEGV_ACCERR): Likewise.
25675         (BUS_ADRALN): Likewise.
25676         (BUS_ADRERR): Likewise.
25677         (BUS_OBJERR): Likewise.
25678         (BUS_MCEERR_AR): Likewise.
25679         (BUS_MCEERR_AO): Likewise.
25680         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25681         (TRAP_TRACE): Likewise.
25682         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25683         __USE_XOPEN2K8].
25684         (CLD_KILLED): Likewise.
25685         (CLD_DUMPED): Likewise.
25686         (CLD_TRAPPED): Likewise.
25687         (CLD_STOPPED): Likewise.
25688         (CLD_CONTINUED): Likewise.
25689         (POLL_IN): Likewise.
25690         (POLL_OUT): Likewise.
25691         (POLL_MSG): Likewise.
25692         (POLL_ERR): Likewise.
25693         (POLL_PRI): Likewise.
25694         (POLL_HUP): Likewise.
25695         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25696         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25698         [BZ #16670]
25699         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25700         before #include of <time.h>.
25701         [!__USE_XOPEN2K] (__need_timespec): Likewise.
25702         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25703         (test-xfail-UNIX98/sched.h/conform): Likewise.
25705 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25707         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25708         error absence of trapping exception support.
25709         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25711 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
25713         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25714         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25715         * timezone/Makefile (testdata): Move definition above include of
25716         Rules.
25717         (test-zones): New variable.
25718         (tests-special): Add zone files.
25719         (build-testdata): Use $(evaluate-test).
25721         * elf/Makefile (tests-special): Rename tests to end with .out.
25722         ($(objpfx)noload-mem): Likewise.
25723         ($(objpfx)tst-leaks1-mem): Likewise.
25724         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25725         * iconv/Makefile (xtests-special): Change test-iconvconfig to
25726         $(objpfx)test-iconvconfig.out.
25727         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
25728         set -e inside subshell and redirect output to file.
25729         * iconvdata/Makefile (generated): Rename tests to end with .out.
25730         Correct type.
25731         (tests-special): Rename tests to end with .out.
25732         ($(objpfx)mtrace-tst-loading): Likewise.
25733         * intl/Makefile (generated): Likewise.
25734         (tests-special): Likewise.
25735         ($(objpfx)mtrace-tst-gettext): Likewise.
25736         * misc/Makefile (generated): Likewise.
25737         (tests-special): Likewise.
25738         ($(objpfx)tst-error1-mem): Likewise.
25739         * nptl/Makefile (tests-special): Likewise.
25740         ($(objpfx)tst-stack3-mem): Likewise.
25741         (generated): Likewise.
25742         * posix/Makefile (generated): Likewise.
25743         (tests-special): Likewise.
25744         (xtests-special): Likewise.
25745         ($(objpfx)tst-fnmatch-mem): Likewise.
25746         ($(objpfx)bug-regex2-mem): Likewise.
25747         ($(objpfx)bug-regex14-mem): Likewise.
25748         ($(objpfx)bug-regex21-mem): Likewise.
25749         ($(objpfx)bug-regex31-mem): Likewise.
25750         ($(objpfx)tst-vfork3-mem): Likewise.
25751         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25752         ($(objpfx)tst-pcre-mem): Likewise.
25753         ($(objpfx)tst-boost-mem): Likewise.
25754         ($(objpfx)bug-ga2-mem): Likewise.
25755         ($(objpfx)bug-glob2-mem): Likewise.
25756         * resolv/Makefile (generate): Likewise.
25757         (tests-special): Likewise.
25758         (xtests-special): Likewise.
25759         (generated): Likewise.
25760         ($(objpfx)mtrace-tst-leaks): Likewise.
25761         ($(objpfx)mtrace-tst-leaks2): Likewise.
25763         * scripts/merge-test-results.sh: New file.
25764         * Makefile (tests-special-notdir): New variable.
25765         (tests): Run merge-test-results.sh.
25766         (xtests): Likewise.
25767         * Rules (tests-special-notdir): New variable.
25768         (xtests-special-notdir): Likewise.
25769         (tests): Run merge-test-results.sh
25770         (xtests): Likewise.
25772         * Makeconfig (test-xfail-name): New variable.
25773         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25774         compute variable name for expected failures.
25775         * conform/Makefile (conformtest-headers-data): New variable.
25776         (conformtest-standards): Likewise.
25777         (conformtest-headers-ISO): Likewise.
25778         (conformtest-headers-ISO99): Likewise.
25779         (conformtest-headers-ISO11): Likewise.
25780         (conformtest-headers-POSIX): Likewise.
25781         (conformtest-headers-XPG3): Likewise.
25782         (conformtest-headers-XPG4): Likewise.
25783         (conformtest-headers-UNIX98): Likewise.
25784         (conformtest-headers-XOPEN2K): Likewise.
25785         (conformtest-headers-POSIX2008): Likewise.
25786         (conformtest-headers-XOPEN2K8): Likewise.
25787         (conformtest-header-list-base): Likewise.
25788         (conformtest-header-list-tests): Likewise.
25789         (conformtest-header-base): Likewise.
25790         (conformtest-header-tests): Likewise.
25791         (tests-special): Add $(conformtest-header-list-tests).  If
25792         [$(fast-check) && !$(cross-compiling)], add
25793         $(conformtest-header-tests) instead of
25794         $(objpfx)run-conformtest.out.
25795         (generated): Add $(conformtest-header-list-base).  If
25796         [$(fast-check) && !$(cross-compiling)], add
25797         $(conformtest-header-base).  Remove previous setting.
25798         ($(conformtest-header-list-tests)): New target.
25799         (test-xfail-run-conformtest): Remove variable.
25800         ($(objpfx)run-conformtest.out): Remove target.
25801         (test-xfail-ISO11/complex.h/conform): New variable.
25802         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25803         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25804         (test-xfail-XPG3/varargs.h/conform): Likewise.
25805         (test-xfail-XPG4/varargs.h/conform): Likewise.
25806         (test-xfail-UNIX98/varargs.h/conform): Likewise.
25807         (test-xfail-XPG4/ndbm.h/conform): Likewise.
25808         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25809         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25810         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25811         (test-xfail-XPG3/fcntl.h/conform): Likewise.
25812         (test-xfail-XPG3/ftw.h/conform): Likewise.
25813         (test-xfail-XPG3/grp.h/conform): Likewise.
25814         (test-xfail-XPG3/langinfo.h/conform): Likewise.
25815         (test-xfail-XPG3/limits.h/conform): Likewise.
25816         (test-xfail-XPG3/pwd.h/conform): Likewise.
25817         (test-xfail-XPG3/search.h/conform): Likewise.
25818         (test-xfail-XPG3/signal.h/conform): Likewise.
25819         (test-xfail-XPG3/stdio.h/conform): Likewise.
25820         (test-xfail-XPG3/stdlib.h/conform): Likewise.
25821         (test-xfail-XPG3/string.h/conform): Likewise.
25822         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25823         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25824         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25825         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25826         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25827         (test-xfail-XPG3/sys/types.h/conform): Likewise.
25828         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25829         (test-xfail-XPG3/termios.h/conform): Likewise.
25830         (test-xfail-XPG3/time.h/conform): Likewise.
25831         (test-xfail-XPG3/unistd.h/conform): Likewise.
25832         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25833         (test-xfail-XPG4/fcntl.h/conform): Likewise.
25834         (test-xfail-XPG4/langinfo.h/conform): Likewise.
25835         (test-xfail-XPG4/netdb.h/conform): Likewise.
25836         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25837         (test-xfail-XPG4/signal.h/conform): Likewise.
25838         (test-xfail-XPG4/stdio.h/conform): Likewise.
25839         (test-xfail-XPG4/stdlib.h/conform): Likewise.
25840         (test-xfail-XPG4/stropts.h/conform): Likewise.
25841         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25842         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25843         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25844         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25845         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25846         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25847         (test-xfail-XPG4/sys/time.h/conform): Likewise.
25848         (test-xfail-XPG4/sys/types.h/conform): Likewise.
25849         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25850         (test-xfail-XPG4/termios.h/conform): Likewise.
25851         (test-xfail-XPG4/ucontext.h/conform): Likewise.
25852         (test-xfail-XPG4/unistd.h/conform): Likewise.
25853         (test-xfail-XPG4/utmpx.h/conform): Likewise.
25854         (test-xfail-POSIX/sched.h/conform): Likewise.
25855         (test-xfail-POSIX/signal.h/conform): Likewise.
25856         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25857         (test-xfail-POSIX/tar.h/conform): Likewise.
25858         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
25859         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
25860         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
25861         (test-xfail-UNIX98/netdb.h/conform): Likewise.
25862         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
25863         (test-xfail-UNIX98/sched.h/conform): Likewise.
25864         (test-xfail-UNIX98/signal.h/conform): Likewise.
25865         (test-xfail-UNIX98/stdio.h/conform): Likewise.
25866         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
25867         (test-xfail-UNIX98/stropts.h/conform): Likewise.
25868         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25869         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25870         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25871         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25872         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25873         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
25874         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
25875         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
25876         (test-xfail-UNIX98/unistd.h/conform): Likewise.
25877         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
25878         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
25879         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
25880         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
25881         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
25882         (test-xfail-XOPEN2K/math.h/conform): Likewise.
25883         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
25884         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25885         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25886         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
25887         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
25888         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
25889         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
25890         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25891         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25892         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25893         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25894         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25895         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25896         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
25897         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
25898         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25899         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
25900         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25901         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
25902         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25903         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
25904         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
25905         (test-xfail-POSIX2008/signal.h/conform): Likewise.
25906         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25907         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
25908         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
25909         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25910         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25911         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
25912         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25913         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25914         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25915         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
25916         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
25917         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25918         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25919         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25920         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
25921         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25922         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25923         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25924         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25925         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
25926         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
25927         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25928         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
25929         (conformtest-cc-flags): Likewise.
25930         ($(conformtest-header-tests): New target.
25931         * conform/check-header-lists.sh: New file.
25932         * conform/run-conformtest.sh: Remove.
25934         * conform/conformtest.pl: Allow ' and \ in values given for
25935         constants.
25936         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
25937         inclusion.
25938         [POSIX] (sys/types.h): Likewise.
25939         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
25940         inclusion.
25941         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
25942         inclusion.
25943         * conform/data/signal.h-data (SIGIO): Remove expectation.
25944         [XPG3] (SIGBUS): Do not expect.
25945         [POSIX || XPG3] (SIGPOLL): Likewise.
25946         [POSIX || XPG3] (SIGPROF): Likewise.
25947         [POSIX || XPG3] (SIGSYS): Likewise.
25948         [XPG3] (SIGTRAP): Likewise.
25949         [POSIX || XPG3] (SIGURG): Likewise.
25950         [POSIX || XPG3] (SIGVTALRM): Likewise.
25951         [POSIX || XPG3] (SIGXCPU): Likewise.
25952         [POSIX || XPG3] (SIGXFSZ): Likewise.
25953         [POSIX] (SA_SIGINFO): Expect.
25954         [XPG3] (siginfo_t): Do not expect type or contents.
25955         [POSIX] (si_pid): Do not expect element.
25956         [POSIX] (si_uid): Likewise.
25957         [POSIX] (si_addr): Likewise.
25958         [POSIX] (si_status): Likewise.
25959         [POSIX] (si_band): Likewise.
25960         [XPG4] (si_value): Likewise.
25961         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
25962         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
25963         [POSIX || XPG3] (ILL_ILLADR): Likewise.
25964         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
25965         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
25966         [POSIX || XPG3] (ILL_PRVREG): Likewise.
25967         [POSIX || XPG3] (ILL_COPROC): Likewise.
25968         [POSIX || XPG3] (ILL_BADSTK): Likewise.
25969         [POSIX || XPG3] (FPE_INTDIV): Likewise.
25970         [POSIX || XPG3] (FPE_INTOVF): Likewise.
25971         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
25972         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
25973         [POSIX || XPG3] (FPE_FLTUND): Likewise.
25974         [POSIX || XPG3] (FPE_FLTRES): Likewise.
25975         [POSIX || XPG3] (FPE_FLTINV): Likewise.
25976         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
25977         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
25978         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
25979         [POSIX || XPG3] (BUS_ADRALN): Likewise.
25980         [POSIX || XPG3] (BUS_ADRERR): Likewise.
25981         [POSIX || XPG3] (BUS_OBJERR): Likewise.
25982         [POSIX || XPG3] (CLD_EXITED): Likewise.
25983         [POSIX || XPG3] (CLD_KILLED): Likewise.
25984         [POSIX || XPG3] (CLD_DUMPED): Likewise.
25985         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
25986         [POSIX || XPG3] (CLD_STOPPED): Likewise.
25987         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
25988         [POSIX || XPG3] (POLL_IN): Likewise.
25989         [POSIX || XPG3] (POLL_OUT): Likewise.
25990         [POSIX || XPG3] (POLL_MSG): Likewise.
25991         [POSIX || XPG3] (POLL_ERR): Likewise.
25992         [POSIX || XPG3] (POLL_PRI): Likewise.
25993         [POSIX || XPG3] (POLL_HUP): Likewise.
25994         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
25995         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
25996         (SIG*): Do not allow.
25997         [XPG3] (si_*): Likewise.
25998         [XPG3] (SI_*): Likewise.
25999         [XPG3 || XPG4] (sigev_*): Likewise.
26000         [XPG3 || XPG4] (SIGEV_*): Likewise.
26001         [XPG3 || XPG4] (sival_*): Likewise.
26002         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
26003         [POSIX || XPG3] (BUS_*): Likewise.
26004         [POSIX || XPG3] (CLD_*): Likewise.
26005         [POSIX || XPG3] (FPE_*): Likewise.
26006         [POSIX || XPG3] (ILL_*): Likewise.
26007         [POSIX || XPG3] (POLL_*): Likewise.
26008         [POSIX || XPG3] (SEGV_*): Likewise.
26009         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
26010         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
26011         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
26012         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
26013         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
26014         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
26015         Specify type and value.
26016         (TVERSLEN): Likewise.
26017         (REGTYPE): Likewise.
26018         (AREGTYPE): Likewise.
26019         (LNKTYPE): Likewise.
26020         (SYMTYPE): Likewise.
26021         (CHRTYPE): Likewise.
26022         (BLKTYPE): Likewise.
26023         (DIRTYPE): Likewise.
26024         (FIFOTYPE): Likewise.
26025         (CONTTYPE): Likewise.
26026         (TSUID): Likewise.
26027         (TSGID): Likewise.
26028         (TSVTX): Likewise.
26029         (TUREAD): Likewise.
26030         (TUWRITE): Likewise.
26031         (TUEXEC): Likewise.
26032         (TGREAD): Likewise.
26033         (TGWRITE): Likewise.
26034         (TGEXEC): Likewise.
26035         (TOREAD): Likewise.
26036         (TOWRITE): Likewise.
26037         (TOEXEC): Likewise.
26038         [POSIX] (TSVTX): Expect constant.
26040 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
26042         * Makefile (tests): Change dependencies to ....
26043         (tests-special): ... additions to this variable.
26044         (tests): Depend on $(tests-special).
26045         * Makerules (check-abi-list): New variable.
26046         (check-abi): Depend on $(check-abi-list).
26047         [$(subdir) = elf] (tests-special): Add
26048         $(objpfx)check-abi-libc.out.
26049         [$(build-shared) = yes && subdir] (tests-special): Add
26050         $(check-abi-list).
26051         [$(build-shared) = yes && subdir] (tests): Do not depend on
26052         check-abi.
26053         * Rules (tests): Depend on $(tests-special).
26054         (xtests): Depend on $(xtests-special).
26055         * catgets/Makefile (tests): Change dependencies to ....
26056         (tests-special): ... additions to this variable.
26057         * conform/Makefile (tests): Change dependencies to ....
26058         (tests-special): ... additions to this variable.
26059         * elf/Makefile (tests): Change dependencies to ....
26060         (tests-special): ... additions to this variable.
26061         * grp/Makefile (tests): Change dependencies to ....
26062         (tests-special): ... additions to this variable.
26063         * iconv/Makefile (xtests): Change dependencies to ....
26064         (xtests-special): ... additions to this variable.
26065         * iconvdata/Makefile (tests): Change dependencies to ....
26066         (tests-special): ... additions to this variable.
26067         * intl/Makefile (tests): Change dependencies to ....
26068         (tests-special): ... additions to this variable.  Also add
26069         $(objpfx)tst-gettext.out.
26070         * io/Makefile (tests): Change dependencies to ....
26071         (tests-special): ... additions to this variable.
26072         * libio/Makefile (tests): Change dependencies to ....
26073         (tests-special): ... additions to this variable.
26074         * malloc/Makefile (tests): Change dependencies to ....
26075         (tests-special): ... additions to this variable.
26076         * misc/Makefile (tests): Change dependencies to ....
26077         (tests-special): ... additions to this variable.
26078         * nptl/Makefile (tests): Change dependencies to ....
26079         (tests-special): ... additions to this variable.
26080         * nptl_db/Makefile (tests): Change dependencies to ....
26081         (tests-special): ... additions to this variable.
26082         * posix/Makefile (tests): Change dependencies to ....
26083         (tests-special): ... additions to this variable.
26084         (xtests): Change dependencies to ....
26085         (xtests-special): ... additions to this variable.
26086         * resolv/Makefile (tests): Change dependencies to ....
26087         (tests-special): ... additions to this variable.
26088         (xtests): Change dependencies to ....
26089         (xtests-special): ... additions to this variable.
26090         * stdio-common/Makefile (tests): Change dependencies to ....
26091         (tests-special): ... additions to this variable.
26092         (do-tst-unbputc): Remove target.
26093         (do-tst-printf): Likewise.
26094         * stdlib/Makefile (tests): Change dependencies to ....
26095         (tests-special): ... additions to this variable.
26096         * string/Makefile (tests): Change dependencies to ....
26097         (tests-special): ... additions to this variable.
26098         * sysdeps/x86/Makefile (tests): Change dependencies to ....
26099         (tests-special): ... additions to this variable.
26101         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
26102         whole file.
26103         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
26104         whole file.
26105         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
26106         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
26108         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
26109         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
26110         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
26111         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
26112         * conform/data/libgen.h-data [XPG3]: Likewise.
26113         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
26114         * conform/data/ndbm.h-data [XPG3]: Likewise.
26115         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
26116         * conform/data/netdb.h-data [XPG3]: Likewise.
26117         * conform/data/netinet/in.h-data [XPG3]: Likewise.
26118         * conform/data/poll.h-data [XPG3]: Likewise.
26119         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
26120         * conform/data/strings.h-data [XPG3]: Likewise.
26121         * conform/data/stropts.h-data [XPG3]: Likewise.
26122         * conform/data/sys/mman.h-data [XPG3]: Likewise.
26123         * conform/data/sys/resource.h-data [XPG3]: Likewise.
26124         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
26125         Likewise.
26126         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
26127         * conform/data/sys/time.h-data [XPG3]: Likewise.
26128         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
26129         * conform/data/sys/uio.h-data [XPG3]: Likewise.
26130         * conform/data/sys/un.h-data [XPG3]: Likewise.
26131         * conform/data/syslog.h-data [XPG3]: Likewise.
26132         * conform/data/ucontext.h-data [XPG3]: Likewise.
26133         * conform/data/utmpx.h-data [XPG3]: Likewise.
26134         * conform/data/varargs.h-data [UNIX98]: Enable file.
26136         * manual/Makefile (INSTALL_INFO): Remove variable setting.
26138         * math/libm-test.inc (struct test_f_f_data): Move expected results
26139         into structure for each rounding mode.
26140         (struct test_ff_f_data): Likewise.
26141         (struct test_ff_f_data_nexttoward): Likewise.
26142         (struct test_fi_f_data): Likewise.
26143         (struct test_fl_f_data): Likewise.
26144         (struct test_if_f_data): Likewise.
26145         (struct test_fff_f_data): Likewise.
26146         (struct test_c_f_data): Likewise.
26147         (struct test_f_f1_data): Likewise.
26148         (struct test_fF_f1_data): Likewise.
26149         (struct test_ffI_f1_data): Likewise.
26150         (struct test_c_c_data): Likewise.
26151         (struct test_cc_c_data): Likewise.
26152         (struct test_f_i_data): Likewise.
26153         (struct test_ff_i_data): Likewise.
26154         (struct test_f_l_data): Likewise.
26155         (struct test_f_L_data): Likewise.
26156         (struct test_fFF_11_data): Likewise.
26157         (RM_): New macro.
26158         (RM_FE_DOWNWARD): Likewise.
26159         (RM_FE_TONEAREST): Likewise.
26160         (RM_FE_TOWARDZERO): Likewise.
26161         (RM_FE_UPWARD): Likewise.
26162         (RUN_TEST_LOOP_f_f): Update references to expected results.
26163         (RUN_TEST_LOOP_2_f): Likewise.
26164         (RUN_TEST_LOOP_fff_f): Likewise.
26165         (RUN_TEST_LOOP_c_f): Likewise.
26166         (RUN_TEST_LOOP_f_f1): Likewise.
26167         (RUN_TEST_LOOP_fF_f1): Likewise.
26168         (RUN_TEST_LOOP_fI_f1): Likewise.
26169         (RUN_TEST_LOOP_ffI_f1): Likewise.
26170         (RUN_TEST_LOOP_c_c): Likewise.
26171         (RUN_TEST_LOOP_cc_c): Likewise.
26172         (RUN_TEST_LOOP_f_i): Likewise.
26173         (RUN_TEST_LOOP_f_i_tg): Likewise.
26174         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26175         (RUN_TEST_LOOP_f_b): Likewise.
26176         (RUN_TEST_LOOP_f_b_tg): Likewise.
26177         (RUN_TEST_LOOP_f_l): Likewise.
26178         (RUN_TEST_LOOP_f_L): Likewise.
26179         (RUN_TEST_LOOP_fFF_11): Likewise.
26180         * math/gen-libm-test.pl (parse_args): Output four copies of
26181         expected results for each test.
26183         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26184         (__ASSUME_UTIMES): Remove.
26185         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26186         (__ASSUME_UTIMES): Likewise.
26188         * math/gen-auto-libm-tests.c: Update comment on output format.
26189         (output_for_one_input_case): Generate before-rounding and
26190         after-rounding information as conditions on output flags not
26191         floating-point format.
26192         * math/auto-libm-test-out: Regenerated.
26193         * math/gen-libm-test.pl (cond_value): New function.
26194         (or_cond_value): Use cond_value.
26195         (generate_testfile): Handle conditional exceptions.
26197 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
26199         * math/libm-test.inc (max_valid_error): New variable.
26200         (init_max_error): Take new argument specifying whether function
26201         results are exactly determined.  Set max_valid_error and bound
26202         other variables for errors based on this argument.
26203         (set_max_error): Do not record results above max_valid_error.
26204         (check_float_internal): Only accept errors of up to 0.5ulps if
26205         also at most max_valid_error.
26206         (START): Take new argument EXACT and pass it to init_max_error.
26207         (acos_test): Update call to START.
26208         (acos_test_tonearest): Likewise.
26209         (acos_test_towardzero): Likewise.
26210         (acos_test_downward): Likewise.
26211         (acos_test_upward): Likewise.
26212         (acosh_test): Likewise.
26213         (asin_test): Likewise.
26214         (asin_test_tonearest): Likewise.
26215         (asin_test_towardzero): Likewise.
26216         (asin_test_downward): Likewise.
26217         (asin_test_upward): Likewise.
26218         (asinh_test): Likewise.
26219         (atan_test): Likewise.
26220         (atanh_test): Likewise.
26221         (atan2_test): Likewise.
26222         (cabs_test): Likewise.
26223         (cacos_test): Likewise.
26224         (cacosh_test): Likewise.
26225         (carg_test): Likewise.
26226         (casin_test): Likewise.
26227         (casinh_test): Likewise.
26228         (catan_test): Likewise.
26229         (catanh_test): Likewise.
26230         (cbrt_test): Likewise.
26231         (ccos_test): Likewise.
26232         (ccosh_test): Likewise.
26233         (ceil_test): Likewise.
26234         (cexp_test): Likewise.
26235         (cimag_test): Likewise.
26236         (clog_test): Likewise.
26237         (clog10_test): Likewise.
26238         (conj_test): Likewise.
26239         (copysign_test): Likewise.
26240         (cos_test): Likewise.
26241         (cos_test_tonearest): Likewise.
26242         (cos_test_towardzero): Likewise.
26243         (cos_test_downward): Likewise.
26244         (cos_test_upward): Likewise.
26245         (cosh_test): Likewise.
26246         (cosh_test_tonearest): Likewise.
26247         (cosh_test_towardzero): Likewise.
26248         (cosh_test_downward): Likewise.
26249         (cosh_test_upward): Likewise.
26250         (cpow_test): Likewise.
26251         (cproj_test): Likewise.
26252         (creal_test): Likewise.
26253         (csin_test): Likewise.
26254         (csinh_test): Likewise.
26255         (csqrt_test): Likewise.
26256         (ctan_test): Likewise.
26257         (ctan_test_tonearest): Likewise.
26258         (ctan_test_towardzero): Likewise.
26259         (ctan_test_downward): Likewise.
26260         (ctan_test_upward): Likewise.
26261         (ctanh_test): Likewise.
26262         (ctanh_test_tonearest): Likewise.
26263         (ctanh_test_towardzero): Likewise.
26264         (ctanh_test_downward): Likewise.
26265         (ctanh_test_upward): Likewise.
26266         (erf_test): Likewise.
26267         (erfc_test): Likewise.
26268         (exp_test): Likewise.
26269         (exp_test_tonearest): Likewise.
26270         (exp_test_towardzero): Likewise.
26271         (exp_test_downward): Likewise.
26272         (exp_test_upward): Likewise.
26273         (exp10_test): Likewise.
26274         (exp10_test_tonearest): Likewise.
26275         (exp10_test_towardzero): Likewise.
26276         (exp10_test_downward): Likewise.
26277         (exp10_test_upward): Likewise.
26278         (pow10_test): Likewise.
26279         (exp2_test): Likewise.
26280         (expm1_test): Likewise.
26281         (expm1_test_tonearest): Likewise.
26282         (expm1_test_towardzero): Likewise.
26283         (expm1_test_downward): Likewise.
26284         (expm1_test_upward): Likewise.
26285         (fabs_test): Likewise.
26286         (fdim_test): Likewise.
26287         (floor_test): Likewise.
26288         (fma_test): Likewise.
26289         (fma_test_towardzero): Likewise.
26290         (fma_test_downward): Likewise.
26291         (fma_test_upward): Likewise.
26292         (fmax_test): Likewise.
26293         (fmin_test): Likewise.
26294         (fmod_test): Likewise.
26295         (fpclassify_test): Likewise.
26296         (frexp_test): Likewise.
26297         (hypot_test): Likewise.
26298         (ilogb_test): Likewise.
26299         (isfinite_test): Likewise.
26300         (finite_test): Likewise.
26301         (isgreater_test): Likewise.
26302         (isgreaterequal_test): Likewise.
26303         (isinf_test): Likewise.
26304         (isless_test): Likewise.
26305         (islessequal_test): Likewise.
26306         (islessgreater_test): Likewise.
26307         (isnan_test): Likewise.
26308         (isnormal_test): Likewise.
26309         (issignaling_test): Likewise.
26310         (isunordered_test): Likewise.
26311         (j0_test): Likewise.
26312         (j1_test): Likewise.
26313         (jn_test): Likewise.
26314         (ldexp_test): Likewise.
26315         (lgamma_test): Likewise.
26316         (gamma_test): Likewise.
26317         (lrint_test): Likewise.
26318         (lrint_test_tonearest): Likewise.
26319         (lrint_test_towardzero): Likewise.
26320         (lrint_test_downward): Likewise.
26321         (lrint_test_upward): Likewise.
26322         (llrint_test): Likewise.
26323         (llrint_test_tonearest): Likewise.
26324         (llrint_test_towardzero): Likewise.
26325         (llrint_test_downward): Likewise.
26326         (llrint_test_upward): Likewise.
26327         (log_test): Likewise.
26328         (log10_test): Likewise.
26329         (log1p_test): Likewise.
26330         (log2_test): Likewise.
26331         (logb_test): Likewise.
26332         (logb_test_downward): Likewise.
26333         (lround_test): Likewise.
26334         (llround_test): Likewise.
26335         (modf_test): Likewise.
26336         (nearbyint_test): Likewise.
26337         (nextafter_test): Likewise.
26338         (nexttoward_test): Likewise.
26339         (pow_test): Likewise.
26340         (pow_test_tonearest): Likewise.
26341         (pow_test_towardzero): Likewise.
26342         (pow_test_downward): Likewise.
26343         (pow_test_upward): Likewise.
26344         (remainder_test): Likewise.
26345         (drem_test): Likewise.
26346         (remainder_test_tonearest): Likewise.
26347         (drem_test_tonearest): Likewise.
26348         (remainder_test_towardzero): Likewise.
26349         (drem_test_towardzero): Likewise.
26350         (remainder_test_downward): Likewise.
26351         (drem_test_downward): Likewise.
26352         (remainder_test_upward): Likewise.
26353         (drem_test_upward): Likewise.
26354         (remquo_test): Likewise.
26355         (rint_test): Likewise.
26356         (rint_test_tonearest): Likewise.
26357         (rint_test_towardzero): Likewise.
26358         (rint_test_downward): Likewise.
26359         (rint_test_upward): Likewise.
26360         (round_test): Likewise.
26361         (scalb_test): Likewise.
26362         (scalbn_test): Likewise.
26363         (scalbln_test): Likewise.
26364         (signbit_test): Likewise.
26365         (sin_test): Likewise.
26366         (sin_test_tonearest): Likewise.
26367         (sin_test_towardzero): Likewise.
26368         (sin_test_downward): Likewise.
26369         (sin_test_upward): Likewise.
26370         (sincos_test): Likewise.
26371         (sinh_test): Likewise.
26372         (sinh_test_tonearest): Likewise.
26373         (sinh_test_towardzero): Likewise.
26374         (sinh_test_downward): Likewise.
26375         (sinh_test_upward): Likewise.
26376         (sqrt_test): Likewise.
26377         (sqrt_test_tonearest): Likewise.
26378         (sqrt_test_towardzero): Likewise.
26379         (sqrt_test_downward): Likewise.
26380         (sqrt_test_upward): Likewise.
26381         (tan_test): Likewise.
26382         (tan_test_tonearest): Likewise.
26383         (tan_test_towardzero): Likewise.
26384         (tan_test_downward): Likewise.
26385         (tan_test_upward): Likewise.
26386         (tanh_test): Likewise.
26387         (tgamma_test): Likewise.
26388         (trunc_test): Likewise.
26389         (y0_test): Likewise.
26390         (y1_test): Likewise.
26391         (yn_test): Likewise.
26392         (significand_test): Likewise.
26394         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
26395         individual tests in comment.
26396         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
26397         (prev_max_error): New variable.
26398         (prev_real_max_error): Likewise.
26399         (prev_imag_max_error): Likewise.
26400         (compare_ulp_data): Don't refer to test names in comment.
26401         (find_test_ulps): Remove function.
26402         (find_function_ulps): Likewise.
26403         (find_complex_function_ulps): Likewise.
26404         (init_max_error): Take function name as argument.  Look up ulps
26405         for that function.
26406         (print_ulps): Remove function.
26407         (print_max_error): Use prev_max_error instead of calling
26408         find_function_ulps.
26409         (print_complex_max_error): Use prev_real_max_error and
26410         prev_imag_max_error instead of calling find_complex_function_ulps.
26411         (check_float_internal): Take max_ulp parameter instead of calling
26412         find_test_ulps.  Don't call print_ulps.
26413         (check_float): Update call to check_float_internal.
26414         (check_complex): Update calls to check_float_internal.
26415         (START): Pass argument to init_max_error.
26416         * math/gen-libm-test.pl (%results): Don't include "kind"
26417         information.
26418         (parse_ulps): Don't handle ulps of individual tests.
26419         (print_ulps_file): Likewise.
26420         (output_ulps): Likewise.
26421         * math/README.libm-test: Update.
26422         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
26423         individual tests.
26424         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
26425         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26426         * sysdeps/arm/libm-test-ulps: Likewise.
26427         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26428         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
26429         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
26430         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
26431         * sysdeps/microblaze/libm-test-ulps: Likewise.
26432         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26433         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26434         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26435         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26436         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26437         * sysdeps/sh/libm-test-ulps: Likewise.
26438         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26439         * sysdeps/tile/libm-test-ulps: Likewise.
26440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26442 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
26444         * math/libm-test.inc (print_complex_max_error): Check separately
26445         whether real and imaginary errors are within allowed range and
26446         pass 0 to print_complex_function_ulps instead of value within
26447         allowed range.
26449 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26451         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
26452         formatting.
26453         (get_handles_fopen): Likewise.
26454         (do_write_test): Likewise.
26456         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
26458         * libio/fileops.c (do_ftell): Use cached offset when
26459         available.
26460         * libio/iofwide.c (do_ftell_wide): Likewise.
26461         * libio/iofdopen.c (_IO_new_fdopen): Don't use
26462         _IO_file_attach.
26463         * libio/wfileops.c (_IO_fwide): Don't cache offset.
26465         [BZ #16532]
26466         * libio/libioP.h (get_file_offset): New function.
26467         * libio/fileops.c (get_file_offset): Likewise.
26468         (do_ftell): Likewise.
26469         (_IO_new_file_seekoff): Split out ftell logic.
26470         * libio/wfileops.c (do_ftell_wide): Likewise.
26471         (_IO_wfile_seekoff): Split out ftell logic.
26472         * libio/tst-ftell-active-handler.c: New test case.
26473         * libio/Makefile (tests): Add it.
26475 2014-03-03  Roland McGrath  <roland@hack.frob.com>
26477         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26478         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26480 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26482         [BZ #16639]
26483         * nscd/connections.c (nscd_init): Call do_exit.
26484         (start_threads): Call do_exit and notify_parent.
26485         (begin_drop_privileges): Call do_exit.
26486         (finish_drop_privileges): Likewise.
26487         * nscd/selinux.c (preserve_capabilities): Likewise.
26488         (install_real_capabilities): Likewise.
26489         (nscd_selinux_enabled): Likewise.
26490         (avc_create_thread): Likewise.
26491         (avc_alloc_lock): Likewise.
26492         (nscd_avc_init): Likewise.
26493         * nscd/nscd.c (parent_fd): New static variable.
26494         (main): Create a pipe between parent and child processes.
26495         Skip closing parent_fd.
26496         (monitor_child): New function.
26497         (do_exit): Likewise.
26498         (notify_parent): Likewise.
26499         * nscd/nscd.h (notify_parent): Likewise.
26500         (do_exit): Likewise.
26502 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
26504         * malloc/malloc.c (__libc_calloc): Revert last change.
26506 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26510 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26512         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26514         implementation.
26515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26516         (__libc_ifunc_impl_list): Likewise.
26517         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26518         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26519         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26520         * string/strrchr.c: Define STRRCHR.
26522 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
26524         * benchtest/bench-strtok.c (simple_strtok): Delete.
26525         (strtok_string): Use as benchmark.
26526         * string/strtok (STRTOK): New macro.
26528 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
26530         * manual/threads.texi: Add header and standard comments to all
26531         functions.
26533         * elf/dl-lookup.c (check_match): New function.
26534         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26535         (do_lookup_x): Remove nested function check_match. Use non-nested
26536         function check_match.
26538 2014-02-28  Roland McGrath  <roland@hack.frob.com>
26540         * csu/Makefile (generated, before-compile): Use += rather than =.
26541         * catgets/Makefile (generated, generated-dirs): Likewise.
26542         * debug/Makefile (generated): Likewise.
26543         * dlfcn/Makefile (generated): Likewise.
26544         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26545         * iconvdata/Makefile (before-compile, generated): Likewise.
26546         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26547         * libio/Makefile (generated): Likewise.
26548         * malloc/Makefile (generated): Likewise.
26549         * manual/Makefile (generated, generated-dirs): Likewise.
26550         * misc/Makefile (generated): Likewise.
26551         * posix/Makefile (generated): Likewise.
26552         * resolv/Makefile (generated): Likewise.
26553         * sunrpc/Makefile (generated, generated-dirs): Likewise.
26554         * timezone/Makefile (generated, generated-dirs): Likewise.
26556         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26558 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26560         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26561         power8 implementation.
26562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26563         file: POWER8 llround ifunc implementation.
26564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26565         (__lllround): Add POWER8 implementation.
26566         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26567         POWER8 llround implementation.
26569         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26570         power8 implementation.
26571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26572         file: POWER8 llrint ifunc implementation.
26573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26574         Add POWER8 implementation.
26575         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26576         POWER8 llrint implementation.
26578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26579         power8 implementation.
26580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26581         file: POWER8 finite ifunc implementation.
26582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26583         Add POWER8 implementation.
26584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26585         Likewise.
26586         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26587         POWER8 finite implementation.
26588         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26590         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26591         power8 implementation.
26592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26593         file: POWER8 isinf ifunc implementation.
26594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26595         POWER8 implementation.
26596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26597         Likewise.
26598         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26599         isinf implementation.
26600         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26602         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26603         (INIT_ARCH): Add hwcap2 initialization.
26604         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26605         power8 implementation.
26606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26607         file: POWER8 isnan ifunc implementation.
26608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26609         POWER8 implementation.
26610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26611         Likewise.
26612         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26613         isnan implementation.
26614         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26616 2014-02-27  Joey Ye  <joey.ye@arm.com>
26618         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26619         (_FP_NANFRAC_Q): Set to zero.
26621 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26623         [BZ #16623]
26624         * math/auto-libm-test-in: New test inputs.
26625         * math/auto-libm-test-out: Regenerate.
26626         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26627         and DA.
26628         (__cos): Likewise.
26629         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26631 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
26633         * scripts/evaluate-test.sh: Take new argument indicating whether
26634         failure is expected.
26635         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26636         indicating whether failure is expected.
26637         * conform/Makefile (test-xfail-run-conformtest): New variable.
26638         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26639         level.
26640         * posix/Makefile (test-xfail-annexc): New variable.
26641         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26643 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
26645         * argp/Makefile: Include Makeconfig immediately after defining
26646         subdir.
26647         * assert/Makefile: Likewise.
26648         * benchtests/Makefile: Likewise.
26649         * catgets/Makefile: Likewise.
26650         * conform/Makefile: Likewise.
26651         * crypt/Makefile: Likewise.
26652         * csu/Makefile: Likewise.
26653         (all): Remove target.
26654         * ctype/Makefile: Include Makeconfig immediately after defining
26655         subdir.
26656         * debug/Makefile: Likewise.
26657         * dirent/Makefile: Likewise.
26658         * dlfcn/Makefile: Likewise.
26659         * gmon/Makefile: Likewise.
26660         * gnulib/Makefile: Likewise.
26661         * grp/Makefile: Likewise.
26662         * gshadow/Makefile: Likewise.
26663         * hesiod/Makefile: Likewise.
26664         * hurd/Makefile: Likewise.
26665         (all): Remove target.
26666         * iconvdata/Makefile: Include Makeconfig immediately after
26667         defining subdir.
26668         * inet/Makefile: Likewise.
26669         * intl/Makefile: Likewise.
26670         * io/Makefile: Likewise.
26671         * libio/Makefile: Likewise.
26672         (all): Remove target.
26673         * locale/Makefile: Include Makeconfig immediately after defining
26674         subdir.
26675         * login/Makefile: Likewise.
26676         * mach/Makefile: Likewise.
26677         (all): Remove target.
26678         * malloc/Makefile: Include Makeconfig immediately after defining
26679         subdir.
26680         (all): Remove target.
26681         * manual/Makefile: Include Makeconfig immediately after defining
26682         subdir.
26683         * math/Makefile: Likewise.
26684         * misc/Makefile: Likewise.
26685         * nis/Makefile: Likewise.
26686         * nss/Makefile: Likewise.
26687         * po/Makefile: Likewise.
26688         (all): Remove target.
26689         * posix/Makefile: Include Makeconfig immediately after defining
26690         subdir.
26691         * pwd/Makefile: Likewise.
26692         * resolv/Makefile: Likewise.
26693         * resource/Makefile: Likewise.
26694         * rt/Makefile: Likewise.
26695         * setjmp/Makefile: Likewise.
26696         * shadow/Makefile: Likewise.
26697         * signal/Makefile: Likewise.
26698         * socket/Makefile: Likewise.
26699         * soft-fp/Makefile: Likewise.
26700         * stdio-common/Makefile: Likewise.
26701         * stdlib/Makefile: Likewise.
26702         * streams/Makefile: Likewise.
26703         * string/Makefile: Likewise.
26704         * sunrpc/Makefile: Likewise.
26705         (all): Remove target.
26706         * sysvipc/Makefile: Include Makeconfig immediately after defining
26707         subdir.
26708         * termios/Makefile: Likewise.
26709         * time/Makefile: Likewise.
26710         * timezone/Makefile: Likewise.
26711         (all): Remove target.
26712         * wcsmbs/Makefile: Include Makeconfig immediately after defining
26713         subdir.
26714         * wctype/Makefile: Likewise.
26716 2014-02-26  Steve Ellcey  <sellcey@mips.com>
26718         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26719         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26720         (libc_feholdexcept_setround_mips): Ditto.
26721         (libc_feholdsetround): New.
26722         (libc_feholdsetroundf): New.
26723         (libc_feholdsetroundl): New.
26724         (libc_feupdateenv_test_mips): New.
26725         (libc_feupdateenv_test): New.
26726         (libc_feupdateenv_testf): New.
26727         (libc_feupdateenv_testl): New.
26728         (libc_feresetround): New.
26729         (libc_feresetroundf): New.
26730         (libc_feresetroundl): New.
26731         (libc_fetestexcept_mips): New.
26732         (libc_fetestexcept): New.
26733         (libc_fetestexceptf): New.
26734         (libc_fetestexceptl): New.
26735         (HAVE_RM_CTX): New.
26736         (libc_feholdexcept_setround_mips_ctx): New.
26737         (libc_feholdexcept_setround_ctx): New.
26738         (libc_feholdexcept_setroundf_ctx): New.
26739         (libc_feholdexcept_setroundl_ctx): New.
26740         (libc_fesetenv_mips_ctx): New.
26741         (libc_fesetenv_ctx): New.
26742         (libc_fesetenv_ctxf): New.
26743         (libc_fesetenv_ctxl): New.
26744         (libc_feupdateenv_mips_ctx): New.
26745         (libc_feupdateenv_ctx): New.
26746         (libc_feupdateenvf_ctx): New.
26747         (libc_feupdateenvl_ctx): New.
26748         (libc_feholdsetround_mips_ctx): New.
26749         (libc_feholdsetround_ctx): New.
26750         (libc_feholdsetroundf_ctx): New.
26751         (libc_feholdsetroundl_ctx): New.
26752         (libc_feresetround_mips_ctx): New.
26753         (libc_feresetround_ctx): New.
26754         (libc_feresetroundf_ctx): New.
26755         (libc_feresetroundl_ctx): New.
26757 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
26759         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26761         * manual/ipc.texi: New file.
26762         * manual/Makefile (chapters): Add ipc.
26763         * manual/job.texi: Add "Inter-Process Communication" to next.
26764         * manual/process.texi: Add "Inter-Process Communication" to prev.
26766 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26770 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
26772         * malloc/malloc.c (__libc_calloc): Simplify implementation.
26774         * manual/arith.texi: Fix spaces after sentences.
26775         * manual/charset.texi: Likewise.
26776         * manual/errno.texi: Likewise.
26777         * manual/install.texi: Likewise.
26778         * manual/llio.texi: Likewise.
26779         * manual/locale.texi: Likewise.
26780         * manual/maint.texi: Likewise.
26781         * manual/math.texi: Likewise.
26782         * manual/memory.texi: Likewise.
26783         * manual/message.texi: Likewise.
26784         * manual/probes.texi: Likewise.
26785         * manual/resource.texi: Likewise.
26786         * manual/signal.texi: Likewise.
26787         * manual/socket.texi: Likewise.
26788         * manual/stdio.texi: Likewise.
26789         * manual/string.texi: Likewise.
26790         * manual/time.texi: Likewise.
26791         * manual/users.texi: Likewise.
26793 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
26795         [BZ #16632]
26796         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26797         _DEFAULT_SOURCE is defined.
26799 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
26800             Carlos O'Donell  <carlos@redhat.com>
26802         [BZ #16613]
26803         * elf/dl-tls.c (_dl_count_modids): New function.
26804         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26805         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26806         audit library and increment generation counter.
26807         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26808         * elf/tst-audit9.c: New file.
26809         * elf/tst-auditmod9a.c: New file.
26810         * elf/tst-auditmod9b.c: New file.
26811         * elf/Makefile: Add rules to build and run tst-audit9.
26813 2014-02-25  Florian Weimer  <fweimer@redhat.com>
26815         [BZ #15347]
26816         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26818 2014-02-25  Will Newton  <will.newton@linaro.org>
26820         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26821         (__longjmp): Restore sp and lr before restoring callee
26822         saved registers.  Add longjmp and longjmp_target
26823         SystemTap probe point.
26824         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26825         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26826         Define to zero to match jmpbuf layout.
26827         * sysdeps/arm/setjmp.S: Include stap-probe.h.
26828         (__sigsetjmp): Save sp and lr before saving callee
26829         saved registers.  Add setjmp SystemTap probe point.
26831 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26833         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26835 2014-02-24  Andreas Schwab  <schwab@suse.de>
26837         [BZ #15804]
26838         * elf/pldd.c (wait_for_ptrace_stop): New function.
26839         (main): Call it after attaching.
26841 2014-02-22  Roland McGrath  <roland@hack.frob.com>
26843         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26844         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26845         Versions files is now verboten.
26846         * hurd/Versions (libc: GLIBC_2.0):
26847         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26848         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26849         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26850         * mach/Versions: Likewise.
26852         * csu/Versions: Remove unused %include.
26853         * resolv/Versions: Likewise.
26855 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
26857         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
26858         ($(objpfx)check-local-headers.out): Likewise.
26859         ($(objpfx)begin-end-check.out): Likewise.
26860         * Makerules (check-abi-%.out): Likewise.
26861         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
26862         ($(objpfx)test2.cat): Likewise.
26863         ($(objpfx)de/libc.cat): Likewise.
26864         ($(objpfx)test-gencat.out): Likewise.
26865         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
26866         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
26867         ($(objpfx)noload-mem): Likewise.
26868         ($(objpfx)tst-pathopt.out): Likewise.
26869         ($(objpfx)tst-rtld-load-self.out): Likewise.
26870         ($(objpfx)tst-array1-cmp.out): Likewise.
26871         ($(objpfx)tst-array1-static-cmp.out): Likewise.
26872         ($(objpfx)tst-array2-cmp.out): Likewise.
26873         ($(objpfx)tst-array3-cmp.out): Likewise.
26874         ($(objpfx)tst-array4-cmp.out): Likewise.
26875         ($(objpfx)tst-array5-cmp.out): Likewise.
26876         ($(objpfx)tst-array5-static-cmp.out): Likewise.
26877         ($(objpfx)check-textrel.out): Likewise.
26878         ($(objpfx)check-execstack.out): Likewise.
26879         ($(objpfx)check-localplt.out): Likewise.
26880         ($(objpfx)order2-cmp.out): Likewise.
26881         ($(objpfx)tst-leaks1-mem): Likewise.
26882         ($(objpfx)tst-leaks1-static-mem): Likewise.
26883         ($(objpfx)tst-initorder-cmp.out): Likewise.
26884         ($(objpfx)tst-initorder2-cmp.out): Likewise.
26885         ($(objpfx)tst-unused-dep.out): Likewise.
26886         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
26887         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
26888         * iconv/Makefile (test-iconvconfig): Likewise.
26889         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
26890         ($(objpfx)iconv-test.out): Likewise.
26891         ($(objpfx)tst-tables.out): Likewise.
26892         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
26893         ($(objpfx)tst-gettext.out): Likewise.
26894         ($(objpfx)tst-translit.out): Likewise.
26895         ($(objpfx)tst-gettext2.out): Likewise.
26896         ($(objpfx)tst-gettext4.out): Likewise.
26897         ($(objpfx)tst-gettext6.out): Likewise.
26898         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
26899         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
26900         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
26901         ($(objpfx)tst-fopenloc-mem.out): Likewise.
26902         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
26903         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
26904         * posix/Makefile ($(objpfx)globtest.out): Likewise.
26905         ($(objpfx)wordexp-tst.out): Likewise.
26906         ($(objpfx)annexc.out): Likewise.
26907         ($(objpfx)tst-fnmatch-mem): Likewise.
26908         ($(objpfx)bug-regex2-mem): Likewise.
26909         ($(objpfx)bug-regex14-mem): Likewise.
26910         ($(objpfx)bug-regex21-mem): Likewise.
26911         ($(objpfx)bug-regex31-mem): Likewise.
26912         ($(objpfx)tst-vfork3-mem): Likewise.
26913         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
26914         ($(objpfx)tst-pcre-mem): Likewise.
26915         ($(objpfx)tst-boost-mem): Likewise.
26916         ($(objpfx)tst-getconf.out): Likewise.
26917         ($(objpfx)bug-ga2-mem): Likewise.
26918         ($(objpfx)bug-glob2-mem): Likewise.
26919         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
26920         ($(objpfx)mtrace-tst-leaks2): Likewise.
26921         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
26922         ($(objpfx)tst-printf.out): Likewise.
26923         ($(objpfx)tst-setvbuf1.out): Likewise.
26924         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
26925         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
26926         ($(objpfx)tst-fmtmsg.out): Likewise.
26927         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
26928         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
26930         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
26931         * bits/sigaction.h [__USE_MISC]: Likewise.
26932         * bits/waitstatus.h: Update #endif comments.
26933         * ctype/ctype.h: Likewise.
26934         * dirent/dirent.h: Likewise.
26935         [__USE_MISC]: Remove redundant conditionals.
26936         * grp/grp.h: Update #endif comments.
26937         [__USE_GNU]: Remove redundant conditionals.
26938         [__USE_MISC]: Likewise.
26939         * inet/netinet/in.h [__USE_GNU]: Likewise.
26940         * io/sys/stat.h [__USE_MISC]: Likewise.
26941         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
26942         * libio/bits/stdio.h: Update #endif comments.
26943         [__USE_MISC]: Remove redundant conditionals.
26944         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
26945         * libio/stdio.h: Update #endif comments.
26946         [__USE_MISC]: Remove redundant conditionals.
26947         * math/bits/math-finite.h [__USE_MISC]: Likewise.
26948         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
26949         * math/math.h: Update #else and #endif comments.
26950         [__USE_MISC]: Remove redundant conditionals.
26951         * misc/sys/uio.h: Update #endif comments.
26952         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
26953         * posix/glob.h [__USE_MISC]: Likewise.
26954         * posix/sys/types.h: Update #endif comments.
26955         [__USE_MISC]: Remove redundant conditionals.
26956         * posix/sys/wait.h: Update #endif comments.
26957         [__USE_MISC]: Remove redundant conditionals.
26958         * posix/unistd.h: Update #endif comments.
26959         [__USE_MISC]: Remove redundant conditionals.
26960         * pwd/pwd.h [__USE_GNU]: Likewise.
26961         [__USE_MISC]: Likewise.
26962         * resolv/netdb.h [__USE_GNU]: Likewise.
26963         * signal/signal.h: Update #endif comments.
26964         [__USE_MISC]: Remove redundant conditionals.
26965         * stdlib/stdlib.h: Update #else and #endif comments.
26966         [__USE_MISC]: Remove redundant conditionals.
26967         [__USE_GNU]: Likewise.
26968         * string/bits/string2.h [__USE_MISC]: Likewise.
26969         * string/string.h: Update #endif comments.
26970         [__USE_MISC]: Remove redundant conditionals.
26971         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
26972         Likewise.
26973         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
26974         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
26975         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
26976         Likewise.
26977         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
26978         Likewise.
26979         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
26980         comments.
26981         [__USE_MISC]: Remove redundant conditionals.
26982         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
26983         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
26984         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
26985         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
26986         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
26987         Likewise.
26988         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
26989         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
26990         Likewise.
26991         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
26992         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
26993         Likewise.
26994         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
26995         Likewise.
26996         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
26997         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
26998         Likewise.
26999         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
27000         Likewise.
27001         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
27002         * sysdeps/x86/bits/string.h: Update #endif comments.
27003         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
27004         conditionals.
27005         * time/sys/time.h: Update #endif comments.
27006         * time/time.h: Likewise.
27007         [__USE_MISC]: Remove redundant conditionals.
27009 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
27011         [BZ #16600]
27012         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
27014 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
27016         * Versions.def (librt): Add GLIBC_2.17.
27018 2014-02-21  Adam Conrad  <adconrad@0c3.net>
27020         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
27021         synonym for _SYS_AUXV_H to allow direct inclusion.
27022         * sysdeps/sparc/bits/hwcap.h: Likewise.
27023         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
27024         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
27025         * sysdeps/sparc/sysdep.h: Likewise.
27027 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27029         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
27031 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27033         * benchtests/bench-strrchr.c: Print length instead of position.
27035 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
27037         [BZ #16611]
27038         * sysdeps/unix/sysv/linux/kernel-features.h
27039         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
27040         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
27041         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
27042         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
27043         Likewise.
27044         [__i386__ || __powerpc__ || __sh__ || __sparc__]
27045         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27046         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
27047         (__ASSUME_SENDMMSG): Define instead of using previous
27048         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
27049         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27050         (__ASSUME_SENDMMSG_SYSCALL): Define.
27051         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27052         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
27053         Likewise.
27054         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27055         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
27056         Likewise.
27057         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27058         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
27059         Likewise.
27060         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
27061         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
27062         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
27063         [__ASSUME_SENDMMSG]: Change conditionals to
27064         [__ASSUME_SENDMMSG_SOCKETCALL].
27065         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27066         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
27067         Define.
27068         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27069         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
27070         Likewise.
27071         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
27072         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
27073         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
27074         [!__ASSUME_SENDMMSG]: Change conditional to
27075         [!__ASSUME_SENDMMSG_SOCKETCALL].
27076         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27077         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
27078         Define.
27080         [BZ #16610]
27081         * sysdeps/unix/sysv/linux/kernel-features.h
27082         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
27083         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
27084         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
27085         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
27086         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27087         [__i386__ || __sparc__]
27088         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27089         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
27090         (__ASSUME_RECVMMSG): Define instead of using previous
27091         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
27092         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27093         (__ASSUME_RECVMMSG_SYSCALL): Define.
27094         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27095         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27096         Likewise.
27097         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27098         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27099         Likewise.
27100         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27101         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27102         Likewise.
27103         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
27104         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
27105         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
27106         [__ASSUME_RECVMMSG]: Change condition to
27107         [__ASSUME_RECVMMSG_SOCKETCALL].
27108         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27109         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27110         Define.
27111         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27112         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27113         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27114         Likewise.
27115         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
27116         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
27117         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
27118         [!__ASSUME_RECVMMSG]: Change condition to
27119         [!__ASSUME_RECVMMSG_SOCKETCALL].
27120         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27121         (__ASSUME_RECVMMSG_SYSCALL): Define.
27123         [BZ #16609]
27124         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
27125         __powerpc__ || __s390__ || __sh__ || __sparc__]
27126         (__ASSUME_SOCKETCALL): Define.
27127         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
27128         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
27129         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
27130         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
27131         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27132         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27133         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
27134         (__ASSUME_ACCEPT4): Define instead of using previous
27135         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
27136         __powerpc__ || __sparc__ || __s390__)] condition.
27137         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27138         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
27139         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
27140         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
27141         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
27142         [!__ASSUME_ACCEPT4]: Change condition to
27143         [!__ASSUME_ACCEPT4_SOCKETCALL].
27144         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27145         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
27146         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
27147         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27148         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
27149         __ASSUME_ACCEPT4_SYSCALL.
27150         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
27151         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
27152         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27153         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
27154         __ASSUME_ACCEPT4_SYSCALL.
27155         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
27156         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
27157         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
27158         [__ASSUME_ACCEPT4]: Change condition to
27159         [__ASSUME_ACCEPT4_SOCKETCALL].
27160         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27161         (__ASSUME_SOCKETCALL): Define.
27162         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
27163         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27164         (__ASSUME_SOCKETCALL): Define.
27165         (__ASSUME_ACCEPT4): Remove.
27166         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
27167         Define.
27168         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27169         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
27170         Likewise.
27171         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27172         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
27174         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
27175         macro.
27176         (HWCAP_ARM_LPAE): Likewise.
27177         (HWCAP_ARM_EVTSTRM): Likewise.
27178         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
27179         Add vpfd32, lpae and evtstrm.
27180         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
27181         Increase to 22.
27183 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
27185         * math/auto-libm-test-in: Add tests of clog10.
27186         * math/auto-libm-test-out: Regenerated.
27187         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
27188         * sysdeps/i386/fpu/libm-test-ulps: Update.
27189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27191 2014-02-18  Andreas Schwab  <schwab@suse.de>
27193         [BZ #16574]
27194         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
27195         Store non-zero if the second buffer was newly allocated.
27196         (send_dg): Likewise.
27197         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
27198         to send_vc and send_dg.
27199         (res_nsend): Pass NULL for ansp2_malloced.
27200         * resolv/res_query.c (__libc_res_nquery): Add parameter
27201         answerp2_malloced and pass it down to __libc_res_nsend.
27202         (res_nquery): Pass additional NULL to __libc_res_nquery.
27203         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
27204         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
27205         second answer buffer if answerp2_malloced was set.
27206         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
27207         (__libc_res_nquerydomain): Add parameter
27208         answerp2_malloced and pass it down to __libc_res_nquery.
27209         (res_nquerydomain): Pass additional NULL to
27210         __libc_res_nquerydomain.
27211         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
27212         additional NULL to __libc_res_nsend and __libc_res_nquery.
27213         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
27214         additional NULL to __libc_res_nsearch.
27215         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
27216         parameter of __libc_res_nsearch to check for separately allocated
27217         second buffer.
27218         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
27219         __libc_res_nquery.
27220         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
27221         additional NULL to __libc_res_nquery.
27222         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
27223         __libc_res_nsearch.
27224         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
27225         * include/resolv.h: Update prototypes of __libc_res_nquery,
27226         __libc_res_nsearch, __libc_res_nsend.
27228 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
27230         * math/auto-libm-test-in: Add tests of fma.
27231         * math/auto-libm-test-out: Regenerated.
27232         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
27233         (fma_towardzero_test_data): Likewise.
27234         (fma_downward_test_data): Likewise.
27235         (fma_upward_test_data): Likewise.
27236         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
27237         mpc_mode.
27238         (rounding_modes): Add values for new field.
27239         (func_calc_method): Add value mpfr_fff_f.
27240         (func_calc_desc): Add mpfr_fff_f union field.
27241         (test_function): Add field exact_args.
27242         (FUNC): Add macro argument EXACT_ARGS.
27243         (FUNC_mpfr_f_f): Update call to FUNC.
27244         (FUNC_mpfr_f_f): Likewise.
27245         (FUNC_mpfr_ff_f): Likewise.
27246         (FUNC_mpfr_if_f): Likewise.
27247         (FUNC_mpc_c_f): Likewise.
27248         (FUNC_mpc_c_c): Likewise.
27249         (test_functions): Add fma.  Update calls to FUNC.
27250         (handle_input_arg): Add argument exact_args.
27251         (add_test): Update call to handle_input_arg.
27252         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
27253         (output_for_one_input_case): Update call to calc_generic_results.
27254         Recalculate exact zero results in each rounding mode.
27256         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
27257         non-negative before setting low bit.
27258         * math/auto-libm-test-in: Mark one asin test possibly having
27259         spurious underflow.
27260         * math/auto-libm-test-out: Regenerated.
27261         * sysdeps/i386/fpu/libm-test-ulps: Update.
27262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27264 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
27266         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
27267         * sysdeps/unix/sysv/linux/microblaze: Move directory from
27268         ports/sysdeps/unix/sysv/linux/microblaze.
27269         * README: Add missing listing for microblaze*-*-linux-gnu.
27271 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
27273         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
27274         duplicate code
27276 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
27278         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
27279         * sysdeps/unix/sysv/linux/ia64: Move directory from
27280         ports/sysdeps/unix/sysv/linux/ia64.
27281         * README: Update listing for ia64-*-linux-gnu.
27283 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
27284             Joseph Myers  <joseph@codesourcery.com>
27286         * Makeconfig (test-name): New variable.
27287         (evaluate-test): Likewise.
27288         * Makerules (do-test-clean): Remove .test-result files.
27289         (common-mostlyclean): Likewise.
27290         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
27291         * scripts/evaluate-test.sh: New file.
27293 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
27295         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
27296         separate $(objpfx)tst-fopenloc-cmp.out and
27297         $(objpfx)tst-fopenloc-mem.out targets.
27298         (tests): Update dependencies.
27299         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
27300         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
27301         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
27302         (tst-rxspencer-no-utf8-ARGS): New variable.
27303         (tst-rxspencer-no-utf8-ENV): Likewise.
27304         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
27305         instead of $(objpfx)tst-rxspencer-mem.
27306         ($(objpfx)tst-rxspencer-mem): Change target to
27307         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
27308         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
27309         * posix/tst-rxspencer-no-utf8.c: New file.
27311         * elf/Makefile ($(objpfx)order.out): Remove rule.
27312         [$(run-built-tests) = yes] (tests): Depend on
27313         $(objpfx)order-cmp.out.
27314         ($(objpfx)order-cmp.out): New rule.
27315         [$(run-built-tests) = yes] (tests): Depend on
27316         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
27317         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
27318         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
27319         $(objpfx)tst-array5-static-cmp.out.
27320         ($(objpfx)tst-array1.out): Remove rule.
27321         ($(objpfx)tst-array1-cmp.out): New rule.
27322         ($(objpfx)tst-array1-static.out): Remove rule.
27323         ($(objpfx)tst-array1-static-cmp.out): New rule.
27324         ($(objpfx)tst-array2.out): Remove rule.
27325         ($(objpfx)tst-array2-cmp.out): New rule.
27326         ($(objpfx)tst-array3.out): Remove rule.
27327         ($(objpfx)tst-array3-cmp.out): New rule.
27328         ($(objpfx)tst-array4.out): Remove rule.
27329         ($(objpfx)tst-array4-cmp.out): New rule.
27330         ($(objpfx)tst-array5.out): Remove rule.
27331         ($(objpfx)tst-array5-cmp.out): New rule.
27332         ($(objpfx)tst-array5-static.out): Remove rule.
27333         ($(objpfx)tst-array5-static-cmp.out): New rule.
27334         [$(run-built-tests) = yes] (tests): Depend on
27335         $(objpfx)order2-cmp.out.
27336         ($(objpfx)order2.out): Remove rule.
27337         ($(objpfx)order2-cmp.out): New rule.
27338         ($(objpfx)tst-initorder.out): Remove rule.
27339         [$(run-built-tests) = yes] (tests): Depend on
27340         $(objpfx)tst-initorder-cmp.out.
27341         ($(objpfx)tst-initorder-cmp.out): New rule.
27342         ($(objpfx)tst-initorder2.out): Remove rule.
27343         [$(run-built-tests) = yes] (tests): Depend on
27344         $(objpfx)tst-initorder2-cmp.out.
27345         ($(objpfx)tst-initorder2-cmp.out): New rule.
27346         [$(run-built-tests) = yes] (tests): Depend on
27347         $(objpfx)tst-unused-dep-cmp.out.
27348         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
27349         ($(objpfx)tst-unused-dep-cmp.out): New rule.
27350         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
27351         on $(objpfx)tst-setvbuf1-cmp.out.
27352         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
27353         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
27354         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
27355         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
27356         ($(objpfx)tst-svc.out): Remove rule.
27357         ($(objpfx)tst-svc-cmp.out): New rule.
27359 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
27361         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
27362         * ctype/ctype.h [__USE_MISC]: Likewise.
27363         * dirent/dirent.h [__USE_MISC]: Likewise.
27364         * grp/grp.h [__USE_MISC]: Likewise.
27365         * io/fcntl.h [__USE_MISC]: Likewise.
27366         * io/sys/stat.h [__USE_MISC]: Likewise.
27367         * libio/stdio.h [__USE_MISC]: Likewise.
27368         * posix/unistd.h [__USE_MISC]: Likewise.
27369         * pwd/pwd.h [__USE_MISC]: Likewise.
27370         * stdlib.h [__USE_MISC]: Likewise.
27371         * string/bits/string2.h [__USE_MISC]: Likewise.
27372         * string/string.h [__USE_MISC]: Likewise.
27373         * time/time.h [__USE_MISC]: Likewise.
27375 2014-02-13  Andreas Schwab  <schwab@suse.de>
27377         [BZ #16574]
27378         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
27379         second answer buffer if it was separately allocated.
27381 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
27383         * sysdeps/mips/math-tests.h: Include <features.h>.
27384         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27385         (ROUNDING_TESTS_long_double): Do not define.
27386         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27387         (EXCEPTION_TESTS_long_double): Likewise.
27388         * sysdeps/mips/mips64/libm-test-ulps: Update.
27390         * include/features.h (__USE_BSD): Remove macro definitions.
27391         (__USE_SVID): Likewise.
27392         (_BSD_SOURCE): Likewise.
27393         (_SVID_SOURCE): Likewise.
27394         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
27395         from definition of _DEFAULT_SOURCE.
27396         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
27397         [_DEFAULT_SOURCE].
27398         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
27399         * bits/mman.h [__USE_BSD]: Likewise.
27400         * bits/termios.h [__USE_BSD]: Likewise.
27401         * bits/waitstatus.h [__USE_BSD]: Likewise.
27402         * ctype/ctype.h [__USE_SVID]: Likewise.
27403         * dirent/dirent.h [__USE_BSD]: Likewise.
27404         * grp/grp.h [__USE_SVID]: Likewise.
27405         [__USE_BSD]: Likewise.
27406         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
27407         * io/fcntl.h [__USE_BSD]: Likewise.
27408         * io/ftw.h [__USE_BSD]: Likewise.
27409         * io/sys/stat.h [__USE_BSD]: Likewise.
27410         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
27411         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
27412         * libio/stdio.h [__USE_SVID]: Likewise.
27413         [__USE_BSD]: Likewise.
27414         * math/math.h [__USE_SVID]: Likewise.
27415         [__USE_BSD]: Likewise.
27416         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
27417         * misc/bits/syslog.h [__USE_BSD]: Likewise.
27418         * misc/search.h [__USE_SVID]: Likewise.
27419         * misc/sys/mman.h [__USE_BSD]: Likewise.
27420         * misc/sys/syslog.h [__USE_BSD]: Likewise.
27421         * misc/sys/uio.h [__USE_BSD]: Likewise.
27422         * posix/bits/unistd.h [__USE_BSD]: Likewise.
27423         * posix/glob.h [__USE_BSD]: Likewise.
27424         * posix/regex.h [__USE_BSD]: Likewise.
27425         * posix/sys/types.h [__USE_BSD]: Likewise.
27426         [__USE_SVID]: Likewise.
27427         * posix/sys/utsname.h [__USE_SVID]: Likewise.
27428         * posix/sys/wait.h [__USE_BSD]: Likewise.
27429         [__USE_SVID]: Likewise.
27430         * posix/unistd.h [__USE_BSD]: Likewise.
27431         [__USE_SVID]: Likewise.
27432         * pwd/pwd.h [__USE_SVID]: Likewise.
27433         * resolv/netdb.h [__USE_BSD]: Likewise.
27434         * setjmp/setjmp.h [__USE_BSD]: Likewise.
27435         * signal/signal.h [__USE_BSD]: Likewise.
27436         [__USE_SVID]: Likewise.
27437         * socket/sys/socket.h [__USE_BSD]: Likewise.
27438         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
27439         * stdlib/stdlib.h [__USE_BSD]: Likewise.
27440         [__USE_SVID]: Likewise.
27441         * string/bits/string2.h [__USE_BSD]: Likewise.
27442         [__USE_SVID]: Likewise.
27443         * string/bits/string3.h [__USE_BSD]: Likewise.
27444         * string/endian.h [__USE_BSD]: Likewise.
27445         * string/string.h [__USE_SVID]: Likewise.
27446         [__USE_BSD]: Likewise.
27447         * string/strings.h [__USE_BSD]: Likewise.
27448         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
27449         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
27450         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
27451         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
27452         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
27453         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
27454         Likewise.
27455         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
27456         Likewise.
27457         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
27458         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
27459         Likewise.
27460         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
27461         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
27462         Likewise.
27463         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
27464         Likewise.
27465         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
27466         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
27467         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
27468         Likewise.
27469         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
27470         Likewise.
27471         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
27472         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
27473         * termios/termios.h [__USE_BSD]: Likewise.
27474         * time/sys/time.h [__USE_BSD]: Likewise.
27475         * time/time.h [__USE_BSD]: Likewise.
27476         [__USE_SVID]: Likewise.
27478         * Makefile (subdir_targets): Remove subdir_lint.out.
27480         * stdio-common/Makefile (do-tst-unbputc): Remove target.
27481         (do-tst-printf): Likewise.
27482         (tests): Depend directly on $(objpfx)tst-unbputc.out and
27483         $(objpfx)tst-printf.out.
27485         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27487         * Makerules (check-abi-%): Change target to
27488         $(objpfx)check-abi-%.out.
27489         (check-abi target): Update dependencies.
27490         (check-abi-pattern variable): Redirect output of diff to $@.
27491         (check-abi variable): Likewise.
27492         * elf/Makefile (check-abi): Update dependencies.
27494         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27495         unused.
27496         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27497         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27498         subnormal range.
27499         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27500         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27501         value has largest subnormal exponent.
27502         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27503         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27504         * sysdeps/aarch64/soft-fp/sfp-machine.h
27505         (_FP_TININESS_AFTER_ROUNDING): New macro.
27506         * sysdeps/alpha/soft-fp/sfp-machine.h
27507         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27508         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27509         Likewise.
27510         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27511         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27512         * sysdeps/mips/soft-fp/sfp-machine.h
27513         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27514         * sysdeps/powerpc/soft-fp/sfp-machine.h
27515         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27516         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27517         Likewise.
27518         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27519         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27520         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27521         (_FP_TININESS_AFTER_ROUNDING): Likewise.
27522         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27523         Likewise.
27525 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
27527         [BZ #16545]
27528         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27529         model 1.
27531 2014-02-12  Richard Henderson  <rth@redhat.com>
27533         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27534         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27535         * sysdeps/unix/sysv/linux/alpha: Move directory from
27536         ports/sysdeps/unix/sysv/linux/alpha.
27537         * README: Update listing for alpha-*-linux-gnu.
27539 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
27541         * include/features.h: Update comment documenting feature test
27542         macros.
27543         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
27544         _DEFAULT_SOURCE.
27545         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27546         (_SVID_SOURCE): Likewise.
27547         (_DEFAULT_SOURCE): Update description of default features.
27548         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27549         with _GNU_SOURCE.
27550         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27551         (S_ISVTX): Likewise.
27552         * manual/math.texi (Mathematical Constants): Likewise.
27553         * manual/signal.texi (Interrupted Primitives): Likewise.
27554         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27555         * math/test-matherr.c (_SVID_SOURCE): Do not define.
27556         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27557         Don't refer to _SVID_SOURCE in warning text.
27559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27561         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27562         already defined.
27563         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27564         * sysdeps/mips/dl-lookup.c: Remove.
27565         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27567 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27569         [BZ #16447]
27570         * math/auto-libm-test-in: Add testcase for expl.
27571         * math/auto-libm-test-out: Regenerate.
27572         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27573         calculation of unsafe.
27574         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27576 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27578         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27579         * sysdeps/unix/sysv/linux/aarch64: Move directory from
27580         ports/sysdeps/unix/sysv/linux/aarch64.
27581         * README: Update listing for aarch64*-*-linux-gnu.
27583 2014-02-11  Will Newton  <will.newton@linaro.org>
27585         * manual/probes.texi (Mathematical Function Probes): Use
27586         "triggered" instead of "hit".
27588         * manual/probes.texi (Internal Probes): Add documentation
27589         of setjmp, longjmp and longjmp_target probes.
27591         * include/stap-probe.h: Add comment about probe argument
27592         format.
27594         * malloc/mtrace.c (attribute_hidden): Remove unused macro
27595         definition.  (tr_where, tr_freehook, tr_mallochook,
27596         tr_reallochook, tr_memalignhook): Use ANSI protoype.
27598 2014-02-11  David S. Miller  <davem@davemloft.net>
27600         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27601         processing int_tests.
27603 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
27605         * sysdeps/mips: Move directory from ports/sysdeps/mips.
27606         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27607         * sysdeps/unix/sysv/linux/mips: Move directory from
27608         ports/sysdeps/unix/sysv/linux/mips.
27609         * README: Update listing for mips-*-linux-gnu and
27610         mips64-*-linux-gnu.
27612 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
27614         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27615         * sysdeps/unix/sysv/linux/m68k: Move directory from
27616         ports/sysdeps/unix/sysv/linux/m68k.
27617         * README: Update listing for m68k-*-linux-gnu.
27619 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
27621         * sysdeps/tile: Move directory from ports/sysdeps/tile.
27622         * sysdeps/unix/sysv/linux/generic: Move directory from
27623         ports/sysdeps/unix/sysv/linux/generic.
27624         * sysdeps/unix/sysv/linux/tile: Move directory from
27625         ports/sysdeps/unix/sysv/linux/tile.
27626         * README: Update listing for tile*-*-linux-gnu.
27628 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
27630         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27631         __builtin_expect.
27632         * benchtests/bench-memmem.c (simple_memmem): Likewise.
27633         * catgets/open_catalog.c (__open_catalog): Likewise.
27634         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27635         * debug/confstr_chk.c: Likewise.
27636         * debug/fread_chk.c (__fread_chk): Likewise.
27637         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27638         * debug/getgroups_chk.c: Likewise.
27639         * debug/mbsnrtowcs_chk.c: Likewise.
27640         * debug/mbsrtowcs_chk.c: Likewise.
27641         * debug/mbstowcs_chk.c: Likewise.
27642         * debug/memcpy_chk.c: Likewise.
27643         * debug/memmove_chk.c: Likewise.
27644         * debug/mempcpy_chk.c: Likewise.
27645         * debug/memset_chk.c: Likewise.
27646         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27647         * debug/strcat_chk.c (__strcat_chk): Likewise.
27648         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27649         * debug/strncat_chk.c (__strncat_chk): Likewise.
27650         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27651         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27652         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27653         * debug/wcpncpy_chk.c: Likewise.
27654         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27655         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27656         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27657         * debug/wcsncpy_chk.c: Likewise.
27658         * debug/wcsnrtombs_chk.c: Likewise.
27659         * debug/wcsrtombs_chk.c: Likewise.
27660         * debug/wcstombs_chk.c: Likewise.
27661         * debug/wmemcpy_chk.c: Likewise.
27662         * debug/wmemmove_chk.c: Likewise.
27663         * debug/wmempcpy_chk.c: Likewise.
27664         * debug/wmemset_chk.c: Likewise.
27665         * dirent/scandirat.c (SCANDIRAT): Likewise.
27666         * dlfcn/dladdr1.c (dladdr1): Likewise.
27667         * dlfcn/dladdr.c (dladdr): Likewise.
27668         * dlfcn/dlclose.c (dlclose_doit): Likewise.
27669         * dlfcn/dlerror.c (__dlerror): Likewise.
27670         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27671         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27672         * dlfcn/dlopen.c (dlopen_doit): Likewise.
27673         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27674         * dlfcn/dlsym.c (dlsym_doit): Likewise.
27675         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27676         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27677         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27678         Likewise.
27679         * elf/dl-conflict.c: Likewise.
27680         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27681         * elf/dl-dst.h: Likewise.
27682         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27683         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27684         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27685         * elf/dl-init.c (call_init, _dl_init): Likewise.
27686         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27687         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27688         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27689         Likewise.
27690         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27691         Likewise.
27692         * elf/dl-minimal.c (__libc_memalign): Likewise.
27693         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27694         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27695         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27696         * elf/dl-sym.c (do_sym): Likewise.
27697         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27698         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27699         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27700         * elf/dl-writev.h (_dl_writev): Likewise.
27701         * elf/ldconfig.c (search_dir): Likewise.
27702         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27703         (dl_main): Likewise.
27704         * elf/setup-vdso.h (setup_vdso): Likewise.
27705         * grp/compat-initgroups.c (compat_call): Likewise.
27706         * grp/fgetgrent.c (fgetgrent): Likewise.
27707         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27708         * grp/putgrent.c (putgrent): Likewise.
27709         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27710         Likewise.
27711         * hurd/hurdinit.c: Likewise.
27712         * iconvdata/8bit-gap.c (struct): Likewise.
27713         * iconvdata/ansi_x3.110.c : Likewise.
27714         * iconvdata/big5.c : Likewise.
27715         * iconvdata/big5hkscs.c : Likewise.
27716         * iconvdata/cp1255.c: Likewise.
27717         * iconvdata/cp1258.c : Likewise.
27718         * iconvdata/cp932.c : Likewise.
27719         * iconvdata/euc-cn.c: Likewise.
27720         * iconvdata/euc-jisx0213.c : Likewise.
27721         * iconvdata/euc-jp.c: Likewise.
27722         * iconvdata/euc-jp-ms.c : Likewise.
27723         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27724         * iconvdata/gb18030.c : Likewise.
27725         * iconvdata/gbbig5.c (const): Likewise.
27726         * iconvdata/gbgbk.c: Likewise.
27727         * iconvdata/gbk.c : Likewise.
27728         * iconvdata/ibm1364.c : Likewise.
27729         * iconvdata/ibm930.c : Likewise.
27730         * iconvdata/ibm932.c: Likewise.
27731         * iconvdata/ibm933.c : Likewise.
27732         * iconvdata/ibm935.c : Likewise.
27733         * iconvdata/ibm937.c : Likewise.
27734         * iconvdata/ibm939.c : Likewise.
27735         * iconvdata/ibm943.c: Likewise.
27736         * iconvdata/iso_11548-1.c: Likewise.
27737         * iconvdata/iso-2022-cn.c : Likewise.
27738         * iconvdata/iso-2022-cn-ext.c : Likewise.
27739         * iconvdata/iso-2022-jp-3.c: Likewise.
27740         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27741         * iconvdata/iso-2022-kr.c : Likewise.
27742         * iconvdata/iso646.c (gconv_end): Likewise.
27743         * iconvdata/iso_6937-2.c : Likewise.
27744         * iconvdata/iso_6937.c : Likewise.
27745         * iconvdata/iso8859-1.c: Likewise.
27746         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27747         * iconvdata/shift_jisx0213.c : Likewise.
27748         * iconvdata/sjis.c : Likewise.
27749         * iconvdata/t.61.c : Likewise.
27750         * iconvdata/tcvn5712-1.c : Likewise.
27751         * iconvdata/tscii.c: Likewise.
27752         * iconvdata/uhc.c : Likewise.
27753         * iconvdata/unicode.c (gconv_end): Likewise.
27754         * iconvdata/utf-16.c (gconv_end): Likewise.
27755         * iconvdata/utf-32.c (gconv_end): Likewise.
27756         * iconvdata/utf-7.c (base64): Likewise.
27757         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27758         * iconv/gconv_close.c (__gconv_close): Likewise.
27759         * iconv/gconv_open.c (__gconv_open): Likewise.
27760         * iconv/gconv_simple.c (internal_ucs4_loop_single)
27761         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27762         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27763         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27764         (ucs4le_internal_loop_single): Likewise.
27765         * iconv/iconv.c (iconv): Likewise.
27766         * iconv/iconv_close.c: Likewise.
27767         * iconv/loop.c (SINGLE): Likewise.
27768         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27769         * include/atomic.h: Likewise.
27770         * inet/inet6_option.c (option_alloc): Likewise.
27771         * intl/bindtextdom.c (set_binding_values): Likewise.
27772         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27773         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27774         * intl/localealias.c (read_alias_file): Likewise.
27775         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27776         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27777         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27778         * libio/fmemopen.c (fmemopen): Likewise.
27779         * libio/iofgets.c (_IO_fgets): Likewise.
27780         * libio/iofgets_u.c (fgets_unlocked): Likewise.
27781         * libio/iofgetws.c (fgetws): Likewise.
27782         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27783         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27784         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27785         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27786         * locale/findlocale.c (_nl_find_locale): Likewise.
27787         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27788         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27789         Likewise.
27790         * locale/setlocale.c (setlocale): Likewise.
27791         * login/programs/pt_chown.c (main): Likewise.
27792         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27793         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27794         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27795         (mmap, mmap64, mremap, munmap): Likewise.
27796         * math/e_exp2l.c: Likewise.
27797         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27798         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27799         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27800         * math/s_catan.c (__catan): Likewise.
27801         * math/s_catanf.c (__catanf): Likewise.
27802         * math/s_catanh.c (__catanh): Likewise.
27803         * math/s_catanhf.c (__catanhf): Likewise.
27804         * math/s_catanhl.c (__catanhl): Likewise.
27805         * math/s_catanl.c (__catanl): Likewise.
27806         * math/s_ccosh.c (__ccosh): Likewise.
27807         * math/s_ccoshf.c (__ccoshf): Likewise.
27808         * math/s_ccoshl.c (__ccoshl): Likewise.
27809         * math/s_cexp.c (__cexp): Likewise.
27810         * math/s_cexpf.c (__cexpf): Likewise.
27811         * math/s_cexpl.c (__cexpl): Likewise.
27812         * math/s_clog10.c (__clog10): Likewise.
27813         * math/s_clog10f.c (__clog10f): Likewise.
27814         * math/s_clog10l.c (__clog10l): Likewise.
27815         * math/s_clog.c (__clog): Likewise.
27816         * math/s_clogf.c (__clogf): Likewise.
27817         * math/s_clogl.c (__clogl): Likewise.
27818         * math/s_csin.c (__csin): Likewise.
27819         * math/s_csinf.c (__csinf): Likewise.
27820         * math/s_csinh.c (__csinh): Likewise.
27821         * math/s_csinhf.c (__csinhf): Likewise.
27822         * math/s_csinhl.c (__csinhl): Likewise.
27823         * math/s_csinl.c (__csinl): Likewise.
27824         * math/s_csqrt.c (__csqrt): Likewise.
27825         * math/s_csqrtf.c (__csqrtf): Likewise.
27826         * math/s_csqrtl.c (__csqrtl): Likewise.
27827         * math/s_ctan.c (__ctan): Likewise.
27828         * math/s_ctanf.c (__ctanf): Likewise.
27829         * math/s_ctanh.c (__ctanh): Likewise.
27830         * math/s_ctanhf.c (__ctanhf): Likewise.
27831         * math/s_ctanhl.c (__ctanhl): Likewise.
27832         * math/s_ctanl.c (__ctanl): Likewise.
27833         * math/w_pow.c: Likewise.
27834         * math/w_powf.c: Likewise.
27835         * math/w_powl.c: Likewise.
27836         * math/w_scalb.c (sysv_scalb): Likewise.
27837         * math/w_scalbf.c (sysv_scalbf): Likewise.
27838         * math/w_scalbl.c (sysv_scalbl): Likewise.
27839         * misc/error.c (error_tail): Likewise.
27840         * misc/pselect.c (__pselect): Likewise.
27841         * nis/nis_callback.c (__nis_create_callback): Likewise.
27842         * nis/nis_call.c (__nisfind_server): Likewise.
27843         * nis/nis_creategroup.c (nis_creategroup): Likewise.
27844         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27845         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27846         * nis/nis_getservlist.c (nis_getservlist): Likewise.
27847         * nis/nis_lookup.c (nis_lookup): Likewise.
27848         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27849         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27850         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
27851         * nis/nis_xdr.c (xdr_endpoint): Likewise.
27852         * nis/nss_compat/compat-grp.c (getgrent_next_file)
27853         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
27854         * nis/nss_compat/compat-initgroups.c (add_group)
27855         (internal_getgrent_r): Likewise.
27856         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
27857         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
27858         * nis/nss_compat/compat-spwd.c (getspent_next_file)
27859         (internal_getspnam_r): Likewise.
27860         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
27861         (_nss_nis_getaliasbyname_r): Likewise.
27862         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
27863         (_nss_nis_getntohost_r): Likewise.
27864         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
27865         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
27866         (_nss_nis_getgrgid_r): Likewise.
27867         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
27868         (internal_nis_gethostent_r, internal_gethostbyname2_r)
27869         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
27870         (_nss_nis_gethostbyname4_r): Likewise.
27871         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
27872         (initgroups_netid): Likewise.
27873         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
27874         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
27875         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
27876         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
27877         (_nss_nis_getprotobynumber_r): Likewise.
27878         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
27879         (_nss_nis_getsecretkey): Likewise.
27880         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
27881         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
27882         (_nss_nis_getpwuid_r): Likewise.
27883         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
27884         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
27885         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
27886         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
27887         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
27888         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
27889         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
27890         Likewise.
27891         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
27892         (_nss_nisplus_getntohost_r): Likewise.
27893         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
27894         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
27895         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
27896         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
27897         Likewise.
27898         * nis/nss_nisplus/nisplus-initgroups.c
27899         (_nss_nisplus_initgroups_dyn): Likewise.
27900         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
27901         (_nss_nisplus_getnetbyaddr_r): Likewise.
27902         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
27903         (_nss_nisplus_getprotobynumber_r): Likewise.
27904         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
27905         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
27906         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
27907         Likewise.
27908         * nis/nss_nisplus/nisplus-service.c
27909         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
27910         (_nss_nisplus_getservbyport_r): Likewise.
27911         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
27912         (_nss_nisplus_getspnam_r): Likewise.
27913         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
27914         Likewise.
27915         * nscd/aicache.c (addhstaiX): Likewise.
27916         * nscd/cache.c (cache_search, prune_cache): Likewise.
27917         * nscd/connections.c (register_traced_file, send_ro_fd)
27918         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
27919         (main_loop_epoll): Likewise.
27920         * nscd/grpcache.c (addgrbyX): Likewise.
27921         * nscd/hstcache.c (addhstbyX): Likewise.
27922         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27923         * nscd/mem.c (gc, mempool_alloc): Likewise.
27924         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
27925         (addinnetgrX): Likewise.
27926         * nscd/nscd-client.h (__nscd_acquire_maplock)
27927         (__nscd_drop_map_ref): Likewise.
27928         * nscd/nscd_getai.c (__nscd_getai): Likewise.
27929         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27930         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
27931         Likewise.
27932         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27933         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
27934         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
27935         (__nscd_get_map_ref): Likewise.
27936         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
27937         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
27938         Likewise.
27939         * nscd/pwdcache.c (addpwbyX): Likewise.
27940         * nscd/selinux.c (preserve_capabilities): Likewise.
27941         * nscd/servicescache.c (addservbyX): Likewise.
27942         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
27943         * posix/fnmatch.c (fnmatch): Likewise.
27944         * posix/getopt.c (_getopt_internal_r): Likewise.
27945         * posix/glob.c (glob, glob_in_dir): Likewise.
27946         * posix/wordexp.c (exec_comm_child): Likewise.
27947         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
27948         (getanswer_r, gaih_getanswer_slice): Likewise.
27949         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
27950         * resolv/res_init.c: Likewise.
27951         * resolv/res_mkquery.c (res_nmkquery): Likewise.
27952         * resolv/res_query.c (__libc_res_nquery): Likewise.
27953         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
27954         Likewise.
27955         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
27956         * stdio-common/perror.c (perror): Likewise.
27957         * stdio-common/printf_fp.c (___printf_fp): Likewise.
27958         * stdio-common/tmpnam.c (tmpnam): Likewise.
27959         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27960         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
27961         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27962         Likewise.
27963         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27964         * stdlib/putenv.c (putenv): Likewise.
27965         * stdlib/setenv.c (__add_to_environ): Likewise.
27966         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27967         * stdlib/strtol_l.c (INTERNAL): Likewise.
27968         * string/memmem.c (memmem): Likewise.
27969         * string/strerror.c (strerror): Likewise.
27970         * string/strnlen.c (__strnlen): Likewise.
27971         * string/test-memmem.c (simple_memmem): Likewise.
27972         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
27973         * sunrpc/pm_getport.c (__get_socket): Likewise.
27974         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
27975         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
27976         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
27977         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
27978         Likewise.
27979         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27980         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
27981         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
27982         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
27983         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
27984         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
27985         Likewise.
27986         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
27987         Likewise.
27988         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
27989         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
27990         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27991         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27992         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
27994         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27995         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
27996         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
27997         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
27998         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27999         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
28000         Likewise.
28001         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
28002         Likewise.
28003         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
28004         Likewise.
28005         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
28006         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28007         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
28008         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
28009         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
28010         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
28011         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28012         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
28013         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
28014         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
28015         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
28016         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28017         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28018         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
28019         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28020         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28021         Likewise.
28022         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
28023         Likewise.
28024         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
28025         Likewise.
28026         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
28027         Likewise.
28028         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28029         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28030         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
28031         Likewise.
28032         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
28033         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
28034         * sysdeps/posix/opendir.c (__opendirat): Likewise.
28035         * sysdeps/posix/sleep.c: Likewise.
28036         * sysdeps/posix/tempname.c: Likewise.
28037         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
28038         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28039         Likewise.
28040         * sysdeps/powerpc/powerpc32/dl-machine.h
28041         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
28042         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28043         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28044         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
28045         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
28046         Likewise.
28047         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
28048         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
28049         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
28050         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
28051         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
28052         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
28053         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
28054         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
28055         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28056         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
28057         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
28058         (elf_machine_lazy_rel): Likewise.
28059         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28060         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
28061         (elf_machine_lazy_rel): Likewise.
28062         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
28063         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
28064         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
28065         * sysdeps/unix/grantpt.c (grantpt): Likewise.
28066         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
28067         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
28068         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
28069         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28070         Likewise.
28071         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28072         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28073         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
28074         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
28075         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28076         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28077         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
28078         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
28079         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
28080         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28081         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28082         Likewise.
28083         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
28084         (__posix_fallocate64_l64): Likewise.
28085         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
28086         (posix_fallocate): Likewise.
28087         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
28088         Likewise.
28089         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28090         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
28091         (getifaddrs_internal): Likewise.
28092         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
28093         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
28094         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
28095         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28096         * sysdeps/unix/sysv/linux/posix_fallocate64.c
28097         (__posix_fallocate64_l64): Likewise.
28098         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
28099         Likewise.
28100         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
28101         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
28102         (__get_clockfreq): Likewise.
28103         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
28104         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
28105         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
28106         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28108         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
28109         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
28110         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
28111         Likewise.
28112         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
28113         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
28114         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28115         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
28116         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28117         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
28118         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
28119         Likewise.
28120         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28121         (posix_fallocate): Likewise.
28122         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28123         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
28124         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
28125         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
28126         (elf_machine_rela, elf_machine_rela_relative)
28127         (elf_machine_lazy_rel): Likewise.
28128         * time/asctime.c (asctime_internal): Likewise.
28129         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
28130         * time/tzset.c (__tzset_parse_tz): Likewise.
28131         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28132         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28133         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
28134         * wcsmbs/wcsmbsload.h: Likewise.
28136         [BZ #15894]
28137         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
28139         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
28140         (arena_get2): Remove THREAD_STATS conditionals.
28141         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
28142         (__malloc_stats, int): Likewise.
28144 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
28146         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
28147         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
28149         * manual/setjmp.texi: Fix typos/grammar errors.
28151         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
28152         Only return early when n is <= 0.  Delete unused return statement.
28154         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
28155         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
28156         * debug/tst-longjmp_chk3.c: New file.
28158         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
28159         (test_main): Replace code with set_fortify_handler call.
28160         * debug/test-strcpy_chk.c: Likewise.
28161         * debug/tst-chk1.c: Likewise.
28162         * debug/tst-longjmp_chk.c: Likewise.
28163         * test-skeleton.c: Include fcntl.h & paths.h
28164         (set_fortify_handler): Define.
28166         * debug/tst-longjmp_chk.c: Add header comment and include
28167         ../test-skeleton.c.
28168         (do_test): Mark static.
28169         (TEST_FUNCTION): Define.
28171         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
28172         (IP_PMTUDISC_INTERFACE): Likewise.
28173         (IP_MULTICAST_IF): Likewise.
28174         (IP_MULTICAST_TTL): Likewise.
28175         (IP_MULTICAST_LOOP): Likewise.
28176         (IP_ADD_MEMBERSHIP): Likewise.
28177         (IP_DROP_MEMBERSHIP): Likewise.
28178         (IP_UNBLOCK_SOURCE): Likewise.
28179         (IP_BLOCK_SOURCE): Likewise.
28180         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
28181         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
28182         (IP_MSFILTER): Likewise.
28183         (MCAST_JOIN_GROUP): Likewise.
28184         (MCAST_BLOCK_SOURCE): Likewise.
28185         (MCAST_UNBLOCK_SOURCE): Likewise.
28186         (MCAST_LEAVE_GROUP): Likewise.
28187         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28188         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28189         (MCAST_MSFILTER): Likewise.
28190         (IP_MULTICAST_ALL): Likewise.
28191         (IP_UNICAST_IF): Likewise.
28193         * timezone/Makefile: Delete $(have-ksh) check.
28194         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
28195         * timezone/tzselect.ksh: Add +x mode bits.
28197         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
28198         (ANON_INODE_FS_MAGIC): Likewise.
28199         (BDEVFS_MAGIC): Likewise.
28200         (BINFMTFS_MAGIC): Likewise.
28201         (BTRFS_TEST_MAGIC): Likewise.
28202         (CRAMFS_MAGIC_WEND): Likewise.
28203         (DEBUGFS_MAGIC): Likewise.
28204         (ECRYPTFS_SUPER_MAGIC): Likewise.
28205         (EXT3_SUPER_MAGIC): Likewise.
28206         (EXT4_SUPER_MAGIC): Likewise.
28207         (FUTEXFS_SUPER_MAGIC): Likewise.
28208         (HOSTFS_SUPER_MAGIC): Likewise.
28209         (HUGETLBFS_MAGIC): Likewise.
28210         (MINIX3_SUPER_MAGIC): Likewise.
28211         (MTD_INODE_FS_MAGIC): Likewise.
28212         (NILFS_SUPER_MAGIC): Likewise.
28213         (OPENPROM_SUPER_MAGIC): Likewise.
28214         (PIPEFS_MAGIC): Likewise.
28215         (PSTOREFS_MAGIC): Likewise.
28216         (QNX6_SUPER_MAGIC): Likewise.
28217         (RAMFS_MAGIC): Likewise.
28218         (REISERFS_SUPER_MAGIC_STRING): Likewise.
28219         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
28220         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
28221         (SECURITYFS_MAGIC): Likewise.
28222         (SELINUX_MAGIC): Likewise.
28223         (SMACK_MAGIC): Likewise.
28224         (SOCKFS_MAGIC): Likewise.
28225         (SQUASHFS_MAGIC): Likewise.
28226         (STACK_END_MAGIC): Likewise.
28227         (TMPFS_MAGIC): Likewise.
28228         (USBDEVICE_SUPER_MAGIC): Likewise.
28229         (V9FS_MAGIC): Likewise.
28230         (XENFS_SUPER_MAGIC): Likewise.
28231         (CRAMFS_MAGIC): Fix typo in comment.
28232         (EXT2_SUPER_MAGIC): Update comment.
28233         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
28235 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
28237         * sysdeps/arm: Move directory from ports/sysdeps/arm.
28238         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
28239         * sysdeps/unix/sysv/linux/arm: Move directory from
28240         ports/sysdeps/unix/sysv/linux/arm.
28241         * README: Update listing for arm-*-linux-gnueabi.
28243         * README: Remove mention of am33.
28245 2014-02-07  Roland McGrath  <roland@hack.frob.com>
28247         * bits/sigset.h (__sigemptyset): Use a statement expression rather
28248         than the comma operator, to avoid "rhs of comma has no effect"
28249         compiler warnings.
28250         (__sigfillset, __sigandset, __sigorset): Likewise.
28251         * include/signal.h (__sigemptyset): Likewise.
28252         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
28254 2014-02-07  Allan McRae  <allan@archlinux.org>
28256         * version.h (RELEASE): Set to "development".
28257         (VERSION): Set to "2.19.90"
28258         * NEWS: Add 2.20 section.
28260 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
28262         [BZ #16529]
28263         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
28265 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28267         * manual/contrib.texi: Update entry for Carlos O'Donell,
28268         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
28270 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
28272         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
28274         * sysdeps/unix/sysv/linux/kernel-features.h
28275         [__LINUX_KERNEL_VERSION >= 0x020621]
28276         (__ASSUME_PROC_PID_TASK_COMM): Define.
28278 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28280         [BZ #16398]
28281         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
28282         conversion when destination buffer does not have enough space.
28283         * libio/tst-ftell-partial-wide.c: New test case.
28284         * libio/Makefile (tests): Add tst-ftell-partial-wide.
28286         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
28287         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
28288         Leonard and Allan McRae.
28290 2014-02-04  David S. Miller  <davem@davemloft.net>
28292         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
28293         32-bit.
28295 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28298         New file
28299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28300         New file
28301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28302         New file.
28303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28304         New file.
28305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28306         New file.
28307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28308         New file.
28309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28310         New file.
28311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28312         New file.
28313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28314         New file.
28315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28316         New file.
28317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28318         New file.
28319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28320         New file.
28321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28322         New file.
28324 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28326         * nptl/shlib-versions: Change powerpc*le start to 2.17.
28327         * shlib-versions: Likewise.
28329 2014-02-04  Roland McGrath  <roland@hack.frob.com>
28330             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28332         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
28333         (abilist-pattern): New variable, set to %-le.abilist.
28335         * Makerules (abilist-pattern): New variable.
28336         (vpath): Use $(abilist-pattern) in place of %.abilist.
28337         (check-abi-% pattern rule): Likewise.
28338         (check-abi, update-abi): Likewise.
28340 2014-02-04  Eric Wong  <normalperson@yhbt.net>
28342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28344 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
28346         * manual/startup.texi: Add next, previous, and top entries for
28347         the `Program Arguments' and `Environment Variables' nodes.
28349 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
28351         * manual/macros.texi: Add comments before MTASC-safety macros.
28353         * manual/users.texi: Document MTASC-safety properties.
28355         * manual/threads.texi (pthread_key_create, pthread_key_delete)
28356         (pthread_getspecific, pthread_setspecific): Format with
28357         @deftypefun, and add @safety note.
28358         * manual/signal.texi: Move comments that analyze the above
28359         functions to their home place.
28361 2014-02-03  Allan McRae  <allan@archlinux.org>
28363         * po/sl.po: Update Slovenian translation from translation project.
28365 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
28367         * manual/time.texi (timegm): Add missing blank after @c.
28368         Reported by Joseph Myers <joseph@codesourcery.com>.
28370 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
28372         * manual/check-safety.sh: New.
28373         * manual/Makefile ($(objpfx)stamp-summary): Run it.
28375         * manual/terminal.texi: Document MTASC-safety properties.
28377         * manual/filesys.texi: Document MTASC-safety properties.
28379         * manual/errno.texi: Document MTASC-safety properties.
28381         * manual/intro.texi: Document safety identifiers and
28382         conditionals.
28384         * manual/string.texi (wcstok): Fix prototype.
28385         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
28387         * manual/time.texi: Document MTASC-safety properties.
28389         * manual/string.texi: Document MTASC-safety properties.
28391         * manual/threads.texi: Document MTASC-safety properties.
28393         * manual/stdio.texi: Document MTASC-safety properties.
28395         * manual/syslog.texi: Document MTASC-safety properties.
28397         * manual/sysinfo.texi: Document MTASC-safety properties.
28399         * manual/startup.texi: Document MTASC-safety properties.
28401         * manual/socket.texi: Document MTASC-safety properties.
28403         * manual/signal.texi: Document MTASC-safety properties.
28405 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
28407         * manual/setjmp.texi: Document MTASC-safety properties.
28409         * manual/search.texi: Document MTASC-safety properties.
28411         * manual/resource.texi: Document MTASC-safety properties.
28413         * manual/process.texi: Document MTASC-safety properties.
28415         * manual/platform.texi: Document MTASC-safety properties.
28417         * manual/pipe.texi: Document MTASC-safety properties.
28419         * manual/pattern.texi: Document MTASC-safety properties.
28421         * manual/message.texi: Document MTASC-safety properties.
28423         [BZ #12751]
28424         * manual/memory.texi: Document MTASC-safety properties.
28426         * manual/math.texi: Document MTASC-safety properties.
28428         * manual/locale.texi: Document MTASC-safety properties.
28430         * manual/llio.texi: Document MTASC-safety properties.
28432         * manual/libdl.texi: New.
28434         * manual/lang.texi: Document MTASC-safety properties.
28436         * manual/job.texi: Document MTASC-safety properties.
28438         * manual/getopt.texi: Document MTASC-safety properties.
28440         * manual/ctype.texi: Document MTASC-safety properties.
28442 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
28444         [BZ #16046]
28445         * csu/libc-tls.c (static_map): Remove variable.
28446         (__libc_setup_tls): Use main executable's link map for TLS data.
28447         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
28448         casing for LM_ID_BASE and GL(dl_nns).
28449         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
28450         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
28451         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
28452         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28453         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
28454         member.
28455         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
28456         l_phnum members.
28458 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
28460         * manual/debug.texi: Document MTASC-safety properties.
28462 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
28464         [BZ #16510]
28465         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
28466         of __x86_64__ when disabling x87 inline functions.
28468 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
28470         * manual/charset.texi: Document MTASC-safety properties.
28472         * manual/crypt.texi: Document MTASC-safety properties.
28474         * manual/conf.texi: Document MTASC-safety properties.
28476         * manual/arith.texi: Document MTASC-safety properties.
28478         * manual/argp.texi: Document MTASC-safety properties.
28480         * manual/macros.texi: Introduce macros to document multi
28481         thread, asynchronous signal and asynchronous cancellation
28482         safety properties.
28483         * manual/intro.texi: Introduce the properties themselves.
28485 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28487         * sysdeps/sh/sh4/Makefile: New file.
28489 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
28491         * math/gen-libm-test.pl ($srcdir): New variable.
28492         ($auto_input): Use it.
28494 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28496         [BZ #16506]
28497         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28498         access beyond array bounds when parsing netgroups file.
28500         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28501         the old buffer before realloc.
28503 2014-01-27  Allan McRae  <allan@archlinux.org>
28505         * po/fr.po: Update French translation from translation project.
28507 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28509         * sysdeps/sh/libm-test-ulps: Regenerate.
28511 2014-01-24  David S. Miller  <davem@davemloft.net>
28513         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28515 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28517         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28518         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28520 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28522         [BZ #16474]
28523         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28524         string pointers after reallocation.
28526 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28528         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28529         __SH4A__ instead of __SH_FPU_ANY__.
28531 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28533         * sysdeps/sh/fpu_control.h: New file.
28534         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28535         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28536         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28537         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28538         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28539         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28540         * sysdeps/sh/sys/ucontext.h: Remove.
28541         * sysdeps/sh/sys: Remove directory.
28543 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28545         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28546         s390/sys/ucontext.h.
28547         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28548         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28550 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
28552         [BZ #15605]
28553         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28555 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28557         [BZ#16431]
28558         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28559         Adjust the vDSO correctly for internal calls.
28560         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28562 2014-01-20  Allan McRae  <allan@archlinux.org>
28564         * po/ca.po: Update Catalan translation from translation project.
28566 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
28568         * sysdeps/s390/sotruss-lib.c: New file.
28570 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28572         [BZ#16430]
28573         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28574         (__GI___gettimeofday): Alias for a different internal symbol to avoid
28575         local calls issues by not having a PLT stub required for IFUNC calls.
28576         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28578 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
28580         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28581         * math/test-fpucw-static.c: Likewise.
28583 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28585         [BZ #16453]
28586         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28588 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28590         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28591         implementation for powerpc.
28593 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
28595         [BZ #14782]
28596         * sysdeps/posix/system.c (__libc_system): Do not enable
28597         asynchronous cancellation.
28599 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28601         [BZ #16427]
28602         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28603         handling only for numbers special also in the IEEE case.
28605 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28607         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28609 2014-01-11  Allan McRae  <allan@archlinux.org>
28611         * po/bg.po: Update Bulgarian translation from translation project.
28613         * po/de.po: Update German translation from translation project.
28615 2014-01-10  Roland McGrath  <roland@hack.frob.com>
28617         * sysdeps/generic/gcc-compat.h: New file.
28619 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28621         * benchtests/asin-inputs: Correct slow inputs.
28622         * benchtests/acos-inputs: Likewise.
28624 2014-01-10  Allan McRae  <allan@archlinux.org>
28626         * po:sv.po: Update Swedish translation from translation project.
28628         * po/vi.po: Update Vietnamese translation from translation project.
28630         * po/eo.po: Update Esperanto translation from translation project.
28632         * po/cs.po: Update Czech translation from translation project.
28634         * po/nl.po: Update Dutch translation from translation project.
28636         * po/pl.po: Update Polish translation from translation project.
28638         * po/ru.po: Update Russian translation from translation project.
28640         * po/uk.po: Update Ukrainian translation from translation project.
28642 2014-01-08  Brooks Moses  <bmoses@google.com>
28644         * elf/dl-load.c: Fix comment typo.
28646 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
28648         * po/header.pot: Rename to...
28649         * po/pot.header: ... this.
28650         * po/Makefile: Use pot.header.
28652 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
28653             Maxim Kuvyrkov  <maxim@kugelworks.com>
28655         [BZ #16394]
28656         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28657         SRC and DEST against LEN.
28659 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28661         [BZ #16414]
28662         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28663         implementation.
28664         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28666 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28670 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
28672         [BZ #16408]
28673         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28674         for large positive arguments.
28676 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
28678         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28680         * math/auto-libm-test-in: Mark various tests with
28681         xfail-rounding:ldbl-128ibm.
28682         * math/auto-libm-test-out: Regenerated.
28684         [BZ #16407]
28685         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28686         Increase overflow threshold.
28688 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
28690         [BZ #14286]
28691         * stdio-common/vfprintf.c: Check for integer overflow.
28693 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28695         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28696         the first argument and return value of __tls_get_addr_internal.
28698 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28700         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28701         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28703 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28705         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28706         * sysdeps/s390/rtld-global-offsets.sym: New file.
28707         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28708         GLIBC_2.19 symbol.
28709         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28710         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28711         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28712         ... this.
28713         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28714         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28715         ... this.
28716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28717         Regenerate.
28718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28719         Regenerate.
28720         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28721         halfs of GPRs for high_gprs contexts.
28722         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28723         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
28724         field.
28725         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28726         uc_flags field.
28727         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28728         64 bit versions:
28729         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28730         for high GPRs (uc_high_gprs) and for future extensions
28731         (__reserved).
28732         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28733         for future extensions (__reserved).
28734         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28735         64 bit versions:
28736         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28737         SC_HIGHGPRS offset definition.
28738         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28739         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28741         * Versions.def: Add GLIBC_2.19 for libpthread.
28742         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28743         siglongjmp for libpthread with GLIBC_2.19 symver.
28744         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28745         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28746         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28747         * sysdeps/s390/__longjmp.c: New file.
28748         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28749         * sysdeps/s390/longjmp.c: New file.
28750         * sysdeps/s390/setjmp.S: New file.
28751         * sysdeps/s390/sigjmp.S: New file.
28752         * sysdeps/s390/v1-longjmp.c: New file.
28753         * sysdeps/s390/v1-setjmp.h: New file.
28754         * sysdeps/s390/v1-sigjmp.c: New file.
28755         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28756         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28757         GLIBC_2.19 version.
28758         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28759         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28760         versioned symbols for ____longjmp_chk.
28761         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28762         Likewise.
28763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28764         Regenerate.
28765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28766         Regenerate.
28767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28768         Regenerate.
28769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28770         Regenerate.
28771         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28772         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28773         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28774         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28775         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28776         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28777         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28778         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28779         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28780         * sysdeps/s390/rtld-__longjmp.c: New file.
28781         * sysdeps/s390/rtld-setjmp.S: New file.
28783 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
28785         [BZ #16400]
28786         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28787         Return -__logl (x) for small positive arguments without evaluating
28788         a polynomial.
28790 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
28792         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28793         Rename to ...
28794         (__ptrace_peeksiginfo_args): ... this.
28795         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28796         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28797         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28799 2014-01-06  Allan McRae  <allan@archlinux.org>
28801         * inet/netinet/in.h: Fix typo in comment.
28803 2014-01-05  Andreas Jaeger  <aj@suse.de>
28805         * sysdeps/i386/fpu/libm-test-ulps: Update.
28807 2014-01-05  Allan McRae  <allan@archlinux.org>
28809         * po/libc.pot: Regenerated.
28811         * malloc/memusagestat.c: Fix gettext call formatting.
28813 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
28815         * nscd/nscd.c: Improve usage() output.
28817 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
28819         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28820         * sysdeps/unix/sysv/linux/configure: Regenerated.
28821         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28822         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28824 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
28826         [BZ #16390]
28827         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28828         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28830 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28832         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28833         extra tokens at end of #undef directive.
28834         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28835         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28836         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28838 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
28840         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28842         * math/auto-libm-test-in: Mark various tests with
28843         xfail-rounding:ldbl-128ibm.
28844         * math/auto-libm-test-out: Regenerated.
28846 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
28848         [BZ #16386]
28849         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28850         numbers with subnormal high part when calculating exponent.
28852         [BZ #16385]
28853         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
28854         fabs.
28856         [BZ #16384]
28857         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
28858         M_LN2l.
28859         (__ieee754_acoshl): Use __log1pl not __log1p.
28861 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
28863         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
28864         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
28865         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
28866         (grow_heap, heap_trim, _int_new_arena, get_free_list)
28867         (reused_arena, arena_get2): Convert to GNU style.
28868         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
28869         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
28870         (memalign_check, __malloc_set_state): Likewise.
28871         * malloc/mallocbug.c (main): Likewise.
28872         * malloc/malloc.c (__malloc_assert, malloc_init_state)
28873         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
28874         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
28875         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
28876         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
28877         (__posix_memalign, malloc_info): Likewise.
28878         * malloc/malloc.h: Likewise.
28879         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
28880         (mallochook, memalignhook, reallochook, mabort): Likewise.
28881         * malloc/mcheck.h: Likewise.
28882         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
28883         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
28884         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
28885         * malloc/morecore.c (__default_morecore): Likewise.
28886         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
28887         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
28888         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
28889         (print_and_abort): Likewise.
28890         * malloc/obstack.h: Likewise.
28891         * malloc/set-freeres.c (__libc_freeres): Likewise.
28892         * malloc/tst-mallocstate.c (main): Likewise.
28893         * malloc/tst-mtrace.c (main): Likewise.
28894         * malloc/tst-realloc.c (do_test): Likewise.
28896 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28898         [BZ #16366]
28899         * nscd/netgroupcache.c (do_notfound): New function.
28900         (addgetnetgrentX): Use it.
28902         [BZ # 16365]
28903         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
28904         NSS_STATUS_NOTFOUND.
28906 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
28908         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28911 2014-01-01  Allan McRae  <allan@archlinux.org>
28913         * scripts/update-copyrights: Update configure input file suffix.
28915         * NEWS: Update copyright year.
28916         * catgets/gencat.c: Likewise.
28917         * csu/version.c: Likewise.
28918         * debug/catchsegv.sh: Likewise.
28919         * debug/pcprofiledump.c: Likewise.
28920         * debug/xtrace.sh: Likewise.
28921         * elf/ldconfig.c: Likewise.
28922         * elf/ldd.bash.in: Likewise.
28923         * elf/pldd.c: Likewise.
28924         * elf/sotruss.ksh: Likewise.
28925         * elf/sprof.c: Likewise.
28926         * iconv/iconv_prog.c: Likewise.
28927         * iconv/iconvconfig.c: Likewise.
28928         * locale/programs/locale.c: Likewise.
28929         * locale/programs/localedef.c: Likewise.
28930         * login/programs/pt_chown.c: Likewise.
28931         * malloc/memusage.sh: Likewise.
28932         * malloc/memusagestat.c: Likewise.
28933         * malloc/mtrace.pl: Likewise.
28934         * manual/libc.texinfo: Likewise.
28935         * nscd/nscd.c: Likewise.
28936         * nss/getent.c: Likewise.
28937         * nss/makedb.c: Likewise.
28938         * posix/getconf.c: Likewise.
28939         * scripts/test-installation.pl: Likewise.
28941         * All files with FSF copyright notices: Update copyright dates
28942         using scripts/update-copyrights.
28943         * intl/plural.c: Regenerated.
28944         * locale/programs/charmap-kw.h: Likewise.
28945         * locale/programs/locfile-kw.h: Likewise.
28947 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
28949         * sysdeps/unix/sysv/linux/configure: Regenerated.
28950         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
28951         the linux/fanotify.h header.
28952         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
28953         HAVE_LINUX_FANOTIFY_H is defined.
28955 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28957         * benchtests/cos-inputs: New inputs.
28958         * benchtests/sin-inputs: Likewise.
28960         * benchtests/atan-inputs: New inputs. Fix name of multiple
28961         precision fallback inputs.
28963         * benchtests/atanh-inputs: New inputs.
28964         * benchtests/tanh-inputs: Likewise.
28966         * benchtests/acosh-inputs: New inputs.
28967         * benchtests/asinh-inputs: Likewise.
28969         * benchtests/cosh-inputs: New inputs.
28970         * benchtests/sinh-inputs: Likewise.
28972         * benchtests/acos-inputs: Add more inputs.
28973         * benchtests/asin-inputs: Likewise.
28975 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
28977         [BZ #16375]
28978         * manual/arith.texi: Fix spelling.
28979         * manual/charset.texi: Likewise.
28980         * manual/errno.texi: Likewise.
28981         * manual/filesys.texi: Likewise.
28982         * manual/lang.texi: Likewise.
28983         * manual/llio.texi: Likewise.
28984         * manual/locale.texi: Likewise.
28985         * manual/message.texi: Likewise.
28986         * manual/resource.texi: Likewise.
28987         * manual/search.texi: Likewise.
28988         * manual/setjmp.texi: Likewise.
28989         * manual/stdio.texi: Likewise.
28990         * manual/string.texi: Likewise.
28991         * manual/sysinfo.texi: Likewise.
28992         * manual/time.texi: Likewise.
28994 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
28996         * po/sl.po: New file.
28998 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
29000         * .gitignore: Add core/.gdbinit/.gdb_history.
29002 2013-12-27  Allan McRae  <allan@archlinux.org>
29004         [BZ #16369]
29005         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
29006         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
29008 2013-12-24  Brooks Moses  <bmoses@google.com>
29010         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
29011         all compilers that claim C++98 compliance, not just GCC.
29012         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
29013         Likewise.
29015 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
29017         * NEWS: Restore accidentally deleted bug-fix entries.
29019 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
29020             Ondřej Bílka  <neleai@seznam.cz>
29022         [BZ #15073]
29023         * malloc/malloc.c (_int_free): Perform sanity check only if we
29024         have_lock.
29026 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
29028         [BZ #12986]
29029         * manual/stdio.texi (String Input Conversions): Clarify that character
29030         classes are not supported.
29032 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29036 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
29038         [BZ #16337]
29039         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29040         Calculate results for small negative arguments directly rather
29041         than using reflection formula with special underflow handling.
29043         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
29044         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
29045         sysdeps/unix/bsd/bsd4.4/syscalls.list.
29046         (fchflags): Likewise.
29047         (revoke): Likewise.
29048         (setlogin): Likewise.
29049         (sigaltstack): Likewise.
29050         (wait4): Likewise.
29051         (sigblock): Remove.
29052         (sigsetmask): Likewise.
29053         (wait3): Likewise.
29054         (waitpid): Likewise.
29055         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
29056         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
29057         file.
29058         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
29059         * sysdeps/unix/bsd/Makefile: ... here.
29060         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
29061         * sysdeps/unix/bsd/Versions: ... here.
29062         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
29063         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
29064         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
29065         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
29066         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
29067         * sysdeps/unix/bsd/sigblock.c: ... here.
29068         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
29069         * sysdeps/unix/bsd/sigsetmask.c: ... here.
29070         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
29071         * sysdeps/unix/bsd/sigvec.c: ... here.
29072         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
29073         * sysdeps/unix/bsd/tcdrain.c: ... here.
29074         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
29075         * sysdeps/unix/bsd/tcgetattr.c: ... here.
29076         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
29077         * sysdeps/unix/bsd/tcsetattr.c: ... here.
29078         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
29079         * sysdeps/unix/bsd/wait.c: ... here.
29080         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
29081         * sysdeps/unix/bsd/wait3.c: ... here.
29082         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
29083         * sysdeps/unix/bsd/waitpid.c: ... here.
29085 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
29087         [BZ #16356]
29088         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
29089         round-to-nearest for [!USE_AS_EXPM1L].
29090         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
29091         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
29092         more tests of exp and exp10.  Expect some exp10 tests to miss
29093         exceptions or fail in directed rounding modes.
29094         * math/auto-libm-test-out: Regenerated.
29095         * math/libm-test.inc (exp10_tonearest_test_data): New array.
29096         (exp10_test_tonearest): New function.
29097         (exp10_towardzero_test_data): New array.
29098         (exp10_test_towardzero): New function.
29099         (exp10_downward_test_data): New array.
29100         (exp10_test_downward): New function.
29101         (exp10_upward_test_data): New array.
29102         (exp10_test_upward): New function.
29103         (main): Call the new functions.
29104         * sysdeps/i386/fpu/libm-test-ulps: Update.
29105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29107 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
29109         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29110         asinh, atan, atan2, atanh, cbrt, cos and cosh.
29111         * math/auto-libm-test-out: Regenerated.
29112         * math/libm-test.inc (acosh_test_data): Add more tests.
29113         (atanh_test_data): Likewise.
29114         (ceil_test_data): Likewise.
29115         (copysign_test_data): Likewise.
29116         * sysdeps/i386/fpu/libm-test-ulps: Update.
29117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29119         * timezone/checktab.awk: Update from tzcode 2013i.
29120         * timezone/private.h: Likewise.
29121         * timezone/scheck.c: Likewise.
29122         * timezone/tzfile.h: Likewise.
29123         * timezone/tzselect.ksh: Likewise.
29124         * timezone/zdump.c: Likewise.
29125         * timezone/zic.c: Likewise.
29127         * math/auto-libm-test-in: Add tests of cpow.
29128         * math/auto-libm-test-out: Regenerated.
29129         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
29130         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29131         mpc_cc_c.
29132         (func_calc_desc): Add mpc_cc_c union field.
29133         (test_functions): Add cpow.
29134         (special_fill_2pi): New function.
29135         (special_real_inputs): Add 2pi.
29136         (calc_generic_results): Handle mpc_cc_c.
29137         * sysdeps/i386/fpu/libm-test-ulps: Update.
29138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29140         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
29141         csqrt, ctan and ctanh.
29142         * math/auto-libm-test-out: Regenerated.
29143         * math/libm-test.inc (TEST_COND_x86_64): New macro.
29144         (TEST_COND_x86): Likewise.
29145         (ccos_test_data): Use AUTO_TESTS_c_c.
29146         (ccosh_test_data): Likewise.
29147         (cexp_test_data): Likewise.
29148         (clog_test_data): Likewise.
29149         (csqrt_test_data): Likewise.
29150         (ctan_test_data): Likewise.
29151         (ctan_tonearest_test_data): Likewise.
29152         (ctan_towardzero_test_data): Likewise.
29153         (ctan_downward_test_data): Likewise.
29154         (ctan_upward_test_data): Likewise.
29155         (ctanh_test_data): Likewise.
29156         (ctanh_tonearest_test_data): Likewise.
29157         (ctanh_towardzero_test_data): Likewise.
29158         (ctanh_downward_test_data): Likewise.
29159         (ctanh_upward_test_data): Likewise.
29160         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29161         mpc_c_c.
29162         (func_calc_desc): Add mpc_c_c union field.
29163         (FUNC_mpc_c_c): New macro.
29164         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
29165         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
29166         ctanh.
29167         (special_fill_min_subnorm_p120): New function.
29168         (special_real_inputs): Add min_subnorm_p120.
29169         (calc_generic_results): Handle mpc_c_c.
29170         * sysdeps/i386/fpu/libm-test-ulps: Update.
29171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29173 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29175         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
29176         (do_sin_slow): New functions.
29177         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
29178         (cslow2, csloww1, csloww2): Use the new functions.
29180         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
29181         Use M to change sign of result instead of X.  Assume X is
29182         positive.
29183         (csloww1): Likewise.
29184         (__sin): Adjust.
29185         (__cos): Adjust.
29187         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
29188         arguments A and DA.
29189         (__sin): Adjust.
29190         (__cos): Likewise.
29192         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
29193         (__cos): Likewise.
29194         (sloww1): Don't adjust sign of DX.
29195         (csloww1): Likewise.
29196         (sloww2): Use X directly and don't adjust sign of DX.
29197         (csloww2): Likewise.
29199 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29201         * math/auto-libm-test-in: Add tests of cabs and carg.
29202         * math/auto-libm-test-out: Regenerated.
29203         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
29204         (carg_test_data): Likewise.
29205         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29206         mpc_c_f.
29207         (func_calc_desc): Add mpc_c_f union field.
29208         (test_functions): Add cabs and carg.
29209         (calc_generic_results): Handle mpc_c_f.
29211         * sysdeps/powerpc/powerpc32/libgcc-compat.S
29212         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
29213         as a macro and a compat symbol.
29214         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29215         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29216         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29217         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29218         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
29219         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
29220         not use .hidden.
29221         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
29222         Likewise.
29223         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
29224         Likewise.
29225         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
29226         Likewise.
29227         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
29228         Likewise.
29229         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
29230         Likewise.
29231         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
29232         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
29233         from GLIBC_2.3.2.
29235 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29239 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29241         * manual/texinfo.tex: Update to version 2013-11-26.10 with
29242         trailing whitespace removed.
29243         * scripts/config.guess: Update to version 2013-11-29.
29244         * scripts/config.sub: Update to version 2013-10-01.
29246         * math/auto-libm-test-in: Add tests of sincos.
29247         * math/auto-libm-test-out: Regenerated.
29248         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
29249         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29250         mpfr_f_11.
29251         (func_calc_desc): Add mpfr_f_11 union field.
29252         (test_functions): Add sincos.
29253         (calc_generic_results): Handle mpfr_f_11.
29254         * sysdeps/i386/fpu/libm-test-ulps: Update.
29255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29257 2013-12-19  Andreas Schwab  <schwab@suse.de>
29259         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
29260         CALL_MCOUNT.
29261         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29262         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
29263         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
29265 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
29267         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
29268         * sysdeps/i386/fpu/libm-test-ulps: Update.
29269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29271         [BZ #16293]
29272         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
29273         round-to-nearest mode when using frndint.
29274         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
29275         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29276         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29277         Likewise.
29278         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
29279         sinh test to fail.
29280         * math/auto-libm-test-out: Regenerated.
29281         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
29282         (TEST_COND_x86): Likewise.
29283         (expm1_tonearest_test_data): New array.
29284         (expm1_test_tonearest): New function.
29285         (expm1_towardzero_test_data): New array.
29286         (expm1_test_towardzero): New function.
29287         (expm1_downward_test_data): New array.
29288         (expm1_test_downward): New function.
29289         (expm1_upward_test_data): New array.
29290         (expm1_test_upward): New function.
29291         (main): Run the new test functions.
29292         * sysdeps/i386/fpu/libm-test-ulps: Update.
29293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29295         * include/features.h: Update comment documenting feature test
29296         macros.  Mention _DEFAULT_SOURCE in comment.
29297         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
29298         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
29299         _BSD_SOURCE and _SVID_SOURCE.
29300         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
29301         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
29302         !_SVID_SOURCE]: Likewise.
29303         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29304         (__USE_POSIX_IMPLICITLY): Define.
29305         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29306         (_POSIX_SOURCE): Undefine and redefine.
29307         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29308         (_POSIX_C_SOURCE): Likewise.
29309         * manual/creature.texi (_DEFAULT_SOURCE): Document.
29310         (Feature Test Macros): Update documentation of default features.
29312 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29314         * benchtests/Makefile: Add bench-strtok.
29315         * benchtests/bench-strtok.c: New file: strtok benchtest.
29317 2013-12-19  Allan McRae  <allan@archlinux.org>
29319         * manual/install.texi: Suppress menu for plain text output.
29320         * INSTALL: Regenerated.
29322 2013-12-18  Brooks Moses  <bmoses@google.com>
29324         [BZ #15846]
29325         * misc/getauxval.c: Include errno.h.
29326         (__getauxval): Set errno to ENOENT if the requested type is not
29327         found.
29328         * misc/sys/auxv.h (getauxval): Document that it may set errno;
29329         don't declare with __attribute_const__.
29330         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
29331         * manual/startup.texi: Document that getauxval sets errno.
29333 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
29335         * math/auto-libm-test-in: Add tests of jn and yn.
29336         * math/auto-libm-test-out: Regenerated.
29337         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
29338         (yn_test_data): Likewise.
29339         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29340         mpfr_if_f.
29341         (func_calc_desc): Add mpfr_if_f union field.
29342         (FUNC_mpfr_if_f): New macro.
29343         (test_functions): Add jn and yn.
29344         (calc_generic_results): Assert type of second input for
29345         mpfr_ff_f.  Handle mpfr_if_f.
29346         (output_for_one_input_case): Disable all checking for arguments
29347         fitting floating-point types in case of an integer argument.
29348         * sysdeps/i386/fpu/libm-test-ulps: Update.
29349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29352         Don't expect fegetround reference in libm.so.
29354 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29356         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
29357         $(config-cflags-nofma).
29359 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
29361         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
29362         * math/auto-libm-test-out: Regenerated.
29364         [BZ #16338]
29365         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
29366         to determine exponent and adjust argument to have exponent of -1.
29367         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
29368         log2.
29369         * math/auto-libm-test-out: Regenerated.
29370         * sysdeps/i386/fpu/libm-test-ulps: Update.
29371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29373 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
29375         * manual/probes.texi: Remove cases when per-thread arenas are
29376         disabled.
29378 2013-12-18  Andreas Schwab  <schwab@suse.de>
29380         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
29381         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
29382         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
29383         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
29384         * sysdeps/i386/i686/multiarch/Makefile: Update.
29385         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
29387 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29389         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
29390         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
29392 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
29394         [BZ #15968]
29395         Support TZ transition times < 00:00:00.
29396         This is needed for version-3 tz-format files; it supports time
29397         stamps past 2037 for America/Godthab (the only entry in the tz
29398         database for which this change is relevant).
29399         * manual/time.texi (TZ Variable): Document transition times
29400         from -167:59:59 through -00:00:01.
29401         * time/tzset.c (tz_rule): Time of day is now signed.
29402         (__tzset_parse_tz): Parse negative time of day.
29404         Document TZ transition times >= 25:00:00.
29405         * manual/time.texi (TZ Variable): Document transition times from
29406         25:00:00 through 167:59:59.  These are already supported, and this
29407         support will help with version-3 tz-format files.
29409         * manual/time.texi (TZ Variable): Modernize North America example
29410         to reflect current (i.e., 2007-and-later) daylight saving rules.
29412         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
29414 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29416         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
29417         * sysdeps/unix/bsd/bits/stat.h: Likewise.
29418         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
29419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29420         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29421         * sysdeps/unix/bsd/bsdstat.h: Likewise.
29422         * sysdeps/unix/bsd/clock.c: Likewise.
29423         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
29424         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
29425         * sysdeps/unix/bsd/init-posix.c: Likewise.
29426         * sysdeps/unix/bsd/poll.c: Likewise.
29427         * sysdeps/unix/bsd/ptsname.c: Likewise.
29428         * sysdeps/unix/bsd/seekdir.c: Likewise.
29429         * sysdeps/unix/bsd/setegid.c: Likewise.
29430         * sysdeps/unix/bsd/seteuid.c: Likewise.
29431         * sysdeps/unix/bsd/setgid.c: Likewise.
29432         * sysdeps/unix/bsd/setrgid.c: Likewise.
29433         * sysdeps/unix/bsd/setruid.c: Likewise.
29434         * sysdeps/unix/bsd/setsid.c: Likewise.
29435         * sysdeps/unix/bsd/setuid.c: Likewise.
29436         * sysdeps/unix/bsd/sigaction.c: Likewise.
29437         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
29438         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
29439         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
29440         * sysdeps/unix/bsd/telldir.c: Likewise.
29441         * sysdeps/unix/bsd/times.c: Likewise.
29442         * sysdeps/unix/bsd/usleep.c: Likewise.
29444         * misc/Makefile (install-lib): Remove libbsd-compat.a.
29445         ($(objpfx)libbsd-compat.a): Remove rule.
29447         * include/features.h (__FAVOR_BSD): Do not define.
29448         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
29449         features conflicting with POSIX.
29450         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
29451         (_BSD_SOURCE): Remove description of not being a subset of other
29452         feature test macros.
29453         * manual/job.texi (getpgrp): Do not document BSD version.
29454         (getpgid): Do not document by reference to BSD getpgrp.
29455         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
29456         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
29457         * signal/signal.h [__FAVOR_BSD]: Likewise.
29458         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
29459         instead of making contents conditional on [__FAVOR_BSD].
29460         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
29462 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29466 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
29468         [BZ #16314]
29469         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
29470         values below 2**-450, not 2**-500.
29471         * math/auto-libm-test-in: Don't allow spurious underflow from
29472         hypot.
29473         * math/auto-libm-test-out: Regenerated.
29475         [BZ #16316]
29476         [BZ #16330]
29477         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29478         values of ha and hb and sort them after adjusting subnormal
29479         arguments.
29480         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29481         Likewise.
29482         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29483         values of ea and eb and sort them after adjusting subnormal
29484         arguments.
29485         * math/auto-libm-test-in: Do not expect some hypot tests of
29486         subnormals to fail.  Add more hypot tests.
29487         * math/auto-libm-test-out: Regenerated.
29489 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29491         [BZ #13304]
29492         * sysdeps/sh/s_fma.c: New file.
29493         * sysdeps/sh/s_fmaf.c: New file.
29494         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
29495         version.
29496         * sysdeps/sh/Implies: Add sh/soft-fp.
29498 2013-12-16  Roland McGrath  <roland@hack.frob.com>
29500         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
29501         level of indirection to members `objname', `errstring', `malloced'.
29502         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29503         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
29504         it as the __longjmp argument (just pass 1 instead).
29505         (_dl_catch_error): Initialize C with argument pointers and address of
29506         volatile local ERRCODE rather than copying values out of C at return.
29508 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
29510         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29511         * math/auto-libm-test-out: Regenerated.
29512         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29513         (hypot_test_data): Likewise.
29514         (pow_test_data): Likewise.
29515         (pow_tonearest_test_data): Likewise.
29516         * math/gen-auto-libm-tests.c (func_calc_method): Add value
29517         mpfr_ff_f.
29518         (func_calc_desc): Add mpfr_ff_f union field.
29519         (FUNC_mpfr_ff_f): New macro.
29520         (test_functions): Add atan2, hypot and pow.
29521         (special_fill_min): New function.
29522         (special_fill_minus_min): Likewise.
29523         (special_fill_min_subnorm): Likewise.
29524         (special_fill_minus_min_subnorm): Likewise.
29525         (special_real_inputs): Add min, -min, min_subnorm and
29526         -min_subnorm.
29527         (calc_generic_results): Handle mpfr_ff_f.
29528         * sysdeps/i386/fpu/libm-test-ulps: Update.
29529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29531 2013-12-16  Will Newton  <will.newton@linaro.org>
29533         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29534         (Aligned Memory Blocks): Add documentation for aligned_alloc
29535         and suggest it as an alternative to posix_memalign.
29536         (Hooks for Malloc): Document __memalign_hook is also called
29537         for aligned_alloc.  (Summary of Malloc): Add summary for
29538         aligned alloc.  Document __memalign_hook is also called
29539         for aligned_alloc.
29541 2013-12-16  Will Newton  <will.newton@linaro.org>
29543         * manual/memory.texi (Malloc Examples): Clarify default
29544         alignment documentation.  Suggest posix_memalign rather
29545         than memalign or valloc.
29546         (Aligned Memory Blocks): Remove suggestion to use memalign
29547         or valloc.  Remove obsolete comment about BSD.
29548         Document memalign errno values and mark the function obsolete.
29549         Document posix_memalign returned error codes.  Mark valloc
29550         as obsolete.  (Hooks for Malloc): __memalign_hook is also
29551         called for posix_memalign and valloc.
29552         (Summary of Malloc): Add posix_memalign to function summary.
29553         __memalign_hook is also called for posix_memalign and valloc.
29555 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29557         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29558         TAYLOR_SIN.
29559         (__sin): Adjust.
29560         (__cos): Likewise.
29561         (sloww): Use mynumber union.  Expand ternary operator into
29562         if-else statements.
29563         (cslow): use mynumber union.
29565 2013-12-16  Allan McRae  <allan@archlinux.org>
29567         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29568         * configure: Regenerated.
29570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29572         [BZ #14120]
29573         * configure.ac: Added --enable-maintainer-mode. Check for
29574         autoconf when enabled.
29575         * configure: Regenerated.
29577         * nscd/nscd.service: New file.
29578         * nscd/nscd.tmpfiles: New file.
29580 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
29582         [BZ #12100]
29583         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29584         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29585         * sysdeps/x86_64/multiarch/strstr.c: ... here.
29586         (strstr): Add __strstr_sse2_unaligned ifunc.
29587         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29588         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29589         (strcasestr): Remove __strcasestr_sse42 ifunc.
29590         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29591         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29592         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29594 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29596         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29597         * sysdeps/sh/bits/fenv.h: ... here.
29598         * sysdeps/sh/sh4/fpu/bits: Remove directory.
29600 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29602         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29604         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29605         hypotf multiarch implementations.
29606         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29607         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29608         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29609         multiarch hypot for PPC64.
29610         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29611         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29612         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29613         multiarch hypotf for PPC64.
29615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29616         modff multiarch implementations.
29617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29620         multiarch modf for PPC64.
29621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29624         multiarch modff for PPC64.
29626         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29627         and logl multiarch implementations.
29628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29631         multiarch logb for PPC64.
29632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29635         multiarch logb for PPC64.
29636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29639         multiarch logb for PPC64.
29641         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29642         isinff multiarch implementation.
29643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29644         file.
29645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29647         multiarch isinf for PPC64.
29648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29649         file.
29650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29651         multiarch isinff for PPC64.
29653         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29654         finitef multiarch implementation.
29655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29656         file.
29657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29659         multiarch finite for PPC64.
29660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29661         file.
29662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29663         multiarch finitef for PPC64.
29665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29666         lrint multiarch implementation.
29667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29668         file.
29669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29671         multiarch llrint for PPC64.
29672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29673         multiarch lrint for PPC64.
29675         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29676         copysignf multiarch implementation.
29677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29678         file.
29679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29680         file.
29681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29682         multiarch copysign for PPC64.
29683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29684         multiarch copysignf for PPC64.
29686         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29687         multiarch implementation.
29688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29689         file.
29690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29691         file.
29692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29693         file.
29694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29695         file.
29696         multiarch llround for PPC64.
29697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29698         multiarch trunc for PPC64.
29699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29700         multiarch truncf for PPC64.
29702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29703         multiarch implementation.
29704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29705         file.
29706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29707         file.
29708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29709         file.
29710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29711         file.
29712         multiarch llround for PPC64.
29713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29714         multiarch round for PPC64.
29715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29716         multiarch roundf for PPC64.
29718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29719         multiarch implementation.
29720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29721         file.
29722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29723         file.
29724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29725         file.
29726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29727         file.
29728         multiarch llround for PPC64.
29729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29730         multiarch floor for PPC64.
29731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29732         multiarch floorf for PPC64.
29734         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29735         multiarch implementation.
29736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29737         file.
29738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29739         file.
29740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29741         file.
29742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29743         file.
29744         multiarch llround for PPC64.
29745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29746         multiarch ceil for PPC64.
29747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29748         multiarch ceilf for PPC64.
29750         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29751         multiarch implementation.
29752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29753         file.
29754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29755         file.
29756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29757         file.
29758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29759         multiarch llround for PPC64.
29760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29761         multiarch lround for PPC64.
29763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29764         multiarch implementation.
29765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29768         file.
29769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29772         multiarch isnan for PPC64.
29773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29774         multiarch isnanf for PPC64.
29776         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29777         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29778         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29779         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29780         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29783         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29784         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29785         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29786         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29789         multiarch implementations.
29790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29791         (__libc_ifunc_impl_list): Likewise.
29792         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29793         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29794         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29795         multiarch stpcpy for PPC64.
29797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29798         multiarch implementations.
29799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29800         (__libc_ifunc_impl_list): Likewise.
29801         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29802         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29803         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29804         multiarch strcpy for PPC64.
29806         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29807         redefine function name.
29808         (_wordcopy_fwd_dest_aligned): Likewise.
29809         (_wordcopy_bwd_aligned): Likewise.
29810         (_wordcopy_bwd_dest_aligned): Likewise.
29811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29812         multiarch implementations.
29813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29814         (__libc_ifunc_impl_list): Likewise.
29815         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29816         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29817         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29818         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29819         multiarch wcscpy for PPC64.
29821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29822         multiarch implementations.
29823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29824         (__libc_ifunc_impl_list): Likewise.
29825         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29826         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29827         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29828         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29829         multiarch wcscpy for PPC64.
29831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29832         multiarch implementations.
29833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29834         (__libc_ifunc_impl_list): Likewise.
29835         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29836         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29837         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29838         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29839         multiarch wcsrchr for PPC64.
29841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29842         multiarch implementations.
29843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29844         (__libc_ifunc_impl_list): Likewise.
29845         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29846         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29847         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29848         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29849         multiarch wcschr for PPC64.
29851         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
29852         multiarch implementations.
29853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29854         (__libc_ifunc_impl_list): Likewise.
29855         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
29856         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
29857         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
29858         multiarch strchrnul for PPC64.
29860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
29861         implementations.
29862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29863         (__libc_ifunc_impl_list): Likewise.
29864         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
29865         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
29866         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
29867         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
29868         strchr for PPC64.
29870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
29871         implementations.
29872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29873         (__libc_ifunc_impl_list): Likewise.
29874         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
29875         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
29876         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
29877         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
29878         strncmp for PPC64.
29880         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
29881         multiarch implementations.
29882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29883         (__libc_ifunc_impl_list): Likewise.
29884         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
29885         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
29886         strncasecmp for PPC64.
29887         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
29888         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
29889         multiarch strncasecmp_l for PPC64.
29891         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
29892         multiarch implementations.
29893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29894         (__libc_ifunc_impl_list): Likewise.
29895         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
29896         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
29897         multiarch strcasecmp for PPC64.
29898         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
29899         file.
29900         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
29901         multiarch strcasecmp_l for PPC64.
29903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
29904         implementations.
29905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29906         (__libc_ifunc_impl_list): Likewise.
29907         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
29908         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
29909         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
29910         strnlen for PPC64.
29912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
29913         implementations.
29914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29915         (__libc_ifunc_impl_list): Likewise.
29916         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
29917         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
29918         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
29919         strlen for PPC64.
29921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
29922         implementations.
29923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29924         (__libc_ifunc_impl_list): Likewise.
29925         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
29926         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
29927         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
29928         rawmemrchr for PPC64.
29930         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
29931         implementation.
29932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29933         (__libc_ifunc_impl_list): Likewise.
29934         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
29935         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
29936         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
29937         memrchr for PPC64.
29939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
29940         implementation.
29941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29942         (__libc_ifunc_impl_list): Likewise.
29943         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
29944         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
29945         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
29946         memchr for PPC64.
29948         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
29949         implementation.
29950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29951         (__libc_ifunc_impl_list): Likewise.
29952         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
29953         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
29954         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
29955         mempcpy for PPC64.
29957         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
29958         avoid cretion of __bzero symbol.
29959         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
29960         Likewise.
29961         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
29962         Likewise.
29963         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
29964         Likewise.
29965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
29966         multiarch implementations.
29967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29968         (__libc_ifunc_impl_list): Likewise.
29969         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
29970         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
29971         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
29972         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
29973         bzero for PPC32.
29974         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
29975         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
29976         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
29977         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
29978         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
29979         memset for PPC64.
29980         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
29982         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
29983         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
29984         implementations.
29985         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29986         (__libc_ifunc_impl_list): Likewise.
29987         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
29988         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
29989         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
29990         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
29991         memcmp for PPC64.
29993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
29994         multiarch for POWER/PPC64.
29995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
29996         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
29997         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
29998         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
29999         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
30000         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
30001         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
30002         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
30003         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
30004         memcpy for PPC64.
30006         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
30007         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
30008         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
30009         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
30010         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
30011         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
30012         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
30013         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
30014         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
30015         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
30016         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
30017         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
30018         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
30019         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
30020         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
30021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
30022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
30023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
30024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
30025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
30026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
30027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
30029 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30031         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
30033 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30035         * benchtests/Makefile (bench): Add exp2 and log2.
30036         (LDLIBS-bench-exp2): Add -lm.
30037         (LDLIBS-bench-log2): Likewise.
30038         * benchtests/exp2-inputs: New inputs file.
30039         * benchtests/log2-inputs: New inputs file.
30040         * benchtests/log-inputs: Add new inputs.
30041         * benchtests/tan-inputs: Likewise.
30043 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30045         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
30046         definition...
30047         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
30048         (csloww2): ... from here.
30050         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
30051         instead of structures.
30052         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
30053         (POLYNOMIAL): Likewise.
30054         (TAYLOR_SLOW): Likewise.
30055         (__sin): Likewise.
30056         (__cos): Likewise.
30057         (slow1): Likewise.
30058         (slow2): Likewise.
30059         (sloww): Likewise.
30060         (sloww1); Likewise.
30061         (sloww2): Likewise.
30062         (bsloww1): Likewise.
30063         (bsloww2): Likewise.
30064         (cslow2): Likewise.
30065         (csloww): Likewise.
30066         (csloww1): Likewise.
30067         (csloww2): Likewise.
30069 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
30071         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
30072         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
30073         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
30074         * malloc/hooks.c (realloc_check): Likewise.
30076         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
30077         * malloc/arena.c: Remove PER_THREAD conditional.
30078         [!PER_THREAD]: Remove code.
30079         (ptmalloc_unlock_all2): Likewise.
30080         (ptmalloc_init): Likewise.
30081         (_int_new_arena): Likewise.
30082         (arena_get2): Likewise.
30083         * malloc/hooks.c (__malloc_get_state): Likewise.
30084         (__malloc_set_state): Likewise.
30085         * malloc/malloc.c: Likewise.
30086         (struct malloc_state): Likewise.
30087         (struct malloc_par): Likewise.
30088         (__libc_realloc): Likewise.
30089         (__libc_mallopt): Likewise.
30091 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30093         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
30095 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
30097         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
30098         macro to a function.  Check for zero perturb_byte.
30099         (_int_malloc, _int_free): Remove zero perturb_byte checks.
30101         * malloc/malloc.c: (force_reg): Remove.
30102         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
30103         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
30104         force_reg by atomic_forced_read.
30105         * malloc/arena.c (ptmalloc_init): Likewise.
30106         * malloc/hooks.c (top_check): Likewise.
30108 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30112 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
30114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30116 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
30118         * math/auto-libm-test-in: Add tests of lgamma.
30119         * math/auto-libm-test-out: Regenerated.
30120         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
30121         (M_LOG_2_SQRT_PIl): Likewise.
30122         (lgamma_test_data): Use AUTO_TESTS_f_f1.
30123         * math/gen-auto-libm-tests.c (func_calc_method): Add value
30124         mpfr_f_f1.
30125         (func_calc_desc): Add mpfr_f_f1 union field.
30126         (ARGS1): New macro.
30127         (ARGS2): Likewise.
30128         (ARGS3): Likewise.
30129         (ARGS4): Likewise.
30130         (RET1): Likewise.
30131         (RET2): Likewise.
30132         (CALC): Likewise.
30133         (FUNC): Likewise.
30134         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
30135         (test_functions): Add lgamma.
30136         (calc_generic_results): Handle mpfr_f_f1.
30137         * sysdeps/i386/fpu/libm-test-ulps: Update.
30138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30140 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30142         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
30143         __mpn_add_n for PowerPC64/POWER7.
30144         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
30145         __mpn_sub_n for PowerPC64/POWER7.
30147         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
30148         __mpn_addmul_1 for PowerPC64.
30149         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
30150         __mpn_submul_1 for PowerPC64.
30151         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
30152         for PowerPC64.
30153         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
30154         for PowerPC64.
30156 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
30158         [BZ #15089]
30159         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
30161 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30163         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
30165         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
30166         add multiarch folders.
30167         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
30168         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
30169         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
30170         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
30171         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
30172         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
30173         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
30174         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
30175         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
30176         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
30177         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
30178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
30179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
30180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
30181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
30182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
30183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
30185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
30186         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
30187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
30188         New file.
30189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
30190         New file.
30191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
30192         multiarch __ieee754_hypot for PowerPC32.
30193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
30194         New file.
30195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
30196         New file.
30197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
30198         multiarch __ieee754_hypotf for PowerPC32.
30200         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
30201         long_double_symbol only if __logbl is defined.
30202         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
30203         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
30204         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
30205         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
30206         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
30207         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
30208         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
30209         path for implementation.
30210         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
30211         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
30212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
30213         logb, and logbl multiarch implementations for PowerPC32.
30214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
30215         file.
30216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
30217         file.
30218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
30219         multiarch logb for PowerPC32.
30220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
30221         file.
30222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
30223         file.
30224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
30225         multiarch logbf for PowerPC32.
30226         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
30227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
30228         file.
30229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
30230         multiarch logbl implementation for PowerPC32.
30232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
30233         and modff multiarch implementations.
30234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
30235         New file.
30236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
30237         New file.
30238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
30239         multiarch modf for PowerPC32.
30240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
30241         New file.
30242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
30243         New file.
30244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
30245         multiarch modff for PowerPC32.
30247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
30248         and lrintf multiarch implementations.
30249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
30250         New file.
30251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
30252         New file.
30253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
30254         multiarch lrint for PowerPC32.
30255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
30256         file: multiarch lrintf for PowerPC32.
30258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
30259         and lroundf multiarch implementations.
30260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
30261         New file.
30262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
30263         New file.
30264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
30265         New file.
30266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
30267         multiarch lround for PowerPC32.
30268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
30269         file: multiarch lroundf for PowerPC32.
30271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
30272         copysign and copysignf multiarch implementations.
30273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
30274         New file.
30275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
30276         New file.
30277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
30278         file: multiarch copysign for PowerPC32.
30279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
30280         file: multiarch copysignf for PowerPC32.
30282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
30283         and truncf multiarch implementations.
30284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
30285         New file.
30286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
30287         file.
30288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
30289         multiarch trunc for PowerPC32.
30290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
30291         New file.
30292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
30293         New file.
30294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
30295         multiarch truncf for PowerPC32.
30297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
30298         and roundf multiarch implementations.
30299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
30300         New file.
30301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
30302         file.
30303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
30304         multiarch round for PowerPC32.
30305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
30306         New file.
30307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
30308         New file.
30309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
30310         multiarch roundf for PowerPC32.
30312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
30313         and floorf multiarch implementations.
30314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
30315         New file.
30316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
30317         file.
30318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
30319         multiarch floor for PowerPC32.
30320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
30321         New file.
30322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
30323         New file.
30324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
30325         multiarch floorf for PowerPC32.
30327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
30328         and ceilf multiarch implementations.
30329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
30330         New file.
30331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
30332         file.
30333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
30334         multiarch ceil for PowerPC32.
30335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
30336         New file.
30337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
30338         file.
30339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
30340         multiarch ceilf for PowerPC32.
30342         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
30343         is defined.
30344         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
30345         FINITEF is defined.
30346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
30347         and finitef multiarch implementations.
30348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
30349         New file.
30350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
30351         file.
30352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
30353         multiarch finite for PowerPC32.
30354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
30355         New file.
30356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
30357         file: multiarch finitef for PowerPC32.
30359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
30360         and isinff multiarch implementations.
30361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
30362         file.
30363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
30364         file.
30365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
30366         multiarch isinf for PowerPC32.
30367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
30368         New file.
30369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
30370         multiarch isinff for PowerPC32.
30372         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
30373         alias when __isnan is defined.
30374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
30375         and isnanf multiarch implementations.
30376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
30377         file.
30378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
30379         file.
30380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
30381         file.
30382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
30383         file.
30384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
30385         multiarch isnan for PowerPC32.
30386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
30387         New file.
30388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
30389         New file.
30390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
30391         multiarch isnanf for PowerPC32.
30393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
30394         and sqrtf multiarch implementations.
30395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
30396         file.
30397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
30398         file.
30399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
30400         multiarch sqrt for PowerPC32.
30401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
30402         file.
30403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
30404         file.
30405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
30406         multiarch sqrtf for PowerPC32.
30408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
30409         and llroundf multiarch implementations.
30410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
30411         New file.
30412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
30413         New file.
30414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
30415         New file.
30416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
30417         file: multiarch llround for PowerPC32.
30418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
30419         file: multiarch llroundf for PowerPC32.
30421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
30422         multiarch PowerPC32 fpu implementations.
30423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
30424         New file.
30425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
30426         New file.
30427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
30428         multiarch llrint for PowerPC32.
30429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
30430         New file.
30431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
30432         New file.
30433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
30434         file.
30436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
30438         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
30439         file.
30440         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
30441         file.
30442         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
30443         file.
30444         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
30445         multiarch wordcopy for PPC32.
30446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30447         wordcopy objects.
30448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30449         (__libc_ifunc_impl_list): Likewise.
30450         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
30451         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
30452         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
30453         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
30454         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
30455         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
30457         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
30458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
30459         file.
30460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
30461         file.
30462         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
30463         file.
30464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
30465         multiarch wcscpy for PPC32.
30466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30467         multiarch objects.
30468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30469         (__libc_ifunc_impl_list): Likewise.
30470         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30471         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30472         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
30473         sysdeps/powerpc/power6/wcscpy.c.
30475         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30476         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30477         file.
30478         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30479         file.
30480         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30481         file.
30482         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30483         multiarch wcsrchr for PPC32.
30484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30485         multiarch objects.
30486         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30487         (__libc_ifunc_impl_list): Likewise.
30488         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30489         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30490         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30491         sysdeps/powerpc/power6/wcsrchr.c.
30493         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30494         file.
30495         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30496         file.
30497         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30498         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30499         multiarch wcschr for PPc32.
30500         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30501         multiarch objects.
30502         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30503         (__libc_ifunc_impl_list): Likewise.
30504         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30505         * sysdeps/powerpc/power6/wcschr.c: ... to here.
30506         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30507         sysdeps/powerpc/power6/wcschr.c.
30509         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30510         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30511         file.
30512         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30513         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30514         file: multiarch strchr for PPC32.
30515         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30516         multiarch objects.
30517         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30518         (__libc_ifunc_impl_list): Likewise.
30520         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30521         name.
30522         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30523         file.
30524         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30525         file.
30526         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30527         multiarch strchrnul for PPC32.
30528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30529         multiarch objects.
30530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30531         (__libc_ifunc_impl_list): Likewise.
30533         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30534         file.
30535         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30536         multiarch strncasecmp for PPC32.
30537         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30538         file.
30539         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30540         multiarch strncasecmp_l for PPC32.
30541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30542         strncasecmp multiarch objects.
30543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30544         (__libc_ifunc_impl_list): Likewise.
30546         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30547         file.
30548         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30549         multiarch strncasecmp for PPC32.
30550         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30551         New file.
30552         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30553         multiarch strcasecmp_l for PPC32.
30554         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30555         multiarch objects.
30556         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30557         (__libc_ifunc_impl_list): Likewise.
30559         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30560         file.
30561         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30562         file.
30563         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30564         multiarch strncmp for PPC32.
30565         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30566         multiarch objects.
30567         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30568         (__libc_ifunc_impl_list): Likewise.
30570         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30571         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30572         file.
30573         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30574         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30576         multiarch objects.
30577         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30578         (__libc_ifunc_impl_list): Likewise.
30580         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30581         file.
30582         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30583         file.
30584         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30585         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30586         multiarch objects.
30587         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30588         (__libc_ifunc_impl_list): Likewise.
30590         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30591         file.
30592         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30593         file.
30594         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30595         multiarch rawmemchr for PPC32.
30596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30597         multiarch objects.
30598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30599         (__libc_ifunc_impl_list): Likewise.
30601         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30602         file.
30603         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30604         file.
30605         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30606         file: memrchr multiarch for PPC32.
30607         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30608         multiarch objects.
30609         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30610         (__libc_ifunc_impl_list): Likewise.
30612         * string/memchr.c (__memchr): Using macro to redefine symbol name.
30613         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30614         file.
30615         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30616         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30617         multiarch memchr for PPC32.
30618         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30619         multiarch objects.
30620         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30621         (__libc_ifunc_impl_list): Likewise.
30623         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30624         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30625         file.
30626         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30627         file.
30628         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30629         file: multiarch mempcpy for PPC32.
30630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30631         multiarch objects.
30632         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30633         (__libc_ifunc_impl_list): Likewise.
30635         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30636         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30637         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30638         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30639         multiarch bzero for PPC32.
30640         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30641         file.
30642         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30643         file.
30644         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30645         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30646         file: multiarch memset for PPC32.
30647         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30648         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30649         memset multiarch objects.
30650         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30651         (__libc_ifunc_impl_list): Likewise.
30653         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30654         file.
30655         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30656         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30657         memcmp for PPC32.
30658         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30660         multiarch objects.
30661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30662         (__libc_ifunc_impl_list): Likewise.
30664         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30665         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30666         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30667         file.
30668         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30669         file.
30670         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30671         file.
30672         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30673         multiarch memcpy for PPC32.
30674         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30675         multiarch objects.
30676         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30677         (__libc_ifunc_impl_list): Likewise.
30679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30680         support multiarch for POWER/PPC32.
30681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30682         Likewise.
30683         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30685         Implies file to make multiarch folder appers before the fpu and
30686         default folder for power4 configuration.
30688 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30690         * scripts/bench.pl: Append volatile keyword to type.
30692 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30694         * sysdeps/sh/sotruss-lib.c: New file.
30695         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30697 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30701 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
30703         [BZ #6810]
30704         * math/w_tgamma.c: Include <errno.h>.
30705         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
30706         * math/w_tgammaf.c: Include <errno.h>.
30707         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
30708         * math/w_tgammal.c: Include <errno.h>.
30709         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
30710         * math/auto-libm-test-in: Do not allow missing errno on tgamma
30711         underflow.  Add more tgamma tests.
30712         * math/auto-libm-test-out: Regenerated.
30713         * sysdeps/i386/fpu/libm-test-ulps: Update.
30714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30716         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30717         sin, sinh, tan, tanh, tgamma, y0 and y1.
30718         * math/auto-libm-test-out: Regenerated.
30719         * math/libm-test.inc (TEST_COND_x86_64): New macro.
30720         (TEST_COND_x86): Likewise.
30721         (M_E2l): Remove macro.
30722         (M_E3l): Likewise.
30723         (M_2_SQRT_PIl): Likewise.
30724         (M_SQRT_PIl): Likewise.
30725         (M_1_DIV_El): Likewise.
30726         (log_test_data): Use AUTO_TESTS_f_f.
30727         (log10_test_data): Likewise.
30728         (log1p_test_data): Likewise.
30729         (log2_test_data): Likewise.
30730         (sin_test_data): Likewise.
30731         (sin_tonearest_test_data): Likewise.
30732         (sin_towardzero_test_data): Likewise.
30733         (sin_downward_test_data): Likewise.
30734         (sin_upward_test_data): Likewise.
30735         (sinh_test_data): Likewise.
30736         (sinh_tonearest_test_data): Likewise.
30737         (sinh_towardzero_test_data): Likewise.
30738         (sinh_downward_test_data): Likewise.
30739         (sinh_upward_test_data): Likewise.
30740         (tan_test_data): Likewise.
30741         (tan_tonearest_test_data): Likewise.
30742         (tan_towardzero_test_data): Likewise.
30743         (tan_downward_test_data): Likewise.
30744         (tan_upward_test_data): Likewise.
30745         (tanh_test_data): Likewise.
30746         (tgamma_test_data): Likewise.
30747         (y0_test_data): Likewise.
30748         (y1_test_data): Likewise.
30749         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30750         (special_real_inputs): Add pi/4.
30751         * sysdeps/i386/fpu/libm-test-ulps: Update.
30752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30754 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30756         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30757         "longjmp_target" static probes.
30758         (__longjmp): Rename to __longjmp_symbol.
30759         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30760         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30761         on which longjmp to generate.
30762         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30763         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30764         probe.
30765         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30766         (__sigjmp_save): Rename to __sigjmp_save_symbol.
30767         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30768         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30769         and __sigjmp_save_symbol based on which sigsetjmp to generated.
30770         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30772         __longjmp_symbol based on which __longjmp to generate.
30773         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30774         probe.
30775         (setjmp): Rename to setjmp_symbol.
30776         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30777         (_setjmp): Rename to _setjmp_symbol.
30778         (__sigsetjmp): Rename to __sigsetjmp_symbol.
30779         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30780         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30781         which setjmp to generate.
30782         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30783         "longjmp_target" static probes.
30785 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30787         * benchtests/README: Add note about output arguments.
30788         * benchtests/bench-sincos.c: Remove file.
30789         * benchtests/sincos-inputs: New file.
30790         * scripts/bench.pl: Identify output arguments and define
30791         static variables for them.
30793         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30795         [BZ #15941]
30796         * Makefile (INSTALL): Add install-plain.texi as the primary
30797         dependency.
30798         * manual/install-plain.texi: New file.
30799         * manual/install.texi: Include node directive only for
30800         non-plaintext output.
30802 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
30804         * stdlib/longlong.h: Update from GCC.
30806         [BZ #6807]
30807         [BZ #15901]
30808         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30809         * math/w_j0f.c (y0f): Likewise.
30810         * math/w_j0l.c (__y0l): Likewise.
30811         * math/w_j1.c (y1): Likewise.
30812         * math/w_j1f.c (y1f): Likewise.
30813         * math/w_j1l.c (__y1l): Likewise
30814         * math/w_jn.c (yn): Likewise.
30815         * math/w_jnf.c (ynf): Likewise.
30816         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30817         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
30818         value for Bessel function domain errors outside _SVID_ mode.
30819         Adjust sign of return value for yn (negative integer, 0).
30820         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30821         by zero in return for negative x and set sign appropriately for
30822         negative n.
30823         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30824         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30825         * math/libm-test.inc (y0_test_data): Add more tests and adjust
30826         expectations in error cases.
30827         (y1_test_data): Likewise.
30828         (yn_test_data): Likewise.
30829         * sysdeps/i386/fpu/libm-test-ulps: Update.
30830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30832 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30834         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30835         "64" to "64-v1".  Add "64-v2".
30836         (abi-64-options): Rename to ...
30837         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
30838         (abi-64-condition): Rename to ...
30839         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
30840         (abi-64-ld-soname): Rename to ...
30841         (abi-64-v1-ld-soname): ... this.
30842         (abi-64-v2-options): Define.
30843         (abi-64-v2-condition): Likewise.
30844         (abi-64-v2-ld-soname): Likewise.
30845         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30846         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30851 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30852             Alan Modra  <amodra@gmail.com>
30854         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
30855         New versions for use with the ELFv2 ABI.
30856         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
30857         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
30858         declaration.
30859         (struct La_ppc64v2_retval): Likewise.
30860         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
30861         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
30862         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
30863         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
30864         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
30865         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30866         Do not save or restore CR.
30867         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
30868         (_dl_profile_resolve): Do no save or restore CR.  Support extended
30869         return values for ELFv2 ABI.  Fix location of FPR return registers.
30870         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
30871         updated values for _CALL_ELF == 2.
30872         (La_regs, La_retval, int_retval): Likewise.
30874 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30876         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
30877         (FRAME_MIN_SIZE_PARM): Likewise.
30878         (FRAME_BACKCHAIN): Likewise.
30879         (FRAME_CR_SAVE): Likewise.
30880         (FRAME_LR_SAVE): Likewise.
30881         (FRAME_TOC_SAVE): Likewise.
30882         (FRAME_PARM_SAVE): Likewise.
30883         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
30884         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
30885         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30886         (call_mcount_parm_offset): New macro.
30887         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
30888         (PROF): Use symbolic stack frame offsets.
30889         (TAIL_CALL_SYSCALL_ERROR): Likewise.
30890         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
30891         Redefine in terms of FRAME_MIN_SIZE.
30892         (_dl_runtime_resolve): Use symbolic stack frame offsets.
30893         (_dl_profile_resolve): Likewise.  Update comment.
30894         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
30895         symbols stack frame offsets.
30896         (__sigsetjmp): Likewise.
30897         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
30898         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
30899         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
30900         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
30902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
30903         (FRAME_BACKCHAIN): Remove.
30904         (FRAME_CR_SAVE): Likewise.
30905         (FRAME_LR_SAVE): Likewise.
30906         (FRAME_COMPILER_DW): Likewise.
30907         (FRAME_LINKER_DW): Likewise.
30908         (FRAME_TOC_SAVE): Likewise.
30909         (FRAME_PARM_SAVE): Likewise.
30910         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
30911         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
30912         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
30913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
30914         (CHECK_SP): Use symbolic stack frame offsets.
30915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
30916         zone" instead of caller's parameter save area for temp storage.
30917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30918         Likewise.  Also, use symbolic stack frame offsets.
30919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
30920         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
30921         our own stack frame instead of the caller's.
30922         (__socket): Use symbolic stack frame offsets.
30924 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30925             Alan Modra  <amodra@gmail.com>
30927         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
30928         Define.
30929         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
30930         (PPC64_LOCAL_ENTRY_OFFSET): Define.
30931         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
30932         New function.
30933         (elf_machine_fixup_plt): Call it.
30934         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
30935         reloc arguments.
30936         (elf_machine_rela): Update call to elf_machine_plt_conflict.
30937         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30938         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
30939         r2 before calling target.
30941 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30942             Alan Modra  <amodra@gmail.com>
30944         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
30945         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
30946         versions of macros to support ELFv2 ABI.
30947         (LOCALENTRY): New macro.
30948         (ENTRY, EALIGN): Use it.
30949         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
30950         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
30951         fall through into ENTRY entry point.
30952         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
30953         Only define if _CALL_ELF != 2.
30955         (elf_machine_matches_host): Verify ABI version matches.
30956         (RTLD_START): Use LOCALENTRY.
30957         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
30958         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
30959         (PLT_ENTRY_WORDS): New macro.
30960         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
30961         (elf_machine_runtime_setup): Support ELFv2 ABI.
30962         (elf_machine_fixup_plt): Likewise.
30963         (elf_machine_plt_conflict): Likewise.
30964         (resolve_ifunc): Likewise.
30965         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30966         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30967         Likewise.
30968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
30969         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
30970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30971         (makecontext): Support ELFv2 ABI.
30972         * elf/elf.h (EF_PPC64_ABI): Define.
30974 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
30976         * sysdeps/powerpc/powerpc64/sysdep.h
30977         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
30978         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
30979         (ENTRY) [ASSEMBLER]: ... but instead here ...
30980         (EALIGN) [ASSEMBLER]: ... and here.
30981         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
30982         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
30983         (ENTRY_2) [!ASSEMBLER]: Use it.
30984         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
30985         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
30986         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
30987         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
30988         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
30989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
30990         Use PPC64_LOAD_FUNCPTR.
30992         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
30994 2013-12-04  Alan Modra  <amodra@gmail.com>
30996         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
30997         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
30998         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
30999         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
31001         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
31002         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
31003         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
31004         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
31005         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
31006         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
31008 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
31010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31011         (__makecontext): Fix incorrect CFI when backtracing out of
31012         context created via makecontext.
31013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
31014         (__setcontext): Fix incorrect CFI during switch to new context.
31015         (__novec_setcontext): Likewise.
31017 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
31019         [BZ #4772]
31020         * time/strptime_l.c (__strptime_internal): Allow modifiers
31021         in strptime.
31022         * time/tst-strptime.c (day_tests): Add testcase.
31024 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31026         * scripts/bench.pl: Skip over blank lines.
31028 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
31030         [BZ #926]
31031         * manual/time.texi (Calendar Time): Clarify what timezone functions
31032         use.
31034 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31038 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
31040         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
31041         implementation.
31042         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
31043         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
31044         * debug/memset_chk.c (__memset_chk): Likewise.
31045         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
31046         * debug/strncpy_chk.c: Likewise.
31048 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
31050         [BZ #15268]
31051         [BZ #15425]
31052         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
31053         (__ieee754_exp): For possibly underflowing results, check size of
31054         result and force underflow exception if required.
31055         * math/auto-libm-test-in: Add more tests of exp.
31056         * math/auto-libm-test-out: Regenerated.
31057         * sysdeps/i386/fpu/libm-test-ulps: Update.
31058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31060         [BZ #16283]
31061         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
31062         * math/w_exp2f.c (__exp2f): Likewise.
31063         * math/w_exp2l.c (__exp2l): Likewise.
31064         * math/auto-libm-test-in: Do not allow missing errno on exp2
31065         underflow.
31066         * math/auto-libm-test-out: Regenerated.
31068 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
31070         [BZ #16274]
31071         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
31072         handle filename validation.
31073         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
31074         (do_open): Delete.
31076 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
31078         [BZ #6786]
31079         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
31080         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
31081         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
31082         <float.h>.
31083         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
31084         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
31085         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
31086         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
31087         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
31088         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
31089         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
31090         * math/auto-libm-test-in: Don't allow missing errno from erfc.
31091         Add more erfc tests.
31092         * math/auto-libm-test-out: Regenerated.
31093         * sysdeps/i386/fpu/libm-test-ulps: Update.
31094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31096         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
31097         exp2, expm1, j0 and j1.
31098         * math/auto-libm-test-out: Regenerated.
31099         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
31100         (erfc_test_data): Likewise.
31101         (exp_test_data): Likewise.
31102         (exp_tonearest_test_data): Likewise.
31103         (exp_towardzero_test_data): Likewise.
31104         (exp_downward_test_data): Likewise.
31105         (exp_upward_test_data): Likewise.
31106         (exp10_test_data): Likewise.
31107         (exp2_test_data): Likewise.
31108         (expm1_test_data): Likewise.
31109         (j0_test_data): Likewise.
31110         (j1_test_data): Likewise.
31111         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
31112         (input_flag_type): Add flag_xfail_rounding.
31113         (input_flags): Add xfail-rounding.
31114         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
31115         (output_for_one_input_case): Handle flag_xfail_rounding.
31116         * sysdeps/i386/fpu/libm-test-ulps: Update.
31117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31119 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
31121         [BZ #16289]
31122         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
31123         division by 0.
31125 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31127         [BZ #16195]
31128         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
31129         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
31130         (STAP_PROBE0): New macro.
31131         (STAP_PROBE1): Likewise.
31132         (STAP_PROBE2): Likewise.
31133         (STAP_PROBE3): Likewise.
31134         (STAP_PROBE4): Likewise.
31136 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
31138         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
31140 2013-12-02  Steve Ellcey  <sellcey@mips.com>
31142         * benchtests/Makefile (bench): Add sqrt.
31143         (LDLIBS-bench-sqrt): New.
31144         * benchtests/sqrt-input: New.
31146 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
31148         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
31149         (GAIH_EAI): Likewise.
31150         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
31151         (gaih_inet): Likewise.
31152         (getaddrinfo): Don't use GAIH_EAI.
31154         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
31155         (struct gaih): Remove definition.
31157 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31159         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
31160         Use HERRNOP directly.
31162 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31166 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
31168         * math/gen-auto-libm-tests.c (test_functions): Add more
31169         single-argument functions.
31170         (special_fill_pi_2): New function.
31171         (special_fill_minus_pi_2): Likewise.
31172         (special_fill_pi_6): Likewise.
31173         (special_fill_minus_pi_6): Likewise.
31174         (special_fill_pi_3): Likewise.
31175         (special_fill_2pi_3): Likewise.
31176         (special_fill_e): Likewise.
31177         (special_fill_1_e): Likewise.
31178         (special_fill_e_minus_1): Likewise.
31179         (special_real_inputs): Add more special inputs.
31180         (output_for_one_input_case): Do not require ERANGE on underflow to
31181         zero if round-to-nearest result does not underflow to zero, unless
31182         exact results required.
31183         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
31184         atan, atanh, cbrt, cos and cosh.
31185         * math/auto-libm-test-out: Regenerated.
31186         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
31187         (acos_tonearest_test_data): Likewise.
31188         (acos_towardzero_test_data): Likewise.
31189         (acos_downward_test_data): Likewise.
31190         (acos_upward_test_data): Likewise.
31191         (acosh_test_data): Likewise.
31192         (asin_test_data): Likewise.
31193         (asin_tonearest_test_data): Likewise.
31194         (asin_towardzero_test_data): Likewise.
31195         (asin_upward_test_data): Likewise.
31196         (asinh_test_data): Likewise.
31197         (atan_test_data): Likewise.
31198         (atanh_test_data): Likewise.
31199         (cbrt_test_data): Likewise.
31200         (cos_test_data): Likewise.
31201         (cos_tonearest_test_data): Likewise.
31202         (cos_towardzero_test_data): Likewise.
31203         (cos_downward_test_data): Likewise.
31204         (cos_upward_test_data): Likewise.
31205         (cosh_test_data): Likewise.
31206         (cosh_tonearest_test_data): Likewise.
31207         (cosh_towardzero_test_data): Likewise.
31208         (cosh_downward_test_data): Likewise.
31209         (cosh_upward_test_data): Likewise.
31210         * sysdeps/i386/fpu/libm-test-ulps: Update.
31211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31213 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
31215         [BZ #6787]
31216         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
31217         * math/w_exp10f.c (__exp10f): Likewise.
31218         * math/w_exp10l.c (__exp10l): Likewise.
31219         * math/libm-test.inc (exp10_test_data): Add more tests and expect
31220         errno settings in existing tests.
31222         [BZ #14032]
31223         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
31224         precision control set to double precision.
31225         * sysdeps/i386/fpu/w_sqrt.c: New file.
31226         * math/auto-libm-test-in: Add more tests.
31227         * math/auto-libm-test-out: Update.
31229         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
31230         (sqrt_test_tonearest): New function.
31231         (sqrt_towardzero_test_data): New variable.
31232         (sqrt_test_towardzero): New function.
31233         (sqrt_downward_test_data): New variable.
31234         (sqrt_test_downward): New function.
31235         (sqrt_upward_test_data): New variable.
31236         (sqrt_test_upward): New function.
31237         (main): Call the new functions.
31239         * math/gen-auto-libm-tests.c: New file.
31240         * math/auto-libm-test-in: Likewise.
31241         * math/auto-libm-test-out: New generated file.
31242         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
31243         variables.
31244         (%beautify): Add generated representations of zero.
31245         (top level): Set $auto_input and call parse_auto_input.
31246         (beautify): Remove trailing "f" from hex float constants.
31247         (parse_args): Handle XFAIL_TEST.
31248         (convert_condition): New function.
31249         (or_value): Likewise.
31250         (or_cond_value): Likewise.
31251         (generate_testfile): Handle AUTO_TESTS_* lines.
31252         (parse_auto_input): New function.
31253         * math/libm-test.inc (XFAIL_TEST): New macro.
31254         (ERRNO_UNCHANGED): Update value.
31255         (ERRNO_EDOM): Likewise.
31256         (ERRNO_ERANGE): Likewise.
31257         (IGNORE_RESULT): Likewise.
31258         (TEST_COND_flt_32): New macro.
31259         (TEST_COND_dbl_64): Likewise.
31260         (TEST_COND_ldbl_96_intel): Likewise.
31261         (TEST_COND_ldbl_96_m68k): Likewise.
31262         (TEST_COND_ldbl_128): Likewise.
31263         (TEST_COND_ldbl_128ibm): Likewise.
31264         (TEST_COND_long32): Likewise.
31265         (TEST_COND_long64): Likewise.
31266         (TEST_COND_before_rounding): Likewise.
31267         (TEST_COND_after_rounding): Likewise.
31268         (enable_test): Handle XFAIL_TEST flag.
31269         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
31270         with finite results.
31271         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
31272         auto-libm-test-out.
31274 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31275             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31277         [BZ #16214]
31278         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
31279         __tls_get_addr_internal instead of __tls_get_offset in order to
31280         avoid GOT pointer dependency.  Make rtld export
31281         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
31282         __tls_get_addr since we are a __tls_get_offset platform.
31283         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
31284         GOT pointer being set up before.
31285         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
31287 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
31289         * manual/math.texi (Errors in Math Functions): Document accuracy
31290         goals.
31292         [BZ #15004]
31293         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
31294         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
31295         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31296         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31297         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31298         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31299         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31300         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31301         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31302         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31303         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31304         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31305         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31306         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31307         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31308         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31310         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
31311         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
31312         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
31313         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
31314         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
31315         Likewise.
31316         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
31317         Likewise.
31318         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
31319         Likewise.
31320         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
31321         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
31322         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
31323         atomic-feupdateenv and flt-rounds.
31324         * sysdeps/powerpc/nofpu/Versions (libc): Add
31325         __atomic_feholdexcept, __atomic_feclearexcept,
31326         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
31327         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
31328         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
31329         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
31330         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
31331         here.
31332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31333         Update.
31335         * manual/arith.texi (FP Exceptions): Document that exceptions may
31336         not be raised when matherr is used.
31337         (Math Error Reporting): Document overflow in directed rounding
31338         modes.  Document that errno may not be set when finite values are
31339         returned on overflow.  Document intent to set errno on underflow
31340         only for underflow to zero.
31342         [BZ #16271]
31343         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
31344         round-to-nearest then adjust result for other rounding modes.
31345         * include/fenv.h (fegetround): Use libm_hidden_proto.
31346         * math/fegetround.c (fegetround): Use libm_hidden_def.
31347         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31348         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31349         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31350         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31351         Likewise.
31352         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
31353         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31354         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31355         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
31357 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31359         [BZ #16077]
31360         * nss/Versions (libnss_files): Add
31361         _nss_files_gethostbyname3_r.
31362         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
31363         New function.
31364         (HOST_DB_LOOKUP): Remove macro.
31365         (_nss_files_gethostbyname_r): Implement function without the
31366         HOST_DB_LOOKUP macro.
31367         (_nss_files_gethostbyname2_r): Likewise.
31369 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
31371         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
31373 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
31375         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
31376         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
31377         warning.
31379 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31381         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
31382         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
31383         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31384         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31385         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
31386         __fe_nomask_env_priv and attribute_hidden.
31387         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
31388         (libc_feupdateenv_test_ppc): Likewise.
31389         (libc_feresetround_ppc): Likewise.
31390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31391         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
31392         compat_symbol macro.
31393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31394         (__fe_nomask_env): Likewise.
31395         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
31397 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31399         * string/Makefile: Remove ifunc tests.
31400         * string/test-string.h: Define TEST_IFUNC.
31401         * string/test-bcopy-ifunc.c: Remove.
31402         * string/test-bzero-ifunc.c: Likewise.
31403         * string/test-memccpy-ifunc.c: Likewise.
31404         * string/test-memchr-ifunc.c: Likewise.
31405         * string/test-memcmp-ifunc.c: Likewise.
31406         * string/test-memcpy-ifunc.c: Likewise.
31407         * string/test-memmem-ifunc.c: Likewise.
31408         * string/test-memmove-ifunc.c: Likewise.
31409         * string/test-mempcpy-ifunc.c: Likewise.
31410         * string/test-memrchr-ifunc.c: Likewise.
31411         * string/test-memset-ifunc.c: Likewise.
31412         * string/test-rawmemchr-ifunc.c: Likewise.
31413         * string/test-stpcpy-ifunc.c: Likewise.
31414         * string/test-stpncpy-ifunc.c: Likewise.
31415         * string/test-strcasecmp-ifunc.c: Likewise.
31416         * string/test-strcasestr-ifunc.c: Likewise.
31417         * string/test-strcat-ifunc.c: Likewise.
31418         * string/test-strchr-ifunc.c: Likewise.
31419         * string/test-strchrnul-ifunc.c: Likewise.
31420         * string/test-strcmp-ifunc.c: Likewise.
31421         * string/test-strcpy-ifunc.c: Likewise.
31422         * string/test-strcspn-ifunc.c: Likewise.
31423         * string/test-strlen-ifunc.c: Likewise.
31424         * string/test-strncasecmp-ifunc.c: Likewise.
31425         * string/test-strncat-ifunc.c: Likewise.
31426         * string/test-strncmp-ifunc.c: Likewise.
31427         * string/test-strncpy-ifunc.c: Likewise.
31428         * string/test-strnlen-ifunc.c: Likewise.
31429         * string/test-strpbrk-ifunc.c: Likewise.
31430         * string/test-strrchr-ifunc.c: Likewise.
31431         * string/test-strspn-ifunc.c: Likewise.
31432         * string/test-strstr-ifunc.c: Likewise.
31434 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31436         * benchtests/Makefile: Remove ifunc tests.
31437         * benchtests/bench-string.h: Define TEST_IFUNC.
31438         * benchtests/bench-bcopy-ifunc.c: Remove.
31439         * benchtests/bench-bzero-ifunc.c: Likewise.
31440         * benchtests/bench-memccpy-ifunc.c: Likewise.
31441         * benchtests/bench-memchr-ifunc.c: Likewise.
31442         * benchtests/bench-memcmp-ifunc.c: Likewise.
31443         * benchtests/bench-memcpy-ifunc.c: Likewise.
31444         * benchtests/bench-memmem-ifunc.c: Likewise.
31445         * benchtests/bench-memmove-ifunc.c: Likewise.
31446         * benchtests/bench-mempcpy-ifunc.c: Likewise.
31447         * benchtests/bench-memrchr-ifunc.c: Likewise.
31448         * benchtests/bench-memset-ifunc.c: Likewise.
31449         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
31450         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
31451         * benchtests/bench-stpcpy-ifunc.c: Likewise.
31452         * benchtests/bench-stpncpy-ifunc.c: Likewise.
31453         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
31454         * benchtests/bench-strcasestr-ifunc.c: Likewise.
31455         * benchtests/bench-strcat-ifunc.c: Likewise.
31456         * benchtests/bench-strchr-ifunc.c: Likewise.
31457         * benchtests/bench-strchrnul-ifunc.c: Likewise.
31458         * benchtests/bench-strcmp-ifunc.c: Likewise.
31459         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
31460         * benchtests/bench-strcpy-ifunc.c: Likewise.
31461         * benchtests/bench-strcspn-ifunc.c: Likewise.
31462         * benchtests/bench-strlen-ifunc.c: Likewise.
31463         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
31464         * benchtests/bench-strncat-ifunc.c: Likewise.
31465         * benchtests/bench-strncmp-ifunc.c: Likewise.
31466         * benchtests/bench-strncpy-ifunc.c: Likewise.
31467         * benchtests/bench-strnlen-ifunc.c: Likewise.
31468         * benchtests/bench-strpbrk-ifunc.c: Likewise.
31469         * benchtests/bench-strrchr-ifunc.c: Likewise.
31470         * benchtests/bench-strsep-ifunc.c: Likewise.
31471         * benchtests/bench-strspn-ifunc.c: Likewise.
31472         * benchtests/bench-strstr-ifunc.c: Likewise.
31474 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31476         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31478 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
31480         * resolv/netdb.h: Use __glibc_reserved instead __unused.
31481         * rt/aio.h: Likewise.
31482         * sysdeps/gnu/bits/utmp.h: Likewise.
31483         * sysdeps/gnu/bits/utmpx.h: Likewise.
31484         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31485         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31486         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31487         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31488         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31489         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31490         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31491         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31492         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31493         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31494         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31495         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31496         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31498         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31499         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31500         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31501         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31502         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31503         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31504         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31505         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31506         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31507         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31508         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31509         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31510         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31511         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31512         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31513         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31514         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31515         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31516         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31517         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31518         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31519         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31520         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31521         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31522         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31523         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31524         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31525         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31527 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
31529         [BZ #16245]
31530         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31531         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31533 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
31535         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31536         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31537         Likewise.
31539 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31541         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31542         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31543         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31544         (__fesetround): Remove define.
31545         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31546         rounding and exceptions handling.
31547         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31548         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31549         (__fe_nomask_env): Likewise.
31550         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31551         __fegetround instead of fegetround.
31552         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31553         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31555 2013-11-21  Roland McGrath  <roland@hack.frob.com>
31557         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31558         it's there.
31560         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31562 2013-11-21  Meador Inge  <meadori@codesourcery.com>
31564         [BZ #11157]
31565         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31566         (encrypt_r): Likewise.
31567         * malloc/obstack.h (obstack_free): Likewise.
31568         * posix/unistd.h (encrypt): Likewise.
31570 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
31572         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31573         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31574         DL_CALL_DT_FINI() that call the functions directly.
31575         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31576         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31577         * elf/dl-fini.c: Likewise.
31579 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
31581         * malloc/hooks.c (memalign_check): Add alignment rounding.
31582         * malloc/malloc.c (_mid_memalign): New function.
31583         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31584         Implement by calling _mid_memalign.
31585         * manual/probes.texi (Memory Allocation Probes): Remove
31586         memory_valloc_retry and memory_pvalloc_retry.
31588 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31590         * locale/programs/locarchive.c (open_archive): Add const
31591         qualifier to ARCHIVEFNAME and copy default fname to
31592         DEFAULT_FNAME.
31594         [BZ #15601]
31595         * libio/tst-widetext.input: Rename Oriya to Odia.
31596         * locale/iso-639.def: Likewise.
31598         * manual/probes.texi (Mathematical Function Probes): Add
31599         documentation for sin, cos, asin and acos probes.
31600         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31601         (__sin32): Add slowasin probe.
31602         (__cos32): Add slowacos probe.
31603         (__mpsin): Add slowsin probe.
31604         (__mpcos): Add slowcos probe.
31606 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
31608         [BZ #15483]
31609         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31610         thread-local __sim_exceptions_thread and global
31611         __sim_exceptions_global.
31612         (__sim_disabled_exceptions): Change to thread-local
31613         __sim_disabled_exceptions_thread and global
31614         __sim_disabled_exceptions_global.
31615         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31616         and global __sim_round_mode_global.
31617         (__simulate_exceptions): Use thread-local floating-point state and
31618         set global state from it as needed.
31619         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31620         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31621         __sim_round_mode_thread.
31622         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31623         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31624         and global __sim_exceptions_global.
31625         (__sim_disabled_exceptions): Change to thread-local
31626         __sim_disabled_exceptions_thread and global
31627         __sim_disabled_exceptions_global.
31628         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31629         and global __sim_round_mode_global.
31630         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31631         (SIM_SET_GLOBAL): Likewise.
31632         * sysdeps/powerpc/soft-fp/sfp-machine.h
31633         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31634         __sim_round_mode_thread.
31635         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31636         __sim_disabled_exceptions_thread.
31637         (__sim_exceptions): Change to __sim_exceptions_thread.
31638         (__sim_disabled_exceptions): Change to
31639         __sim_disabled_exceptions_thread.
31640         (__sim_round_mode): Change to __sim_round_mode_thread.
31641         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31642         thread-local floating-point state and set global state from it as
31643         needed.
31644         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31645         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31646         (__sim_disabled_exceptions): Remove extern declaration.
31647         (feenableexcept): Use thread-local floating-point state and set
31648         global state from it as needed.
31649         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31650         extern declaration.
31651         (__sim_disabled_exceptions): Likewise.
31652         (__sim_round_mode): Likewise.
31653         (__fegetenv): Use thread-local floating-point state.
31654         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31655         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31656         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31657         floating-point state and set global state from it as needed.
31658         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31659         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31660         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31661         Likewise.
31662         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31663         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31664         Likewise.
31665         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31666         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31667         Use __sim_round_mode_thread.
31668         * math/test-fenv-tls.c: New file.
31669         * math/Makefile (tests): Add test-fenv-tls.
31670         ($(objpfx)test-fenv-tls): Depend on
31671         $(common-objpfx)nptl/libpthread.so.
31673 2013-11-19  Andreas Schwab  <schwab@suse.de>
31675         * locale/programs/locale.c (show_info): Decode wordarray elements.
31676         * locale/categories.def (LC_MONETARY): Add element for
31677         _NL_MONETARY_CRNCYSTR.
31678         * locale/C-monetary.c (conversion_rate): New variable.
31679         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31680         element.
31682 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
31684         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31685         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31687 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
31689         * elf/Makefile (tst-auxv): New test.
31690         * elf/tst-auxv.c: New
31691         * elf/rtld.c (dl_main): Adjust AT_EXECFN
31693 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
31695         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31696         (hidden_proto): Caller changed.
31697         (hidden_tls_proto): New macro.
31698         (libc_hidden_tls_proto): Likewise.
31699         (rtld_hidden_tls_proto): Likewise.
31700         (libm_hidden_tls_proto): Likewise.
31701         (libresolv_hidden_tls_proto): Likewise.
31702         (librt_hidden_tls_proto): Likewise.
31703         (libdl_hidden_tls_proto): Likewise.
31704         (libnss_files_hidden_tls_proto): Likewise.
31705         (libnsl_hidden_tls_proto): Likewise.
31706         (libnss_nisplus_hidden_tls_proto): Likewise.
31707         (libutil_hidden_tls_proto): Likewise.
31709 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
31711         [BZ #10253]
31712         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31713         (decompose_rpath): Defer expansion to fillin_rpath.
31714         (_dl_init_paths): Pass linkmap to fillin_rpath.
31716 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31718         * benchtests/Makefile: Add strsep.
31719         * benchtests/bench-strsep.c: New file: strsep benchtest.
31720         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31722 2013-11-18  Andreas Schwab  <schwab@suse.de>
31724         * locale/programs/locale.c (show_info) [case byte]: Check for
31725         '\377' instead of '\177'.
31726         * locale/C-monetary.c (not_available): Always use "\377".
31727         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31728         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
31729         detect unavailable sign_posn locale elements.
31730         * locale/localeconv.c (__localeconv): For grouping and
31731         mon_grouping handle "\177" and "\377" like no grouping.
31732         (INT_ELEM): New macro.  Use it to set all numeric members.
31733         * locale/programs/ld-monetary.c (monetary_read)
31734         <tok_mon_grouping>: Normalize single -1 to the empty string.
31735         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31736         Likewise.
31738 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
31740         [BZ #16055]
31741         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31742         when we match (nil).
31743         * stdio-common/tst-sscanf.c (struct test): Add testcase.
31745 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
31747         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31748         (NO_TEST_INLINE): Update value.
31749         (ERRNO_UNCHANGED): Likewise.
31750         (ERRNO_EDOM): Likewise.
31751         (ERRNO_ERANGE): Likewise.
31752         (IGNORE_RESULT): Likewise.
31753         (check_float_internal): Check signs of NaN results if
31754         TEST_NAN_SIGN used.
31755         (check_complex): Pass TEST_NAN_SIGN flag through to second
31756         check_float_internal call.
31757         (copysign_test_data): Add tests with quiet NaNs as second
31758         argument.  Use TEST_NAN_SIGN.
31759         (fabs_test_data): Add test of negative quiet NaN argument.  Use
31760         TEST_NAN_SIGN.
31761         (signbit_test_data): Add tests of quiet NaN argument.
31762         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31764         * math/gen-libm-test.pl (show_exceptions): Take extra argument
31765         $ignore_result.
31766         (parse_args): Handle function results specified as IGNORE.
31767         * math/libm-test.inc (IGNORE_RESULT): New macro.
31768         (check_float_internal): Do not check numerical result if flag
31769         IGNORE_RESULT set.
31770         (check_complex): Pass through IGNORE_RESULT to second
31771         check_float_internal call.
31772         (check_int): Do not check numerical result if flag IGNORE_RESULT
31773         set.
31774         (check_long): Likewise.
31775         (check_bool): Likewise.
31776         (check_longlong): Likewise.
31777         (lrint_test_data): Add tests of infinite and NaN arguments.
31778         (lrint_tonearest_test_data): Likewise.
31779         (lrint_towardzero_test_data): Likewise.
31780         (lrint_downward_test_data): Likewise.
31781         (lrint_upward_test_data): Likewise.
31782         (llrint_test_data): Likewise.
31783         (llrint_tonearest_test_data): Likewise.
31784         (llrint_towardzero_test_data): Likewise.
31785         (llrint_downward_test_data): Likewise.
31786         (llrint_upward_test_data): Likewise.
31787         (lround_test_data): Likewise.
31788         (llround_test_data): Likewise.
31790         * math/libm-test.inc (NO_TEST_INLINE): New macro.
31791         (ERRNO_UNCHANGED): Update value.
31792         (ERRNO_EDOM): Likewise.
31793         (ERRNO_ERANGE): Likewise.
31794         (NO_TEST_INLINE_FLOAT): New macro.
31795         (NO_TEST_INLINE_DOUBLE): Likewise.
31796         (enable_test): New function.
31797         (RUN_TEST_f_f): Check enable_test before running test.
31798         (RUN_TEST_2_f): Likewise.
31799         (RUN_TEST_fff_f): Likewise.
31800         (RUN_TEST_c_f): Likewise.
31801         (RUN_TEST_f_f1): Likewise.
31802         (RUN_TEST_fF_f1): Likewise.
31803         (RUN_TEST_fI_f1): Likewise.
31804         (RUN_TEST_ffI_f1): Likewise.
31805         (RUN_TEST_c_c): Likewise.
31806         (RUN_TEST_cc_c): Likewise.
31807         (RUN_TEST_f_i): Likewise.
31808         (RUN_TEST_f_i_tg): Likewise.
31809         (RUN_TEST_ff_i_tg): Likewise.
31810         (RUN_TEST_f_b): Likewise.
31811         (RUN_TEST_f_b_tg): Likewise.
31812         (RUN_TEST_f_l): Likewise.
31813         (RUN_TEST_f_L): Likewise.
31814         (RUN_TEST_fFF_11): Likewise.
31815         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31816         conditionals.
31817         (cosh_test_data): Likewise.
31818         (exp_test_data): Likewise.
31819         (expm1_test_data): Likewise.
31820         (hypot_test_data): Likewise.
31821         (pow_test_data): Likewise.
31822         (sinh_test_data): Likewise.
31823         (tanh_test_data): Likewise.
31824         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31825         flags argument.
31827         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31828         tests with quiet NaN input and output.
31829         (acosh_test_data): Likewise.
31830         (asin_test_data): Likewise.
31831         (asinh_test_data): Likewise.
31832         (atan_test_data): Likewise.
31833         (atanh_test_data): Likewise.
31834         (atan2_test_data): Likewise.
31835         (cbrt_test_data): Likewise.
31836         (cos_test_data): Likewise.
31837         (cosh_test_data): Likewise.
31838         (erf_test_data): Likewise.
31839         (erfc_test_data): Likewise.
31840         (exp_test_data): Likewise.
31841         (exp10_test_data): Likewise.
31842         (exp2_test_data): Likewise.
31843         (expm1_test_data): Likewise.
31844         (hypot_test_data): Likewise.
31845         (j0_test_data): Likewise.
31846         (j1_test_data): Likewise.
31847         (jn_test_data): Likewise.
31848         (lgamma_test_data): Likewise.
31849         (log_test_data): Likewise.
31850         (log10_test_data): Likewise.
31851         (log1p_test_data): Likewise.
31852         (log2_test_data): Likewise.
31853         (pow_test_data): Likewise.
31854         (scalb_test_data): Likewise.
31855         (sin_test_data): Likewise.
31856         (sincos_test_data): Likewise.
31857         (sinh_test_data): Likewise.
31858         (tan_test_data): Likewise.
31859         (tanh_test_data): Likewise.
31860         (tgamma_test_data): Likewise.
31861         (y0_test_data): Likewise.
31862         (y1_test_data): Likewise.
31863         (yn_test_data): Likewise.
31865         [BZ #16167]
31866         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
31867         argument being NaN and avoid computations with second argument in
31868         that case.
31869         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31870         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31871         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31873 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
31875         * locale/iso-639.def: Add Chitwani Tharu (the).
31877 2013-11-14  Andreas Schwab  <schwab@suse.de>
31879         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
31880         word instead of empty string.
31882 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31885         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
31886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31887         (__fe_nomask_env): Likewise.
31889 2013-11-13  Steve Ellcey  <sellcey@mips.com>
31891         * benchtests/bench-timing.h: Include time.h.
31893 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
31895         [BZ #15997]
31896         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
31897         to 3.4.0 for x32.
31898         * sysdeps/unix/sysv/linux/configure: Regenerated.
31900 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
31902         [BZ #16151]
31903         * stdlib/strtod_l.c (round_and_return): Do not consider
31904         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
31905         exponent one less than half the least subnormal exponent.
31906         * stdlib/test-strtod-round-data: Add more tests.
31907         * stdlib/tst-strtod-round.c (tests): Regenerated.
31909 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31911         [BZ #14143]
31912         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
31913         (__fe_mask_env): Likewise.
31914         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
31915         libm_hidden_proto and add function prototype.
31916         (__fe_mask_env): Add function prototype.
31917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31918         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
31919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31920         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
31921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31922         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
31924 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31926         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
31927         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
31929 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31931         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
31932         of htab_find_slot().
31934 2013-11-11  David S. Miller  <davem@davemloft.net>
31936         [BZ #16150]
31937         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
31938         symbol in the non-vis3 case in static builds.
31939         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
31940         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
31941         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
31942         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
31944 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
31946         [BZ #387]
31947         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
31948         it is empty.
31950 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31952         * benchtests/Makefile: Add bench-strtod.
31953         * benchtests/bench-strtod.c: New file: strtod benchtest
31955 2013-11-11  Andreas Schwab  <schwab@suse.de>
31957         [BZ #16153]
31958         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
31959         terminating NUL in key length.
31961 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31963         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31964         Add artificial ODP entry for vDSO symbol for PPC64.
31965         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
31966         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31968 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
31970         [BZ #15374]
31971         * nss/getent.c (services_keys): Recognize services starting with digit.
31973 2013-11-06  David S. Miller  <davem@davemloft.net>
31975         [BZ #15985]
31976         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
31977         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
31979 2013-11-06  Will Newton  <will.newton@linaro.org>
31981         * manual/memory.texi (Malloc Examples): Remove register
31982         keyword from examples.
31984 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
31986         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
31988 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
31990         [BZ #6981]
31991         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
31992         depending on [__GCC_IEC_559 > 0].
31993         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
31994         depending on [__GCC_IEC_559_COMPLEX > 0].
31996 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
31998         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
31999         to iso-639.def.
32001 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
32003         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
32005 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
32007         [BZ #16112]
32008         * malloc/malloc (malloc_info): Do not handle first bin as
32009         special case.
32011 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
32013         * locale/iso-639.def: Add Central Nahuatl (nhn).
32015 2013-11-01  Bruno Haible  <bruno@clisp.org>
32017         [BZ #7003]
32018         * manual/math.texi (BSD Random): Specify range upper bound as
32019         in POSIX.
32021 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
32023         * locale/iso-639.def: Add Meadow Mari (mhr).
32025 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
32027         [BZ #14752], [BZ #15763]
32028         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
32029         Validate name.
32030         * rt/tst_shm.c: Add test for escaping directory.
32032 2013-10-31  Andreas Schwab  <schwab@suse.de>
32034         [BZ #15917]
32035         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
32036         followed by 'x' as part of digit sequence.
32037         * stdio-common/tst-sscanf.c (double_tests2): New tests.
32039 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
32041         [BZ #16037]
32042         * configure.ac: allow GNU Make 4.0 and greater.
32043         * configure: Regenerated.
32045 2013-10-30  Will Newton  <will.newton@linaro.org>
32047         [BZ #16038]
32048         * malloc/hooks.c (memalign_check): Limit alignment to the
32049         maximum representable power of two.
32050         * malloc/malloc.c (__libc_memalign): Likewise.
32051         * malloc/tst-memalign.c (do_test): Add test for very
32052         large alignment values.
32053         * malloc/tst-posix_memalign.c (do_test): Likewise.
32055 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
32057         [BZ #11087]
32058         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
32059         (munmap_chunk): Likewise.
32060         (mremap_chunk): Likewise.
32062 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
32064         [BZ #15799]
32065         * stdlib/div.c (div): Remove obsolete code.
32066         * stdlib/ldiv.c (ldiv): Likewise.
32067         * stdlib/lldiv.c (lldiv): Likewise.
32069 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32071         [BZ #16071]
32072         * nss/nss_files/files-XXX.c (get_contents_ret): New
32073         enumerator.
32074         (get_contents): New function.
32075         (internal_getent): Use it.  Expand size of LINEBUFLEN.
32077 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
32079         * configure.in: Moved to ...
32080         * configure.ac: ... here. Change reference to configure.in
32081         to configure.ac.
32082         * sysdeps/arm/preconfigure.ac: ... here.
32083         configure.in to configure.ac.
32084         * sysdeps/gnu/configure.in: Moved to ...
32085         * sysdeps/gnu/configure.ac: ... here.
32086         * sysdeps/i386/configure.in: Moved to ...
32087         * sysdeps/i386/configure.ac: ... here.
32088         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
32089         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
32090         * sysdeps/mach/configure.in: Moved to ...
32091         * sysdeps/mach/configure.ac: ... here.
32092         * sysdeps/mach/hurd/configure.in: Moved to ...
32093         * sysdeps/mach/hurd/configure.ac: ... here.
32094         * sysdeps/powerpc/configure.in: Moved to ...
32095         * sysdeps/powerpc/configure.ac: ... here.
32096         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
32097         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
32098         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
32099         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
32100         * sysdeps/s390/s390-32/configure.in: Moved to ...
32101         * sysdeps/s390/s390-32/configure.ac: ... here.
32102         * sysdeps/s390/s390-64/configure.in: Moved to ...
32103         * sysdeps/s390/s390-64/configure.ac: ... here.
32104         * sysdeps/sh/configure.in: Moved to ...
32105         * sysdeps/sh/configure.ac: ... here.
32106         * sysdeps/sparc/configure.in: Moved to ...
32107         * sysdeps/sparc/configure.ac: ... here.
32108         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
32109         * sysdeps/unix/sysv/linux/configure.ac: ... here.
32110         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
32111         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
32112         * sysdeps/x86_64/configure.in: Moved to ...
32113         * sysdeps/x86_64/configure.ac: ... here.
32114         * sysdeps/x86_64/preconfigure.in: Moved to ...
32115         * sysdeps/x86_64/preconfigure.ac: ... here.
32116         * aclocal.m4: Change reference to configure.in to configure.ac.
32117         * config.h.in: Likewise.
32118         * manual/install.texi: Likewise.
32119         * manual/maint.texi: Likewise.
32120         * Makefile: Likewise.
32121         * malloc/Makefile: Likewise.
32122         * nscd/Makefile: Likewise.
32123         * Makeconfig: Change reference to configure.in and
32124         preconfigure.in to configure.ac and preconfigure.ac
32125         respectively.
32126         * INSTALL: Regenerated.
32127         * configure: Likewise.
32128         * sysdeps/gnu/configure: Likewise.
32129         * sysdeps/i386/configure: Likewise.
32130         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
32131         * sysdeps/mach/configure: Likewise.
32132         * sysdeps/mach/hurd/configure: Likewise.
32133         * sysdeps/powerpc/configure: Likewise.
32134         * sysdeps/powerpc/powerpc32/configure: Likewise.
32135         * sysdeps/powerpc/powerpc64/configure: Likewise.
32136         * sysdeps/s390/s390-32/configure: Likewise.
32137         * sysdeps/s390/s390-64/configure: Likewise.
32138         * sysdeps/sh/configure: Likewise.
32139         * sysdeps/sparc/configure: Likewise.
32140         * sysdeps/unix/sysv/linux/configure: Likewise.
32141         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
32142         * sysdeps/x86_64/configure: Likewise.
32143         * sysdeps/x86_64/preconfigure: Likewise.
32145 2013-10-29  Andreas Schwab  <schwab@suse.de>
32147         * stdio-common/Makefile (tst-swscanf-ENV): Define.
32149 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32151         * benchtests/pow-inputs: Add new inputs.
32153         * benchtests/exp-inputs: Add new inputs.
32155         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
32156         conditional check for return value.
32157         (__cos32): Likewise.
32159 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32161         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
32162         to provide a boost for large inputs with word alignment.
32163         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
32164         implementation based on optimized PPC64 strcpy.
32165         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
32166         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
32167         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
32168         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
32170 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
32172         [BZ #2801]
32173         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
32175 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
32177         [BZ #14876]
32178         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
32179         * time/tst-strptime.c (day_tests): Add testcase.
32181 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
32183         [BZ #14029]
32184         * manual/pattern.texi: Acknowledge that fnmatch can fail.
32186 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
32188         [BZ #16074]
32189         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
32190         MAP_FAILED on error.
32192 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32194         [BZ #16072]
32195         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
32196         heap for large requests.
32198 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
32200         [BZ #9954]
32201         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
32202         result if the result has no associated interface.
32203         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
32204         interface for all 127.X.Y.Z addresses.
32206 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
32208         * locale/iso-639.def: Add Ligurian (lij)
32210 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
32212         [BZ #15825]
32213         * sunrpc/rpc_main.c: Document rpcgen -5.
32215 2013-10-19  Michael Stahl  <mstahl@redhat.com>
32217         * elf/rtld.c (do_preload): Print the reason why preloading failed.
32219 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
32221         [BZ #10278]
32222         * posix/glob.c: Match only directories when trailing slash is present.
32223         * posix/tst-gnuglob.c (my_opendir): Do not open files.
32224         (main): Add testcase.
32226 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
32228         [BZ #15670]
32229         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
32231 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
32233         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
32234         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
32235         AUTH_DES and cindex for FIPS 140-2.
32236         (DES Encryption): Add cindex FIPS 46-3.
32238         * locale/locarchive.h (struct locarhandle): Add fname.
32239         * locale/programs/localedef.c (main): Pass ARGV[remaining]
32240         if an optional argument was specified to --list-archive,
32241         otherwise NULL.
32242         * locale/programs/locarchive.c (show_archive_content): Take new
32243         argument fname and pass it via ah.fname to open_archive.
32244         * locale/programs/localedef.h: Update decl.
32245         (open_archive): If AH->fname is non-null, open that file
32246         rather than the default file name, and don't ignore ENOENT.
32247         (create_archive): Set AH.fname to NULL.
32248         (delete_locales_from_archive): Likewise.
32249         (add_locales_to_archive): Likewise.
32250         * locale/programs/locfile.c (write_all_categories): Likewise.
32252 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
32253             Aldy Hernandez  <aldyh@redhat.com>
32255         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
32256         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
32257         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
32258         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
32259         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
32260         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
32261         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
32262         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
32263         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
32264         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
32265         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
32266         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
32267         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
32268         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
32269         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
32270         Likewise.
32271         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
32272         Likewise.
32273         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
32274         Likewise.
32275         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
32276         Likewise.
32277         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
32278         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
32279         Likewise.
32280         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
32281         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
32282         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
32283         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
32284         Likewise.
32285         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
32286         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
32287         * sysdeps/powerpc/preconfigure: Likewise.
32288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
32289         Likewise.
32290         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
32291         Replace contents of file by #include of <fenv_libc.h>.
32292         * sysdeps/powerpc/soft-fp/sfp-machine.h
32293         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
32294         and <sys/prctl.h>.
32295         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
32296         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
32297         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
32298         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
32299         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
32300         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
32301         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
32302         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
32303         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
32304         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
32305         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
32306         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
32307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32308         Allow copysignl PLT reference to be missing.
32310 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
32311             Joseph Myers  <joseph@codesourcery.com
32313         [BZ #15948]
32314         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
32315         single character.
32316         (add_to_tablewc): Assert sequence of wide characters is nonempty.
32318 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32320         * elf/tst-tls-dlinfo.c: Don't include tls.h.
32321         * elf/tst-tls1.c: Likewise.
32322         * elf/tst-tls10.h: Likewise.
32323         * elf/tst-tls14.c: Likewise.
32324         * elf/tst-tls2.c: Likewise.
32325         * elf/tst-tls3.c: Likewise.
32326         * elf/tst-tls4.c: Likewise.
32327         * elf/tst-tls5.c: Likewise.
32328         * elf/tst-tls6.c: Likewise.
32329         * elf/tst-tls7.c: Likewise.
32330         * elf/tst-tls8.c: Likewise.
32331         * elf/tst-tls9.c: Likewise.
32332         * elf/tst-tlsmod1.c: Likewise.
32333         * elf/tst-tlsmod13.c: Likewise.
32334         * elf/tst-tlsmod13a.c: Likewise.
32335         * elf/tst-tlsmod14a.c: Likewise.
32336         * elf/tst-tlsmod16a.c: Likewise.
32337         * elf/tst-tlsmod16b.c: Likewise.
32338         * elf/tst-tlsmod2.c: Likewise.
32339         * elf/tst-tlsmod3.c: Likewise.
32340         * elf/tst-tlsmod4.c: Likewise.
32341         * elf/tst-tlsmod5.c: Likewise.
32342         * elf/tst-tlsmod6.c: Likewise.
32344 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
32346         [BZ #12486]
32347         * malloc/malloc.c: remove checks for statistics.
32349 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
32351         [BZ #15277]
32352         * inet/inet_net.c (inet_network): Detect additional invalid strings.
32353         * inet/tst-network.c: Add testcase.
32355 2013-10-17  Andreas Schwab  <schwab@suse.de>
32357         [BZ #15218]
32358         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
32359         to determine canonical name.
32361 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
32363         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
32364         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
32365         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32366         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32367         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32368         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32369         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32370         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32371         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32372         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32373         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32374         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32375         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32376         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32377         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32378         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32379         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32380         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32381         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32382         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32383         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32384         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32385         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32386         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
32387         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
32388         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32389         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32390         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
32391         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32392         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
32393         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32394         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32395         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32396         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32397         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32398         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32399         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32400         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32401         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32402         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32403         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32404         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32405         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32406         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32407         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32408         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32409         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32410         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32411         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32412         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32413         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32414         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32415         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32416         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32417         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32418         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32419         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32420         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32422 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
32424         [BZ #16041]
32425         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
32426         make result into a quiet NaN.
32428 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
32430         * soft-fp/adddf3.c: Fix horizontal whitespace.
32431         * soft-fp/addsf3.c: Likewise.
32432         * soft-fp/addtf3.c: Likewise.
32433         * soft-fp/divdf3.c: Likewise.
32434         * soft-fp/divsf3.c: Likewise.
32435         * soft-fp/divtf3.c: Likewise.
32436         * soft-fp/double.h: Likewise.
32437         * soft-fp/eqdf2.c: Likewise.
32438         * soft-fp/eqsf2.c: Likewise.
32439         * soft-fp/eqtf2.c: Likewise.
32440         * soft-fp/extenddftf2.c: Likewise.
32441         * soft-fp/extended.h: Likewise.
32442         * soft-fp/extendsfdf2.c: Likewise.
32443         * soft-fp/extendsftf2.c: Likewise.
32444         * soft-fp/extendxftf2.c: Likewise.
32445         * soft-fp/fixdfdi.c: Likewise.
32446         * soft-fp/fixdfsi.c: Likewise.
32447         * soft-fp/fixdfti.c: Likewise.
32448         * soft-fp/fixsfdi.c: Likewise.
32449         * soft-fp/fixsfsi.c: Likewise.
32450         * soft-fp/fixsfti.c: Likewise.
32451         * soft-fp/fixtfdi.c: Likewise.
32452         * soft-fp/fixtfsi.c: Likewise.
32453         * soft-fp/fixtfti.c: Likewise.
32454         * soft-fp/fixunsdfdi.c: Likewise.
32455         * soft-fp/fixunsdfsi.c: Likewise.
32456         * soft-fp/fixunsdfti.c: Likewise.
32457         * soft-fp/fixunssfdi.c: Likewise.
32458         * soft-fp/fixunssfsi.c: Likewise.
32459         * soft-fp/fixunssfti.c: Likewise.
32460         * soft-fp/fixunstfdi.c: Likewise.
32461         * soft-fp/fixunstfsi.c: Likewise.
32462         * soft-fp/fixunstfti.c: Likewise.
32463         * soft-fp/floatdidf.c: Likewise.
32464         * soft-fp/floatdisf.c: Likewise.
32465         * soft-fp/floatditf.c: Likewise.
32466         * soft-fp/floatsidf.c: Likewise.
32467         * soft-fp/floatsisf.c: Likewise.
32468         * soft-fp/floatsitf.c: Likewise.
32469         * soft-fp/floattidf.c: Likewise.
32470         * soft-fp/floattisf.c: Likewise.
32471         * soft-fp/floattitf.c: Likewise.
32472         * soft-fp/floatundidf.c: Likewise.
32473         * soft-fp/floatundisf.c: Likewise.
32474         * soft-fp/floatunditf.c: Likewise.
32475         * soft-fp/floatunsidf.c: Likewise.
32476         * soft-fp/floatunsisf.c: Likewise.
32477         * soft-fp/floatunsitf.c: Likewise.
32478         * soft-fp/floatuntidf.c: Likewise.
32479         * soft-fp/floatuntisf.c: Likewise.
32480         * soft-fp/floatuntitf.c: Likewise.
32481         * soft-fp/fmadf4.c: Likewise.
32482         * soft-fp/fmasf4.c: Likewise.
32483         * soft-fp/fmatf4.c: Likewise.
32484         * soft-fp/gedf2.c: Likewise.
32485         * soft-fp/gesf2.c: Likewise.
32486         * soft-fp/getf2.c: Likewise.
32487         * soft-fp/ledf2.c: Likewise.
32488         * soft-fp/lesf2.c: Likewise.
32489         * soft-fp/letf2.c: Likewise.
32490         * soft-fp/muldf3.c: Likewise.
32491         * soft-fp/mulsf3.c: Likewise.
32492         * soft-fp/multf3.c: Likewise.
32493         * soft-fp/negdf2.c: Likewise.
32494         * soft-fp/negsf2.c: Likewise.
32495         * soft-fp/negtf2.c: Likewise.
32496         * soft-fp/op-1.h: Likewise.
32497         * soft-fp/op-2.h: Likewise.
32498         * soft-fp/op-4.h: Likewise.
32499         * soft-fp/op-8.h: Likewise.
32500         * soft-fp/op-common.h: Likewise.
32501         * soft-fp/quad.h: Likewise.
32502         * soft-fp/single.h: Likewise.
32503         * soft-fp/soft-fp.h: Likewise.
32504         * soft-fp/sqrtdf2.c: Likewise.
32505         * soft-fp/sqrtsf2.c: Likewise.
32506         * soft-fp/sqrttf2.c: Likewise.
32507         * soft-fp/subdf3.c: Likewise.
32508         * soft-fp/subsf3.c: Likewise.
32509         * soft-fp/subtf3.c: Likewise.
32510         * soft-fp/truncdfsf2.c: Likewise.
32511         * soft-fp/trunctfdf2.c: Likewise.
32512         * soft-fp/trunctfsf2.c: Likewise.
32513         * soft-fp/trunctfxf2.c: Likewise.
32514         * soft-fp/unorddf2.c: Likewise.
32515         * soft-fp/unordsf2.c: Likewise.
32516         * soft-fp/unordtf2.c: Likewise.
32518 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
32520         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32521         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32523 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
32525         * elf/dl-libc.c: Clear initfini list after freeing.
32527 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
32529         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32530         * soft-fp/addsf3.c: Likewise.
32531         * soft-fp/addtf3.c: Likewise.
32532         * soft-fp/divdf3.c: Likewise.
32533         * soft-fp/divsf3.c: Likewise.
32534         * soft-fp/divtf3.c: Likewise.
32535         * soft-fp/double.h: Likewise.
32536         * soft-fp/eqdf2.c: Likewise.
32537         * soft-fp/eqsf2.c: Likewise.
32538         * soft-fp/eqtf2.c: Likewise.
32539         * soft-fp/extenddftf2.c: Likewise.
32540         * soft-fp/extended.h: Likewise.
32541         * soft-fp/extendsfdf2.c: Likewise.
32542         * soft-fp/extendsftf2.c: Likewise.
32543         * soft-fp/extendxftf2.c: Likewise.
32544         * soft-fp/fixdfdi.c: Likewise.
32545         * soft-fp/fixdfsi.c: Likewise.
32546         * soft-fp/fixdfti.c: Likewise.
32547         * soft-fp/fixsfdi.c: Likewise.
32548         * soft-fp/fixsfsi.c: Likewise.
32549         * soft-fp/fixsfti.c: Likewise.
32550         * soft-fp/fixtfdi.c: Likewise.
32551         * soft-fp/fixtfsi.c: Likewise.
32552         * soft-fp/fixtfti.c: Likewise.
32553         * soft-fp/fixunsdfdi.c: Likewise.
32554         * soft-fp/fixunsdfsi.c: Likewise.
32555         * soft-fp/fixunsdfti.c: Likewise.
32556         * soft-fp/fixunssfdi.c: Likewise.
32557         * soft-fp/fixunssfsi.c: Likewise.
32558         * soft-fp/fixunssfti.c: Likewise.
32559         * soft-fp/fixunstfdi.c: Likewise.
32560         * soft-fp/fixunstfsi.c: Likewise.
32561         * soft-fp/fixunstfti.c: Likewise.
32562         * soft-fp/floatdidf.c: Likewise.
32563         * soft-fp/floatdisf.c: Likewise.
32564         * soft-fp/floatditf.c: Likewise.
32565         * soft-fp/floatsidf.c: Likewise.
32566         * soft-fp/floatsisf.c: Likewise.
32567         * soft-fp/floatsitf.c: Likewise.
32568         * soft-fp/floattidf.c: Likewise.
32569         * soft-fp/floattisf.c: Likewise.
32570         * soft-fp/floattitf.c: Likewise.
32571         * soft-fp/floatundidf.c: Likewise.
32572         * soft-fp/floatundisf.c: Likewise.
32573         * soft-fp/floatunsidf.c: Likewise.
32574         * soft-fp/floatunsisf.c: Likewise.
32575         * soft-fp/floatuntidf.c: Likewise.
32576         * soft-fp/floatuntisf.c: Likewise.
32577         * soft-fp/floatuntitf.c: Likewise.
32578         * soft-fp/fmadf4.c: Likewise.
32579         * soft-fp/fmasf4.c: Likewise.
32580         * soft-fp/fmatf4.c: Likewise.
32581         * soft-fp/gedf2.c: Likewise.
32582         * soft-fp/gesf2.c: Likewise.
32583         * soft-fp/getf2.c: Likewise.
32584         * soft-fp/ledf2.c: Likewise.
32585         * soft-fp/lesf2.c: Likewise.
32586         * soft-fp/letf2.c: Likewise.
32587         * soft-fp/muldf3.c: Likewise.
32588         * soft-fp/mulsf3.c: Likewise.
32589         * soft-fp/multf3.c: Likewise.
32590         * soft-fp/negdf2.c: Likewise.
32591         * soft-fp/negsf2.c: Likewise.
32592         * soft-fp/negtf2.c: Likewise.
32593         * soft-fp/op-1.h: Likewise.
32594         * soft-fp/op-2.h: Likewise.
32595         * soft-fp/op-4.h: Likewise.
32596         * soft-fp/op-8.h: Likewise.
32597         * soft-fp/op-common.h: Likewise.
32598         * soft-fp/quad.h: Likewise.
32599         * soft-fp/single.h: Likewise.
32600         * soft-fp/soft-fp.h: Likewise.
32601         * soft-fp/sqrtdf2.c: Likewise.
32602         * soft-fp/sqrtsf2.c: Likewise.
32603         * soft-fp/sqrttf2.c: Likewise.
32604         * soft-fp/subdf3.c: Likewise.
32605         * soft-fp/subsf3.c: Likewise.
32606         * soft-fp/subtf3.c: Likewise.
32607         * soft-fp/truncdfsf2.c: Likewise.
32608         * soft-fp/trunctfdf2.c: Likewise.
32609         * soft-fp/trunctfsf2.c: Likewise.
32610         * soft-fp/trunctfxf2.c: Likewise.
32611         * soft-fp/unorddf2.c: Likewise.
32612         * soft-fp/unordsf2.c: Likewise.
32613         * soft-fp/unordtf2.c: Likewise.
32615 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
32617         [BZ #15672]
32618         * misc/error.c (error_tail): Fix possible buffer overflow.
32620 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
32622         [BZ #13028]
32623         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32624         address.
32626 2013-10-14  P. J. McDermott  <pj@pehjota.net>
32628         [BZ #832]
32629         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
32630         testing pipefail option.
32632 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32634         * soft-fp/double.h: Indent preprocessor directives inside #if.
32635         * soft-fp/extended.h: Likewise.
32636         * soft-fp/op-2.h: Likewise.
32637         * soft-fp/op-4.h: Likewise.
32638         * soft-fp/op-common.h: Likewise.
32639         * soft-fp/quad.h: Likewise.
32640         * soft-fp/single.h: Likewise.
32641         * soft-fp/soft-fp.h: Likewise.
32643 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
32645         * iconv/iconv_prog.c: Fix typos.
32646         * stdio-common/psiginfo-data.h: Likewise.
32648 2013-10-12   Reuben Thomas <rrt@sc3d.org>
32650         [BZ #15764]
32651         * locale/setlocale.c: Fix typo.
32653 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
32655         [BZ #16036]
32656         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32657         signaling NaN arguments.
32658         * soft-fp/unordsf2.c (__unordsf2): Likewise.
32659         * soft-fp/unordtf2.c (__unordtf2): Likewise.
32661         [BZ #14910]
32662         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32663         unordered operands.
32664         * soft-fp/gesf2.c (__gesf2): Likewise.
32665         * soft-fp/getf2.c (__getf2): Likewise.
32666         * soft-fp/ledf2.c (__ledf2): Likewise.
32667         * soft-fp/lesf2.c (__lesf2): Likewise.
32668         * soft-fp/letf2.c (__letf2): Likewise.
32670         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32671         * soft-fp/eqsf2.c (__eqsf2): Likewise.
32672         * soft-fp/eqtf2.c (__eqtf2): Likewise.
32673         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32674         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32675         * soft-fp/fixdfti.c (__fixdfti): Likewise.
32676         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32677         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32678         * soft-fp/fixsfti.c (__fixsfti): Likewise.
32679         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32680         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32681         * soft-fp/fixtfti.c (__fixtfti): Likewise.
32682         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32683         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32684         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32685         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32686         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32687         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32688         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32689         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32690         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32691         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32692         * soft-fp/floatdisf.c (__floatdisf): Likewise.
32693         * soft-fp/floatsisf.c (__floatsisf): Likewise.
32694         * soft-fp/floattidf.c (__floattidf): Likewise.
32695         * soft-fp/floattisf.c (__floattisf): Likewise.
32696         * soft-fp/floattitf.c (__floattitf): Likewise.
32697         * soft-fp/floatundidf.c (__floatundidf): Likewise.
32698         * soft-fp/floatundisf.c (__floatundisf): Likewise.
32699         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32700         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32701         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32702         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32703         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32704         * soft-fp/gesf2.c (__gesf2): Likewise.
32705         * soft-fp/getf2.c (__getf2): Likewise.
32706         * soft-fp/ledf2.c (__ledf2): Likewise.
32707         * soft-fp/lesf2.c (__lesf2): Likewise.
32708         * soft-fp/letf2.c (__letf2): Likewise.
32710         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32711         Undefine and redefine.
32712         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32713         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32714         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32715         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32716         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32717         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32718         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32719         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32720         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32721         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32722         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32723         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32724         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32725         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32726         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32728         [BZ #16032]
32729         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32730         without decrementing exponent if mantissa >= that for the
32731         denominator, not >.
32732         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32733         denominator, not >.  Decrement exponent in < case instead of
32734         incrementing in >= case.
32735         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32736         without decrementing exponent if mantissa >= that for the
32737         denominator, not >.
32739         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32740         computing saturated result for unsigned overflow.
32742 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32743             Jeff Law  <law@redhat.com>
32745         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32746         (atan2Mp): Add systemtap probe marker.
32747         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32748         (__ieee754_log): Add systemtap probe marker.
32749         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32750         (atanMp): Add systemtap probe marker.
32751         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32752         (tanMp): Add systemtap probe marker.
32753         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32754         (__slowexp): Add systemtap probe marker.
32755         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32756         (__slowpow): Add systemtap probe marker.
32757         * manual/probes.texi: Document probes.
32759 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
32761         [BZ #15362]
32762         * libio/fileops.c (_IO_new_file_write): Return count of bytes
32763         written.
32764         (_IO_new_file_xsputn): Don't return EOF if nothing has been
32765         written.
32766         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32767         written to buffer but not flushed.
32768         * libio/iofwrite_u.c:  Likewise.
32769         * libio/iopadn.c:  Return bytes returned even if EOF was
32770         encountered.
32771         * libio/iowpadn.c:  Likewise.
32772         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32773         if _IO_padn does not write the whole buffer.
32774         [!COMPILE_WPRINTF] (PAD): Likewise.
32776 2013-10-10  David S. Miller  <davem@davemloft.net>
32778         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32779         directory block.
32781 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
32783         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
32784         instead of FSF address.
32785         * soft-fp/fixdfti.c: Likewise.
32786         * soft-fp/fixsfti.c: Likewise.
32787         * soft-fp/fixtfti.c: Likewise.
32788         * soft-fp/fixunsdfti.c: Likewise.
32789         * soft-fp/fixunssfti.c: Likewise.
32790         * soft-fp/fixunstfti.c: Likewise.
32791         * soft-fp/floattidf.c: Likewise.
32792         * soft-fp/floattisf.c: Likewise.
32793         * soft-fp/floattitf.c: Likewise.
32794         * soft-fp/floatuntidf.c: Likewise.
32795         * soft-fp/floatuntisf.c: Likewise.
32796         * soft-fp/floatuntitf.c: Likewise.
32797         * soft-fp/trunctfxf2.c: Likewise.
32799         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
32800         * soft-fp/fixdfti.c: Likewise.
32801         * soft-fp/fixsfti.c: Likewise.
32802         * soft-fp/fixtfti.c: Likewise.
32803         * soft-fp/fixunsdfti.c: Likewise.
32804         * soft-fp/fixunssfti.c: Likewise.
32805         * soft-fp/fixunstfti.c: Likewise.
32806         * soft-fp/floattidf.c: Likewise.
32807         * soft-fp/floattisf.c: Likewise.
32808         * soft-fp/floattitf.c: Likewise.
32809         * soft-fp/floatuntidf.c: Likewise.
32810         * soft-fp/floatuntisf.c: Likewise.
32811         * soft-fp/floatuntitf.c: Likewise.
32812         * soft-fp/trunctfxf2.c: Likewise.
32814 2013-10-10  David S. Miller  <davem@davemloft.net>
32816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32818 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
32820         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32821         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32822         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32823         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32824         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32825         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32826         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32828         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32829         for NaNs before doing comparisons on argument.
32830         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32831         Likewise.
32833 2013-10-10  Will Newton  <will.newton@linaro.org>
32835         * malloc/hooks.c (memalign_check): Ensure the value of bytes
32836         passed to _int_memalign does not overflow.
32838 2013-10-10  Torvald Riegel  <triegel@redhat.com>
32840         * scripts/bench.pl: Add include-sources directive.
32841         * benchtests/README: Update documentation.
32843 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
32845         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32846         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32847         instead of FP_INIT_ROUNDMODE.
32848         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32849         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32851         [BZ #16034]
32852         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
32853         copy class of input value.
32854         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
32855         not handle exceptions.
32856         * soft-fp/negsf2.c (__negsf2): Likewise.
32857         * soft-fp/negtf2.c (__negtf2): Likewise.
32858         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
32860 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
32862         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
32863         semicolon.  From Linux kernel.
32865 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
32867         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
32869 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
32871         [BZ #156]
32872         * manual/socket.texi: Added statement about buffer
32873         for gethostbyname2_r.
32875 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
32877         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
32878         Use .p2align directive instead, throughout.
32879         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32880         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32881         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
32882         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32883         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32884         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32885         * sysdeps/x86_64/strchr.S: Likewise.
32886         * sysdeps/x86_64/strrchr.S: Likewise.
32888 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32890         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
32892         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
32894         * sysdeps/generic/math_private.h (__mpsin1): Remove
32895         declaration.
32896         (__mpcos1): Likewise.
32897         (__mpsin): New argument __range_reduce.
32898         (__mpcos): Likewise.
32899         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32900         (slow): Use __mpsin and __mpcos.
32901         (slow1): Likewise.
32902         (slow2): Likewise.
32903         (sloww): Likewise.
32904         (sloww1): Likewise.
32905         (sloww2): Likewise.
32906         (bsloww): Likewise.
32907         (bsloww1): Likewise.
32908         (bsloww2): Likewise.
32909         (cslow2): Likewise.
32910         (csloww): Likewise.
32911         (csloww1): Likewise.
32912         (csloww2): Likewise.
32913         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
32914         range_reduce.  Merge in __mpsin1.
32915         (__mpcos): Likewise.
32916         (__mpsin1): Remove.
32917         (__mpcos1): Likewise.
32919 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
32921         * locale/loadlocale.c (_nl_intern_locale_data): Use
32922         LOCFILE_ALIGNED_P.
32923         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
32924         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
32925         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
32926         obstack data is appropriately aligned.
32927         (obstack_int32_grow_fast): Likewise.
32928         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
32929         * locale/programs/locfile.c (add_locale_uint32): Likewise.
32930         (add_locale_uint32_array): Likewise.
32932 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32934         * benchtests/Makefile: Remove ARGLIST and RET variables.
32935         ($(objpfx)bench-%.c): Pass only function name to the script.
32936         * benchtests/README: Update documentation.
32937         * benchtests/acos-inputs: Add new directives.
32938         * benchtests/acosh-inputs: Likewise.
32939         * benchtests/asin-inputs: Likewise.
32940         * benchtests/asinh-inputs: Likewise.
32941         * benchtests/atan-inputs: Likewise.
32942         * benchtests/atanh-inputs: Likewise.
32943         * benchtests/cos-inputs: Likewise.
32944         * benchtests/cosh-inputs: Likewise.
32945         * benchtests/exp-inputs: Likewise.
32946         * benchtests/log-inputs: Likewise.
32947         * benchtests/pow-inputs: Likewise.
32948         * benchtests/rint-inputs: Likewise.
32949         * benchtests/sin-inputs: Likewise.
32950         * benchtests/sinh-inputs: Likewise.
32951         * benchtests/tan-inputs: Likewise.
32952         * benchtests/tanh-inputs: Likewise.
32953         * scripts/bench.pl: Add support for new directives.
32955 2013-10-07  Alan Modra  <amodra@gmail.com>
32957         * README: Fix careless merge.
32959 2013-10-05  Alan Modra  <amodra@gmail.com>
32961         * NEWS: Mention powerpc64le support and bugs fixed.
32962         * README: Both big-endian and little-endian powerpc64 supported.
32964 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32966         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
32967         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
32968         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
32969         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
32971 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
32973         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
32974         match prototype.
32976 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
32978         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
32979         Move -mhard-float appending from
32980         ports/sysdeps/powerpc/powerpc32/Makefile.
32981         [$(with-fp) = yes] (ASFLAGS): Likewise.
32982         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
32983         * sysdeps/powerpc/nofpu: Move directory from
32984         ports/sysdeps/powerpc/nofpu.
32985         * sysdeps/powerpc/soft-fp: Move directory from
32986         ports/sysdeps/powerpc/soft-fp.
32987         * sysdeps/powerpc/powerpc32/405: Move directory from
32988         ports/sysdeps/powerpc/powerpc32/405.
32989         * sysdeps/powerpc/powerpc32/440: Move directory from
32990         ports/sysdeps/powerpc/powerpc32/440.
32991         * sysdeps/powerpc/powerpc32/464: Move directory from
32992         ports/sysdeps/powerpc/powerpc32/464.
32993         * sysdeps/powerpc/powerpc32/476: Move directory from
32994         ports/sysdeps/powerpc/powerpc32/476.
32995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
32996         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
32997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
32998         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
32999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
33000         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
33001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
33002         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
33003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
33004         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
33005         * README: Update for powerpc-*-linux-gnu software floating point
33006         support in libc.
33008         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
33009         case to powerpc/powerpc32*.
33010         * sysdeps/unix/sysv/linux/configure: Regenerated.
33012         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
33013         (_FPU_MASK_OM): Define as 0x04.
33014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
33015         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
33016         0x00c10080.
33017         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
33018         0x0000003c.
33019         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
33021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
33022         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
33023         getcontext_e500.
33024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
33025         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
33026         setcontext_e500.
33027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
33028         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
33029         and setcontext_e500.
33031 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
33033         * locale/iso-3166.def: Update iso-1366.def and related occurrences
33035 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33037         * manual/threads.texi (Default Thread Attributes): Fix typo.
33039 2013-10-04  Will Newton  <will.newton@linaro.org>
33041         * malloc/Makefile: Add tst-memalign.
33042         * malloc/tst-memalign.c: New file.
33044         * malloc/tst-posix_memalign.c: Add comments.
33045         (do_test): Add comments and call free on all potentially
33046         allocated pointers. Add space after cast.
33048         * malloc/tst-pvalloc.c: Add comments.
33049         (do_test): Add comments and call free on all potentially
33050         allocated pointers. Remove duplicate check for NULL pointer.
33051         Add space after cast.
33053         * malloc/tst-valloc.c: Add comments.
33054         (do_test): Add comments and call free on all potentially
33055         allocated pointers. Remove duplicate check for NULL pointer.
33056         Add space after cast.
33058 2013-10-04  Alan Modra  <amodra@gmail.com>
33060         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33061         Use stdint types in rather than __attribute__((mode())).
33062         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33064 2013-10-04  Alan Modra  <amodra@gmail.com>
33066         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33067         Correct handling of unaligned relocs for little-endian.
33068         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33070 2013-10-04  Alan Modra  <amodra@gmail.com>
33072         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
33073         * configure: Regenerate.
33074         * nptl/shlib-versions: Powerpc*le starts at 2.18.
33075         * shlib-versions: Likewise.
33077 2013-10-04  Alan Modra  <amodra@gmail.com>
33079         * string/tester.c (test_memrchr): Increment reported test cycle.
33081 2013-10-04  Alan Modra  <amodra@gmail.com>
33083         * string/test-memcpy.c (do_one_test): When reporting errors, print
33084         string address and don't overrun end of string.
33086 2013-10-04  Alan Modra  <amodra@gmail.com>
33088         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
33089         insrdi.  Make better use of reg selection to speed exit slightly.
33090         Schedule entry path a little better.  Remove useless "are we done"
33091         checks on entry to main loop.  Handle wrapping around zero address.
33092         Correct main loop count.  Handle single left-over word from main
33093         loop inline rather than by using loop_small.  Remove extra word
33094         case in loop_small caused by wrong loop count.  Add little-endian
33095         support.
33096         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33097         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
33098         cache hint.
33099         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33100         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
33101         support.  Avoid rlwimi.
33102         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
33104 2013-10-04  Alan Modra  <amodra@gmail.com>
33106         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
33107         insrdi.  Formatting.
33108         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
33109         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33110         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33111         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33112         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33113         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
33115 2013-10-04  Alan Modra  <amodra@gmail.com>
33117         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
33118         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33119         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
33120         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
33121         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33122         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33123         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33124         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33125         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
33126         use of regs.  Use power7 mtocrf.  Tidy function tails.
33128 2013-10-04  Alan Modra  <amodra@gmail.com>
33130         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
33131         Formatting.  Consistently use rXXX register defines or rN defines.
33132         Use early exit labels that avoid restoring unused non-volatile regs.
33133         Make cr field use more consistent with rWORDn compares.  Rename
33134         regs used as shift registers for unaligned loop, using rN defines
33135         for short lifetime/multiple use regs.
33136         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33137         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
33138         addi 1,1,64 to pop stack frame.  Simplify return value code.
33139         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33141 2013-10-04  Alan Modra  <amodra@gmail.com>
33143         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
33144         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
33145         rather than rlwimi.
33146         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
33147         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
33148         little-endian support.  Correct typos.
33149         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
33150         rather than rlwimi.
33151         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
33152         in loop and entry code to keep "and." results.
33153         (strchr): Add little-endian support.  Comment.  Move cntlzd
33154         earlier in tail.
33155         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
33157 2013-10-04  Alan Modra  <amodra@gmail.com>
33159         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
33160         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
33161         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33162         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
33164 2013-10-04  Alan Modra  <amodra@gmail.com>
33166         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
33167         (rTMP): Define as r11.
33168         (strcmp): Add little-endian support.  Optimise tail.
33169         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
33170         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33171         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33172         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33173         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33174         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33175         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33177 2013-10-04  Alan Modra  <amodra@gmail.com>
33179         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
33180         little-endian support.  Remove unnecessary "are we done" tests.
33181         Handle "s" wrapping around zero and extremely large "size".
33182         Correct main loop count.  Handle single left-over word from main
33183         loop inline rather than by using small_loop.  Correct comments.
33184         Delete "zero" tail, use "end_max" instead.
33185         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
33187 2013-10-04  Alan Modra  <amodra@gmail.com>
33189         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
33190         support.  Don't branch over align.
33191         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
33192         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
33193         support.  Rearrange tmp reg use to suit.  Comment.
33194         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
33196 2013-10-04  Alan Modra  <amodra@gmail.com>
33198         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
33200 2013-10-04  Alan Modra  <amodra@gmail.com>
33202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
33203         conditional form of branch and link when obtaining pc.
33204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33206 2013-10-04  Alan Modra  <amodra@gmail.com>
33208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
33209         HIWORD/LOWORD.
33210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
33211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
33213 2013-10-04  Alan Modra  <amodra@gmail.com>
33215         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
33216         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
33217         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
33218         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
33219         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33220         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33221         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
33222         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33223         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
33224         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
33226 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33227             Alistair Popple <alistair@ozlabs.au.ibm.com>
33228             Alan Modra <amodra@gmail.com>
33230         [BZ #15723]
33231         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
33232         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
33233         _dl_hwcap access for little-endian.
33234         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
33235         destroy vmx regs when saving unaligned.
33236         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
33237         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
33238         destroy vmx regs when saving unaligned.
33240 2013-10-04  Alan Modra  <amodra@gmail.com>
33242         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
33243         Don't use a union to pack hi/low value.
33245 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33247         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
33248         for little-endian.
33249         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33250         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
33251         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33252         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33253         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33255 2013-10-04  Alan Modra  <amodra@gmail.com>
33257         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
33258         constants to usual value for .cst8 section, and remove redundant
33259         high address load.
33260         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
33261         constant for 0x1p52.  Load little-endian words of double from
33262         correct stack offsets.
33264 2013-10-04  Alan Modra  <amodra@gmail.com>
33266         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
33267         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
33268         words of double from correct stack offsets.
33269         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33270         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
33271         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33272         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33273         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33274         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33275         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33276         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33277         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33278         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33279         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33280         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33281         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33282         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33283         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33284         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
33285         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33287 2013-10-04  Alan Modra  <amodra@gmail.com>
33289         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
33290         64-bit int/double union.
33291         (_FPU_SETCW): Likewise.
33292         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
33293         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
33295 2013-10-04  Alan Modra  <amodra@gmail.com>
33297         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
33298         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
33300 2013-10-04  Alan Modra  <amodra@gmail.com>
33302         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
33303         use vector int constants.
33304         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
33306 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33308         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
33309         array with long long.
33310         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
33311         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
33312         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
33313         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
33314         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
33315         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
33316         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
33317         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
33318         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
33319         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
33320         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
33321         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
33322         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
33324 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
33326         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
33327         (__signbit): Likewise.  Correct for little-endian.
33328         (__signbitl): Call __signbit.
33329         (lrint): Correct for little-endian.
33330         (lrintf): Call lrint.
33332 2013-10-04  Alan Modra  <amodra@gmail.com>
33334         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
33335         union 32-bit int array member with 64-bit int array.
33336         (t515, tm256): Double rather than long double.
33337         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
33339 2013-10-04  Alan Modra  <amodra@gmail.com>
33341         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
33342         Delete.
33343         (IEEE854_LONG_DOUBLE_BIAS): Delete.
33344         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
33345         version of math_ldbl.h.
33347 2013-10-04  Alan Modra  <amodra@gmail.com>
33349         [BZ #15734], [BZ #15735]
33350         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
33351         all uses of ieee875 long double macros and unions.  Simplify test
33352         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
33353         ldbl_extract_mantissa value for ix,iy exponents.  Properly
33354         normalize after ldbl_extract_mantissa, and don't add hidden bit
33355         already handled.  Don't treat low word of ieee854 mantissa like
33356         low word of IBM long double and mask off bit when testing for
33357         zero.
33358         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
33359         all uses of ieee875 long double macros and unions.  Simplify tests
33360         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
33361         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
33362         two1022, instead use their values.  Recognise that tests for large
33363         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
33364         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
33365         Rewrite all uses of ieee875 long double macros and unions.  Simplify
33366         test for 0.0L and nan.  Correct negation.
33367         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
33368         ieee875 long double macros and unions.  Correct output for large
33369         magnitude x.  Correct absolute value calculation.
33370         (__erfcl): Likewise.
33371         * math/libm-test.inc: Add tests for errors discovered in IBM long
33372         double versions of fmodl, remainderl, erfl and erfcl.
33374 2013-10-04  Alan Modra  <amodra@gmail.com>
33376         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
33377         all uses of ieee854 long double macros and unions.  Simplify tests
33378         for long doubles that are fully specified by the high double.
33379         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33380         Likewise.
33381         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
33382         Remove dead code too.
33383         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33384         (__ieee754_ynl): Likewise.
33385         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33386         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
33387         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33388         Remove dead code too.
33389         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
33390         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
33391         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
33392         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
33393         Simplify.
33394         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
33395         Simplify.
33396         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
33397         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33398         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
33399         Comment on variable precision.
33400         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
33401         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33402         Likewise.
33403         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33404         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33405         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33406         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
33407         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
33409 2013-10-04  Alan Modra  <amodra@gmail.com>
33411         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
33412         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
33413         all uses of ieee854 long double macros and unions.
33414         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
33415         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33416         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
33417         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
33418         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33419         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33420         Likewise.
33421         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
33422         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33423         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
33424         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33425         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
33426         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
33427         Simplify sign and nan test too.
33428         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
33429         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33430         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
33431         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33432         Likewise.
33433         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33434         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
33435         Likewise.
33436         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33437         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
33438         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
33439         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
33440         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33441         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
33443 2013-10-04  Alan Modra  <amodra@gmail.com>
33445         * stdio-common/printf_size.c (__printf_size): Don't use
33446         union ieee854_long_double in fpnum union.
33447         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
33448         signbit macro to retrieve sign from long double.
33449         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
33450         retrieve sign from long double.
33451         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
33452         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
33453         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
33454         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33455         * math/test-misc.c (main): Don't use union ieee854_long_double.
33457 2013-10-04  Alan Modra  <amodra@gmail.com>
33459         [BZ #15680]
33460         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
33461         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
33462         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
33463         calculation.  Remove unnecessary test for denormal exponent.
33464         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
33465         Correct handling of denormals.  Avoid undefined shift behaviour.
33466         Correct normalisation of low mantissa when low double is denormal.
33467         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
33468         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
33469         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
33470         Correct normalisation of low mantissa.  Test for overflow of high
33471         mantissa and normalise.
33472         (ldbl_nearbyint): Use more readable constant for two52.
33473         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
33474         (__mpn_construct_long_double): Fix test for overflow of high
33475         mantissa and correct normalisation.  Avoid undefined shift.
33477 2013-10-04  Alan Modra  <amodra@gmail.com>
33479         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33480         (union ibm_extended_long_double): Define as an array of ieee754_double.
33481         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33482         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33483         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33484         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33485         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33486         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33487         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33488         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33489         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33490         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33491         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33493 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
33495         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33496         page size instead of calling getpagesize.
33498         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33499         (LOCFILE_ALIGN_MASK): Likewise.
33500         (LOCFILE_ALIGN_UP): Likewise.
33501         (LOCFILE_ALIGNED_P): Likewise.
33502         * locale/programs/ld-collate.c (collate_output): Use the new
33503         macros instead of __alignof__ (int32_t).
33504         * locale/weight.h (findidx): Likewise.
33506 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
33508         [BZ #431]
33509         * manual/string.texi: Fix strncat and wcsncat.
33511 2013-10-03  Brooks Moses  <bmoses@google.com>
33513         [BZ #15915]
33514         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33515         * Makerules: ...here, and adjust associated comments.
33517 2013-10-02  Will Newton  <will.newton@linaro.org>
33519         * malloc/Makefile: Add tst-pvalloc.
33520         * malloc/tst-pvalloc.c: New file.
33522 2013-10-02  Will Newton  <will.newton@linaro.org>
33524         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33525         improve test coverage.
33527 2013-10-02  Will Newton  <will.newton@linaro.org>
33529         * malloc/Makefile: Add tst-posix_memalign.
33530         * malloc/tst-posix_memalign.c: New file.
33532 2013-10-01  Eric Blake  <eblake@redhat.com>
33534         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33535         Use __THROWNL rather than __THROW on static functions.
33537 2013-09-30  Petr Machata  <pmachata@redhat.com>
33539         * elf/elf.h (R_AARCH64_ABS16): New macro.
33540         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33541         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33542         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33543         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33544         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33545         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33546         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33547         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33548         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33549         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33550         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33551         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33552         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33553         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33554         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33555         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33556         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33557         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33558         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33559         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33560         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33561         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33562         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33563         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33564         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33565         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33566         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33567         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33568         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33569         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33570         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33571         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33572         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33573         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33574         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33575         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33576         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33577         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33578         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33579         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33580         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33581         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33582         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33583         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33584         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33585         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33586         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33587         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33588         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33589         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33590         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33591         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33592         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33593         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33594         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33595         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33596         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33597         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33598         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33599         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33600         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33601         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33602         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33603         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33604         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33605         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33606         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33607         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33608         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33609         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33610         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33611         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33612         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33613         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33614         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33615         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33616         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33617         (R_AARCH64_TLSDESC_LDR): Likewise.
33618         (R_AARCH64_TLSDESC_ADD): Likewise.
33619         (R_AARCH64_TLSDESC_CALL): Likewise.
33621 2013-09-30  Andreas Schwab  <schwab@suse.de>
33623         [BZ #15048]
33624         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33625         the nss database lookup.
33626         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33629 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
33631         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33633 2013-09-28  P. J. McDermott  <pj@pehjota.net>
33635         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33636         ${Bash-specific parameter/pattern/string} parameter expansion.
33637         * sysdeps/unix/make-syscalls.sh: Likewise.
33639 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33641         * sysdeps/sh/stackguard-macros.h: New file.
33643 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
33645         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33646         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33647         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33648         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33649         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33650         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33652 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33654         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33655         Fix thread ID register.
33657 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
33659         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33660         [POSIX || UNIX98]: Require rather than permitting all symbols from
33661         <time.h>.
33662         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33663         element of struct sched_param.
33664         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33665         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33666         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33667         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33668         constant.
33670 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
33672         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33673         argument calculation.
33675 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
33677         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33678         Expect macro.
33679         [POSIX] (pthread_attr_t): Do not require type.
33680         [POSIX] (pthread_cond_t): Likewise.
33681         [POSIX] (pthread_condattr_t): Likewise.
33682         [POSIX] (pthread_key_t): Likewise.
33683         [POSIX] (pthread_mutex_t): Likewise.
33684         [POSIX] (pthread_mutexattr_t): Likewise.
33685         [POSIX] (pthread_once_t): Likewise.
33686         [POSIX] (pthread_t): Likewise.
33687         [POSIX-based standards] (pthread_atfork): Expect function.
33689 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
33690             Richard Sandiford  <richard@codesourcery.com>
33692         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33693         (swap_endianness_p): New extern variable.
33694         (set_big_endian): New inline function.
33695         (maybe_swap_uint32): Likewise.
33696         (maybe_swap_uint32_array): Likewise.
33697         (maybe_swap_uint32_obstack): Likewise.
33698         * locale/programs/locfile.c: Include <stdbool.h>.
33699         (swap_endianness_p): New variable.
33700         (add_locale_uint32): Call maybe_swap_uint32.
33701         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33702         (write_locale_data): Call maybe_swap_uint32_array.
33703         * locale/programs/ld-collate.c (obstack_int32_grow): Call
33704         maybe_swap_uint32.
33705         (obstack_int32_grow_fast): Likewise.
33706         (output_weightwc): Call maybe_swap_uint32_obstack.
33707         (collate_output): Likewise.
33708         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33709         (OPT_LITTLE_ENDIAN): Likewise.
33710         (options): Add --little-endian and --big-endian options.
33711         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33712         * locale/programs/locarchive.c: Include "locfile.h".
33713         (GET): New macro.
33714         (SET): Likewise.
33715         (INC): Likewise.
33716         (create_archive): Use the new macros to access fields of
33717         structures directly mapped from or written to locale archives.
33718         (oldlocrecentcmp): Likewise.
33719         (enlarge_archive): Likewise.
33720         (insert_name): Likewise.
33721         (add_alias): Likewise.
33722         (add_locale): Likewise.
33723         (delete_locales_from_archive): Likewise.
33724         (show_archive_content): Likewise.
33725         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
33726         locale data.
33728 2013-09-24  Roland McGrath  <roland@hack.frob.com>
33730         * manual/freemanuals.texi: Updated from (newly) canonical copy at
33731         http://www.gnu.org/doc/freemanuals.texi.
33732         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33734 2013-09-24  Will Newton  <will.newton@linaro.org>
33736         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33737         macro.
33739 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
33741         * locale/hashval.h (compute_hashval): Interpret bytes of key as
33742         unsigned char.
33744 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
33746         * manual/threads.texi (POSIX Threads): Fix a typo.
33748 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33750         [BZ #14547]
33751         * string/tst-strcoll-overflow.c: New test case.
33752         * string/Makefile (xtests): Add tst-strcoll-overflow.
33753         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33754         cache if string sizes may cause integer overflow.
33756         [BZ #14547]
33757         * string/strcoll_l.c (coll_seq): New members rule, idx,
33758         save_idx and back_us.
33759         (get_next_seq_nocache): New function.
33760         (do_compare_nocache): New function.
33761         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33762         when malloc fails.
33764 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
33766         [BZ #15754]
33767         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33768         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33769         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33771         [BZ #15754]
33772         * elf/Makefile (tests): Add tst-ptrguard1.
33773         (tests-static): Add tst-ptrguard1-static.
33774         (tst-ptrguard1-ARGS): Define.
33775         (tst-ptrguard1-static-ARGS): Define.
33776         * elf/tst-ptrguard1.c: New file.
33777         * elf/tst-ptrguard1-static.c: New file.
33778         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33779         * sysdeps/i386/stackguard-macros.h: Likewise.
33780         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33781         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33782         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33783         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33784         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33785         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33787 2013-09-23  Hector Marco  <hecmargi@upv.es>
33788             Ismael Ripoll  <iripoll@disca.upv.es>
33789             Carlos O'Donell  <carlos@redhat.com>
33791         [BZ #15754]
33792         * sysdeps/generic/stackguard-macros.h: Define
33793         __pointer_chk_guard_local and POINTER_CHK_GUARD.
33794         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33795         Define __pointer_chk_guard_local.
33796         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33797         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33799 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
33801         [BZ #15859]
33802         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33804 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
33806         * include/string.h (__ffs): Declare as hidden.
33807         * string/ffs.c (__ffs): Define as hidden.
33808         * sysdeps/i386/ffs.c (__ffs): Likewise.
33809         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33810         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33811         * sysdeps/s390/ffs.c (__ffs): Likewise.
33812         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33814 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
33816         * NEWS: Mention malloc probes.
33818         * malloc/arena.c (new_heap): New memory_heap_new probe.
33819         (grow_heap): New memory_heap_more probe.
33820         (shrink_heap): New memory_heap_less probe.
33821         (heap_trim): New memory_heap_free probe.
33822         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33823         (systrim): New memory_sbrk_less probe.
33824         * manual/probes.texi: Document them.
33826         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33827         * manual/probes.texi: Document it.
33829         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33830         (__libc_realloc): Add memory_realloc_retry probe.
33831         (__libc_memalign): Add memory_memalign_retry probe.
33832         (__libc_valloc): Add memory_valloc_retry probe.
33833         (__libc_pvalloc): Add memory_pvalloc_retry probe.
33834         (__libc_calloc): Add memory_calloc_retry probe.
33835         * manual/probes.texi: Document them.
33837         * malloc/arena.c (get_free_list): Add probe
33838         memory_arena_reuse_free_list.
33839         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33840         and memory_arena_reuse.
33841         (arena_get2) [!PER_THREAD]: Likewise.
33842         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33843         memory_arena_reuse_realloc.
33844         * manual/probes.texi: Document them.
33846         * malloc/malloc.c (__libc_free): Add
33847         memory_mallopt_free_dyn_thresholds probe.
33848         (__libc_mallopt): Add multiple memory_mallopt probes.
33849         * manual/probes.texi: Document them.
33851         * malloc/malloc.c: Include stap-probe.h.
33852         (__libc_mallopt): Add memory_mallopt probe.
33853         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
33854         * manual/probes.texi: New.
33855         * manual/Makefile (chapters): Add probes.
33856         * manual/threads.texi: Set next node.
33858 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
33860         [BZ #15963, #13985]
33861         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
33862         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
33863         Add `Chinese' to `nan' entry name.
33865 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33867         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
33868         (POLYNOMIAL): Likewise.
33869         (TAYLOR_SINCOS): Likewise.
33870         (TAYLOR_SLOW): Likewise.
33871         (__sin): Use TAYLOR_SINCOS.
33872         (__cos): Likewise.
33873         (slow): Use TAYLOR_SLOW.
33874         (sloww): Likewise.
33875         (bsloww): Likewise.
33876         (csloww): Likewise.
33878 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33880         * stdlib/strtod_l.c: Fix buffer overrun.
33882 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33884         * benchtests/Makefile (bench): Add sincos.
33885         * benchtests/bench-sincos.c: New file.
33887         * math/libm-test.inc (cos_test_data): New test inputs.
33888         (sin_test_data): Likewise.
33890         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
33891         macro.
33892         (__sin): Use it.
33893         (__cos): Likewise.
33894         (slow1): Likewise.
33895         (slow2): Likewise.
33896         (sloww1): Likewise.
33897         (sloww2): Likewise.
33898         (bsloww1): Likewise.
33899         (bsloww2): Likewise.
33900         (cslow2): Likewise.
33901         (csloww1): Likewise.
33902         (csloww2): Likewise.
33904         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
33905         function.
33906         (__sin): Use it.
33907         (__cos): Likewise.
33909         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
33910         gotos.
33911         (__cos): Likewise.
33913 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
33915         * config.h.in (HAVE_MIPS_NAN2008): New macro.
33916         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
33917         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
33918         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
33919         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
33920         * elf/cache.c (print_entry): Handle the new cache flags.
33922 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
33923             Aldy Hernandez  <aldyh@redhat.com>
33925         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
33926         Change condition to [_SOFT_FLOAT].
33927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
33928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
33929         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
33930         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
33931         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
33932         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
33933         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
33934         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
33935         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
33936         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
33937         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
33938         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
33939         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
33940         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
33941         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
33942         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
33943         declaration.
33945 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
33947         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
33948         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33949         (__longjmp): Use LOAD_GP to load saved GPRs.
33950         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
33951         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
33952         (__sigsetjmp): Use SAVE_GP to save GPRs.
33954         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
33955         Do not append -msoft-float.
33956         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
33958 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33960         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
33962 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
33964         [BZ #15966]
33965         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
33966         (_FPU_GETCW): Use initial "__" on variable and field names but not
33967         on macro parameter name.
33968         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
33969         parentheses around reference to macro parameter.
33971 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
33973         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
33974         prototype.
33975         (ctype_startup): Use uint32_t in cast and sizeof for
33976         ctype->charnames.
33978 2013-09-11  Jia Liu  <proljc@gmail.com>
33980         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
33981         __daddr_t_defined.
33982         [__FreeBSD__]: Likewise.
33984 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
33986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
33987         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
33988         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
33989         (strchr): Remove __strchr_sse42 ifunc selection.
33990         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
33991         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
33993 2013-09-11  Will Newton  <will.newton@linaro.org>
33995         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
33996         parameter to RES. Remove hardcoded 1000 value.
33997         * benchtests/bench-skeleton.c (main): Pass RES parameter
33998         to TIMING_INIT and multiply result by 1000.
34000 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34004 2013-09-11  Andreas Schwab  <schwab@suse.de>
34006         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
34007         if not defined.
34008         (O_TMPFILE) [__USE_GNU]: Define.
34009         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
34010         Define.
34012 2013-09-11  Will Newton  <will.newton@linaro.org>
34014         [BZ #15857]
34015         * malloc/malloc.c (__libc_memalign): Check the value of bytes
34016         does not overflow.
34018 2013-09-11  Will Newton  <will.newton@linaro.org>
34020         [BZ #15856]
34021         * malloc/malloc.c (__libc_valloc): Check the value of bytes
34022         does not overflow.
34024 2013-09-11  Will Newton  <will.newton@linaro.org>
34026         [BZ #15855]
34027         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
34028         does not overflow.
34030 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
34032         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
34033         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34034         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34035         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34036         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34038 2013-09-10  Allan McRae  <allan@archlinux.org>
34040         [BZ #15748]
34041         * manual/arith.texi (Parsing of Floats): Clarify
34042         cross-reference.
34044         [BZ #15849]
34045         * manual/install.texi (Running make install): Mention
34046         --enable-pt-chown.
34047         * INSTALL: Regenerated.
34049 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
34051         * csu/init-first.c (_init): Remove the !SHARED condition around
34052         FPU control word initialization.
34053         * elf/dl-support.c (_dl_fpu_control): New variable.
34054         (_dl_aux_init) <AT_FPUCW>: Initialize it.
34055         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
34056         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
34057         * math/test-fpucw-static.c: New file.
34058         * math/test-fpucw-ieee.c: New file.
34059         * math/test-fpucw-ieee-static.c: New file.
34060         * math/Makefile (tests): Add `test-fpucw-ieee' and
34061         `$(tests-static)'.
34062         (tests-static): New variable.
34063         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
34064         dependency to...
34065         [($(build-shared),yes)]
34066         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34067         ... this.
34068         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
34069         New dependency.
34071 2013-09-09  Allan McRae  <allan@archlinux.org>
34073         [BZ #15939]
34074         * manual/string.texi (Collation Functions): Fix typo in
34075         strcoll example.
34076         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
34078         [BZ #15893]
34079         * stdlib/isomac.c (get_null_defines): Fix memory leak.
34081         [BZ #15892]
34082         * libio/memstream.c (open_memstream): Fix memory leak.
34083         * libio/wmemstream.c (open_wmemstream): Likewise.
34085         [BZ #15895]
34086         * nscd/netgroupcache.c: Fix nesting of ifdefs.
34088 2013-09-09  Will Newton  <will.newton@linaro.org>
34090         * malloc/Makefile: Add tst-realloc to tests.
34091         * malloc/tst-realloc.c: New file.
34093 2013-09-09  Allan McRae  <allan@archlinux.org>
34095         [BZ #15844]
34096         * COPYING: Update from GNU website to fix FSF address.
34097         * COPYING.LIB: Likewise.
34099 2013-09-06  David S. Miller  <davem@davemloft.net>
34101         * po/zh_TW.po: Update Chinese (traditional) translation from
34102         translation project.
34104 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
34105             Joseph Myers  <joseph@codesourcery.com>
34107         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
34108         "localeinfo.h".
34109         (obstack_chunk_alloc): New macro.
34110         (obstack_chunk_free): Likewise.
34111         (record_offset): New function.
34112         (init_locale_data): Likewise.
34113         (align_locale_data): Likewise.
34114         (add_locale_empty): Likewise.
34115         (add_locale_raw_data): Likewise.
34116         (add_locale_raw_obstack): Likewise.
34117         (add_locale_string): Likewise.
34118         (add_locale_wstring): Likewise.
34119         (add_locale_uint32): Likewise.
34120         (add_locale_uint32_array): Likewise.
34121         (add_locale_char): Likewise.
34122         (start_locale_structure): Likewise.
34123         (end_locale_structure): Likewise.
34124         (start_locale_prelude): Likewise.
34125         (end_locale_prelude): Likewise.
34126         (write_locale_data): Take locale_file structure rather than an
34127         iovec.
34128         * locale/programs/locfile.h: Include "obstack.h".
34129         (struct locale_file): Change to store locale file contents instead
34130         of header.
34131         (init_locale_data): New prototype.
34132         (align_locale_data): Likewise.
34133         (add_locale_empty): Likewise.
34134         (add_locale_raw_data): Likewise.
34135         (add_locale_raw_obstack): Likewise.
34136         (add_locale_string): Likewise.
34137         (add_locale_wstring): Likewise.
34138         (add_locale_uint32): Likewise.
34139         (add_locale_uint32_array): Likewise.
34140         (add_locale_char): Likewise.
34141         (start_locale_structure): Likewise.
34142         (end_locale_structure): Likewise.
34143         (start_locale_prelude): Likewise.
34144         (end_locale_prelude): Likewise.
34145         (write_locale_data): Update prototype.
34146         * locale/programs/3level.h (struct TABLE): Remove result field.
34147         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
34148         Use new locale_file interface.
34149         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
34150         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
34151         * locale/programs/ld-address.c (address_output): Use new
34152         locale_file interface.
34153         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
34154         NO_ADD_LOCALE.
34155         (collate_finish): Don't call collseq_table_finalize.
34156         (collate_output): Use new locale_file interface.
34157         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
34158         in file.
34159         (NO_FINALIZE): Change to NO_ADD_LOCALE.
34160         (TABLE): Move defines earlier in file.
34161         (ELEMENT): Likewise.
34162         (DEFAULT): Likewise.
34163         (wctrans_table_add): Move macro and inline function earlier in
34164         file.
34165         (struct wctype_table): Move type earlier in file.
34166         (add_locale_wctype_table): New static prototype.
34167         (struct locale_ctype_t): Use logical types instead of struct iovec
34168         pointers for members.
34169         (ctype_output): Use new locale_file interface.
34170         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
34171         new locale_file interface.
34172         (allocate_arrays): Update for use of new locale_file interface.
34173         * locale/programs/ld-identification.c (identification_output): Use
34174         new locale_file interface.
34175         * locale/programs/ld-measurement.c (measurement_output): Likewise.
34176         * locale/programs/ld-messages.c (messages_output): Likewise.
34177         * locale/programs/ld-monetary.c (monetary_output): Likewise.
34178         * locale/programs/ld-name.c (name_output): Likewise.
34179         * locale/programs/ld-numeric.c (numeric_output): Likewise.
34180         * locale/programs/ld-paper.c (paper_output): Likewise.
34181         * locale/programs/ld-telephone.c (telephone_output): Likewise.
34182         * locale/programs/ld-time.c (time_output): Likewise.
34184 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34186         * benchtests/Makefile: Add memrchr benchmark.
34187         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
34188         benchmark as memrchr.
34189         * benchtests/bench-memrchr-ifunc.c: New file.
34190         * benchtests/bench-memrchr.c: New file.
34192 2013-09-06   Will Newton  <will.newton@linaro.org>
34194         * benchtests/Makefile (string-bench): Add memcpy.
34196 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
34197             Cong Wang  <amwang@redhat.com>
34199         [BZ #15850]
34200         * sysdeps/unix/sysv/linux/bits/in.h
34201         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
34202         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
34203         before __USE_KERNEL_IPV6_DEFS uses.
34204         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
34205         IPPROTO_BEETPH.
34206         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
34207         sockaddr_in6, or ipv6_mreq.
34209 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34211         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
34212         memory access for final bytes in some large inputs.
34213         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
34215 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34217         * string/test-memrchr.c: New file.
34218         * string/test-memrchr-ifunc.c: New file.
34219         * string/Makefile: Add new memrchr testcase.
34221 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
34223         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
34224         fanotify_init returns EPERM.
34226 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
34228         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
34229         errors.
34230         (top level): Treat second token from macro or constant entries for
34231         allowed headers as allowed.
34232         * include/complex.h: Condition internal declarations on
34233         [!_ISOMAC].
34234         * include/fenv.h: Condition include of <stdbool.h> and internal
34235         declarations on [!_ISOMAC].
34237 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
34239         [BZ #15923]
34240         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
34242 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
34244         * configure.in (--enable-versioning): Remove configure option.
34245         (libc_cv_asm_symver_directive): Remove configure test.
34246         (libc_cv_ld_version_script_option): Likewise.
34247         (VERSIONING): Remove variable and AC_SUBST.
34248         (DO_VERSIONING): Remove AC_DEFINE.
34249         * configure: Regenerated.
34250         * config.h.in (DO_VERSIONING): Remove macro.
34251         * Makerules [$(versioning) = yes]: Change conditionals to
34252         [$(build-shared) = yes].
34253         * config.make.in (versioning): Remove variable.
34254         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
34255         [$(build-shared) = yes].
34256         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
34257         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
34258         * elf/Makefile [$(versioning) = yes]: Change conditionals to
34259         [$(build-shared) = yes].
34260         * extra-lib.mk [$(versioning) = yes]: Likewise.
34261         * hurd/Makefile [$(versioning) = yes]: Likewise.
34262         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
34263         [SHARED].
34264         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
34265         [SHARED].
34266         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34267         [SHARED && !NO_HIDDEN].
34268         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
34269         [SHARED].
34270         [SHARED && DO_VERSIONING]: Likewise..
34271         * libio/Makefile [$(versioning) = yes]: Change conditionals to
34272         [$(build-shared) = yes].
34273         * manual/install.texi (--disable-versioning): Remove
34274         documentation.
34275         * INSTALL: Regenerated.
34276         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
34277         to [SHARED].
34278         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
34279         [$(build-shared) = yes].
34280         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
34281         * sysdeps/i386/i686/multiarch/strstr-c.c
34282         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34283         [SHARED && !NO_HIDDEN].
34284         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
34285         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
34286         * sysdeps/powerpc/powerpc32/dl-machine.c
34287         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
34288         * sysdeps/powerpc/powerpc32/sysdep.h
34289         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
34290         to [SHARED && PIC && !NO_HIDDEN].
34291         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
34292         conditional to [SHARED].
34294 2013-09-04   Will Newton  <will.newton@linaro.org>
34296         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
34297         * benchtests/bench-string.h: Include bench-timing.h instead
34298         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
34299         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
34300         call to HP_TIMING_DIFF_INIT.
34301         * benchtests/bench-memccpy.c: Use bench-timing.h macros
34302         instead of hp-timing.h macros.
34303         * benchtests/bench-memchr.c: Likewise.
34304         * benchtests/bench-memcmp.c: Likewise.
34305         * benchtests/bench-memcpy.c: Likewise.
34306         * benchtests/bench-memmem.c: Likewise.
34307         * benchtests/bench-memmove.c: Likewise.
34308         * benchtests/bench-memset.c: Likewise.
34309         * benchtests/bench-rawmemchr.c: Likewise.
34310         * benchtests/bench-strcasecmp.c: Likewise.
34311         * benchtests/bench-strcasestr.c: Likewise.
34312         * benchtests/bench-strcat.c: Likewise.
34313         * benchtests/bench-strchr.c: Likewise.
34314         * benchtests/bench-strcmp.c: Likewise.
34315         * benchtests/bench-strcpy.c: Likewise.
34316         * benchtests/bench-strcpy_chk.c: Likewise.
34317         * benchtests/bench-strlen.c: Likewise.
34318         * benchtests/bench-strncasecmp.c: Likewise.
34319         * benchtests/bench-strncat.c: Likewise.
34320         * benchtests/bench-strncmp.c: Likewise.
34321         * benchtests/bench-strncpy.c: Likewise.
34322         * benchtests/bench-strnlen.c: Likewise.
34323         * benchtests/bench-strpbrk.c: Likewise.
34324         * benchtests/bench-strrchr.c: Likewise.
34325         * benchtests/bench-strspn.c: Likewise.
34326         * benchtests/bench-strstr.c: Likewise.
34328 2013-09-04  Will Newton  <will.newton@linaro.org>
34330         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
34332 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
34334         [BZ #15427]
34335         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34336         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
34337         * math/libm-test.inc (lgamma_test_data): Add more tests.
34338         * sysdeps/i386/fpu/libm-test-ulps: Update.
34339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34341 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
34343         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
34344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34345         Add ifunc.
34346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34347         Add strcmp-sse2-unaligned
34348         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
34350 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
34352         * Versions.def (libc): Add GLIBC_2.19.
34354 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
34356         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
34357         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
34359 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
34361         [BZ #14155]
34362         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
34363         intermediate calculations in recurrence.
34364         (__ieee754_ynf): Likewise.
34365         * math/libm-test.inc (jn_test_data): Do not allow spurious
34366         underflow exception.  Add more tests.
34367         (yn_test_data): Add more tests.
34368         * sysdeps/i386/fpu/libm-test-ulps: Update.
34369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34371 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
34373         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
34375 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34377         * csu/init-first.c: Fix then/than typos.
34378         * locale/programs/ld-collate.c: Likewise.
34379         * locale/programs/linereader.h: Likewise.
34380         * manual/charset.texi: Likewise.
34381         * manual/filesys.texi: Likewise.
34382         * manual/stdio.texi: Likewise.
34383         * manual/string.texi: Likewise.
34384         * stdlib/fmtmsg.c: Likewise.
34385         * sysdeps/i386/stpncpy.S: Likewise.
34386         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34387         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34388         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34389         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34391 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
34393         * elf/dl-open.c: Fix typos.
34394         * iconvdata/gbbig5.c: Likewise.
34395         * iconvdata/iso-2022-jp.c: Likewise.
34396         * iconv/gconv_int.h: Likewise.
34397         * iconv/loop.c: Likewise.
34398         * nis/rpcsvc/nis.h: Likewise.
34399         * resolv/ns_name.c: Likewise.
34400         * stdio-common/vfscanf.c: Likewise.
34401         * streams/stropts.h: Likewise.
34402         * sunrpc/rpc_thread.c: Likewise.
34403         * sysdeps/i386/strpbrk.S: Likewise.
34404         * sysdeps/ieee754/k_standard.c: Likewise.
34405         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34406         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34407         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34408         * sysdeps/mach/hurd/profil.c: Likewise.
34409         * sysdeps/s390/dl-procinfo.h: Likewise.
34410         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
34411         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34412         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
34413         * sysdeps/x86_64/dl-trampoline.S: Likewise.
34414         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34416 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
34418         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
34419         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
34421 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
34423         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
34424         aix specific files.
34425         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
34426         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
34427         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
34428         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
34429         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
34430         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
34431         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
34432         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
34434 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34435             Roland McGrath  <roland@hack.frob.com>
34437         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
34438         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
34440 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34442         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
34443         __executable_start symbol instead of _start.
34445 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
34447         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
34448         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
34449         Move macros to...
34450         * sysdeps/gnu/ldsodefs.h: ... this new file.
34452         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
34453         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
34454         instead of ELFOSABI_LINUX.
34456         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
34457         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
34458         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
34459         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
34460         Likewise.
34461         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
34462         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
34463         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
34464         Likewise.
34465         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34466         (ibm_extended_long_double): Add ieee_nan member.
34467         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
34468         (do_test): New function.
34470         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
34471         TEST_TRUNC.
34472         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
34473         functions, renamed from truncdfsf_test, trunctfsf_test,
34474         trunctfdf_test.
34475         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34476         functions.
34477         (do_test): Run all these.
34479 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
34481         * argp/argp-help.c: Fix typos.
34482         * argp/argp-parse.c: Likewise.
34483         * debug/backtracesyms.c: Likewise.
34484         * elf/elf.h: Likewise.
34485         * malloc/malloc.c: Likewise.
34486         * nis/nis_print.c: Likewise.
34487         * resolv/res_comp.c: Likewise.
34488         * stdlib/stdlib.h: Likewise.
34489         * sunrpc/clnt_tcp.c: Likewise.
34490         * sunrpc/clnt_udp.c: Likewise.
34491         * sunrpc/clnt_unix.c: Likewise.
34492         * sysdeps/unix/bsd/ptsname.c: Likewise.
34493         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34494         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34496         Likewise.
34497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34498         Likewise.
34499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34500         Likewise.
34501         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34503 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34505         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34508 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
34510         [BZ #15897]
34511         * dlfcn/Makefile (tests): Add bug-dl-leaf.
34512         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34513         ($(objpfx)bug-dl-leaf): New rule.
34514         ($(objpfx)bug-dl-leaf.so): Likewise.
34515         ($(objpfx)bug-dl-leaf.out): Likewise.
34516         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34517         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34518         * dlfcn/bug-dl-leaf.c: New test.
34519         * dlfcn/bug-dl-leaf-lib.c: Likewise.
34520         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34521         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34522         (dlclose): Likewise.
34523         (dlmopen): Likewise.
34525 2013-08-27  Roland McGrath  <roland@hack.frob.com>
34527         * include/netdb.h [!_ISOMAC]:
34528         Don't include <tls.h>.
34529         (h_errno, __libc_h_errno): Move declaration and macros out of
34530         [_LIBC_REENTRANT].
34532         * include/resolv.h [_RESOLV_H_]:
34533         Don't include <tls.h>.
34534         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34535         * resolv/res_libc.c: Don't include <tls.h>.
34536         (_res): Use __attribute__ ((nocommon)) in place of
34537         __attribute__ ((section (".bss"))).
34539         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34540         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34542         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34544         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34545         only under [SIOCGIFCONF && SIOCGIFNETMASK].
34547         * resolv/res_mkquery.c: Include <sys/time.h>.
34549         * inet/ifreq.c: Moved to ...
34550         * sysdeps/unix/ifreq.c: ... here.
34551         * inet/ifreq.c: New file, true stub version.
34553         * socket/sa_len.c: New file.
34554         * socket/Makefile (aux): Add it.
34555         * sysdeps/unix/sysv/linux/Makefile
34556         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34557         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34558         and #include <socket/sa_len.c>.
34559         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34560         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34562         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34563         * bits/socket.h: ... here.
34565         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34566         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34567         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34569 2013-08-27  Andreas Schwab  <schwab@suse.de>
34571         [BZ #15736]
34572         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34573         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34574         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34575         * string/test-strcasecmp.c (test_main): Run tests in several
34576         locales.
34577         * string/test-strncasecmp.c (test_main): Likewise.
34579         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34580         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34581         to __strcasecmp_nonascii and __strncasecmp_nonascii.
34582         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34583         (__strncasecmp_ssse3) [PIC]: Likewise.
34585 2013-08-26  Roland McGrath  <roland@hack.frob.com>
34587         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34589         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34590         instead of explicitly declaring xdecrypt.
34591         * nis/nss_nis/nis-publickey.c: Likewise.
34593 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34595         [BZ #15890]
34596         * nscd/aicache.c: Include res_hconf.h.
34597         (addhstaiX): Initialize res_hconf.
34599 2013-08-26  Andreas Schwab  <schwab@suse.de>
34601         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34602         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34604 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34606         * nscd/aicache.c (addhstaiX): Fix indentation.
34608 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
34610         * configure.ac: Quote $build_pt_chown test.
34611         * configure: Regenerated.
34613 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
34615         [BZ #15532]
34616         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34617         * math/s_cexpf.c (__cexpf): Likewise.
34618         * math/s_cexpl.c (__cexpl): Likewise.
34619         * math/libm-test.inc (cexp_test_data): Correct expected return
34620         value for NaN + i0.  Add another test.
34622 2013-08-22  David S. Miller  <davem@davemloft.net>
34624         * po/ca.po: Update Catalan translation from translation project.
34625         * po/uk.po: Add Ukrainian translations from translation project.
34627 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
34629         [BZ #15797]
34630         * math/s_fdim.c (__fdim): Check for infinite arguments if result
34631         is infinite, not alongside NaN test.
34632         * math/s_fdimf.c (__fdimf): Likewise.
34633         * math/s_fdiml.c (__fdiml): Likewise.
34634         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
34635         errno is unchanged.
34637 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
34639         * argp/argp-help.c: Fix typos.
34640         * crypt/speeds.c: Likewise.
34641         * csu/check_fds.c: Likewise.
34642         * elf/dl-load.c: Likewise.
34643         * elf/dl-open.c: Likewise.
34644         * elf/reldep3.c: Likewise.
34645         * elf/reldep.c: Likewise.
34646         * elf/sprof.c: Likewise.
34647         * iconv/iconv_charmap.c: Likewise.
34648         * iconv/skeleton.c: Likewise.
34649         * iconv/strtab.c: Likewise.
34650         * io/lockf64.c: Likewise.
34651         * libio/libioP.h: Likewise.
34652         * resolv/gai_notify.c: Likewise.
34653         * resolv/ns_name.c: Likewise.
34654         * resolv/ns_samedomain.c: Likewise.
34655         * resolv/res_send.c: Likewise.
34656         * stdlib/random.c: Likewise.
34657         * sunrpc/rpc/xdr.h: Likewise.
34658         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34659         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34660         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34661         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34662         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34663         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34664         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34665         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34666         * sysdeps/mach/hurd/check_fds.c: Likewise.
34667         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34668         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34669         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34670         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34671         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34672         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34673         * sysdeps/pthread/aio_notify.c: Likewise.
34674         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34675         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34676         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34677         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34678         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34680 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34682         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34683         version if bit_Slow_SSE4_2 is set.
34684         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34685         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34687 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34689         [BZ #15867]
34690         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34691         trampoline stack frame information.
34692         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34693         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34694         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34695         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34696         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34697         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34698         (_libc_vdso_platform_setup): Initialize the signal trampolines.
34699         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34700         sa_flags value.
34701         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34702         interrupting a syscall and set with option SA_SIGINFO.
34704 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
34706         [BZ #15531]
34707         * math/s_cproj.c (__cproj): Only return an infinity if one part of
34708         argument is infinite.
34709         * math/s_cprojf.c (__cprojf): Likewise.
34710         * math/s_cprojl.c (__cprojl): Likewise.
34711         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34712         * math/libm-test.inc (cproj_test_data): Add more tests.
34714         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34716         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34717         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34718         size.  Use __ffs to determine corresponding shift.
34720 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
34721             Roland McGrath  <roland@hack.frob.com>
34723         * Makefile (INSTALL): Remove trailing blank lines from output of
34724         makeinfo.
34726 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34728         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34729         Align 32 bit compat elf_greg to 8 bytes.
34731 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
34733         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34735 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34737         * string/strcoll_l.c (coll_seq): New structure.
34738         (get_next_seq_cached): New function.
34739         (get_next_seq): New function.
34740         (do_compare): New function.
34741         (STRCOLL): Use GNU style definition.  Simplify implementation
34742         by using get_next_seq, get_next_seq_cached and do_compare.
34744 2013-08-16  Florian Weimer  <fweimer@redhat.com>
34746         [BZ #14699]
34747         CVE-2013-4237
34748         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34749         member.
34750         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34751         member.
34752         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34753         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34754         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
34755         conditional.
34756         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34757         GETDENTS_64BIT_ALIGNED.
34758         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34759         * manual/filesys.texi (Reading/Closing Directory): Document
34760         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
34761         strongly.
34762         * manual/conf.texi (Limits for Files): Add portability note to
34763         NAME_MAX, PATH_MAX.
34764         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34766 2013-08-13  Andreas Schwab  <schwab@suse.de>
34768         [BZ #15749]
34769         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34770         of fabs.
34771         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34772         LDBL_MAX_EXP >= 16384]: Add tests for it.
34774 2013-08-12  David S. Miller  <davem@davemloft.net>
34776         * version.h (RELEASE): Set to "development".
34777         (VERSION): Set to "2.18.90".
34778         * NEWS: Add 2.19 section.
34780 2013-08-03  David S. Miller  <davem@davemloft.net>
34782         * po/ko.po: Update Korean translation from translation project.
34784 2013-08-01  David S. Miller  <davem@davemloft.net>
34786         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
34787         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34788         Bilka.
34790 2013-07-30  David S. Miller  <davem@davemloft.net>
34792         * po/fr.po: Update French translation from translation project.
34794 2013-07-28  David S. Miller  <davem@davemloft.net>
34796         * po/cs.po: Update Czech translation from translation project.
34798         * po/sv.po: Update Swedish translation from translation project.
34800 2013-07-27  David S. Miller  <davem@davemloft.net>
34802         * po/eo.po: Update Esperanto translation from translation project.
34804         * po/vi.po: Update Vietnamese translation from translation project.
34806         * po/de.po: Update German translation from translation project.
34808 2013-07-26  David S. Miller  <davem@davemloft.net>
34810         * po/bg.po: Update Bulgarian translation from translation project.
34812         * po/nl.po: Update Dutch translation from translation project.
34813         * po/pl.po: Update Polish translation from translation project.
34814         * po/ru.po: Update Russian translation from translation project.
34816 2013-07-24  David S. Miller  <davem@davemloft.net>
34818         * po/libc.pot: Update.
34820 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34822         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34823         variable page size.
34824         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34825         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34826         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34828 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34830         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34832 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34833             Andreas Schwab  <schwab@suse.de>
34834             Roland McGrath  <roland@hack.frob.com>
34835             Joseph Myers  <joseph@codesourcery.com>
34836             Carlos O'Donell  <carlos@redhat.com>
34838         [BZ #15755]
34839         * config.h.in: Define HAVE_PT_CHOWN.
34840         * config.make.in (build-pt-chown): New variable.
34841         * configure.in (--enable-pt_chown): New configure option.
34842         * configure: Regenerate.
34843         * login/Makefile: Include Makeconfig.  Build pt_chown only if
34844         build-pt-chown is enabled.
34845         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34846         pt_chown to fix pty ownership.
34847         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34848         CLOSE_ALL_FDS.
34849         * manual/install.texi (Configuring and compiling): Mention
34850         --enable-pt_chown. Add @findex for grantpt.
34851         * INSTALL: Regenerate.
34853 2013-07-20  David S. Miller  <davem@davemloft.net>
34855         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
34856         difference between 32-bit and 64-bit.
34858 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
34860         [BZ #15711]
34861         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
34862         Avoid system header dependency with -ffreestanding.
34863         ($(objpfx)bits/syscall%d): Likewise.
34865 2013-07-13  David S. Miller  <davem@davemloft.net>
34867         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
34868         underflows from atanl/atan2l due to bug 15319.
34869         (casinh_test_data): Likewise.
34871 2013-07-07  David S. Miller  <davem@davemloft.net>
34873         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34875 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
34877         * sysdeps/i386/fpu/libm-test-ulps: Update.
34878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34880 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34882         * configure.in (--enable-lock-elision): Fix message text.
34883         * INSTALL: Regenerate.
34884         * configure: Regenerate.
34886 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34890 2013-07-03  Andreas Jaeger  <aj@suse.de>
34892         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
34893         define.
34894         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
34895         (ptrace_peeksiginfo_args): Add.
34896         (__ptrace_peeksiginfo_flags): Add.
34897         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34898         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34899         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34901 2013-07-03  Allan McRae  <allan@archlinux.org>
34903         * sysdeps/i386/fpu/libm-test-ulps: Update.
34905 2013-07-02  David S. Miller  <davem@davemloft.net>
34907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34909 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
34911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34913 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34915         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34918 2013-07-02  Andi Kleen <ak@linux.intel.com>
34920         * config.h.in (ENABLE_LOCK_ELISION): Add.
34921         * configure.in (--enable-lock-elision): Add option.
34922         * manual/install.texi: Document --enable lock elision.
34923         * configure: Regenerate
34924         * INSTALL: Regenerate.
34926 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
34928         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
34929         SSE4.2 strcasecmp for libc.a.
34930         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34932 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
34934         [BZ #13304]
34935         * soft-fp/op-common.h (_FP_FMA): New macro.
34936         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
34937         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
34938         (_FP_MUL_MEAT_1_imm): ... here.
34939         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
34940         (_FP_MUL_MEAT_1_wide): ... here.
34941         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
34942         (_FP_MUL_MEAT_1_hard): ... here.
34943         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
34944         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
34945         (_FP_MUL_MEAT_2_wide): ... here.
34946         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
34947         (_FP_MUL_MEAT_2_wide_3mul): ... here.
34948         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
34949         (_FP_MUL_MEAT_2_gmp): ... here.
34950         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
34951         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
34952         (_FP_MUL_MEAT_4_wide): ... here.
34953         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
34954         (_FP_MUL_MEAT_4_gmp): ... here.
34955         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
34956         (_FP_WFRACBITS_DW_S): Likewise.
34957         (_FP_WFRACXBITS_DW_S): Likewise.
34958         (_FP_HIGHBIT_DW_S): Likewise.
34959         (FP_FMA_S): Likewise.
34960         (_FP_FRAC_HIGH_DW_S): Likewise.
34961         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
34962         (_FP_WFRACBITS_DW_D): Likewise.
34963         (_FP_WFRACXBITS_DW_D): Likewise.
34964         (_FP_HIGHBIT_DW_D): Likewise.
34965         (FP_FMA_D): Likewise.
34966         (_FP_FRAC_HIGH_DW_D): Likewise.
34967         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
34968         (_FP_WFRACBITS_DW_E): Likewise.
34969         (_FP_WFRACXBITS_DW_E): Likewise.
34970         (_FP_HIGHBIT_DW_E): Likewise.
34971         (FP_FMA_E): Likewise.
34972         (_FP_FRAC_HIGH_DW_E): Likewise.
34973         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
34974         (_FP_WFRACBITS_DW_Q): Likewise.
34975         (_FP_WFRACXBITS_DW_Q): Likewise.
34976         (_FP_HIGHBIT_DW_Q): Likewise.
34977         (FP_FMA_Q): Likewise.
34978         (_FP_FRAC_HIGH_DW_Q): Likewise.
34979         * soft-fp/fmasf4.c: New file.
34980         * soft-fp/fmadf4.c: Likewise.
34981         * soft-fp/fmatf4.c: Likewise.
34983 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34986         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
34987         Silvermont.
34988         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
34989         macro.
34990         (index_Slow_SSE4_2): Likewise.
34991         (index_Prefer_PMINUB_for_stringop): Likewise.
34992         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
34993         bit_Slow_SSE4_2 is set.
34994         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34995         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34997 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34999         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
35000         rtld_global._dl_hwcap2.
35001         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
35002         POWER8.
35003         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
35004         POWER8 feature descriptions defined in _dl_hwcap2.
35005         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
35006         string handling for POWER8 feature bits.
35007         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
35008         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
35009         _dl_powerpc_cap_flags.
35010         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
35011         * sysdeps/powerpc/rtld-global-offsets.sym
35012         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
35013         _dl_hwcap2 in the rtld_global_ro structure.
35015 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35017         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
35018         hardware capabilities in support of AT_HWCAP2.
35019         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
35020         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
35021         GLRO(dl_hwcap2).
35022         (_dl_show_auxv): Add support for calling _dl_procinfo to display
35023         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
35024         explicitly the unknown a_type display mechanism is used.
35025         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
35026         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
35027         struct member.
35028         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
35029         to macro prototype for AT_HWCAP2 support.
35030         * sysdeps/i386/dl-procinfo.h: Likewise.
35031         * sysdeps/s390/dl-procinfo.h: Likewise.
35032         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
35033         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
35034         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
35035         return -1 for unknown a_type display fallback.
35036         * sysdeps/sparc/dl-procinfo.h: Likewise.
35037         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
35038         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
35040 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
35042         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
35043         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
35045 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
35047         [BZ #12492]
35048         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
35049         mprotect making __stack_prot writable.
35051 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
35052             Joseph Myers  <joseph@codesourcery.com>
35054         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
35055         as being properly aligned.
35057 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
35059         * dlfcn/modstatic5.c: New file.
35060         * dlfcn/tststatic5.c: New file.
35061         * dlfcn/Makefile (tests): Add tststatic5.
35062         (tests-static): Likewise.
35063         (modules-names): Add modstatic5.
35064         (tststatic5-ENV): New variable.
35065         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
35067         [BZ #15022]
35068         * elf/dl-support.c (_dl_main_map): New variable.
35069         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
35070         (_dl_nns, _dl_load_adds): Set to 1.
35071         (_dl_initial_searchlist): Refer to _dl_main_map.
35072         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
35073         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
35074         call to _dl_get_origin.
35075         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
35076         around call_map.
35077         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
35078         * dlfcn/modstatic3.c: New file.
35079         * dlfcn/tststatic3.c: New file.
35080         * dlfcn/tststatic4.c: New file.
35081         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
35082         (tests-static): Likewise.
35083         (modules-names): Add modstatic3.
35084         (tststatic3-ENV, tststatic4-ENV): New variables.
35085         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
35086         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
35088 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
35090         * configure.in (CC): Require GCC version 4.4 or later.
35091         * configure: Regenerated.
35092         * manual/install.texi (Tools for Compilation): Update GCC version
35093         requirement.
35094         * INSTALL: Regenerated.
35096 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35098         [BZ #15674]
35099         * string/test-memcmp.c (check2): New.
35100         (main): Call check2.
35102         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
35104 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
35106         [BZ #15022]
35107         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
35108         over to...
35109         (dl_open_worker) [!SHARED]: ... here.
35111 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35113         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
35115 2013-06-25  Richard Henderson  <rth@redhat.com>
35117         * locale/programs/locarchive.c: Include <libc-internal.h>
35119 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
35121         * manual/texinfo.tex: Update to version 2013-06-21.17, with
35122         trailing whitespace removed.
35124 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
35126         [BZ #10283]
35127         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
35128         * locale/programs/locarchive.c: Include libc-mmap.h.
35129         (prepare_address_space): Take two new outputs (the mmap base and len).
35130         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
35131         values.
35132         (create_archive): Declare new mmap base and len values for
35133         prepare_address_space, and store the result in ah.
35134         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
35135         (enlarge_archive): If ah->mmap_base is not NULL, use that and
35136         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
35137         Declare new mmap base and len values for
35138         prepare_address_space, and store the result in new_ah.
35139         (open_archive): Declare new mmap base and len values for
35140         prepare_address_space, and store the result in ah.
35141         (close_archive): If ah->mmap_base is not NULL, use that and
35142         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
35143         * sysdeps/generic/libc-mmap.h: New file.
35145 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
35147         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
35148         (ALIGN_UP): Likewise.
35149         (PTR_ALIGN_DOWN): Likewise.
35150         (PTR_ALIGN_UP): Likewise.
35152 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35154         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
35155         entry mapped to PPC_PLATFORM_POWER8.
35156         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
35157         POWER8.
35158         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
35159         (_dl_string_platform): Add case for exporting platform position for
35160         POWER8.
35161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
35162         search path to sysdeps/powerpc/powerpc32/power8 directory.
35163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
35164         search path to sysdeps/powerpc/powerpc64/power8 directory.
35165         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
35166         power7 directories.
35167         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
35168         power7 directories.
35170 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35172         * INSTALL: Regenerate.
35174         * nscd/connections.c (nscd_init): Fix comment.
35176 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
35178         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
35180         [BZ #15667]
35181         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
35182         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
35184 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
35186         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
35187         DL_DST_REQ_STATIC.
35188         (DL_DST_REQ_STATIC): Remove macro.
35190 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
35192         [BZ #7006]
35193         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
35194         with a shift of 0 bits.
35196 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
35198         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
35199         $(tststatic-ENV).
35201 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35203         [BZ #15655]
35204         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
35206 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35208         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
35209         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
35210         accepts -fno-tree-loop-distribute-patterns.
35211         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
35212         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
35213         recursive call.
35214         * string/memset.c (memset): Likewise.
35215         * string/test-memmove.c (simple_memmove): Disable loop transformation
35216         to library calls.
35217         * string/test-memset.c (simple_memset): Likewise.
35218         * benchtests/bench-memmove.c (simple_memmove): Likewise.
35219         * benchtests/bench-memset.c (simple_memset): Likewise.
35220         * configure: Regenerated.
35222 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
35224         * math/test-misc.c (main): Ignore fesetround failure when failures
35225         of subsequent rounding tests would be ignored.
35227         [BZ #15654]
35228         * math/fedisblxcpt.c (fedisableexcept): Return 0.
35229         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
35230         * math/fegetenv.c (__fegetenv): Return 0.
35231         * math/fegetexcept.c (fegetexcept): Return 0.
35232         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
35233         FE_TONEAREST.
35234         * math/feholdexcpt.c (feholdexcept): Return 0.
35235         * math/fesetenv.c (__fesetenv): Return 0.
35236         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
35237         argument FE_TONEAREST.
35238         * math/feupdateenv.c (__feupdateenv): Return 0.
35239         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
35241 2013-06-18  Roland McGrath  <roland@hack.frob.com>
35243         * elf/rtld-Rules (rtld-compile-command.S): New variable.
35244         (rtld-compile-command.s, rtld-compile-command.c): New variables.
35245         ($(objpfx)rtld-%.os rules): Use them.
35247 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35249         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
35250         fields.
35252 2013-06-17  Roland McGrath  <roland@hack.frob.com>
35254         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
35255         length of target pattern, then descending length of dependency pattern.
35256         * configure.in (AWK): Require gawk 3.1.2 or newer.
35257         * manual/install.texi (Tools for Compilation): Say that we do.
35258         * configure: Regenerated.
35260         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
35261         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
35262         * scripts/sysd-rules.awk: ... this new script.
35263         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
35264         than a glob-style pattern.
35266 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
35268         * math/test-misc.c (main): Do not treat incorrectly rounded
35269         conversions as failure unless ROUNDING_TESTS passes.
35271 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
35273         [BZ #15631]
35274         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
35275         restore exception state around main square root computation, then
35276         check for inexactness explicitly.
35278         * math/libm-test.inc (fma_test_data): Add another test.
35280 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35282         * manual/threads.texi (Non-POSIX Extensions): New document
35283         node.  Document pthread_getattr_default_np and
35284         pthread_setattr_default_np.
35286         * Versions.def (libpthread): Add GLIBC_2.18.
35287         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
35288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35289         Likewise.
35290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35291         Likewise.
35292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35293         Likewise.
35294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35295         Likewise.
35296         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
35297         Likewise.
35298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35299         Likewise.
35300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35301         Likewise.
35302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35303         Likewise.
35304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35305         Likewise.
35307 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35310         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
35312 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35313             H.J. Lu  <hjl.tools@gmail.com>
35315         [BZ #15627]
35316         * sysdeps/x86_64/rtld-memset.c: Remove file.
35317         * sysdeps/x86_64/rtld-memset.S: New file.
35319 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
35321         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
35322         (test_in_one_mode): Take arguments for whether the rounding mode
35323         is supported for each floating-point type.
35324         (do_test): Pass new arguments to test_in_one_mode using
35325         ROUNDING_TESTS.
35327 2013-06-13  Roland McGrath  <roland@hack.frob.com>
35329         * posix/tst-waitid.c (do_test): Distinguish different instances of
35330         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
35331         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
35332         before entering the kernel for waitpid.
35334 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35336         * NEWS: Fix note on clock function precision.  Text by Roland
35337         McGrath.
35339 2013-06-13  Roland McGrath  <roland@hack.frob.com>
35341         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
35342         it into place only when and if the sanity check passes.
35344 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
35346         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
35347         output for whether conversion result is exact.  Take argument
35348         indicating whether type is IBM long double.
35349         (round_for_all): Change need_exact field to ibm_ld.
35350         * stdlib/tst-strtod-round.c (struct exactness): New type.
35351         (struct test): Change bool ld_ok field to struct exactness exact.
35352         (TEST): Update all definitions for change to field.
35353         (tests): Regenerate array contents.
35354         (test_in_one_mode): Take pointer to new field instead of old ld_ok
35355         field value.  Check for IBM long double here.
35356         (do_test): Update calls to test_in_one_mode.
35358 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35360         [BZ #12515]
35361         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
35362         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
35364 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35366         [BZ #15605]
35367         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
35368         generated by the compiler on loop optimizations.
35369         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
35370         general definitions.
35372 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
35374         * math/bug-nextafter.c: Include <math-tests.h>.
35375         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35376         the relevant type.
35377         * math/bug-nexttoward.c: Include <math-tests.h>.
35378         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35379         the relevant type.
35380         * math/test-misc.c: Include <math-tests.h>.
35381         (main): Only test for exceptions if EXCEPTION_TESTS is true for
35382         the relevant type.
35384 2013-06-12  Andreas Jaeger  <aj@suse.de>
35386         * po/ia.po: Update Interlingua translation from translation
35387         project.
35389 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35391         * include/fenv.h: Include stdbool.h.
35392         (struct rm_ctx): New structure.
35393         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
35394         Define macro.
35395         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
35396         (SET_RESTORE_ROUNDF): Likewise.
35397         (SET_RESTORE_ROUNDL): Likewise.
35398         (SET_RESTORE_ROUND_NOEX): Likewise.
35399         (SET_RESTORE_ROUND_NOEXF): Likewise.
35400         (SET_RESTORE_ROUND_NOEXL): Likewise.
35401         (SET_RESTORE_ROUND_53BIT): Likewise.
35402         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
35403         (libc_feresetround_noexf_ctx): Likewise.
35404         (libc_feresetround_noexl_ctx): Likewise.
35405         (libc_feholdsetround_53bit_ctx): Likewise.
35406         (libc_feresetround_53bit_ctx): Likewise.
35407         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
35408         (libc_feholdexcept_setround_sse_ctx): New function.
35409         (libc_fesetenv_sse_ctx): Likewise.
35410         (libc_feupdateenv_sse_ctx): Likewise.
35411         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
35412         (libc_feholdexcept_setround_387_ctx): Likewise.
35413         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
35414         (libc_feholdsetround_387_prec_ctx): Likewise.
35415         (libc_feholdsetround_387_ctx): Likewise.
35416         (libc_feholdsetround_387_53bit_ctx): Likewise.
35417         (libc_feholdsetround_sse_ctx): Likewise.
35418         (libc_feresetround_sse_ctx): Likewise.
35419         (libc_feresetround_387_ctx): Likewise.
35420         (libc_feupdateenv_387_ctx): Likewise.
35421         (libc_feholdexcept_setroundf_ctx): Define macro.
35422         (libc_fesetenvf_ctx): Likewise.
35423         (libc_feupdateenvf_ctx): Likewise.
35424         (libc_feholdsetroundf_ctx): Likewise.
35425         (libc_feresetroundf_ctx): Likewise.
35426         (libc_feholdexcept_setround_ctx): Likewise.
35427         (libc_fesetenv_ctx): Likewise.
35428         (libc_feupdateenv_ctx): Likewise.
35429         (libc_feholdsetround_ctx): Likewise.
35430         (libc_feresetround_ctx): Likewise.
35431         (libc_feholdexcept_setroundl_ctx): Likewise.
35432         (libc_feupdateenvl_ctx): Likewise.
35433         (libc_feholdsetroundl_ctx): Likewise.
35434         (libc_feresetroundl_ctx): Likewise.
35435         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
35436         (libc_feresetround_53bit_ctx): Likewise.
35438 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35440         * locale/iso-639.def: Convert to UTF-8.
35442 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
35444         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
35445         (EXCEPTION_TESTS_double): Likewise.
35446         (EXCEPTION_TESTS_long_double): Likewise.
35447         (EXCEPTION_TESTS): Likewise.
35448         * math/libm-test.inc (test_exceptions): Only test exceptions if
35449         EXCEPTION_TESTS (FLOAT).
35451 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35453         * benchtests/Makefile (string-bench): Add strcpy_chk and
35454         stpcpy_chk.
35455         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
35456         * benchtests/bench-stpcpy_chk.c: New file.
35457         * benchtests/bench-strcpy_chk-ifunc.c: New file.
35458         * benchtests/bench-strcpy_chk.c: New file.
35459         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
35460         code.
35461         (do_test): Likewise.
35463 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35465         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
35466         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
35467         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
35468         with tabs where appropriate.
35469         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
35470         dl-procinfo.h.
35471         [PPC_PLATFORM_PPC440]: Likewise.
35472         [PPC_PLATFORM_PPC464]: Likewise.
35473         [PPC_PLATFORM_PPC476]: Likewise.
35474         (_dl_string_platform): Add support for detecting ppc405, ppc440,
35475         ppc464, and ppc476 platform strings merging from ports/
35476         dl-procinfo.h.
35478 2013-06-11  Andreas Schwab  <schwab@suse.de>
35480         [BZ #14991]
35481         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35482         (from_ucs4_idx): Regenerate.
35483         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35484         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35485         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35486         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35487         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35488         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35489         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35490         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35491         from FROM_LOOP and TO_LOOP specific macros.
35492         (BODY): Handle combining characters.
35493         * iconvdata/BIG5HKSCS.irreversible: Update.
35494         * iconvdata/BIG5HKSCS.precomposed: New file.
35495         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35496         characters.
35497         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35499 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35501         * include/sys/time.h: Fix indentation and add copyright header.
35503         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35504         (do_test): Likewise.
35505         * string/test-memchr.c (do_one_test): Likewise.
35506         (do_test): Likewise.
35507         * string/test-memcmp.c (do_one_test): Likewise.
35508         (do_test): Likewise.
35509         * string/test-memcpy.c (do_one_test): Likewise.
35510         (do_test): Likewise.
35511         * string/test-memmem.c (do_one_test): Likewise.
35512         (do_test): Likewise.
35513         (do_random_tests): Likewise.
35514         * string/test-memmove.c (do_one_test): Likewise.
35515         (do_test): Likewise.
35516         * string/test-memset.c (do_one_test): Likewise.
35517         (do_test): Likewise.
35518         * string/test-rawmemchr.c (do_one_test): Likewise.
35519         (do_test): Likewise.
35520         * string/test-strcasecmp.c (do_one_test): Likewise.
35521         (do_test): Likewise.
35522         * string/test-strcasestr.c (do_one_test): Likewise.
35523         (do_test): Likewise.
35524         * string/test-strcat.c (do_one_test): Likewise.
35525         (do_test): Likewise.
35526         * string/test-strchr.c (do_one_test): Likewise.
35527         (do_test): Likewise.
35528         * string/test-strcmp.c (do_one_test): Likewise.
35529         (do_test): Likewise.
35530         * string/test-strcpy.c (do_one_test): Likewise.
35531         (do_test): Likewise.
35532         * string/test-string.h: Likewise.
35533         (test_init): Likewise.
35534         * string/test-strlen.c (do_one_test): Likewise.
35535         (do_test): Likewise.
35536         * string/test-strncasecmp.c (do_one_test): Likewise.
35537         (do_test): Likewise.
35538         * string/test-strncat.c (do_one_test): Likewise.
35539         (do_test): Likewise.
35540         * string/test-strncmp.c (do_one_test): Likewise.
35541         (do_test_limit): Likewise.
35542         (do_test): Likewise.
35543         * string/test-strncpy.c (do_one_test): Likewise.
35544         (do_test): Likewise.
35545         * string/test-strnlen.c (do_one_test): Likewise.
35546         (do_test): Likewise.
35547         * string/test-strpbrk.c (do_one_test): Likewise.
35548         (do_test): Likewise.
35549         * string/test-strrchr.c (do_one_test): Likewise.
35550         (do_test): Likewise.
35551         * string/test-strspn.c (do_one_test): Likewise.
35552         (do_test): Likewise.
35553         * string/test-strstr.c (do_one_test): Likewise.
35554         (do_test): Likewise.
35556         * benchtests/Makefile (string-bench): Add string benchmarks.
35557         * benchtests/bench-bcopy-ifunc.c: New file.
35558         * benchtests/bench-bcopy.c: New file.
35559         * benchtests/bench-bzero-ifunc.c: New file.
35560         * benchtests/bench-bzero.c: New file.
35561         * benchtests/bench-memccpy-ifunc.c: New file.
35562         * benchtests/bench-memccpy.c: New file.
35563         * benchtests/bench-memchr-ifunc.c: New file.
35564         * benchtests/bench-memchr.c: New file.
35565         * benchtests/bench-memcmp-ifunc.c: New file.
35566         * benchtests/bench-memcmp.c: New file.
35567         * benchtests/bench-memmem-ifunc.c: New file.
35568         * benchtests/bench-memmem.c: New file.
35569         * benchtests/bench-memmove-ifunc.c: New file.
35570         * benchtests/bench-memmove.c: New file.
35571         * benchtests/bench-mempcpy-ifunc.c: New file.
35572         * benchtests/bench-mempcpy.c: New file.
35573         * benchtests/bench-memset-ifunc.c: New file.
35574         * benchtests/bench-memset.c: New file.
35575         * benchtests/bench-rawmemchr-ifunc.c: New file.
35576         * benchtests/bench-rawmemchr.c: New file.
35577         * benchtests/bench-stpcpy-ifunc.c: New file.
35578         * benchtests/bench-stpcpy.c: New file.
35579         * benchtests/bench-stpncpy-ifunc.c: New file.
35580         * benchtests/bench-stpncpy.c: New file.
35581         * benchtests/bench-strcasecmp-ifunc.c: New file.
35582         * benchtests/bench-strcasecmp.c: New file.
35583         * benchtests/bench-strcasestr-ifunc.c: New file.
35584         * benchtests/bench-strcasestr.c: New file.
35585         * benchtests/bench-strcat-ifunc.c: New file.
35586         * benchtests/bench-strcat.c: New file.
35587         * benchtests/bench-strchr-ifunc.c: New file.
35588         * benchtests/bench-strchr.c: New file.
35589         * benchtests/bench-strchrnul-ifunc.c: New file.
35590         * benchtests/bench-strchrnul.c: New file.
35591         * benchtests/bench-strcmp-ifunc.c: New file.
35592         * benchtests/bench-strcmp.c: New file.
35593         * benchtests/bench-strcpy-ifunc.c: New file.
35594         * benchtests/bench-strcpy.c: New file.
35595         * benchtests/bench-strcspn-ifunc.c: New file.
35596         * benchtests/bench-strcspn.c: New file.
35597         * benchtests/bench-strlen-ifunc.c: New file.
35598         * benchtests/bench-strlen.c: New file.
35599         * benchtests/bench-strncasecmp-ifunc.c: New file.
35600         * benchtests/bench-strncasecmp.c: New file.
35601         * benchtests/bench-strncat-ifunc.c: New file.
35602         * benchtests/bench-strncat.c: New file.
35603         * benchtests/bench-strncmp-ifunc.c: New file.
35604         * benchtests/bench-strncmp.c: New file.
35605         * benchtests/bench-strncpy-ifunc.c: New file.
35606         * benchtests/bench-strncpy.c: New file.
35607         * benchtests/bench-strnlen-ifunc.c: New file.
35608         * benchtests/bench-strnlen.c: New file.
35609         * benchtests/bench-strpbrk-ifunc.c: New file.
35610         * benchtests/bench-strpbrk.c: New file.
35611         * benchtests/bench-strrchr-ifunc.c: New file.
35612         * benchtests/bench-strrchr.c: New file.
35613         * benchtests/bench-strspn-ifunc.c: New file.
35614         * benchtests/bench-strspn.c: New file.
35615         * benchtests/bench-strstr-ifunc.c: New file.
35616         * benchtests/bench-strstr.c: New file.
35618         * benchtests/Makefile: Disable parallel execution of targets.
35619         (string-bench): Add memcpy.
35620         (benchset): New variable to store a list of benchmark sets.
35621         (bench-func): Renamed from bench.
35622         (bench-set): New target.
35623         (bench): Depend on bench-func and bench-set.
35624         * benchtests/README: Add section on benchmark sets.
35625         * benchtests/bench-memcpy-ifunc.c: New file.
35626         * benchtests/bench-memcpy.c: New file.
35627         * benchtests/bench-string.h: New file.
35629 2013-06-11  Andreas Schwab  <schwab@suse.de>
35631         [BZ #15577]
35632         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35633         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35634         values in the triple.
35635         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35636         terminator in the group key.
35638 2013-06-11  Andreas Jaeger  <aj@suse.de>
35640         * po/zh_TW.po: Update Chinese (traditional) translation from
35641         translation project.
35643 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35645         * include/time.h (__clock_gettime): Add libc_hidden_proto.
35646         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35647         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
35648         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35649         (clock_getcpuclockid): Likewise.
35650         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35651         Add weak_alias and libc_hidden_def.
35652         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35653         * rt/clock_gettime.c (clock_gettime): Rename to
35654         __clock_gettime.  Add weak_alias and libc_hidden_def.
35655         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35656         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35657         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
35658         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35659         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35660         Likewise.
35661         * rt/clock_settime.c (clock_settime): Rename to
35662         __clock_settime.  Add weak_alias and libc_hidden_def.
35663         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35665 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
35667         * mach/err_boot.sub: Remove trailing whitespace.
35668         * mach/err_ipc.sub: Likewise.
35669         * mach/err_mach.sub: Likewise.
35671         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35672         (ROUNDING_TESTS_double): Likewise.
35673         (ROUNDING_TESTS_long_double): Likewise.
35674         (ROUNDING_TESTS): Likewise.
35675         * math/libm-test.inc: Include <math-tests.h>.
35676         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35677         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35678         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35679         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35681 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35683         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35684         of assigning.
35686 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
35688         * sysdeps/gnu/errlist.awk: Do not generate space at end of
35689         otherwise empty TRANS lines.
35690         * sysdeps/gnu/errlist.c: Regenerated.
35692         * catgets/gencat.c (error_print): Use (void) in function
35693         definition.
35694         * crypt/crypt_util.c (__init_des): Likewise.
35695         * crypt/speeds.c (Stop): Likewise.
35696         (main): Likewise.
35697         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35698         * inet/ruserpass.c (token): Likewise.
35699         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35700         * intl/localealias.c (extend_alias_table): Likewise.
35701         * intl/plural-exp.c (init_germanic_plural): Likewise.
35702         * libio/fcloseall.c (__fcloseall): Likewise.
35703         * libio/genops.c (_IO_flush_all): Likewise.
35704         (_IO_flush_all_linebuffered): Likewise.
35705         (_IO_cleanup): Likewise.
35706         (_IO_iter_begin): Likewise.
35707         (_IO_iter_end): Likewise.
35708         (_IO_list_lock): Likewise.
35709         (_IO_list_unlock): Likewise.
35710         (_IO_list_resetlock): Likewise.
35711         * libio/getchar.c (getchar): Likewise.
35712         * libio/getchar_u.c (getchar_unlocked): Likewise.
35713         * libio/getwchar.c (getwchar): Likewise.
35714         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35715         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35716         * login/getpt.c (__getpt): Likewise.
35717         * login/tst-utmp.c (main): Likewise.
35718         * malloc/hooks.c (__malloc_check_init): Likewise.
35719         * malloc/malloc.c (__malloc_stats): Likewise.
35720         * malloc/mtrace.c (tr_break): Likewise.
35721         (mtrace): Likewise.
35722         (muntrace): Likewise.
35723         * misc/fstab.c (endfsent): Likewise.
35724         * misc/getclktck.c (__getclktck): Likewise.
35725         * misc/getdtsz.c (__getdtablesize): Likewise.
35726         * misc/gethostid.c (gethostid): Likewise.
35727         * misc/getpagesize.c (__getpagesize): Likewise.
35728         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35729         (__get_nprocs): Likewise.
35730         (__get_phys_pages): Likewise.
35731         (__get_avphys_pages): Likewise.
35732         * misc/getttyent.c (getttyent): Likewise.
35733         (setttyent): Likewise.
35734         (endttyent): Likewise.
35735         * misc/getusershell.c (getusershell): Likewise.
35736         (endusershell): Likewise.
35737         (setusershell): Likewise.
35738         (initshells): Likewise.
35739         * misc/hsearch.c (__hdestroy): Likewise.
35740         * misc/sync.c (sync): Likewise.
35741         * misc/syslog.c (closelog_internal): Likewise.
35742         (closelog): Likewise.
35743         * misc/ttyslot.c (ttyslot): Likewise.
35744         * misc/vhangup.c (vhangup): Likewise.
35745         * posix/fork.c (__fork): Likewise.
35746         * posix/getegid.c (__getegid): Likewise.
35747         * posix/geteuid.c (__geteuid): Likewise.
35748         * posix/getgid.c (__getgid): Likewise.
35749         * posix/getpid.c (__getpid): Likewise.
35750         * posix/getppid.c (__getppid): Likewise.
35751         * posix/getuid.c (__getuid): Likewise.
35752         * posix/pause.c (pause): Likewise.
35753         * posix/setpgrp.c (setpgrp): Likewise.
35754         * posix/setsid.c (__setsid): Likewise.
35755         * posix/test-vfork.c (noop): Likewise.
35756         * resolv/gethnamaddr.c (_endhtent): Likewise.
35757         (_gethtent): Likewise.
35758         (ht_endhostent): Likewise.
35759         (gethostent): Likewise.
35760         (dns_service): Likewise.
35761         * stdlib/drand48.c (drand48): Likewise.
35762         * stdlib/lrand48.c (lrand48): Likewise.
35763         * stdlib/mrand48.c (mrand48): Likewise.
35764         * stdlib/rand.c (rand): Likewise.
35765         * stdlib/random.c (__random): Likewise.
35766         * stdlib/setenv.c (clearenv): Likewise.
35767         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35768         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35769         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35770         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35771         (__get_nprocs): Likewise.
35772         (__get_phys_pages): Likewise.
35773         (__get_avphys_pages): Likewise.
35774         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35775         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35776         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35777         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35778         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35779         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35780         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35781         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35782         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35783         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35784         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35785         * sysdeps/mach/hurd/sync.c (sync): Likewise.
35786         * sysdeps/posix/clock.c (clock): Likewise.
35787         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35788         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35789         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35790         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35791         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35792         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35793         (__get_nprocs_conf): Likewise.
35794         (__get_phys_pages): Likewise.
35795         (__get_avphys_pages): Likewise.
35796         * time/clock.c (clock): Likewise.
35797         * time/tzset.c (__tzname_max): Likewise.
35799 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
35801         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35802         (__bswap_32): Do not use "register".
35803         * crypt/crypt.c (_ufc_doit_r): Likewise.
35804         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35805         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35806         * gmon/gmon.c (__monstartup): Likewise.
35807         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35808         * hurd/hurdmalloc.c (more_memory): Likewise.
35809         (malloc): Likewise.
35810         (free): Likewise.
35811         (realloc): Likewise.
35812         (malloc_fork_prepare): Likewise.
35813         (malloc_fork_parent): Likewise.
35814         (malloc_fork_child): Likewise.
35815         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35816         (_svcauth_des): Likewise.
35817         * inet/inet_lnaof.c (inet_lnaof): Likewise.
35818         * inet/inet_net.c (inet_network): Likewise.
35819         * inet/inet_netof.c (inet_netof): Likewise.
35820         * inet/rcmd.c (__validuser2_sa): Likewise.
35821         * io/fts.c (fts_open): Likewise.
35822         (fts_load): Likewise.
35823         (fts_close): Likewise.
35824         (fts_read): Likewise.
35825         (fts_children): Likewise.
35826         (fts_build): Likewise.
35827         (fts_stat): Likewise.
35828         (fts_sort): Likewise.
35829         (fts_alloc): Likewise.
35830         (fts_lfree): Likewise.
35831         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35832         (_IO_file_xsgetn): Likewise.
35833         (_IO_file_xsgetn_mmap): Likewise.
35834         * libio/iofopncook.c (_IO_cookie_read): Likewise.
35835         (_IO_cookie_write): Likewise.
35836         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35837         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35838         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35839         * malloc/obstack.c (_obstack_begin): Likewise.
35840         (_obstack_begin_1): Likewise.
35841         (_obstack_newchunk): Likewise.
35842         (_obstack_allocated_p): Likewise.
35843         (obstack_free): Likewise.
35844         (_obstack_memory_used): Likewise.
35845         * misc/getttyent.c (getttynam): Likewise.
35846         (getttyent): Likewise.
35847         (skip): Likewise.
35848         (value): Likewise.
35849         * misc/getusershell.c (initshells): Likewise.
35850         * misc/syslog.c (__vsyslog_chk): Likewise.
35851         * misc/ttyslot.c (ttyslot): Likewise.
35852         * nis/nis_hash.c (__nis_hash): Likewise.
35853         * posix/fnmatch_loop.c (FCT): Likewise.
35854         * posix/getconf.c (print_all): Likewise.
35855         (main): Likewise.
35856         * posix/getopt.c (exchange): Likewise.
35857         * posix/glob.c (globfree): Likewise.
35858         (prefix_array): Likewise.
35859         (__glob_pattern_type): Likewise.
35860         * resolv/arpa/nameser.h (NS_GET16): Likewise.
35861         (NS_GET32): Likewise.
35862         (NS_PUT16): Likewise.
35863         (NS_PUT32): Likewise.
35864         * resolv/gethnamaddr.c (getanswer): Likewise.
35865         (gethostbyname2): Likewise.
35866         (gethostbyaddr): Likewise.
35867         (_gethtent): Likewise.
35868         (_gethtbyname2): Likewise.
35869         (_gethtbyaddr): Likewise.
35870         * resolv/ns_print.c (dst_s_get_int16): Likewise.
35871         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
35872         * resolv/res_init.c (__res_vinit): Likewise.
35873         (net_mask): Likewise.
35874         * resolv/res_mkquery.c (outchar): Likewise.
35875         (PRINT): Likewise.
35876         * stdio-common/printf_fp.c (outchar): Likewise.
35877         (PRINT): Likewise.
35878         * stdio-common/printf_fphex.c (outchar): Likewise.
35879         (PRINT): Likewise.
35880         * stdio-common/printf_size.c (outchar): Likewise.
35881         (PRINT): Likewise.
35882         * stdio-common/test_rdwr.c (main): Likewise.
35883         * stdio-common/tfformat.c (matches): Likewise.
35884         * stdio-common/vfprintf.c (outchar): Likewise.
35885         (printf_unknown): Likewise.
35886         (buffered_vfprintf): Likewise.
35887         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
35888         * stdio-common/xbug.c (AppendToBuffer): Likewise.
35889         (ReadFile): Likewise.
35890         * stdlib/qsort.c (SWAP): Likewise.
35891         (_quicksort): Likewise.
35892         * stdlib/setenv.c (__add_to_environ): Likewise.
35893         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
35894         * stdlib/strtol_l.c (__strtol_l): Likewise.
35895         * stdlib/tst-strtod.c (main): Likewise.
35896         * stdlib/tst-strtol.c (main): Likewise.
35897         * stdlib/tst-strtoll.c (main): Likewise.
35898         * string/bits/string2.h (__strcmp_cc): Likewise.
35899         (__strcmp_cg): Likewise.
35900         (__strcspn_c1): Likewise.
35901         (__strcspn_c2): Likewise.
35902         (__strcspn_c3): Likewise.
35903         (__strspn_c1): Likewise.
35904         (__strspn_c2): Likewise.
35905         (__strspn_c3): Likewise.
35906         (__strsep_1c): Likewise.
35907         (__strsep_2c): Likewise.
35908         (__strsep_3c): Likewise.
35909         * string/memccpy.c (__memccpy): Likewise.
35910         * string/stpcpy.c (__stpcpy): Likewise.
35911         * string/strcmp.c (strcmp): Likewise.
35912         * string/strrchr.c (strrchr): Likewise.
35913         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
35914         Likewise.
35915         * sysdeps/mach/hurd/getcwd.c
35916         (_hurd_canonicalize_directory_name_internal): Likewise.
35917         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
35918         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
35919         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
35920         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
35921         Likewise, in both definitions.
35922         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
35923         definitions.
35924         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
35925         64] (__bswap_64): Likewise.
35926         * time/test_time.c (main): Likewise.
35927         * time/tzfile.c (__tzfile_read): Likewise.
35928         (__tzfile_compute): Likewise.
35929         * time/tzset.c (__tzset_parse_tz): Likewise.
35930         (tzset_internal): Likewise.
35931         (compute_change): Likewise.
35932         * wcsmbs/wcscat.c (__wcscat): Likewise.
35933         * wcsmbs/wcschr.c (wcschr): Likewise.
35934         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
35935         * wcsmbs/wcscspn.c (wcscspn): Likewise.
35936         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
35937         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
35938         * wcsmbs/wcsspn.c (wcsspn): Likewise.
35939         * wcsmbs/wcsstr.c (wcsstr): Likewise.
35940         * wcsmbs/wmemchr.c (wmemchr): Likewise.
35941         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
35942         * wcsmbs/wmemset.c (wmemset): Likewise.
35944 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
35946         * scripts/config.guess: Update to version 2013-05-16.
35947         * scripts/config.sub: Update to version 2013-04-24.
35948         * scripts/install-sh: Update to version 2011-11-20.07.
35949         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
35950         * scripts/move-if-change: Update to version 2012-01-06 07:23.
35952 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
35954         * debug/fgetws_u_chk.c: Fix leading whitespaces.
35955         * elf/sln.c: Likewise.
35956         * hurd/hurd/ioctl.h: Likewise.
35957         * hurd/hurdmalloc.c: Likewise.
35958         * hurd/xattr.c: Likewise.
35959         * include/shlib-compat.h: Likewise.
35960         * inet/ruserpass.c: Likewise.
35961         * libio/iofgets_u.c: Likewise.
35962         * libio/iofgetws_u.c: Likewise.
35963         * locale/programs/ld-identification.c: Likewise.
35964         * locale/programs/ld-time.c: Likewise.
35965         * mach/msg-destroy.c: Likewise.
35966         * nss/nss_files/files-netgrp.c: Likewise.
35967         * resolv/res_data.c: Likewise.
35968         * soft-fp/op-1.h: Likewise.
35969         * soft-fp/op-2.h: Likewise.
35970         * soft-fp/op-4.h: Likewise.
35971         * soft-fp/op-common.h: Likewise.
35972         * stdio-common/printf_fphex.c: Likewise.
35973         * stdlib/strtod_l.c: Likewise.
35974         * sunrpc/rpc/clnt.h: Likewise.
35975         * sysdeps/generic/framestate.c: Likewise.
35976         * sysdeps/i386/bsd-_setjmp.S: Likewise.
35977         * sysdeps/i386/bsd-setjmp.S: Likewise.
35978         * sysdeps/i386/__longjmp.S: Likewise.
35979         * sysdeps/i386/setjmp.S: Likewise.
35980         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35981         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35982         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35983         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35984         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35985         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35986         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35987         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35988         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35989         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35990         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35991         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35992         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35993         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35994         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35995         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35996         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35997         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
35998         * sysdeps/ieee754/support.c: Likewise.
35999         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36000         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
36001         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
36002         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
36003         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
36004         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
36005         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
36006         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
36007         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
36008         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
36009         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
36010         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
36011         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
36012         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
36013         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
36014         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
36015         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
36018 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
36020         * posix/transbug.c: Remove executable mode.
36022 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
36024         * crypt/speeds.c: Remove trailing whitespace.
36025         * dlfcn/default.c: Likewise.
36026         * elf/ifuncdep2.c: Likewise.
36027         * elf/ifuncmain1.c: Likewise.
36028         * elf/ifuncmain1vis.c: Likewise.
36029         * elf/testobj.h: Likewise.
36030         * elf/tst-stackguard1.c: Likewise.
36031         * gmon/sys/gmon.h: Likewise.
36032         * hurd/hurdmsg.c: Likewise.
36033         * hurd/new-fd.c: Likewise.
36034         * hurd/ports-get.c: Likewise.
36035         * iconvdata/ibm1008_420.c: Likewise.
36036         * inet/tst-getni1.c: Likewise.
36037         * inet/tst-getni2.c: Likewise.
36038         * libio/ioungetc.c: Likewise.
36039         * libio/wfiledoalloc.c: Likewise.
36040         * manual/libm-err-tab.pl: Likewise.
36041         * math/w_dremf.c: Likewise.
36042         * misc/ftruncate.c: Likewise.
36043         * posix/bug-glob2.c: Likewise.
36044         * posix/tst-pcre.c: Likewise.
36045         * posix/wait4.c: Likewise.
36046         * resolv/README: Likewise.
36047         * resolv/res_debug.h: Likewise.
36048         * resolv/tst-inet_ntop.c: Likewise.
36049         * setjmp/bug269-setjmp.c: Likewise.
36050         * soft-fp/extended.h: Likewise.
36051         * soft-fp/op-1.h: Likewise.
36052         * soft-fp/op-2.h: Likewise.
36053         * soft-fp/op-4.h: Likewise.
36054         * soft-fp/op-8.h: Likewise.
36055         * soft-fp/testit.c: Likewise.
36056         * stdio-common/bug16.c: Likewise.
36057         * stdlib/random.c: Likewise.
36058         * sunrpc/rpcsvc/rquota.x: Likewise.
36059         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
36060         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36061         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36062         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36063         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36064         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36065         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36066         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36067         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36068         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36069         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36070         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36071         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36072         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36073         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36074         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36075         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36076         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36077         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36078         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36079         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36080         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36081         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
36082         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36083         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36084         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36085         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36086         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36087         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36088         * sysdeps/ieee754/s_lib_version.c: Likewise.
36089         * sysdeps/mach/hurd/check_fds.c: Likewise.
36090         * sysdeps/mach/hurd/getsockname.c: Likewise.
36091         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
36092         * sysdeps/mach/hurd/recvfrom.c: Likewise.
36093         * sysdeps/powerpc/bits/link.h: Likewise.
36094         * sysdeps/powerpc/dl-procinfo.c: Likewise.
36095         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
36096         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
36097         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
36098         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36099         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36100         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
36101         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36102         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
36103         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36104         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36105         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36106         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
36107         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36108         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36109         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36110         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36111         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36112         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36113         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36114         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36115         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
36116         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36117         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36118         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
36119         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36120         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36121         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36122         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36123         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36124         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36125         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36126         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36127         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36128         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
36129         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36130         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
36131         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36132         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36133         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
36134         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
36135         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
36136         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
36137         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
36138         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36139         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
36140         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
36141         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36142         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
36143         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
36144         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36145         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36146         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36147         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36148         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
36149         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36150         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36151         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36152         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
36153         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36154         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
36155         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
36156         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
36157         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36158         * sysdeps/powerpc/sysdep.h: Likewise.
36159         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36160         * sysdeps/s390/s390-64/sub_n.S: Likewise.
36161         * sysdeps/sh/dl-trampoline.S: Likewise.
36162         * sysdeps/sh/memset.S: Likewise.
36163         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
36164         * sysdeps/sh/strlen.S: Likewise.
36165         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
36166         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
36167         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
36168         * sysdeps/sparc/sparc32/rem.S: Likewise.
36169         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
36170         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
36171         * sysdeps/sparc/sparc32/strchr.S: Likewise.
36172         * sysdeps/sparc/sparc32/udiv.S: Likewise.
36173         * sysdeps/sparc/sparc32/urem.S: Likewise.
36174         * sysdeps/sparc/sparc64/add_n.S: Likewise.
36175         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36176         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
36177         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
36178         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
36179         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
36180         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36181         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
36182         * sysdeps/unix/bsd/times.c: Likewise.
36183         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
36184         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
36185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
36186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
36187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36188         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
36189         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36190         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
36191         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
36192         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
36193         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
36194         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36195         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
36196         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36197         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36198         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36199         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36200         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
36201         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
36202         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
36203         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
36204         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
36205         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36206         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
36207         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
36208         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36209         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
36210         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36211         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
36212         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
36213         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
36214         * sysdeps/x86_64/strcspn.S: Likewise.
36216 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36218         * locale/C-translit.h: Revert #include <stdint.h> because this is a
36219         generated file.  Regenerate properly from gen-translit.pl.
36220         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
36221         locale/C-translit.h.
36223 2013-06-05  Andreas Schwab  <schwab@suse.de>
36225         [BZ #15100]
36226         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
36227         week as 6 instead of -1.
36228         * time/tst-strptime.c (day_tests): Add test case.
36230 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36232         * sysdeps/generic/math_private.h
36233         (libc_feholdexcept_setround_53bit): Replace with
36234         libc_feholdsetround_53bit.
36235         (libc_feupdateenv_53bit): Replace with
36236         libc_feresetround_53bit.
36237         (SET_RESTORE_ROUND_53BIT): Adjust.
36239 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36241         * string/test-strchrnul.c: Add copyright header.
36243         * posix/tst-getaddrinfo4.c: Increase test timeout.
36245 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
36247         [BZ #15536]
36248         * math/libm-test.inc (MAX_EXP): Remove
36249         (MIN_EXP): Define.
36250         (ulp): Use MIN_EXP - MANT_DIG.
36251         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
36253 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
36255         * po/be.po: Revert last change.
36256         * po/zh_CN.po: Likewise.
36257         * po/header.pot: Likewise.
36259 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
36261         * Makefile ($(common-objpfx)linkobj/libc.so): Define
36262         link-libc-deps to empty as target-specific variable.
36263         * Makerules (link-libc-args): New variable.
36264         (libc-for-link): Likewise.
36265         (link-libc-deps): Likewise.
36266         (lib%.so): Depend on $(link-libc-deps).  Link with
36267         $(link-libc-args).
36268         (build-module): Link with $(link-libc-args).
36269         (build-module-asneeded): Likewise.
36270         (build-module-helper-objlist): Filter out $(link-libc-deps) from
36271         list of objects.
36272         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
36273         target-specific variable.
36274         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
36275         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
36276         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
36277         libc.
36278         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
36279         libc and ld.so.
36280         ($(objpfx)libpcprofile.so): Likewise.
36281         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
36282         libc_nonshared.a.
36283         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
36284         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
36285         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
36286         $(link-libc-deps).
36287         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
36288         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
36289         * login/Makefile ($(objpfx)libutil.so): Likewise.
36290         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
36291         * math/Makefile ($(objpfx)libm.so): Likewise.
36292         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
36293         $(objpfx)libnsl.so): Define libc-for-link as target-specific
36294         variable instead of depending directly on libc.
36295         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
36296         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
36297         $(link-libc-deps).
36298         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
36299         libc.
36300         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
36301         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
36302         ($(objpfx)libanl.so): Likewise.
36303         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
36304         ld.so.
36305         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
36306         $(link-libc-deps).
36307         * sysdeps/i386/fpu/Makefile: Remove file.
36308         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
36309         ($(objpfx)libm.so): Remove dependency on ld.so.
36311 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
36313         [BZ # 15553]
36314         * nis/yp_xdr.c (XDRMAXNAME): Define.
36315         (XDRMAXRECORD): Define.
36316         (xdr_domainname): Use XDRMAXNAME.
36317         (xdr_mapname): Likewise.
36318         (xdr_peername): Likewise.
36319         (xdr_keydat): Use XDRMAXRECORD.
36320         (xdr_valdat): Likewise.
36322 2013-05-30  Jeff Law  <law@redhat.com>
36324         [BZ #14256]
36325         * manual/errno.texi (ESTALE): Update to account for more than
36326         just NFS file systems.
36327         * sysdeps/gnu/errlist.c: Regenerated.
36329 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36331         [BZ #15465]
36332         * elf/Makefile (tests): Add tst-null-argv.
36333         (modules-names):  Add tst-null-argv-lib.
36334         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
36335         (tst-null-argv-ENV): Set environment for tst-null-argv.
36336         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
36337         (RTLD_PROGNAME): New macro.
36338         * elf/tst-null-argv.c: New test case.
36339         * elf/tst-null-argv-lib.c: Library for test case.
36340         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
36341         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
36342         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
36343         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
36344         * elf/dl-init.c (call_init): Likewise.
36345         (_dl_init): Likewise.
36346         * elf/dl-load.c (print_search_path): Likewise.
36347         (_dl_map_object): Likewise.
36348         * elf/dl-lookup.c (do_lookup_x): Likewise.
36349         (add_dependency): Likewise.
36350         (_dl_lookup_symbol_x): Likewise.
36351         (_dl_debug_bindings): Likewise.
36352         * elf/dl-open.c (_dl_show_scope): Likewise.
36353         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36354         * elf/dl-version.c (match_symbol): Likewise.
36355         (_dl_check_map_versions): Likewise.
36356         * elf/rtld.c (dl_main): Likewise.
36357         (print_unresolved): Use RTLD_PROGNAME.
36358         (print_missing_version): Likewise.
36359         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
36360         (elf_machine_rela): Likewise.
36361         * sysdeps/powerpc/powerpc32/dl-machine.c
36362         (__process_machine_rela): Likewise.
36363         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36364         Likewise.
36365         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36366         Likewise.
36367         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36368         Likewise.
36369         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36370         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
36371         Likewise.
36372         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
36373         Likewise.
36374         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36376 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
36378         * po/be.po: Add descriptive title.
36379         * po/zh_CN.po: Likewise.
36380         * po/header.pot: Likewise.
36382 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
36384         * locale/programs/locarchive.c (create_archive): Inlucde fname in
36385         error message.
36386         (enlarge_archive): Likewise.
36388 2013-05-28  Ben North  <ben@redfrontdoor.org>
36390         * manual/arith.texi (frexp): It is the magnitude of the return
36391         value which lies in [0.5, 1), not the return value itself.
36393 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36397 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
36399         * stdio-common/bug26.c (main): Correct fscanf template.
36401         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
36402         declare _dl_skip_args.
36404         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
36405         Don't declare.
36407         * manual/platform.texi: Add missing @end deftypefun.
36409 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36411         [BZ #15529]
36412         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
36413         bit of mantissa of 2^16382.
36414         * math/libm-test.inc (hypot_test_data): Add more tests.
36416         * math/libm-test.inc: Add drem and pow10 to list of tested
36417         functions.
36418         (pow10_test): New function.
36419         (drem_test): Likewise.
36420         (drem_test_tonearest): Likewise.
36421         (drem_test_towardzero): Likewise.
36422         (drem_test_downward): Likewise.
36423         (drem_test_upward): Likewise.
36424         (main): Call the new functions.
36426         * math/libm-test.inc (finite_test_data): Remove.
36427         (finite_test): Run tests from isfinite_test_data.
36428         (gamma_test_data): Remove.
36429         (gamma_test): Run tests from lgamma_test_data.
36430         * sysdeps/i386/fpu/libm-test-ulps: Update.
36431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36433 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36435         * manual/platform.texi: Add PowerPC PPR function set documentation.
36436         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36437         implementation.
36439 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
36441         * math/libm-test.inc (MAX_EXP): Define.
36442         (ULPDIFF): Define.
36443         (ulp): New function.
36444         (check_float_internal): Use ULPDIFF.
36445         (cpow_test): Disable failing test.
36446         (check_ulp): Test ulp() implemetnation.
36447         (main): Call check_ulp before starting tests.
36449 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
36451         * math/gen-libm-test.pl (generate_testfile): Do not handle
36452         START_DATA and END_DATA.
36453         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
36454         END_DATA.
36455         (acos_tonearest_test_data): Likewise.
36456         (acos_towardzero_test_data): Likewise.
36457         (acos_downward_test_data): Likewise.
36458         (acos_upward_test_data): Likewise.
36459         (acosh_test_data): Likewise.
36460         (asin_test_data): Likewise.
36461         (asin_tonearest_test_data): Likewise.
36462         (asin_towardzero_test_data): Likewise.
36463         (asin_downward_test_data): Likewise.
36464         (asin_upward_test_data): Likewise.
36465         (asinh_test_data): Likewise.
36466         (atan_test_data): Likewise.
36467         (atanh_test_data): Likewise.
36468         (atan2_test_data): Likewise.
36469         (cabs_test_data): Likewise.
36470         (cacos_test_data): Likewise.
36471         (cacosh_test_data): Likewise.
36472         (carg_test_data): Likewise.
36473         (casin_test_data): Likewise.
36474         (casinh_test_data): Likewise.
36475         (catan_test_data): Likewise.
36476         (catanh_test_data): Likewise.
36477         (cbrt_test_data): Likewise.
36478         (ccos_test_data): Likewise.
36479         (ccosh_test_data): Likewise.
36480         (ceil_test_data): Likewise.
36481         (cexp_test_data): Likewise.
36482         (cimag_test_data): Likewise.
36483         (clog_test_data): Likewise.
36484         (clog10_test_data): Likewise.
36485         (conj_test_data): Likewise.
36486         (copysign_test_data): Likewise.
36487         (cos_test_data): Likewise.
36488         (cos_tonearest_test_data): Likewise.
36489         (cos_towardzero_test_data): Likewise.
36490         (cos_downward_test_data): Likewise.
36491         (cos_upward_test_data): Likewise.
36492         (cosh_test_data): Likewise.
36493         (cosh_tonearest_test_data): Likewise.
36494         (cosh_towardzero_test_data): Likewise.
36495         (cosh_downward_test_data): Likewise.
36496         (cosh_upward_test_data): Likewise.
36497         (cpow_test_data): Likewise.
36498         (cproj_test_data): Likewise.
36499         (creal_test_data): Likewise.
36500         (csin_test_data): Likewise.
36501         (csinh_test_data): Likewise.
36502         (csqrt_test_data): Likewise.
36503         (ctan_test_data): Likewise.
36504         (ctan_tonearest_test_data): Likewise.
36505         (ctan_towardzero_test_data): Likewise.
36506         (ctan_downward_test_data): Likewise.
36507         (ctan_upward_test_data): Likewise.
36508         (ctanh_test_data): Likewise.
36509         (ctanh_tonearest_test_data): Likewise.
36510         (ctanh_towardzero_test_data): Likewise.
36511         (ctanh_downward_test_data): Likewise.
36512         (ctanh_upward_test_data): Likewise.
36513         (erf_test_data): Likewise.
36514         (erfc_test_data): Likewise.
36515         (exp_test_data): Likewise.
36516         (exp_tonearest_test_data): Likewise.
36517         (exp_towardzero_test_data): Likewise.
36518         (exp_downward_test_data): Likewise.
36519         (exp_upward_test_data): Likewise.
36520         (exp10_test_data): Likewise.
36521         (exp2_test_data): Likewise.
36522         (expm1_test_data): Likewise.
36523         (fabs_test_data): Likewise.
36524         (fdim_test_data): Likewise.
36525         (finite_test_data): Likewise.
36526         (floor_test_data): Likewise.
36527         (fma_test_data): Likewise.
36528         (fma_towardzero_test_data): Likewise.
36529         (fma_downward_test_data): Likewise.
36530         (fma_upward_test_data): Likewise.
36531         (fmax_test_data): Likewise.
36532         (fmin_test_data): Likewise.
36533         (fmod_test_data): Likewise.
36534         (fpclassify_test_data): Likewise.
36535         (frexp_test_data): Likewise.
36536         (gamma_test_data): Likewise.
36537         (hypot_test_data): Likewise.
36538         (ilogb_test_data): Likewise.
36539         (isfinite_test_data): Likewise.
36540         (isgreater_test_data): Likewise.
36541         (isgreaterequal_test_data): Likewise.
36542         (isinf_test_data): Likewise.
36543         (isless_test_data): Likewise.
36544         (islessequal_test_data): Likewise.
36545         (islessgreater_test_data): Likewise.
36546         (isnan_test_data): Likewise.
36547         (isnormal_test_data): Likewise.
36548         (issignaling_test_data): Likewise.
36549         (isunordered_test_data): Likewise.
36550         (j0_test_data): Likewise.
36551         (j1_test_data): Likewise.
36552         (jn_test_data): Likewise.
36553         (ldexp_test_data): Likewise.
36554         (lgamma_test_data): Likewise.
36555         (lrint_test_data): Likewise.
36556         (lrint_tonearest_test_data): Likewise.
36557         (lrint_towardzero_test_data): Likewise.
36558         (lrint_downward_test_data): Likewise.
36559         (lrint_upward_test_data): Likewise.
36560         (llrint_test_data): Likewise.
36561         (llrint_tonearest_test_data): Likewise.
36562         (llrint_towardzero_test_data): Likewise.
36563         (llrint_downward_test_data): Likewise.
36564         (llrint_upward_test_data): Likewise.
36565         (log_test_data): Likewise.
36566         (log10_test_data): Likewise.
36567         (log1p_test_data): Likewise.
36568         (log2_test_data): Likewise.
36569         (logb_test_data): Likewise.
36570         (logb_downward_test_data): Likewise.
36571         (lround_test_data): Likewise.
36572         (llround_test_data): Likewise.
36573         (modf_test_data): Likewise.
36574         (nearbyint_test_data): Likewise.
36575         (nextafter_test_data): Likewise.
36576         (nexttoward_test_data): Likewise.
36577         (pow_test_data): Likewise.
36578         (pow_tonearest_test_data): Likewise.
36579         (pow_towardzero_test_data): Likewise.
36580         (pow_downward_test_data): Likewise.
36581         (pow_upward_test_data): Likewise.
36582         (remainder_test_data): Likewise.
36583         (remainder_tonearest_test_data): Likewise.
36584         (remainder_towardzero_test_data): Likewise.
36585         (remainder_downward_test_data): Likewise.
36586         (remainder_upward_test_data): Likewise.
36587         (remquo_test_data): Likewise.
36588         (rint_test_data): Likewise.
36589         (rint_tonearest_test_data): Likewise.
36590         (rint_towardzero_test_data): Likewise.
36591         (rint_downward_test_data): Likewise.
36592         (rint_upward_test_data): Likewise.
36593         (round_test_data): Likewise.
36594         (scalb_test_data): Likewise.
36595         (scalbn_test_data): Likewise.
36596         (scalbln_test_data): Likewise.
36597         (signbit_test_data): Likewise.
36598         (sin_test_data): Likewise.
36599         (sin_tonearest_test_data): Likewise.
36600         (sin_towardzero_test_data): Likewise.
36601         (sin_downward_test_data): Likewise.
36602         (sin_upward_test_data): Likewise.
36603         (sincos_test_data): Likewise.
36604         (sinh_test_data): Likewise.
36605         (sinh_tonearest_test_data): Likewise.
36606         (sinh_towardzero_test_data): Likewise.
36607         (sinh_downward_test_data): Likewise.
36608         (sinh_upward_test_data): Likewise.
36609         (sqrt_test_data): Likewise.
36610         (tan_test_data): Likewise.
36611         (tan_tonearest_test_data): Likewise.
36612         (tan_towardzero_test_data): Likewise.
36613         (tan_downward_test_data): Likewise.
36614         (tan_upward_test_data): Likewise.
36615         (tanh_test_data): Likewise.
36616         (tgamma_test_data): Likewise.
36617         (trunc_test_data): Likewise.
36618         (y0_test_data): Likewise.
36619         (y1_test_data): Likewise.
36620         (yn_test_data): Likewise.
36621         (significand_test_data): Likewise.
36623         * math/gen-libm-test.pl (@functions): Remove variable.
36624         (generate_testfile): Don't handle START and END lines.
36625         * math/libm-test.inc (START): New macro.
36626         (END): Likewise.
36627         (END_COMPLEX): Likewise.
36628         (acos_test): Use END macro without arguments.
36629         (acos_test_tonearest): Likewise.
36630         (acos_test_towardzero): Likewise.
36631         (acos_test_downward): Likewise.
36632         (acos_test_upward): Likewise.
36633         (acosh_test): Likewise.
36634         (asin_test): Likewise.
36635         (asin_test_tonearest): Likewise.
36636         (asin_test_towardzero): Likewise.
36637         (asin_test_downward): Likewise.
36638         (asin_test_upward): Likewise.
36639         (asinh_test): Likewise.
36640         (atan_test): Likewise.
36641         (atanh_test): Likewise.
36642         (atan2_test): Likewise.
36643         (cabs_test): Likewise.
36644         (cacos_test): Use END_COMPLEX macro without arguments.
36645         (cacosh_test): Likewise.
36646         (carg_test): Use END macro without arguments.
36647         (casin_test): Use END_COMPLEX macro without arguments.
36648         (casinh_test): Likewise.
36649         (catan_test): Likewise.
36650         (catanh_test): Likewise.
36651         (cbrt_test): Use END macro without arguments.
36652         (ccos_test): Use END_COMPLEX macro without arguments.
36653         (ccosh_test): Likewise.
36654         (ceil_test): Use END macro without arguments.
36655         (cexp_test): Use END_COMPLEX macro without arguments.
36656         (cimag_test): Use END macro without arguments.
36657         (clog_test): Use END_COMPLEX macro without arguments.
36658         (clog10_test): Likewise.
36659         (conj_test): Likewise.
36660         (copysign_test): Use END macro without arguments.
36661         (cos_test): Likewise.
36662         (cos_test_tonearest): Likewise.
36663         (cos_test_towardzero): Likewise.
36664         (cos_test_downward): Likewise.
36665         (cos_test_upward): Likewise.
36666         (cosh_test): Likewise.
36667         (cosh_test_tonearest): Likewise.
36668         (cosh_test_towardzero): Likewise.
36669         (cosh_test_downward): Likewise.
36670         (cosh_test_upward): Likewise.
36671         (cpow_test): Use END_COMPLEX macro without arguments.
36672         (cproj_test): Likewise.
36673         (creal_test): Use END macro without arguments.
36674         (csin_test): Use END_COMPLEX macro without arguments.
36675         (csinh_test): Likewise.
36676         (csqrt_test): Likewise.
36677         (ctan_test): Likewise.
36678         (ctan_test_tonearest): Likewise.
36679         (ctan_test_towardzero): Likewise.
36680         (ctan_test_downward): Likewise.
36681         (ctan_test_upward): Likewise.
36682         (ctanh_test): Likewise.
36683         (ctanh_test_tonearest): Likewise.
36684         (ctanh_test_towardzero): Likewise.
36685         (ctanh_test_downward): Likewise.
36686         (ctanh_test_upward): Likewise.
36687         (erf_test): Use END macro without arguments.
36688         (erfc_test): Likewise.
36689         (exp_test): Likewise.
36690         (exp_test_tonearest): Likewise.
36691         (exp_test_towardzero): Likewise.
36692         (exp_test_downward): Likewise.
36693         (exp_test_upward): Likewise.
36694         (exp10_test): Likewise.
36695         (exp2_test): Likewise.
36696         (expm1_test): Likewise.
36697         (fabs_test): Likewise.
36698         (fdim_test): Likewise.
36699         (finite_test): Likewise.
36700         (floor_test): Likewise.
36701         (fma_test): Likewise.
36702         (fma_test_towardzero): Likewise.
36703         (fma_test_downward): Likewise.
36704         (fma_test_upward): Likewise.
36705         (fmax_test): Likewise.
36706         (fmin_test): Likewise.
36707         (fmod_test): Likewise.
36708         (fpclassify_test): Likewise.
36709         (frexp_test): Likewise.
36710         (gamma_test): Likewise.
36711         (hypot_test): Likewise.
36712         (ilogb_test): Likewise.
36713         (isfinite_test): Likewise.
36714         (isgreater_test): Likewise.
36715         (isgreaterequal_test): Likewise.
36716         (isinf_test): Likewise.
36717         (isless_test): Likewise.
36718         (islessequal_test): Likewise.
36719         (islessgreater_test): Likewise.
36720         (isnan_test): Likewise.
36721         (isnormal_test): Likewise.
36722         (issignaling_test): Likewise.
36723         (isunordered_test): Likewise.
36724         (j0_test): Likewise.
36725         (j1_test): Likewise.
36726         (jn_test): Likewise.
36727         (ldexp_test): Likewise.
36728         (lgamma_test): Likewise.
36729         (lrint_test): Likewise.
36730         (lrint_test_tonearest): Likewise.
36731         (lrint_test_towardzero): Likewise.
36732         (lrint_test_downward): Likewise.
36733         (lrint_test_upward): Likewise.
36734         (llrint_test): Likewise.
36735         (llrint_test_tonearest): Likewise.
36736         (llrint_test_towardzero): Likewise.
36737         (llrint_test_downward): Likewise.
36738         (llrint_test_upward): Likewise.
36739         (log_test): Likewise.
36740         (log10_test): Likewise.
36741         (log1p_test): Likewise.
36742         (log2_test): Likewise.
36743         (logb_test): Likewise.
36744         (logb_test_downward): Likewise.
36745         (lround_test): Likewise.
36746         (llround_test): Likewise.
36747         (modf_test): Likewise.
36748         (nearbyint_test): Likewise.
36749         (nextafter_test): Likewise.
36750         (nexttoward_test): Likewise.
36751         (pow_test): Likewise.
36752         (pow_test_tonearest): Likewise.
36753         (pow_test_towardzero): Likewise.
36754         (pow_test_downward): Likewise.
36755         (pow_test_upward): Likewise.
36756         (remainder_test): Likewise.
36757         (remainder_test_tonearest): Likewise.
36758         (remainder_test_towardzero): Likewise.
36759         (remainder_test_downward): Likewise.
36760         (remainder_test_upward): Likewise.
36761         (remquo_test): Likewise.
36762         (rint_test): Likewise.
36763         (rint_test_tonearest): Likewise.
36764         (rint_test_towardzero): Likewise.
36765         (rint_test_downward): Likewise.
36766         (rint_test_upward): Likewise.
36767         (round_test): Likewise.
36768         (scalb_test): Likewise.
36769         (scalbn_test): Likewise.
36770         (scalbln_test): Likewise.
36771         (signbit_test): Likewise.
36772         (sin_test): Likewise.
36773         (sin_test_tonearest): Likewise.
36774         (sin_test_towardzero): Likewise.
36775         (sin_test_downward): Likewise.
36776         (sin_test_upward): Likewise.
36777         (sincos_test): Likewise.
36778         (sinh_test): Likewise.
36779         (sinh_test_tonearest): Likewise.
36780         (sinh_test_towardzero): Likewise.
36781         (sinh_test_downward): Likewise.
36782         (sinh_test_upward): Likewise.
36783         (sqrt_test): Likewise.
36784         (tan_test): Likewise.
36785         (tan_test_tonearest): Likewise.
36786         (tan_test_towardzero): Likewise.
36787         (tan_test_downward): Likewise.
36788         (tan_test_upward): Likewise.
36789         (tanh_test): Likewise.
36790         (tgamma_test): Likewise.
36791         (trunc_test): Likewise.
36792         (y0_test): Likewise.
36793         (y1_test): Likewise.
36794         (yn_test): Likewise.
36795         (significand_test): Likewise.
36797 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
36799         [BZ #15381]
36800         * libio/genops.c (_IO_no_init): Initialize wide struct info.
36802 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
36804         [BZ #14894]
36805         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36806         __ppc_mdoio and __ppc_mdoom.
36807         * manual/platform.texi: Document new functions __ppc_yield,
36808         __ppc_mdoio and __ppc_mdoom.
36810 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
36812         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36813         (main): Mention "tls" pseudo-hwcap is legacy.
36814         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36816 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
36818         * math/gen-libm-test.pl (parse_args): Output only string of
36819         arguments as text for test name, not full call or descriptions of
36820         tests for extra outputs.
36821         (generate_testfile): Do not pass function name to parse_args.
36822         Generate this_func variable from START.
36823         * math/libm-test.inc (struct test_f_f_data): Rename test_name
36824         field to arg_str.
36825         (struct test_ff_f_data): Likewise.
36826         (test_ff_f_data_nexttoward): Likewise.
36827         (struct test_fi_f_data): Likewise.
36828         (struct test_fl_f_data): Likewise.
36829         (struct test_if_f_data): Likewise.
36830         (struct test_fff_f_data): Likewise.
36831         (struct test_c_f_data): Likewise.
36832         (struct test_f_f1_data): Likewise.  Remove field extra_name.
36833         (struct test_fF_f1_data): Likewise.
36834         (struct test_ffI_f1_data): Likewise.
36835         (struct test_c_c_data): Rename test_name field to arg_str.
36836         (struct test_cc_c_data): Likewise.
36837         (struct test_f_i_data): Likewise.
36838         (struct test_ff_i_data): Likewise.
36839         (struct test_f_l_data): Likewise.
36840         (struct test_f_L_data): Likewise.
36841         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
36842         and extra2_name.
36843         (COMMON_TEST_SETUP): New macro.
36844         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36845         (COMMON_TEST_CLEANUP): Likewise.
36846         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36847         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
36848         macros.
36849         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36850         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
36851         macros.
36852         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
36853         (RUN_TEST_fff_f): Take argument string.  Call new setup and
36854         cleanup macros.
36855         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
36856         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
36857         macros.
36858         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
36859         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
36860         macros.
36861         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
36862         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
36863         cleanup macros.
36864         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
36865         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
36866         cleanup macros.
36867         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
36868         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
36869         cleanup macros.
36870         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
36871         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
36872         macros.
36873         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
36874         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
36875         macros.
36876         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
36877         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
36878         macros.
36879         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
36880         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
36881         cleanup macros.
36882         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
36883         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
36884         cleanup macros.
36885         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
36886         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
36887         macros.
36888         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
36889         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
36890         cleanup macros.
36891         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
36892         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
36893         macros.
36894         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
36895         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
36896         macros.
36897         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
36898         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
36899         cleanup macros.
36900         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
36902 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
36904         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
36905         to _sifields.sigfault.
36906         (si_addr_lsb): Define new macro.
36907         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36908         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36909         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
36911 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
36913         [BZ #15441]
36914         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
36915         returns -1.
36916         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
36917         null return -1.
36918         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
36919         loading the domain.
36921 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
36923         * math/gen-libm-test.pl (parse_args): Do not include expected
36924         result in test name.
36925         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
36926         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36927         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36928         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36929         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36932 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36934         * benchtests/Makefile: Sort function entries.
36936         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
36937         tanh, asinh, acosh, atanh.
36938         * benchtests/acos-inputs: New file.
36939         * benchtests/acosh-inputs: New file.
36940         * benchtests/asin-inputs: New file.
36941         * benchtests/asinh-inputs: New file.
36942         * benchtests/atanh-inputs: New file.
36943         * benchtests/cosh-inputs: New file.
36944         * benchtests/log-inputs: New file.
36945         * benchtests/sinh-inputs: New file.
36946         * benchtests/tanh-inputs: New file.
36948 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
36950         [BZ #15339]
36951         * posix/tst-getaddrinfo4.c: New test.
36952         * posix/Makefile (tests): Add it.
36954 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36956         [BZ #15339]
36957         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
36958         when no services were used.
36959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
36960         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
36962 2013-05-21  Andreas Schwab  <schwab@suse.de>
36964         [BZ #15014]
36965         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
36966         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
36967         successful.
36968         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
36969         redundant variable declarations and reallocation of buffer when
36970         parsing as IPv6 address.  Always set NSS status when called from
36971         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
36972         buffer too small.  Correct computation of needed size.
36973         * nss/Makefile (tests): Add test-digits-dots.
36974         * nss/test-digits-dots.c: New test.
36976 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36978         * benchtests/Makefile: Remove instructions for adding
36979         benchmark tests.
36980         * benchtests/README: New file to explain how to execute and
36981         enhance the benchmark tests.
36983 2013-05-21  Andreas Schwab  <schwab@suse.de>
36985         [BZ #15493]
36986         * setjmp/Makefile (tests): Add tst-sigsetjmp.
36987         * setjmp/tst-sigsetjmp.c: New test.
36989 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
36991         * sysdeps/x86_64/memset.S (memset): New implementation.
36992         (__bzero): Likewise.
36993         (__memset_tail): New function.
36995 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
36997         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
36998         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
36999         __memcpy_sse2_unaligned ifunc selection.
37000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37001         Add memcpy-sse2-unaligned.S.
37002         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37003         Add: __memcpy_sse2_unaligned.
37005 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
37007         [BZ #15490]
37008         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37009         math_force_eval before restoring floating-point envrionment.
37010         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
37011         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37012         Likewise.
37013         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
37014         <math_private.h>.
37015         (__nearbyintl): Use math_force_eval before restoring
37016         floating-point environment.
37017         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
37019         * math/gen-libm-test.pl (special_functions): Remove.
37020         (parse_args): Don't handle TEST_extra.  Handle functions with no
37021         return value.
37022         * math/libm-test.inc (struct test_sincos_data): Replace with
37023         struct test_fFF_11_data.
37024         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
37025         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
37026         (sincos_test_data): Change element type to struct
37027         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
37028         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
37029         RUN_TEST_LOOP_sincos.
37030         * math/README.libm-test: Don't mention special handling of
37031         individual functions.
37032         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
37033         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37034         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37035         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37036         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37039         * math/gen-libm-test.pl (get_variable): Remove function.
37040         (parse_args): Don't show pointer parameters to call in test
37041         names.  Use "extra output N" in test names for extra outputs
37042         rather than naming variables.
37044 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
37046         [BZ #15488]
37047         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
37048         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
37049         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
37050         double tests.
37051         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
37052         disable.
37053         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
37054         check_long_double.
37056         * math/gen-libm-test.pl (@tests): Remove variable.
37057         ($count): Likewise.
37058         (new_test): Remove function.
37059         (show_exceptions): New function.
37060         (special_functions): Use show_exceptions instead of new_test.
37061         (parse_args): Likewise.
37062         (generate_testfile): Pass only function name in generated call to
37063         print_max_error or print_complex_max_error.
37064         (get_ulps): Do not handle complex tests specially.
37065         (output_test): Rename to ...
37066         (get_all_ulps_for_test): ... this.  Return a string rather than
37067         printing to a file.  Require ulps to be present.
37068         (output_ulps): Generate arrays rather than #defines.
37069         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
37070         (struct ulp_data): New type.
37071         (BUILD_COMPLEX_ULP): Remove macro.
37072         (compare_ulp_data): New function.
37073         (find_ulps): Likewise.
37074         (find_test_ulps): Likewise.
37075         (find_function_ulps): Likewise.
37076         (find_complex_function_ulps): Likewise.
37077         (print_max_error): Determine allowed ulps using
37078         find_function_ulps.
37079         (print_complex_max_error): Determine allowed ulps using
37080         find_complex_function_ulps.
37081         (check_float_internal): Determine max ulps using find_test_ulps.
37082         (check_float): Do not take max_ulp parameter.  Update call to
37083         check_float_internal.
37084         (check_complex): Likewise.
37085         (check_int): Do not take max_ulp parameter.
37086         (check_long): Likewise.
37087         (check_bool): Likewise.
37088         (check_longlong): Likewise.
37089         (struct test_f_f_data): Remove max_ulp field.
37090         (struct test_ff_f_data): Likewise.
37091         (struct test_ff_f_data_nexttoward): Likewise.
37092         (struct test_fi_f_data): Likewise.
37093         (struct test_fl_f_data): Likewise.
37094         (struct test_if_f_data): Likewise.
37095         (struct test_fff_f_data): Likewise.
37096         (struct test_c_f_data): Likewise.
37097         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
37098         (struct test_fF_f1_data): Likewise.
37099         (struct test_ffI_f1_data): Likewise.
37100         (struct test_c_c_data): Remove max_ulp field.
37101         (struct test_cc_c_data): Likewise.
37102         (struct test_f_i_data): Likewise.
37103         (struct test_ff_i_data): Likewise.
37104         (struct test_f_l_data): Likewise.
37105         (struct test_f_L_data): Likewise.
37106         (struct test_sincos_data): Likewise.
37107         (RUN_TEST_f_f): Do not handle ulps.
37108         (RUN_TEST_LOOP_f_f): Likewise.
37109         (RUN_TEST_2_f): Likewise.
37110         (RUN_TEST_LOOP_2_f): Likewise.
37111         (RUN_TEST_fff_f): Likewise.
37112         (RUN_TEST_LOOP_fff_f): Likewise.
37113         (RUN_TEST_c_f): Likewise.
37114         (RUN_TEST_LOOP_c_f): Likewise.
37115         (RUN_TEST_f_f1): Likewise.
37116         (RUN_TEST_LOOP_f_f1): Likewise.
37117         (RUN_TEST_fF_f1): Likewise.
37118         (RUN_TEST_LOOP_fF_f1): Likewise.
37119         (RUN_TEST_fI_f1): Likewise.
37120         (RUN_TEST_LOOP_fI_f1): Likewise.
37121         (RUN_TEST_ffI_f1): Likewise.
37122         (RUN_TEST_LOOP_ffI_f1): Likewise.
37123         (RUN_TEST_c_c): Likewise.
37124         (RUN_TEST_LOOP_c_c): Likewise.
37125         (RUN_TEST_cc_c): Likewise.
37126         (RUN_TEST_LOOP_cc_c): Likewise.
37127         (RUN_TEST_f_i): Likewise.
37128         (RUN_TEST_LOOP_f_i): Likewise.
37129         (RUN_TEST_f_i_tg): Likewise.
37130         (RUN_TEST_LOOP_f_i_tg): Likewise.
37131         (RUN_TEST_ff_i_tg): Likewise.
37132         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37133         (RUN_TEST_f_b): Likewise.
37134         (RUN_TEST_LOOP_f_b): Likewise.
37135         (RUN_TEST_f_b_tg): Likewise.
37136         (RUN_TEST_LOOP_f_b_tg): Likewise.
37137         (RUN_TEST_f_l): Likewise.
37138         (RUN_TEST_LOOP_f_l): Likewise.
37139         (RUN_TEST_f_L): Likewise.
37140         (RUN_TEST_LOOP_f_L): Likewise.
37141         (RUN_TEST_sincos): Likewise.
37142         (RUN_TEST_LOOP_sincos): Likewise.
37144 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
37146         [BZ #15480]
37147         [BZ #15485]
37148         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
37149         main case of finite arguments, set rounding mode to FE_TONEAREST
37150         and discard exceptions.
37151         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
37152         exceptions.
37153         (remainder_tonearest_test_data): New variable.
37154         (remainder_test_tonearest): New function.
37155         (remainder_towardzero_test_data): New variable.
37156         (remainder_test_towardzero): New function.
37157         (remainder_downward_test_data): New variable.
37158         (remainder_test_downward): New function.
37159         (remainder_upward_test_data): New variable.
37160         (remainder_test_upward): New function.
37161         (main): Call the new test functions.
37163         * math/libm-test.inc (struct test_f_f1_data): Remove field
37164         extra_init.
37165         (struct test_fF_f1_data): Likewise.
37166         (struct test_ffI_f1_data): Likewise.
37167         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
37168         based on value of EXTRA_EXPECTED.
37169         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
37170         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
37171         EXTRA_VAR based on value of EXTRA_EXPECTED.
37172         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
37173         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
37174         EXTRA_VAR based on value of EXTRA_EXPECTED.
37175         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
37176         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
37177         EXTRA_VAR based on value of EXTRA_EXPECTED.
37178         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
37179         * math/gen-libm-test.pl (parse_args): Don't output initializers
37180         for extra output values.
37182         * math/libm-test.inc (check_int): Expect result to be exactly
37183         equal to expected value and do not handle ulps.
37184         (check_long): Likewise.
37185         (check_longlong): Likewise.
37187         * math/libm-test.inc (ceil_test_data): Test for "inexact"
37188         exceptions.
37189         (cimag_test_data): Likewise.
37190         (conj_test_data): Likewise.
37191         (copysign_test_data): Likewise.
37192         (cproj_test_data): Likewise.
37193         (creal_test_data): Likewise.
37194         (fabs_test_data): Likewise.
37195         (fdim_test_data): Likewise.
37196         (finite_test_data): Likewise.
37197         (floor_test_data): Likewise.
37198         (fmax_test_data): Likewise.
37199         (fmin_test_data): Likewise.
37200         (fmod_test_data): Likewise.
37201         (fpclassify_test_data): Likewise.
37202         (frexp_test_data): Likewise.
37203         (ilogb_test_data): Likewise.
37204         (isfinite_test_data): Likewise.
37205         (isgreater_test_data): Likewise.
37206         (isgreaterequal_test_data): Likewise.
37207         (isinf_test_data): Likewise.
37208         (isless_test_data): Likewise.
37209         (islessequal_test_data): Likewise.
37210         (islessgreater_test_data): Likewise.
37211         (isnan_test_data): Likewise.
37212         (isnormal_test_data): Likewise.
37213         (issignaling_test_data): Likewise.
37214         (isunordered_test_data): Likewise.
37215         (ldexp_test_data): Likewise.
37216         (lrint_test_data): Likewise.
37217         (lrint_test_data) [TEST_FLOAT]: Disable one test.
37218         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
37219         (lrint_tonearest_test_data): Test for "inexact" exceptions.
37220         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
37221         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
37222         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
37223         test input.
37224         (lrint_towardzero_test_data): Test for "inexact" exceptions.
37225         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
37226         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
37227         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
37228         that test input.
37229         (lrint_downward_test_data): Test for "inexact" exceptions.
37230         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
37231         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
37232         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
37233         test input.
37234         (lrint_upward_test_data): Test for "inexact" exceptions.
37235         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
37236         test input.
37237         (llrint_test_data): Test for "inexact" exceptions.
37238         (llrint_test_data) [TEST_FLOAT]: Disable one test.
37239         (llrint_tonearest_test_data): Test for "inexact" exceptions.
37240         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
37241         (llrint_towardzero_test_data): Test for "inexact" exceptions.
37242         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
37243         (llrint_downward_test_data): Test for "inexact" exceptions.
37244         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
37245         (llrint_upward_test_data): Test for "inexact" exceptions.
37246         (logb_test_data): Likewise.
37247         (logb_downward_test_data): Likewise.
37248         (nextafter_test_data): Likewise.
37249         (nexttoward_test_data): Likewise.
37250         (remainder_test_data): Likewise.
37251         (remquo_test_data): Likewise.
37252         (scalbn_test_data): Likewise.
37253         (scalbln_test_data): Likewise.
37254         (signbit_test_data): Likewise.
37255         (sqrt_test_data): Likewise.
37256         (significand_test_data): Likewise.
37258 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37260         [BZ #15424]
37261         * benchtests/bench-modf.c (struct args): Mark arg0 as
37262         volatile.
37263         * scripts/bench.pl: Mark members of struct args as volatile.
37265 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37267         [BZ # 15497]
37268         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
37269         negative infinity on POWER6 or lower.
37270         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
37272 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37274         [BZ #15442]
37275         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
37276         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
37277         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
37278         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
37279         (_FP_SETQNAN): New macro.
37280         (_FP_SETQNAN_SEMIRAW): Likewise.
37281         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
37282         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
37283         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
37284         (FP_EXTEND): Use _FP_FRAC_SNANP.
37285         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
37286         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
37287         into account.
37288         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37289         New macro.
37290         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37291         Likewise.
37293 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37295         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
37296         with DIVIDE_BY_ZERO_EXCEPTION.
37297         (gamma_test_data): Likewise.
37298         (lgamma_test_data): Likewise.
37299         (log_test_data): Likewise.
37300         (log10_test_data): Likewise.
37301         (log2_test_data): Likewise.
37302         (tgamma_test_data): Likewise.
37304         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
37305         (acos_test_tonearest): Likewise.
37306         (acos_test_towardzero): Likewise.
37307         (acos_test_downward): Likewise.
37308         (acos_test_upward): Likewise.
37309         (acosh_test): Likewise.
37310         (asin_test): Likewise.
37311         (asin_test_tonearest): Likewise.
37312         (asin_test_towardzero): Likewise.
37313         (asin_test_downward): Likewise.
37314         (asin_test_upward): Likewise.
37315         (asinh_test): Likewise.
37316         (atan_test): Likewise.
37317         (atanh_test): Likewise.
37318         (atan2_test): Likewise.
37319         (cabs_test): Likewise.
37320         (cacos_test): Likewise.
37321         (cacosh_test): Likewise.
37322         (casin_test): Likewise.
37323         (casinh_test): Likewise.
37324         (catan_test): Likewise.
37325         (catanh_test): Likewise.
37326         (cbrt_test): Likewise.
37327         (ccos_test): Likewise.
37328         (ccosh_test): Likewise.
37329         (cexp_test): Likewise.
37330         (clog_test): Likewise.
37331         (clog10_test): Likewise.
37332         (cos_test): Likewise.
37333         (cos_test_tonearest): Likewise.
37334         (cos_test_towardzero): Likewise.
37335         (cos_test_downward): Likewise.
37336         (cos_test_upward): Likewise.
37337         (cosh_test): Likewise.
37338         (cosh_test_tonearest): Likewise.
37339         (cosh_test_towardzero): Likewise.
37340         (cosh_test_downward): Likewise.
37341         (cosh_test_upward): Likewise.
37342         (cpow_test): Likewise.
37343         (csin_test): Likewise.
37344         (csinh_test): Likewise.
37345         (csqrt_test): Likewise.
37346         (ctan_test): Likewise.
37347         (ctan_test_tonearest): Likewise.
37348         (ctan_test_towardzero): Likewise.
37349         (ctan_test_downward): Likewise.
37350         (ctan_test_upward): Likewise.
37351         (ctanh_test): Likewise.
37352         (ctanh_test_tonearest): Likewise.
37353         (ctanh_test_towardzero): Likewise.
37354         (ctanh_test_downward): Likewise.
37355         (ctanh_test_upward): Likewise.
37356         (erf_test): Likewise.
37357         (erfc_test): Likewise.
37358         (exp_test): Likewise.
37359         (exp_test_tonearest): Likewise.
37360         (exp_test_towardzero): Likewise.
37361         (exp_test_downward): Likewise.
37362         (exp_test_upward): Likewise.
37363         (exp10_test): Likewise.
37364         (exp2_test): Likewise.
37365         (expm1_test): Likewise.
37366         (fmod_test): Likewise.
37367         (gamma_test): Likewise.
37368         (hypot_test): Likewise.
37369         (j0_test): Likewise.
37370         (j1_test): Likewise.
37371         (jn_test): Likewise.
37372         (lgamma_test): Likewise.
37373         (log_test): Likewise.
37374         (log10_test): Likewise.
37375         (log1p_test): Likewise.
37376         (log2_test): Likewise.
37377         (logb_test_downward): Likewise.
37378         (pow_test): Likewise.
37379         (pow_test_tonearest): Likewise.
37380         (pow_test_towardzero): Likewise.
37381         (pow_test_downward): Likewise.
37382         (pow_test_upward): Likewise.
37383         (remainder_test): Likewise.
37384         (remquo_test): Likewise.
37385         (sin_test): Likewise.
37386         (sin_test_tonearest): Likewise.
37387         (sin_test_towardzero): Likewise.
37388         (sin_test_downward): Likewise.
37389         (sin_test_upward): Likewise.
37390         (sincos_test): Likewise.
37391         (sinh_test): Likewise.
37392         (sinh_test_tonearest): Likewise.
37393         (sinh_test_towardzero): Likewise.
37394         (sinh_test_downward): Likewise.
37395         (sinh_test_upward): Likewise.
37396         (sqrt_test): Likewise.
37397         (tan_test): Likewise.
37398         (tan_test_tonearest): Likewise.
37399         (tan_test_towardzero): Likewise.
37400         (tan_test_downward): Likewise.
37401         (tan_test_upward): Likewise.
37402         (tanh_test): Likewise.
37403         (tgamma_test): Likewise.
37404         (y0_test): Likewise.
37405         (y1_test): Likewise.
37406         (yn_test): Likewise.
37408         * math/gen-libm-test.pl (adjust_arg): Remove function.
37409         (special_function): Remove argument $in_func.  Only handle
37410         generating output for tables of tests, not inside functions.
37411         (parse_args): Likewise.
37412         (generate_testfile): Remove variable $in_func.  Update call to
37413         parse_args.
37414         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
37415         (MINUS_ZERO_INIT): Rename macro to minus_zero.
37416         (PLUS_INFTY_INIT): Rename macro to plus_infty.
37417         (MINUS_INFTY_INIT): Rename macro to minus_infty.
37418         (QNAN_VALUE_INIT): Rename macro to qnan_value.
37419         (MAX_VALUE_INIT): Rename macro to max_value.
37420         (MIN_VALUE_INIT): Rename macro to min_value.
37421         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
37422         (plus_zero): Remove variable.
37423         (minus_zero): Likewise.
37424         (plus_infty): Likewise.
37425         (minus_infty): Likewise.
37426         (qnan_value): Likewise.
37427         (max_value): Likewise.
37428         (min_value): Likewise.
37429         (min_subnorm_value): Likewise.
37431 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37433         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
37434         uint64_t or uint32_t usage.
37435         * crypt/sha256-block.c: Likewise.
37436         * crypt/sha256-crypt.c: Likewise.
37437         * crypt/sha256.c: Likewise.
37438         * crypt/sha512-block.c: Likewise.
37439         * crypt/sha512-crypt.c: Likewise.
37440         * crypt/sha512.c: Likewise.
37441         * debug/backtrace-tst.c: Likewise.
37442         * debug/pcprofiledump.c: Likewise.
37443         * elf/cache.c: Likewise.
37444         * elf/dl-cache.c: Likewise.
37445         * elf/dl-misc.c: Likewise.
37446         * elf/dl-profile.c: Likewise.
37447         * elf/dl-support.c: Likewise.
37448         * elf/ldconfig.c: Likewise.
37449         * elf/sprof.c: Likewise.
37450         * iconv/dummy-repertoire.c: Likewise.
37451         * iconv/iconv_charmap.c: Likewise.
37452         * iconv/skeleton.c: Likewise.
37453         * iconvdata/8bit-generic.c: Likewise.
37454         * iconvdata/cp737.h: Likewise.
37455         * iconvdata/cp775.h: Likewise.
37456         * iconvdata/ibm1008.h: Likewise.
37457         * iconvdata/ibm1025.h: Likewise.
37458         * iconvdata/ibm1046.h: Likewise.
37459         * iconvdata/ibm1097.h: Likewise.
37460         * iconvdata/ibm1112.h: Likewise.
37461         * iconvdata/ibm1122.h: Likewise.
37462         * iconvdata/ibm1123.h: Likewise.
37463         * iconvdata/ibm1124.h: Likewise.
37464         * iconvdata/ibm1129.h: Likewise.
37465         * iconvdata/ibm1130.h: Likewise.
37466         * iconvdata/ibm1132.h: Likewise.
37467         * iconvdata/ibm1133.h: Likewise.
37468         * iconvdata/ibm1137.h: Likewise.
37469         * iconvdata/ibm1140.h: Likewise.
37470         * iconvdata/ibm1141.h: Likewise.
37471         * iconvdata/ibm1142.h: Likewise.
37472         * iconvdata/ibm1143.h: Likewise.
37473         * iconvdata/ibm1144.h: Likewise.
37474         * iconvdata/ibm1145.h: Likewise.
37475         * iconvdata/ibm1146.h: Likewise.
37476         * iconvdata/ibm1147.h: Likewise.
37477         * iconvdata/ibm1148.h: Likewise.
37478         * iconvdata/ibm1149.h: Likewise.
37479         * iconvdata/ibm1153.h: Likewise.
37480         * iconvdata/ibm1154.h: Likewise.
37481         * iconvdata/ibm1155.h: Likewise.
37482         * iconvdata/ibm1156.h: Likewise.
37483         * iconvdata/ibm1157.h: Likewise.
37484         * iconvdata/ibm1158.h: Likewise.
37485         * iconvdata/ibm1160.h: Likewise.
37486         * iconvdata/ibm1161.h: Likewise.
37487         * iconvdata/ibm1162.h: Likewise.
37488         * iconvdata/ibm1163.h: Likewise.
37489         * iconvdata/ibm1164.h: Likewise.
37490         * iconvdata/ibm1166.h: Likewise.
37491         * iconvdata/ibm1167.h: Likewise.
37492         * iconvdata/ibm12712.h: Likewise.
37493         * iconvdata/ibm1390.h: Likewise.
37494         * iconvdata/ibm1399.h: Likewise.
37495         * iconvdata/ibm16804.h: Likewise.
37496         * iconvdata/ibm4517.h: Likewise.
37497         * iconvdata/ibm4899.h: Likewise.
37498         * iconvdata/ibm4909.h: Likewise.
37499         * iconvdata/ibm4971.h: Likewise.
37500         * iconvdata/ibm5347.h: Likewise.
37501         * iconvdata/ibm803.h: Likewise.
37502         * iconvdata/ibm856.h: Likewise.
37503         * iconvdata/ibm901.h: Likewise.
37504         * iconvdata/ibm902.h: Likewise.
37505         * iconvdata/ibm9030.h: Likewise.
37506         * iconvdata/ibm9066.h: Likewise.
37507         * iconvdata/ibm921.h: Likewise.
37508         * iconvdata/ibm922.h: Likewise.
37509         * iconvdata/ibm9448.h: Likewise.
37510         * iconvdata/isiri-3342.h: Likewise.
37511         * iconvdata/jis0201.h: Likewise.
37512         * include/link.h: Likewise.
37513         * include/netdb.h: Likewise.
37514         * inet/check_native.c: Likewise.
37515         * inet/check_pf.c: Likewise.
37516         * inet/getipv4sourcefilter.c: Likewise.
37517         * inet/getnameinfo.c: Likewise.
37518         * inet/getsourcefilter.c: Likewise.
37519         * inet/htonl.c: Likewise.
37520         * inet/setipv4sourcefilter.c: Likewise.
37521         * inet/setsourcefilter.c: Likewise.
37522         * inet/test-inet6_opt.c: Likewise.
37523         * inet/tst-network.c: Likewise.
37524         * locale/C-collate.c: Likewise.
37525         * locale/C-ctype.c: Likewise.
37526         * locale/C-time.c: Likewise.
37527         * locale/C-translit.h: Likewise.
37528         * locale/loadarchive.c: Likewise.
37529         * locale/programs/3level.h: Likewise.
37530         * locale/programs/charmap.c: Likewise.
37531         * locale/programs/charmap.h: Likewise.
37532         * locale/programs/ld-address.c: Likewise.
37533         * locale/programs/ld-collate.c: Likewise.
37534         * locale/programs/ld-ctype.c: Likewise.
37535         * locale/programs/ld-identification.c: Likewise.
37536         * locale/programs/ld-measurement.c: Likewise.
37537         * locale/programs/ld-messages.c: Likewise.
37538         * locale/programs/ld-monetary.c: Likewise.
37539         * locale/programs/ld-name.c: Likewise.
37540         * locale/programs/ld-numeric.c: Likewise.
37541         * locale/programs/ld-paper.c: Likewise.
37542         * locale/programs/ld-telephone.c: Likewise.
37543         * locale/programs/ld-time.c: Likewise.
37544         * locale/programs/linereader.c: Likewise.
37545         * locale/programs/locale.c: Likewise.
37546         * locale/programs/locarchive.c: Likewise.
37547         * locale/programs/locfile.h: Likewise.
37548         * locale/programs/repertoire.c: Likewise.
37549         * locale/programs/simple-hash.c: Likewise.
37550         * locale/programs/simple-hash.h: Likewise.
37551         * malloc/memusage.c: Likewise.
37552         * malloc/memusagestat.c: Likewise.
37553         * nis/nis_defaults.c: Likewise.
37554         * nis/nis_hash.c: Likewise.
37555         * nis/nis_print.c: Likewise.
37556         * nis/nis_xdr.c: Likewise.
37557         * nscd/connections.c: Likewise.
37558         * nscd/hstcache.c: Likewise.
37559         * nscd/nscd_gethst_r.c: Likewise.
37560         * nscd/nscd_getserv_r.c: Likewise.
37561         * nscd/nscd_helper.c: Likewise.
37562         * nscd/servicescache.c: Likewise.
37563         * nss/makedb.c: Likewise.
37564         * nss/nss_db/db-XXX.c: Likewise.
37565         * nss/nss_db/db-initgroups.c: Likewise.
37566         * nss/nss_db/db-netgrp.c: Likewise.
37567         * nss/nss_files/files-network.c: Likewise.
37568         * nss/nss_files/files-parse.c: Likewise.
37569         * posix/bug-regex5.c: Likewise.
37570         * posix/fnmatch_loop.c: Likewise.
37571         * posix/regcomp.c: Likewise.
37572         * posix/regexec.c: Likewise.
37573         * posix/tst-rfc3484-2.c: Likewise.
37574         * posix/tst-rfc3484-3.c: Likewise.
37575         * posix/tst-rfc3484.c: Likewise.
37576         * resolv/nss_dns/dns-canon.c: Likewise.
37577         * resolv/nss_dns/dns-network.c: Likewise.
37578         * resolv/res_init.c: Likewise.
37579         * resolv/res_mkquery.c: Likewise.
37580         * resolv/tst-aton.c: Likewise.
37581         * stdlib/cxa_atexit.c: Likewise.
37582         * stdlib/cxa_finalize.c: Likewise.
37583         * stdlib/gen-fpioconst.c: Likewise.
37584         * stdlib/strtol_l.c: Likewise.
37585         * string/tst-endian.c: Likewise.
37586         * sunrpc/auth_des.c: Likewise.
37587         * sunrpc/clnt_udp.c: Likewise.
37588         * sunrpc/rtime.c: Likewise.
37589         * sunrpc/svcauth_des.c: Likewise.
37590         * sunrpc/xdr.c: Likewise.
37591         * sunrpc/xdr_intXX_t.c: Likewise.
37592         * sunrpc/xdr_rec.c: Likewise.
37593         * sysdeps/generic/ldconfig.h: Likewise.
37594         * sysdeps/generic/ldsodefs.h: Likewise.
37595         * sysdeps/generic/memusage.h: Likewise.
37596         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37597         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37598         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37599         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37600         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37601         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37602         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37603         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37604         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37605         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37606         * sysdeps/posix/getaddrinfo.c: Likewise.
37607         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37608         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37609         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37610         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37611         * sysdeps/powerpc/test-gettimebase.c: Likewise.
37612         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37613         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37614         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37615         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37616         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37617         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37618         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37619         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37620         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37621         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37622         * sysdeps/x86_64/dl-tls.h: Likewise.
37623         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37624         * time/alt_digit.c: Likewise.
37625         * time/era.c: Likewise.
37626         * wcsmbs/tst-c16c32-1.c: Likewise.
37628 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37630         * math/libm-test.inc (struct test_sincos_data): New type.
37631         (RUN_TEST_LOOP_sincos): New macro.
37632         (sincos_test_data): New variable.
37633         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37635 2013-05-16  Richard Henderson  <rth@redhat.com>
37637         * math/atest-exp2.c (LIMB64): New macro.
37638         (CONSTSZ): New macro.
37639         (mp_exp1, mp_exp_m1, mp_log2): New variables.
37640         (hexdig): Move ...
37641         (print_mpn_fp): ... to function scope.
37642         (read_mpn_hex): Remove.
37643         (get_log2): Remove.
37644         (exp2_mpn): Use mp_log2.
37645         (main): Use mp_exp1.
37647 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
37649         * math/libm-test.inc: Remove comment about not testing "inexact"
37650         exceptions.
37651         (INEXACT_EXCEPTION): New macro.
37652         (NO_INEXACT_EXCEPTION): Likewise.
37653         (INVALID_EXCEPTION_OK): Update value.
37654         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37655         (OVERFLOW_EXCEPTION_OK): Likewise.
37656         (UNDERFLOW_EXCEPTION_OK): Likewise.
37657         (IGNORE_ZERO_INF_SIGN): Likewise.
37658         (ERRNO_UNCHANGED): Likewise.
37659         (ERRNO_EDOM): Likewise.
37660         (ERRNO_ERANGE): Likewise.
37661         (test_exceptions): Handle testing "inexact" exceptions.
37662         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37663         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37664         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37665         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37666         INEXACT_EXCEPTION.
37667         (rint_towardzero_test_data): Likewise.
37668         (rint_downward_test_data): Likewise.
37669         (rint_upward_test_data): Likewise.
37671         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37672         with OVERFLOW_EXCEPTION.
37673         (exp10_test_data): Likewise.
37674         (exp2_test_data): Likewise.
37675         (expm1_test_data): Likewise.
37676         (lgamma_test_data): Likewise.
37677         (pow_test_data): Likewise.
37678         (tgamma_test_data): Likewise.
37679         (yn_test_data): Remove duplicate test of overflow.
37681         * math/libm-test.inc (struct test_cc_c_data): New type.
37682         (RUN_TEST_LOOP_cc_c): New macro.
37683         (cpow_test_data): New variable.
37684         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37686         * math/libm-test.inc (struct test_f_L_data): New type.
37687         (RUN_TEST_LOOP_f_L): New macro.
37688         (llrint_test_data): New variable.
37689         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37690         (llrint_tonearest_test_data): New variable.
37691         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37692         (llrint_towardzero_test_data): New variable.
37693         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37694         (llrint_downward_test_data): New variable.
37695         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37696         (llrint_upward_test_data): New variable.
37697         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37698         (llround_test_data): New variable.
37699         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37701 2013-05-13  Peter Collingbourne  <pcc@google.com>
37703         * math/atest-exp2.c (get_log2): Remove const attribute.
37705 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
37707         * math/libm-test.inc (struct test_f_l_data): New type.
37708         (RUN_TEST_LOOP_f_l): New macro.
37709         (lrint_test_data): New variable.
37710         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37711         (lrint_tonearest_test_data): New variable.
37712         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37713         (lrint_towardzero_test_data): New variable.
37714         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37715         (lrint_downward_test_data): New variable.
37716         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37717         (lrint_upward_test_data): New variable.
37718         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37719         (lround_test_data): New variable.
37720         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37722 2013-05-15  Peter Collingbourne  <pcc@google.com>
37724         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37725         (EXTRACT_WORDS64) Use where appropriate.
37726         (INSERT_WORDS64) Likewise.
37728         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37729         constraints with x constraints.
37730         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37732         * malloc/obstack.c (_obstack_compat): Add initializer.
37734 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
37736         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37737         si_trapno and add si_addr_lsb to _sifields.sigfault.
37738         (si_trapno): Remove macro.
37739         (si_addr_lsb): Define new macro.
37740         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37742 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
37744         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37745         instead of TEST_f_l.
37746         (llrint_test_tonearest): Likewise.
37747         (llrint_test_towardzero): Likewise.
37748         (llrint_test_downward): Likewise.
37749         (llrint_test_upward): Likewise.
37750         (llround_test): Likewise.
37752         * math/libm-test.inc (struct test_f_i_data): Add comment.
37753         (RUN_TEST_LOOP_f_b): New macro.
37754         (RUN_TEST_LOOP_f_b_tg): Likewise.
37755         (finite_test_data): New variable.
37756         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37757         (isfinite_test_data): New variable.
37758         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37759         (isinf_test_data): New variable.
37760         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37761         (isnan_test_data): New variable.
37762         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37763         (isnormal_test_data): New variable.
37764         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37765         (issignaling_test_data): New variable.
37766         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37767         (signbit_test_data): New variable.
37768         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37770         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37771         with INVALID_EXCEPTION.
37772         (acosh_test_data): Likewise.
37773         (asin_test_data): Likewise.
37774         (atanh_test_data): Likewise.
37775         (fmod_test_data): Likewise.
37776         (log_test_data): Likewise.
37777         (log10_test_data): Likewise.
37778         (log2_test_data): Likewise.
37779         (pow_test_data): Likewise.
37780         (sqrt_test_data): Likewise.
37781         (y0_test_data): Likewise.
37782         (y1_test_data): Likewise.
37783         (yn_test_data): Likewise.
37785         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37786         function contents.
37788         * math/libm-test.inc (struct test_ff_i_data): New type.
37789         (RUN_TEST_LOOP_ff_i_tg): New macro.
37790         (isgreater_test_data): New variable.
37791         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37792         (isgreaterequal_test_data): New variable.
37793         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37794         (isless_test_data): New variable.
37795         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37796         (islessequal_test_data): New variable.
37797         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37798         (islessgreater_test_data): New variable.
37799         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37800         (isunordered_test_data): New variable.
37801         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37803 2013-05-14  David S. Miller  <davem@davemloft.net>
37805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37807 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
37809         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37811         * math/libm-test.inc (struct test_fF_f1_data): Change type of
37812         extra_test to int.
37813         (struct test_f_i_data): Change type of max_ulp to int.
37815         * math/libm-test.inc (test_ffI_f1_data): New type.
37816         (RUN_TEST_LOOP_ffI_f1): New macro.
37817         (remquo_test_data): New variable.
37818         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37820         * setjmp/tst-setjmp-fp.c: New file.
37821         * setjmp/Makefile (tests): Add tst-setjmp-fp.
37822         (link-libm): New variable.
37823         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37825         * math/libm-test.inc (struct test_f_i_data): New type.
37826         (RUN_TEST_LOOP_f_i): New macro.
37827         (RUN_TEST_LOOP_f_i_tg): Likewise.
37828         (fpclassify_test_data): New variable.
37829         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37830         (ilogb_test_data): New variable.
37831         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37833         * math/libm-test.inc (scalbln_test): Correct function name in END
37834         call.
37836         * math/libm-test.inc (struct test_f_f1_data): Add comment.
37837         (RUN_TEST_LOOP_fI_f1): New macro.
37838         (frexp_test_data): New variable.
37839         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37841         * math/libm-test.inc (struct test_fF_f1_data): New type.
37842         (RUN_TEST_LOOP_fF_f1): New macro.
37843         (modf_test_data): New variable.
37844         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37846         * math/libm-test.inc (struct test_f_f1_data): New type.
37847         (RUN_TEST_LOOP_f_f1): New macro.
37848         (gamma_test_data): New variable.
37849         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37850         (lgamma_test_data): New variable.
37851         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37853 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
37855         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
37856         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
37857         (main): Comment "tls" pseudo-hwcap.
37859 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
37861         * math/libm-test.inc (struct test_fl_f_data): New type.
37862         (RUN_TEST_LOOP_fl_f): New variable.
37863         (scalbln_test_data): New variable.
37864         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
37866         * math/libm-test.inc (struct test_fi_f_data): New type.
37867         (RUN_TEST_LOOP_fi_f): New macro.
37868         (ldexp_test_data): New variable.
37869         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
37870         (scalbn_test_data): New variable.
37871         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
37873         * math/libm-test.inc (struct test_c_f_data): New type.
37874         (RUN_TEST_LOOP_c_f): New macro.
37875         (cabs_test_data): New variable.
37876         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
37877         (carg_test_data): New variable.
37878         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
37879         (cimag_test_data): New variable.
37880         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
37881         (creal_test_data): New variable.
37882         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
37884         * math/libm-test.inc (struct test_if_f_data): New type.
37885         (RUN_TEST_LOOP_if_f): New macro.
37886         (jn_test_data): New variable.
37887         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
37888         (yn_test_data): New variable.
37889         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
37891         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
37893 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37895         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
37896         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
37898 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37900         * benchtests/Makefile (CPPFLAGS-nonlib): Add
37901         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
37902         (bench-deps): Add bench-timing.h.
37903         * benchtests-bench-skeleton.c: Include bench-timing.h.
37904         (main): Use TIMING_* macros instead of clock_gettime.
37905         * benchtests/bench-timing.h: New file.
37907         [BZ #14582]
37908         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
37909         Renamed from _LIB_VERSION.
37910         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
37912 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
37914         * math/libm-test.inc (struct test_fff_f_data): New type.
37915         (RUN_TEST_LOOP_fff_f): New macro.
37916         (fma_test_data): New variable.
37917         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
37918         (fma_towardzero_test_data): New variable.
37919         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
37920         (fma_downward_test_data): New variable.
37921         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
37922         (fma_upward_test_data): New variable.
37923         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
37925         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
37926         (struct test_c_c_data): New type.
37927         (RUN_TEST_LOOP_c_c): New macro.
37928         (cacos_test_data): New variable.
37929         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
37930         (cacosh_test_data): New variable.
37931         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
37932         (casin_test_data): New variable.
37933         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
37934         (casinh_test_data): New variable.
37935         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
37936         (catan_test_data): New variable.
37937         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
37938         (catanh_test_data): New variable.
37939         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
37940         (ccos_test_data): New variable.
37941         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
37942         (ccosh_test_data): New variable.
37943         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
37944         (cexp_test_data): New variable.
37945         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
37946         (clog_test_data): New variable.
37947         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
37948         (clog10_test_data): New variable.
37949         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
37950         (conj_test_data): New variable.
37951         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
37952         (cproj_test_data): New variable.
37953         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
37954         (csin_test_data): New variable.
37955         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
37956         (csinh_test_data): New variable.
37957         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
37958         (csqrt_test_data): New variable.
37959         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
37960         (ctan_test_data): New variable.
37961         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
37962         (ctan_tonearest_test_data): New variable.
37963         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37964         (ctan_towardzero_test_data): New variable.
37965         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37966         (ctan_downward_test_data): New variable.
37967         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37968         (ctan_upward_test_data): New variable.
37969         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37970         (ctanh_test_data): New variable.
37971         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
37972         (ctanh_tonearest_test_data): New variable.
37973         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
37974         (ctanh_towardzero_test_data): New variable.
37975         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
37976         (ctanh_downward_test_data): New variable.
37977         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
37978         (ctanh_upward_test_data): New variable.
37979         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
37980         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
37981         of BUILD_COMPLEX.
37983         * math/libm-test.inc (struct test_ff_f_data): New type.
37984         (struct test_ff_f_data_nexttoward): Likewise.
37985         (RUN_TEST_LOOP_2_f): New macro.
37986         (RUN_TEST_LOOP_ff_f): Likewise.
37987         (atan2_test_data): New variable.
37988         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
37989         (copysign_test_data): New variable.
37990         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
37991         (fdim_test_data): New variable.
37992         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
37993         (fmax_test_data): New variable.
37994         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
37995         (fmin_test_data): New variable.
37996         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
37997         (fmod_test_data): New variable.
37998         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
37999         (hypot_test_data): New variable.
38000         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
38001         (nextafter_test_data): New variable.
38002         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
38003         (nexttoward_test_data): New variable.
38004         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
38005         (pow_test_data): New variable.
38006         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
38007         (pow_tonearest_test_data): New variable.
38008         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
38009         (pow_towardzero_test_data): New variable.
38010         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
38011         (pow_downward_test_data): New variable.
38012         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
38013         (pow_upward_test_data): New variable.
38014         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
38015         (remainder_test_data): New variable.
38016         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
38017         (scalb_test_data): New variable.
38018         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
38019         * sysdeps/i386/fpu/libm-test-ulps: Update.
38021 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
38023         * math/libm-test.inc (fma_test): Use max_value instead of local
38024         variable fltmax.
38025         (nextafter_test): Likewise.
38027         * math/libm-test.inc (acos_towardzero_test_data): New variable.
38028         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38029         (acos_downward_test_data): New variable.
38030         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38031         (acos_upward_test_data): New variable.
38032         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38033         (acosh_test_data): New variable.
38034         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
38035         (asin_test_data): New variable.
38036         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
38037         (asin_tonearest_test_data): New variable.
38038         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38039         (asin_towardzero_test_data): New variable.
38040         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38041         (asin_downward_test_data): New variable.
38042         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38043         (asin_upward_test_data): New variable.
38044         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38045         (asinh_test_data): New variable.
38046         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
38047         (atan_test_data): New variable.
38048         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
38049         (atanh_test_data): New variable.
38050         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
38051         (cbrt_test_data): New variable.
38052         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
38053         (ceil_test_data): New variable.
38054         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
38055         (cos_test_data): New variable.
38056         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
38057         (cos_tonearest_test_data): New variable.
38058         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38059         (cos_towardzero_test_data): New variable.
38060         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38061         (cos_downward_test_data): New variable.
38062         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38063         (cos_upward_test_data): New variable.
38064         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38065         (cosh_test_data): New variable.
38066         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
38067         (cosh_tonearest_test_data): New variable.
38068         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38069         (cosh_towardzero_test_data): New variable.
38070         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38071         (cosh_downward_test_data): New variable.
38072         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38073         (cosh_upward_test_data): New variable.
38074         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38075         (erf_test_data): New variable.
38076         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
38077         (erfc_test_data): New variable.
38078         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
38079         (exp_test_data): New variable.
38080         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
38081         (exp_tonearest_test_data): New variable.
38082         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38083         (exp_towardzero_test_data): New variable.
38084         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38085         (exp_downward_test_data): New variable.
38086         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38087         (exp_upward_test_data): New variable.
38088         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38089         (exp10_test_data): New variable.
38090         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
38091         (exp2_test_data): New variable.
38092         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
38093         (expm1_test_data): New variable.
38094         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
38095         (fabs_test_data): New variable.
38096         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
38097         (floor_test_data): New variable.
38098         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
38099         (j0_test_data): New variable.
38100         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
38101         (j1_test_data): New variable.
38102         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
38103         (log_test_data): New variable.
38104         (log_test): Run tests with RUN_TEST_LOOP_f_f.
38105         (log10_test_data): New variable.
38106         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
38107         (log1p_test_data): New variable.
38108         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
38109         (log2_test_data): New variable.
38110         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
38111         (logb_test_data): New variable.
38112         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
38113         (logb_downward_test_data): New variable.
38114         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38115         (nearbyint_test_data): New variable.
38116         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
38117         (rint_test_data): New variable.
38118         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
38119         (rint_tonearest_test_data): New variable.
38120         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38121         (rint_towardzero_test_data): New variable.
38122         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38123         (rint_downward_test_data): New variable.
38124         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38125         (rint_upward_test_data): New variable.
38126         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38127         (round_test_data): New variable.
38128         (round_test): Run tests with RUN_TEST_LOOP_f_f.
38129         (sin_test_data): New variable.
38130         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
38131         (sin_tonearest_test_data): New variable.
38132         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38133         (sin_towardzero_test_data): New variable.
38134         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38135         (sin_downward_test_data): New variable.
38136         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38137         (sin_upward_test_data): New variable.
38138         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38139         (sinh_test_data): New variable.
38140         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
38141         (sinh_tonearest_test_data): New variable.
38142         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38143         (sinh_towardzero_test_data): New variable.
38144         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38145         (sinh_downward_test_data): New variable.
38146         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38147         (sinh_upward_test_data): New variable.
38148         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38149         (sqrt_test_data): New variable.
38150         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
38151         (tan_test_data): New variable.
38152         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
38153         (tan_tonearest_test_data): New variable.
38154         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38155         (tan_towardzero_test_data): New variable.
38156         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38157         (tan_downward_test_data): New variable.
38158         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38159         (tan_upward_test_data): New variable.
38160         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38161         (tanh_test_data): New variable.
38162         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
38163         (tgamma_test_data): New variable.
38164         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
38165         (trunc_test_data): New variable.
38166         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
38167         (y0_test_data): New variable.
38168         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
38169         (y1_test_data): New variable.
38170         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
38171         (significand_test_data): New variable.
38172         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
38174 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
38176         [BZ #12387]
38177         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
38179 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38181         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
38183 2013-05-10  Andreas Jaeger  <aj@suse.de>
38185         [BZ #15448]
38186         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
38187         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
38189 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
38191         * math/gen-libm-test.pl (adjust_arg): New function.
38192         (special_functions): Handle generating output in both functions
38193         and arrays.
38194         (parse_args): Likewise.
38195         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
38196         $in_func argument to parse_args.
38197         * math/libm-test.inc (struct test_f_f_data): New type.
38198         (IF_ROUND_INIT_): New macro.
38199         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
38200         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
38201         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
38202         (IF_ROUND_INIT_FE_UPWARD): Likewise.
38203         (ROUND_RESTORE_): Likewise.
38204         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
38205         (ROUND_RESTORE_FE_TONEAREST): Likewise.
38206         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
38207         (ROUND_RESTORE_FE_UPWARD): Likewise.
38208         (RUN_TEST_LOOP_f_f): New macro.
38209         (acos_test_data): New variable.
38210         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
38211         (acos_tonearest_test_data): New variable.
38212         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38214 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38216         * benchtests/bench-skeleton.c (startup): Fix coding style.
38218 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
38220         [BZ #6809]
38221         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
38222         negative infinity argument.
38223         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
38224         negative infinity argument.
38225         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
38226         negative infinity argument.
38227         * math/libm-test.inc (tgamma_test): Expect errno to be set for
38228         domain errors.
38230 2013-05-10  Florian Weimer  <fweimer@redhat.com>
38232         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
38233         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
38234         * iconv/iconv_prog.c (main): Likewise.
38235         * locale/programs/charmap-dir.c (charmap_readdir)
38236         (fopen_uncompressed): Likewise.
38237         * locale/programs/locfile.c (siblings_uncached)
38238         (write_locale_data): Use lstat64 instead of lstat.
38239         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
38240         stat.
38242 2013-05-10  Andreas Jaeger  <aj@suse.de>
38244         [BZ #15395]
38245         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
38246         localization.
38247         Include <locale.h>.
38249 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
38251         * elf/dl-close.c (_dl_close_worker): Add comments.
38253 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
38255         [BZ #15359]
38256         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
38257         high part of pi/2.
38258         (__ieee754_rem_pio2l): Update comments.
38260         [BZ #15429]
38261         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
38262         high part of pi/2.
38263         (__ieee754_rem_pio2l): Update comments.
38265         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
38266         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
38268         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
38269         M_PI_4l.
38271         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
38272         (M_PI_34_LOG10El): Likewise.
38273         (M_PI2_LOG10El): Likewise.
38274         (M_PI4_LOG10El): Likewise.
38275         (M_PI_LOG10El): Likewise.
38277 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38281 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
38283         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
38284         (MINUS_ZERO_INIT): Likewise.
38285         (PLUS_INFTY_INIT): Likewise.
38286         (MINUS_INFTY_INIT): Likewise.
38287         (QNAN_VALUE_INIT): Likewise.
38288         (MAX_VALUE_INIT): Likewise.
38289         (MIN_VALUE_INIT): Likewise.
38290         (MIN_SUBNORM_VALUE_INIT): Likewise.
38291         (plus_zero): Initialize with PLUS_ZERO_INIT.
38292         (minus_zero): Initialize with MINUS_ZERO_INIT.
38293         (plus_infty): Initialize with PLUS_INFTY_INIT.
38294         (minus_infty): Initialize with MINUS_INFTY_INIT.
38295         (qnan_value): Initialize with QNAN_VALUE_INIT.
38296         (max_value): Initialize with MAX_VALUE_INIT.
38297         (min_value): Initialize with MIN_VALUE_INIT.
38298         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
38300         * math/libm-test.inc (RUN_TEST_if_f): New macro.
38301         (jn_test): Use TEST_if_f instead of TEST_ff_f.
38302         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
38303         (yn_test): Use TEST_if_f instead of TEST_ff_f.
38305         * math/libm-test.inc (RUN_TEST_f_f): New macro.
38306         (RUN_TEST_2_f): Likewise.
38307         (RUN_TEST_ff_f): Likewise.
38308         (RUN_TEST_fi_f): Likewise.
38309         (RUN_TEST_fl_f): Likewise.
38310         (RUN_TEST_fff_f): Likewise.
38311         (RUN_TEST_c_f): Likewise.
38312         (RUN_TEST_f_f1): Likewise.
38313         (RUN_TEST_fF_f1): Likewise.
38314         (RUN_TEST_fI_f1): Likewise.
38315         (RUN_TEST_ffI_f1): Likewise.
38316         (RUN_TEST_c_c): Likewise.
38317         (RUN_TEST_cc_c): Likewise.
38318         (RUN_TEST_f_i): Likewise.
38319         (RUN_TEST_f_i_tg): Likewise.
38320         (RUN_TEST_ff_i_tg): Likewise.
38321         (RUN_TEST_f_b): Likewise.
38322         (RUN_TEST_f_b_tg): Likewise.
38323         (RUN_TEST_f_l): Likewise.
38324         (RUN_TEST_f_L): Likewise.
38325         (RUN_TEST_sincos): Likewise.
38326         * math/gen-libm-test.pl (new_test): Take new argument to indicate
38327         whether to show exceptions.  Do not include ");\n" in return
38328         value.
38329         (special_functions): Output call to RUN_TEST_sincos instead of
38330         check_float calls.  Update calls to new_test.
38331         (parse_args): Output call to single RUN_TEST_* macro instead of
38332         check_* calls and other assignments.  Update calls to new_test.
38334         [BZ #2546]
38335         [BZ #2560]
38336         [BZ #5159]
38337         [BZ #15426]
38338         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
38339         input to result for tgamma overflow.
38340         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
38341         (gamma_coeff): New variable.
38342         (NCOEFF): New macro.
38343         (gamma_positive): New function.
38344         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
38345         underflow here.  Use gamma_positive instead of exp (lgamma) for
38346         other arguments.
38347         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
38348         (gamma_coeff): New variable.
38349         (NCOEFF): New macro.
38350         (gammaf_positive): New function.
38351         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
38352         underflow here.  Use gamma_positive instead of exp (lgamma) for
38353         other arguments.
38354         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
38355         (gamma_coeff): New variable.
38356         (NCOEFF): New macro.
38357         (gammal_positive): New function.
38358         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
38359         underflow here.  Use gamma_positive instead of exp (lgamma) for
38360         other arguments.
38361         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
38362         (gamma_coeff): New variable.
38363         (NCOEFF): New macro.
38364         (gammal_positive): New function.
38365         (__ieee754_gammal_r): Handle positive infinity, overflow and
38366         underflow here.  Handle NaN the same as positive infinity.  Remove
38367         check x < 0xffffffff for negative integers.  Use gamma_positive
38368         instead of exp (lgamma) for other arguments.
38369         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
38370         (gamma_coeff): New variable.
38371         (NCOEFF): New macro.
38372         (gammal_positive): New function.
38373         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
38374         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
38375         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
38376         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
38377         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
38378         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
38379         * sysdeps/generic/math_private.h (__gamma_productf): New
38380         prototype.
38381         (__gamma_product): Likewise.
38382         (__gamma_productl): Likewise.
38383         * math/Makefile (libm-calls): Add gamma_product.
38384         * math/libm-test.inc (tgamma_test): Add more tests.
38385         * sysdeps/i386/fpu/libm-test-ulps: Update.
38386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38388 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
38390         * benchtests/bench-skeleton.c (main): Preheat CPU.
38392 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
38394         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
38396 2013-05-07  Roland McGrath  <roland@hack.frob.com>
38398         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
38399         and _dl_skip_args_internal.
38401 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
38403         * manual/message.texi (Message Translation): Talk about users.
38404         Message to key mapping impacts design.
38406 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38408         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
38410         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
38412         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
38413         * sysdeps/wordsize-64/glob64.c: ... here.
38415         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
38416         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
38417         New macros.
38419         * debug/getlogin_r_chk.c: Moved to ...
38420         * login/getlogin_r_chk.c: ... here.
38421         * debug/Makefile (routines): Move getlogin_r_chk to ...
38422         * login/Makefile (routines): ... here.
38423         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
38424         * login/Versions (libc: GLIBC_2.4): ... here.
38426         * io/poll.c (__poll): Renamed from poll.
38427         Add libc_hidden_def.
38428         (poll): Define as weak alias.
38430         * debug/ptsname_r_chk.c: Moved to ...
38431         * login/ptsname_r_chk.c: ... here.
38432         * debug/Makefile (routines): Move ptsname_r_chk to ...
38433         * login/Makefile (routines): ... here.
38434         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
38435         * login/Versions (libc: GLIBC_2.4): ... here.
38437         * posix/getlogin.c: Moved to ...
38438         * login/getlogin.c: ... here.
38439         * posix/getlogin_r.c: Moved to ...
38440         * login/getlogin_r.c: ... here.
38441         * posix/getlogin_r.c: Moved to ...
38442         * login/getlogin_r.c: ... here.
38443         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
38444         * login/Makefile (routines): ... here.
38445         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
38446         * login/Versions (libc: GLIBC_2.0): ... here.
38448         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
38449         (setrlimit): Define as weak alias.
38451         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
38452         Call __ names for open, ftruncate, and close.
38453         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38454         (truncate): Define as weak alias.
38456 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
38458         * math/gen-libm-test.pl (parse_args): Initialize x before each
38459         test of frexp, modf and remquo.
38461         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
38462         test signgam value.
38464 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38466         [BZ #15418]
38467         [BZ #15419]
38468         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
38469         internal tests.
38470         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38472 2013-05-06  Roland McGrath  <roland@hack.frob.com>
38474         * elf/dl-writev.h: New file.
38475         * elf/dl-misc.c: Include it.
38476         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38477         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38479 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
38481         * math/libm-test.inc (noXFails): Remove variable.
38482         (noXPasses): Likewise.
38483         (BUILD_COMPLEX_INT): Remove macro.
38484         (print_screen): Remove xfail argument.
38485         (print_screen_max_error): Likewise.
38486         (update_stats): Likewise.
38487         (print_max_error): Likewise.  Update calls to other affected
38488         functions.
38489         (print_complex_max_error): Likewise.
38490         (test_single_exception): Update calls to print_screen.
38491         (test_single_errno): Likewise.
38492         (check_float_internal): Remove xfail argument.  Update calls to
38493         other affected functions.
38494         (check_float): Likewise.
38495         (check_complex): Likewise.
38496         (check_int): Likewise.
38497         (check_long): Likewise.
38498         (check_bool): Likewise.
38499         (check_longlong): Likewise.
38500         (main): Don't print noXFails and noXPasses.
38501         * math/gen-libm-test.pl (top level): Don't mention expected
38502         failure handling in comment.
38503         (new_test): Don't handle expected failures.
38504         (parse_args): Don't mention expected failure handling in comment.
38505         (generate_testfile): Don't handle expected failures.
38506         (parse_ulps): Likewise.
38507         (print_ulps_file): Likewise.
38508         (get_failure): Remove function.
38509         (output_test): Don't handle expected failures.
38510         * make/README.libm-test: Don't mention expected failure handling.
38512         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
38513         (minus_zero): Likewise.
38514         (plus_infty): Likewise.
38515         (minus_infty): Likewise.
38516         (qnan_value): Likewise.
38517         (max_value): Likewise.
38518         (min_value): Likewise.
38519         (min_subnorm_value): Likewise.
38520         (initialize): Do not initialize those variables dynamically.
38522 2013-05-03  Roland McGrath  <roland@hack.frob.com>
38524         * io/open.c (__open_2): Moved to ...
38525         * io/open_2.c: ... this new file.
38526         * io/open64.c (__open64_2): Moved to ...
38527         * io/open64_2.c: ... this new file.
38528         * io/openat.c (__openat_2): Moved to ...
38529         * io/openat_2.c: ... this new file.
38530         * io/openat64.c (__openat64_2): Moved to ...
38531         * io/openat64_2.c: ... this new file.
38532         * io/Makefile (routines): Add them.
38533         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38534         * sysdeps/unix/sysv/linux/open_2.c: File removed.
38535         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38536         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38537         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38538         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38539         (__openat64): Add hidden_ver.
38540         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38541         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38543         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38544         Separately conditionalize setting of GLRO(dl_sysinfo) so
38545         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38546         as well, but the actual setting is only under [NEED_DL_SYSINFO].
38548 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38550         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38551         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38552         definition.
38553         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38554         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38555         (_libc_vdso_platform_setup): Add __vdso_time initialization.
38556         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38557         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38559 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
38561         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38562         test signgam value.
38564         * math/libm-test.inc (hypot_test): Do not use
38565         IGNORE_ZERO_INF_SIGN.
38567 2013-05-03  Andreas Jaeger  <aj@suse.de>
38569         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38570         Linux 3.9.
38571         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38572         (PF_MAX): Adjust for VSOCK change.
38574 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38578 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
38580         [BZ #15264]
38581         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38582         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38583         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38585 2013-05-02  David S. Miller  <davem@davemloft.net>
38587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38589 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
38591         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38593 2013-05-01  Roland McGrath  <roland@hack.frob.com>
38595         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38597 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
38599         [BZ #14952]
38600         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38601         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38602         Use __attribute__ ((__gnu_inline__)).
38603         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38604         Don't use __attribute__ ((__gnu_inline__)).
38606 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
38608         [BZ #15423]
38609         * math/s_catan.c (__catan): Handle small real or imaginary part of
38610         input specially to avoid spurious underflow.
38611         * math/s_catanf.c (__catanf): Likewise.
38612         * math/s_catanh.c (__catanh): Likewise.
38613         * math/s_catanhf.c (__catanhf): Likewise.
38614         * math/s_catanhl.c (__catanhl): Likewise.
38615         * math/s_catanl.c (__catanl): Likewise.
38616         * math/libm-test.inc (catan_test): Add more tests.
38617         (catanh_test): Likewise.
38618         * sysdeps/i386/fpu/libm-test-ulps: Update.
38619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38621 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38625 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
38627         [BZ #15416]
38628         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38629         accurately for denominator in atan2.
38630         * math/s_catanf.c (__catanf): Likewise.
38631         * math/s_catanh.c (__catanh): Likewise.
38632         * math/s_catanhf.c (__catanhf): Likewise.
38633         * math/s_catanhl.c (__catanhl): Likewise.
38634         * math/s_catanl.c (__catanl): Likewise.
38635         * math/libm-test.inc (catan_test): Add more tests.
38636         (catanh_test): Likewise.
38637         * sysdeps/i386/fpu/libm-test-ulps: Update.
38638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38640 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38642         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38644         * benchtests/Makefile (bench): Remove slow benchmarks.
38645         * benchtests/atan-inputs: Add slow benchmark inputs.
38646         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38647         (BENCH_FUNC): Accept variant offset.
38648         (VARIANT): Define.
38649         * benchtests/bench-skeleton.c (main): Run benchmark for each
38650         variant.
38651         * benchtests/cos-inputs: Add slow benchmark inputs.
38652         * benchtests/exp-inputs: Likewise.
38653         * benchtests/pow-inputs: Likewise.
38654         * benchtests/sin-inputs: Likewise.
38655         * benchtests/slowatan-inputs: Remove.
38656         * benchtests/slowatan.c: Remove.
38657         * benchtests/slowcos-inputs: Remove.
38658         * benchtests/slowcos.c: Remove.
38659         * benchtests/slowexp-inputs: Remove.
38660         * benchtests/slowexp.c: Remove.
38661         * benchtests/slowpow-inputs: Remove.
38662         * benchtests/slowpow.c: Remove.
38663         * benchtests/slowsin-inputs: Remove.
38664         * benchtests/slowsin.c: Remove.
38665         * benchtests/slowtan-inputs: Remove.
38666         * benchtests/slowtan.c: Remove.
38667         * benchtests/tan-inputs: Add slow benchmark inputs.
38668         * scripts/bench.pl: Parse comments and directives.
38670         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
38671         in CPPFLAGS.
38672         ($(objpfx)bench-%.c): Remove *-ITER.
38673         * benchtests/bench-modf.c: Remove definition of ITER.
38674         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38675         (main): Loop for DURATION seconds instead of fixed number of
38676         iterations.
38677         * scripts/bench.pl: Don't expect iterations in parameters.
38679 2013-04-29  Roland McGrath  <roland@hack.frob.com>
38681         * io/fchdir.c (__fchdir): Renamed from fchdir.
38682         (fchdir): Define as weak alias.
38684 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
38686         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38687         (ERRNO_EDOM): Likewise.
38688         (ERRNO_ERANGE): Likewise.
38689         (noErrnoTests): New variable.
38690         (init_max_error): Set errno to 0.
38691         (test_single_errno): New function.
38692         (test_errno): Likewise.
38693         (check_float_internal): Call test_errno.  Set errno to 0.
38694         (check_complex): Refer to errno tests in comment.
38695         (check_int): Call test_errno.  Set errno to 0.
38696         (check_long): Likewise.
38697         (check_bool): Likewise.
38698         (check_longlong): Likewise.
38699         (cos_test): Use ERRNO_* flags for errno tests instead of
38700         check_int.
38701         (expm1_test): Likewise.
38702         (fmod_test): Likewise.
38703         (ilogb_test): Likewise.
38704         (lgamma_test): Likewise.
38705         (pow_test): Likewise.
38706         (remainder_test): Likewise.
38707         (sin_test): Likewise.
38708         (tan_test): Likewise.
38709         (yn_test): Likewise.
38710         (initialize): Set errno to 0.
38711         (main): Print number of errno tests.
38712         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38714 2013-04-29  Andreas Jaeger  <aj@suse.de>
38716         [BZ #15084]
38717         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38718         and RES_USEVC.
38720         [BZ #15085]
38721         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38722         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38723         unimplemented.
38725         [BZ #15380]
38726         * stdlib/random.c (__initstate): Return NULL if
38727         __initstate fails.
38729         [BZ #15086]
38730         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38731         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38732         RES_SNGLKUPREOP.
38734 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38738 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
38740         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38741         of individual tests.
38742         (casin_test): Likewise.
38743         (casinh_test): Likewise.
38745 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
38747         [BZ #15409]
38748         * math/s_catan.c (__catan): Handle arguments with large real or
38749         imaginary part separately without squaring.
38750         * math/s_catanf.c (__catanf): Likewise.
38751         * math/s_catanh.c (__catanh): Likewise.
38752         * math/s_catanhf.c (__catanhf): Likewise.
38753         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38754         and redefine.
38755         (__catanhl): Handle arguments with large real or imaginary part
38756         separately without squaring.
38757         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38758         and redefine.
38759         (__catanl): Handle arguments with large real or imaginary part
38760         separately without squaring.
38761         * math/libm-test.inc (catan_test): Add more tests.
38762         (catanh_test): Likewise.
38763         * sysdeps/i386/fpu/libm-test-ulps: Update.
38764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38766 2013-04-27  Andreas Jaeger  <aj@suse.de>
38768         [BZ #15007]
38769         * stdlib/stdlib.h: Update guards for qecvt.
38770         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38771         <stdlib.h>.
38773 2013-04-27  Allan McRae  <allan@archlinux.org>
38775         * sysdeps/i386/fpu/libm-test-ulps: Update.
38777 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
38779         [BZ #15406]
38780         * math/s_catan.c: Include <float.h>.
38781         (__catan): Ensure underflow exception occurs for underflowed
38782         result.
38783         * math/s_catanf.c: Include <float.h>.
38784         (__catanf): Ensure underflow exception occurs for underflowed
38785         result.
38786         * math/s_catanh.c: Include <float.h>.
38787         (__catanh): Ensure underflow exception occurs for underflowed
38788         result.
38789         * math/s_catanhf.c: Include <float.h>.
38790         (__catanhf): Ensure underflow exception occurs for underflowed
38791         result.
38792         * math/s_catanhl.c: Include <float.h>.
38793         (__catanhl): Ensure underflow exception occurs for underflowed
38794         result.
38795         * math/s_catanl.c: Include <float.h>.
38796         (__catanl): Ensure underflow exception occurs for underflowed
38797         result.
38798         * math/libm-test.inc (catan_test): Add more tests.
38799         (catanh_test): Likewise.
38801         [BZ #15405]
38802         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38803         underflowed result.
38804         * math/s_ccoshf.c (__ccoshf): Likewise.
38805         * math/s_ccoshl.c (__ccoshl): Likewise.
38806         * math/s_csin.c (__csin): Likewise.
38807         * math/s_csinf.c (__csinf): Likewise.
38808         * math/s_csinh.c (__csinh): Likewise.
38809         * math/s_csinhf.c (__csinhf): Likewise.
38810         * math/s_csinhl.c (__csinhl): Likewise.
38811         * math/s_csinl.c (__csinl): Likewise.
38812         * math/libm-test.inc (ccos_test): Add more tests.
38813         (ccosh_test): Likewise.
38814         (csin_test): Likewise.
38815         (csinh_test): Likewise.
38817 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38819         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38820         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38821         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38822         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38823         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38824         powerpc/power5+/fpu folders.
38825         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38828 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38830         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38832 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
38834         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38835         additions to variable.
38836         [$(config-machine) = x86_64] (modules-names): Likewise.
38837         ($(objpfx)tst-audit3): Remove dependency.
38838         ($(objpfx)tst-audit3.out): Likewise.
38839         ($(objpfx)tst-audit4): Likewise.
38840         ($(objpfx)tst-audit4.out): Likewise.
38841         ($(objpfx)tst-audit5): Likewise.
38842         ($(objpfx)tst-audit5.out): Likewise.
38843         ($(objpfx)tst-audit6): Likewise.
38844         ($(objpfx)tst-audit6.out): Likewise.
38845         ($(objpfx)tst-audit7): Likewise.
38846         ($(objpfx)tst-audit7.out): Likewise.
38847         (tst-audit3-ENV): Remove variable.
38848         (tst-audit4-ENV): Likewise.
38849         (tst-audit5-ENV): Likewise.
38850         (tst-audit6-ENV): Likewise.
38851         (tst-audit7-ENV): Likewise.
38852         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
38853         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
38854         addition to variable.
38855         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
38856         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
38857         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
38858         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
38859         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
38860         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
38861         tst-audit3, tst-audit4 and tst-audit5.
38862         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
38863         tst-audit6 and tst-audit7.
38864         [$(subdir) = elf] (modules-names): Add audit modules for those
38865         tests.
38866         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
38867         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
38868         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
38869         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
38870         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
38871         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
38872         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
38873         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
38874         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
38875         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
38876         [$(subdir) = elf] (tst-audit3-ENV): New variable.
38877         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
38878         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
38879         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
38880         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
38881         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
38882         Likewise.
38883         [$(subdir) = elf && $(config-cflags-avx) = yes]
38884         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
38885         [$(subdir) = elf && $(config-cflags-avx) = yes]
38886         (CFLAGS-tst-auditmod4a.c): Likewise.
38887         [$(subdir) = elf && $(config-cflags-avx) = yes]
38888         (CFLAGS-tst-auditmod4b.c): Likewise.
38889         [$(subdir) = elf && $(config-cflags-avx) = yes]
38890         (CFLAGS-tst-auditmod6b.c): Likewise.
38891         [$(subdir) = elf && $(config-cflags-avx) = yes]
38892         (CFLAGS-tst-auditmod6c.c): Likewise.
38893         [$(subdir) = elf && $(config-cflags-avx) = yes]
38894         (CFLAGS-tst-auditmod7b.c): Likewise.
38895         * elf/tst-audit3.c: Move to ...
38896         * sysdeps/x86_64/tst-audit3.c: ... here.
38897         * elf/tst-audit4.c: Move to ...
38898         * sysdeps/x86_64/tst-audit4.c: ... here.
38899         * elf/tst-audit5.c: Move to ...
38900         * sysdeps/x86_64/tst-audit5.c: ... here.
38901         * elf/tst-audit6.c: Move to ...
38902         * sysdeps/x86_64/tst-audit6.c: ... here.
38903         * elf/tst-audit7.c: Move to ...
38904         * sysdeps/x86_64/tst-audit7.c: ... here.
38905         * elf/tst-auditmod3a.c: Move to ...
38906         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
38907         * elf/tst-auditmod3b.c: Move to ...
38908         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
38909         * elf/tst-auditmod4a.c: Move to ...
38910         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
38911         * elf/tst-auditmod4b.c: Move to ...
38912         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
38913         * elf/tst-auditmod5a.c: Move to ...
38914         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
38915         * elf/tst-auditmod5b.c: Move to ...
38916         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
38917         * elf/tst-auditmod6a.c: Move to ...
38918         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
38919         * elf/tst-auditmod6b.c: Move to ...
38920         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
38921         * elf/tst-auditmod6c.c: Move to ...
38922         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
38923         * elf/tst-auditmod7a.c: Move to ...
38924         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
38925         * elf/tst-auditmod7b.c: Move to ...
38926         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
38928 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
38930         [BZ #15366]
38931         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
38932         define unconditionally.
38933         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
38934         define unconditionally.
38935         (INT8_C, INT16_C, etc.): Likewise.
38937 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
38939         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
38940         __ehdr_start with hidden visibility.
38942         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
38944 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
38946         * math/libm-test.inc (cos_test): Use accurate hex constants.
38947         (sincost_test): Likewise.
38949 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
38951         * math/libm-test.inc (catan_test): Add more tests.
38952         (catanh_test): Likewise.
38954         * math/s_catanf.c (__catanf): Use suffixed floating-point
38955         constants.
38956         * math/s_catanhf.c (__catanhf): Likewise.
38957         * math/s_catanhl.c (__catanhl): Likewise.
38958         * math/s_catanl.c (__catanl): Likewise.
38960         [BZ #15394]
38961         * math/s_catan.c (__catan): Calculate imaginary part of result
38962         with log1p not log unless computing log of number close to 0.
38963         * math/s_catanf.c (__catanf): Likewise.
38964         * math/s_catanl.c (__catanl): Likewise.
38965         * math/s_catanh.c (__catanh): Calculate real part of result with
38966         log1p not log unless computing log of number close to 0.
38967         * math/s_catanhf.c (__catanhf): Likewise.
38968         * math/s_catanhl.c (__catanhl): Likewise.
38969         * math/libm-test.inc (catan_test): Add more tests.
38970         (catanh_test): Likewise.
38971         * sysdeps/i386/fpu/libm-test-ulps: Update.
38972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38974 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38976         * benchtests/Makefile: Mention files in which fast and slow
38977         paths of math functions are implemented.
38979 2013-04-23  Roland McGrath  <roland@hack.frob.com>
38981         * sysdeps/posix/timespec_get.c: New file.
38983 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38985         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
38986         POWER.
38987         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
38988         for POWER.
38989         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
38990         powerpc/power5/fpu folders.
38991         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
38992         * benchtests/Makefile: Add modf testcase.
38993         * benchtests/bench-modf.c: New file: Benchmark test for mo
38995 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38997         [BZ #14888]
38998         * time/Makefile (tests): Add tst-strptime-whitespace.
38999         * time/strptime_l.c (get_number): Use ISSPACE.
39000         (__strptime_internal): Likewise.
39001         * time/tst-strptime-whitespace.c: New test case.
39003 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
39005         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
39006         member.
39007         (_nss_files_init): Set it here.
39009 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
39011         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
39012         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
39013         unsigned.
39015 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
39017         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
39019 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39021         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
39022         size just once.
39024 2013-04-21  David S. Miller  <davem@davemloft.net>
39026         * po/ru.po: Update Russion translation from translation project.
39028 2013-04-17  Adam Conrad  <adconrad@0c3.net>
39030         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
39031         and setfsgid.
39033 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
39035         * configure.in: Remove i386 configure warning. Remove i386 case.
39036         * configure: Regenerate.
39037         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
39038         Add example to error message.
39039         * sysdeps/i386/configure: Regenerate.
39041 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39043         * benchtests/Makefile (bench): Add cos, tan, slowcos and
39044         slowtan.
39045         * benchtests/cos-inputs: New file.
39046         * benchtests/slowcos-inputs: New file.
39047         * benchtests/slowcos.c: New file.
39048         * benchtests/slowtan-inputs: New file.
39049         * benchtests/slowtan.c: New file.
39050         * benchtests/tan-inputs: New file.
39052 2013-04-16  Roland McGrath  <roland@hack.frob.com>
39054         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
39055         considered kosher.
39057 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39059         * benchtests/Makefile: Include cppflags-iterator.mk to add
39060         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
39062         * Makefile.in (bench-clean): New target.
39063         * benchtests/Makefile (bench-clean): Likewise.
39065 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
39067         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
39069 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
39071         * stdio-common/tstdiomisc.c: Fix coding-style violation.
39073 2013-04-15  Andreas Schwab  <schwab@suse.de>
39075         * nscd/grpcache.c (cache_addgr): Properly check for short write.
39076         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39077         * nscd/pwdcache.c (cache_addpw): Likewise.
39078         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
39079         more than recsize.
39081 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39083         * benchtests/Makefile (bench): Write all output to
39084         bench-out.tmp together.
39086 2013-04-15  Andreas Schwab  <schwab@suse.de>
39088         * nscd/nscd.c (main): Don't fork again after closing files.
39090 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39092         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
39094         * benchtests/Rules (bench-deps): Collect dependencies into a
39095         single variable.  Add Makefile to dependencies.
39096         ($(objpfx)bench-%.c): Depend on bench-deps.
39098 2013-04-12  Roland McGrath  <roland@hack.frob.com>
39099             Xavier Roche  <roche+kml2@exalead.com>
39101         [BZ #15361]
39102         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
39103         just that it's a file descriptor.
39104         * manual/llio.texi (Synchronizing AIO Operations): Update description
39105         for EBADF error from aio_fsync.
39107 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39109         * Rules (bench): Move target definition...
39110         * benchtests/Makefile: ... here.
39112 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
39114         * math/libm-test.inc (cos_test): Fix PI/2 test.
39115         (sincos_test): Likewise.
39116         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39117         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
39119 2013-04-11  Andreas Schwab  <schwab@suse.de>
39121         [BZ #13988]
39122         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
39123         accept exponent character only when digits were seen.
39124         * stdio-common/Makefile (tests): Add bug26.
39125         * stdio-common/bug26.c: New file.
39127         [BZ #14293]
39128         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
39129         non-freeable.
39131 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39133         * Makeconfig (rtld-prefix): Define built linker prefix.
39134         * Rules (run-bench): Use it.
39135         * math/Makefile (run-regen-ulps): Likewise.
39137         * Rules (bench): Remove eval.
39139 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39140             Roland McGrath  <roland@hack.frob.com>
39141             Ondrej Bilka  <neleai@seznam.cz>
39143         [BZ #15346]
39144         * time/getdate.c: Include ctype.h and alloca.h.
39145         (__getdate_r): Trim leading and trailing spaces of input.
39146         * time/tst-getdate.c (tests): Add tests with leading and
39147         trailing spaces.
39149 2013-04-08  Roland McGrath  <roland@hack.frob.com>
39151         [BZ #14280]
39152         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
39153         when computing value.
39155 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39157         * math/README.libm-test (How can I generate "libm-test-ulps"?):
39158         Use testrun.sh to run libm tests.
39160         [BZ #15309]
39161         * elf/dl-open.c (dl_open_worker): memset all of seen array.
39163 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
39165         [BZ #15264]
39166         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
39168 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39170         * Makefile.in (regen-ulps): New target.
39171         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
39172         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
39173         [ifneq (no,$(PERL)] (regen-ulps): New target.
39174         [ifeq (no,$(PERL)] (regen-ulps): New target.
39175         * math/libm-test.inc (ulps_file_name): Define.
39176         (output_dir): New variable.
39177         (options): Add "output-dir" option.
39178         (parse_opt): Handle 'o' case.
39179         (main): If output_dir is non-NULL use it as a prefix
39180         otherwise use "".
39181         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
39183 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39185         [BZ #10060, #10062]
39186         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
39187         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
39188         fail configure if __sync_val_compare_and_swap is not inlined.
39189         * sysdeps/i386/configure: Regenerate.
39190         * configure.in: Build for i686 when configured for i386.
39191         * configure: Regenerate.
39192         * README: Remove i386 reference.
39194 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
39196         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
39197         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39199 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39201         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
39202         (lmsnanval): New variables.
39203         (F): Add conversion tests.
39204         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
39205         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
39207         * stdio-common/tstdiomisc.c (F): Properly collect individual
39208         tests' results.
39210         [BZ #14686, #15336]
39211         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
39212         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
39213         Instead, use input NaN values or generate a qNaN by arithmetic
39214         operation.  Also fix bugs to comply with the standard.
39215         * math/libm-test.inc (remainder_test): Add more tests.
39217         [BZ #15335, #15342]
39218         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
39219         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
39220         input NaN values or generate a qNaN by arithmetic operation.
39222         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
39223         unreachable code.
39225         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
39226         definitions.
39228 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
39230         [BZ #14478]
39231         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
39232         underflowed result.
39233         * math/s_cexpf.c (__cexpf): Likewise.
39234         * math/s_cexpl.c (__cexpl): Likewise.
39235         * math/libm-test.inc (cexp_test): Add more tests.
39237 2013-04-03  Andreas Schwab  <schwab@suse.de>
39239         [BZ #15330]
39240         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
39241         order arrays from heap if bigger than alloca cutoff.
39243 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
39245         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
39246         (SNAN_TESTS_double): Refer to GCC PR56831.
39247         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
39248         GCC PR56828.
39250 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39252         * Rules (bench): Move bench.out after the run is complete.
39254         * Rules (bench): Echo currently running benchmark.
39256         * benchtests/Makefile (bench): Add atan and slowatan.
39257         * benchtests/atan-inputs: New file.
39258         * benchtests/slowatan-inputs: New file.
39259         * benchtests/slowatan.c: New file.
39261         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
39262         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
39263         its value.
39265         [BZ #15305]
39266         * sysdeps/unix/sysv/linux/kernel-features.h
39267         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
39268         __ASSUME_XFS_RESTRICTED_CHOWN.
39269         * sysdeps/unix/sysv/linux/pathconf.c
39270         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
39271         Save and restore errno.
39273 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
39275         [BZ #15327]
39276         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
39277         arguments using __kernel_casinh.
39278         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
39279         arguments using __kernel_casinhf.
39280         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
39281         arguments using __kernel_casinhl.
39282         * math/libm-test.inc (cacosh_test): Add more tests.
39283         * sysdeps/i386/fpu/libm-test-ulps: Update.
39284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39286 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39288         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
39289         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
39291         * bench/Makefile (bench): Add sin and slowsin.
39292         * benchtests/sin-inputs: New file.
39293         * benchtests/slowsin-inputs: New file.
39294         * benchtests/slowsin.c: New file.
39296         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
39297         (bench): Add slowexp and slowpow.
39298         (exp-ITER): Increase iterations.
39299         (pow-ITER): Likewise.
39300         * benchtests/exp-inputs: Change input.
39301         * benchtests/pow-inputs: Likewise.
39302         * benchtests/slowexp-inputs: New file.
39303         * benchtests/slowexp.c: New file.
39304         * benchtests/slowpow-inputs: New file.
39305         * benchtests/slowpow.c: New file.
39307 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39309         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
39310         instructions.
39311         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39312         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
39313         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39314         * benchtests/Makefile: Add rint benchtest.
39315         * benchtests/rint-inputs: Input for rint benchtest.
39317 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39319         * Versions.def (libm): Add GLIBC_2.18.
39320         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
39321         hidden libm prototypes.
39322         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
39323         * math/Makefile (libm-calls): Add s_issignaling.
39324         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
39325         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
39326         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
39327         declaration.
39328         * math/math.h [__USE_GNU] (issignaling): New macro.
39329         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
39330         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
39331         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
39332         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
39333         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
39334         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
39335         * manual/arith.texi (issignaling): New section.
39336         * manual/libm-err-tab.pl (@all_functions): Update comment.
39337         * math/gen-libm-test.pl (parse_args): Apply special handling for
39338         issignaling.
39339         * math/libm-test.inc (print_float, issignaling_test): New
39340         functions.
39341         (check_float_internal): Add issignaling checks.
39342         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
39343         default definition.
39344         * sysdeps/powerpc/math-tests.h: New file.
39345         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
39346         tests.
39347         * math/test-snan.c (TEST_FUNC): Likewise.
39349 2013-03-30  David S. Miller  <davem@davemloft.net>
39351         * po/de.po: Update from translation team.
39353 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
39355         [BZ #10357]
39356         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39357         imaginary part less than 1.0 and real part less than 0.5
39358         specially.
39359         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39360         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39361         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
39362         (cacos_test): Add more tests.
39363         (casin_test): Likewise.
39364         (casinh_test): Likewise.
39365         * sysdeps/i386/fpu/libm-test-ulps: Update.
39366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39368 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39370         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
39371         ONE with its value.
39373         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
39374         (__pow_mp): Replace ONE and MONE with their values.
39375         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39376         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
39377         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39378         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
39379         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39380         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39382         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
39384         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
39385         (__pow_mp): Replace ZERO and MZERO with their values.
39386         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39387         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39388         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39389         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39390         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39391         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
39392         (__sqr): Likewise.
39394         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
39396         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
39398 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39400         * include/stdlib.h [!SHARED] (__call_tls_dtors):
39401         Declare with __attribute__ ((weak)).
39402         * stdlib/exit.c (__libc_atexit) [!SHARED]:
39403         Call __call_tls_dtors only if it's not NULL.
39405 2013-03-28  Roland McGrath  <roland@hack.frob.com>
39407         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
39408         didn't do it already, then set _dl_phdr and _dl_phnum based on the
39409         magic __ehdr_start linker symbol if it's defined.
39410         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
39411         them up here if it was already done.
39413         * elf/dl-support.c (_dl_phdr): Make pointer to const.
39414         (_dl_aux_init): Use const in cast when setting it.
39415         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
39416         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
39417         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
39419         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
39420         Declare them here.
39421         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
39422         * csu/libc-tls.c: Nor here.
39423         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
39425         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
39426         (__libc_message): Never call vsyslog.
39428 2013-03-28  Alan Modra  <amodra@gmail.com>
39430         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
39431         Define as empty.
39432         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
39433         Likewise.
39435 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39437         [BZ #15214]
39438         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
39439         underflow.
39440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39442 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39444         [BZ #15304]
39445         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39446         Don't add gid passed as argument.
39448         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
39450 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
39452         [BZ #15307]
39453         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39454         imaginary part between 1.0 and 1.5 and real part less than 0.5
39455         specially.
39456         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39457         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39458         * math/libm-test.inc (cacos_test): Add more tests.
39459         (casin_test): Likewise.
39460         (casinh_test): Likewise.
39461         * sysdeps/i386/fpu/libm-test-ulps: Update.
39462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39464 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39466         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
39467         constants.
39468         (norm): Likewise.
39469         (denorm): Likewise.
39470         (__dbl_mp): Likewise.
39471         (add_magnitudes): Likewise.
39472         (sub_magnitudes): Likewise.
39473         (__add): Likewise.
39474         (__sub): Likewise.
39475         (__mul): Likewise.
39476         (__sqr): Likewise.
39477         (__inv): Likewise.
39478         (__dvd): Likewise.
39480         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39481         commented code.
39482         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39483         (__dubcos): Likewise.
39484         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39485         (__ieee754_acos): Likewise.
39486         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39487         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39488         (__exp1): Likewise.
39489         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39490         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39491         (log1): Likewise.
39492         (my_log2): Likewise.
39493         (checkint): Likewise.
39494         * sysdeps/ieee754/dbl-64/e_remainder.c
39495         (__ieee754_remainder): Likewise.
39496         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39497         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39498         (bsloww): Likewise.
39499         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39501         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39502         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39503         MANTISSA_STORE_T to store computations on mantissa.  Use
39504         macros for rounding and division.
39505         (denorm): Likewise.
39506         (__dbl_mp): Likewise.
39507         (add_magnitudes): Likewise.
39508         (sub_magnitudes): Likewise.
39509         (__mul): Likewise.
39510         (__sqr): Likewise.
39511         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39512         powers of two in terms of TWOPOW macro.
39513         (mp_no): Make type of mantissa as MANTISSA_T.
39514         [!RADIXI]: Define RADIXI.
39515         [!TWO52]: Define TWO52.
39516         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39518 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39520         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39521         llroundl symbol when building for PPC32.
39523 2013-03-24  Mark H Weaver  <mhw@netris.org>
39525         * manual/arith.texi (Normalization Functions): Fix prototypes for
39526         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39528 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39530         [BZ #13889]
39531         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39532         high value to check if expl overflow.
39533         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39534         to check for underflow and overflow.
39535         * math/libm-test.inc: Add exp test.
39537 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
39539         [BZ #11120]
39540         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39541         with NOT_IN_libc.
39543 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39545         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39546         symbol.
39548 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39550         * math/gen-libm-test.pl (parse_args, special_functions): Properly
39551         wrap blocks consisting of several statements.
39553         * sysdeps/generic/math-tests.h: New file.
39554         * sysdeps/i386/fpu/math-tests.h: Likewise.
39555         * math/test-snan.c: Include it.
39556         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39558 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39560         [BZ #15285]
39561         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39562         (__ieee754_j0l): Do not improve calculations using cos of twice
39563         input for inputs above LDBL_MAX / 2.0L.
39564         (__ieee754_y0l): Likewise.
39565         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39566         (__ieee754_j1l): Do not improve calculations using cos of twice
39567         input for inputs above LDBL_MAX / 2.0L.
39568         (__ieee754_y1l): Likewise.
39569         * math/libm-test.inc (j0_test): Add another test.
39570         (j1_test): Likewise.
39571         (y0_test): Likewise.
39572         (y1_test): Likewise.
39573         * sysdeps/i386/fpu/libm-test-ulps: Update.
39575 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39577         * Rules ($(objpfx)bench-%.c): Include code from a C source
39578         file.
39580 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
39582         [BZ #15287]
39583         * math/k_casinh.c (__kernel_casinh): Handle arguments with
39584         imaginary part 1.0 and real part less than 0.5 specially.
39585         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39586         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39587         * math/libm-test.inc (cacos_test): Add more tests.
39588         (casin_test): Likewise.
39589         (casinh_test): Likewise.
39590         * sysdeps/i386/fpu/libm-test-ulps: Update.
39591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39593 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39595         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39596         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39598 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
39600         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39601         * config.make.in (config-cflags-sse4): Remove variable.
39602         (config-cflags-avx): Likewise.
39603         (config-cflags-sse2avx): Likewise.
39604         (config-cflags-novzeroupper): Likewise.
39605         (config-asflags-i686): Likewise.
39606         (have-mfma4): Likewise.
39607         (have-as-vis3): Likewise.
39608         (MIG): Likewise.
39609         * configure.in (MIG): Do not AC_SUBST.
39610         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39611         (libc_cv_cc_sse4): Do not AC_SUBST.
39612         (libc_cv_cc_avx): Likewise.
39613         (libc_cv_cc_sse2avx): Likewise.
39614         (libc_cv_cc_novzeroupper): Likewise.
39615         (libc_cv_cc_fma4): Likewise.
39616         (libc_cv_as_i686): Likewise.
39617         (libc_cv_sparc_as_vis3): Likewise.
39618         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39619         LIBC_CONFIG_VAR.
39620         (config-asflags-i686): Likewise.
39621         (config-cflags-avx): Likewise.
39622         (config-cflags-sse2avx): Likewise.
39623         (have-mfma4): Likewise.
39624         (config-cflags-novzeroupper): Likewise.
39625         * sysdeps/mach/configure.in (MIG): Likewise.
39626         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39627         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39628         LIBC_CONFIG_VAR.
39629         (config-cflags-avx): Likewise.
39630         (config-cflags-sse2avx): Likewise.
39631         (have-mfma4): Likewise.
39632         (config-cflags-novzeroupper): Likewise.
39633         * configure: Regenerated.
39634         * sysdeps/i386/configure: Likewise.
39635         * sysdeps/mach/configure: Likewise.
39636         * sysdeps/sparc/configure: Likewise.
39637         * sysdeps/x86_64/configure: Likewise.
39639 2013-03-20  Roland McGrath  <roland@hack.frob.com>
39641         [BZ #14812]
39642         * locale/programs/localedef.c (options): Put N_ translation marker
39643         on argument names, not just descriptions.
39645 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39647         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39649 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
39651         [BZ #14176]
39652         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39654 2013-03-19  Roland McGrath  <roland@hack.frob.com>
39656         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39657         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39658         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39659         [!BEFORE_ABORT] (before_abort): New function.
39660         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39661         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39662         (writev_for_fatal): New function.
39663         (WRITEV_FOR_FATAL): New macro; call that.
39664         (backtrace_and_maps): New function.
39665         (BEFORE_ABORT): New macro; call that.
39666         (struct str_list): Type removed.
39667         (__libc_message, __libc_fatal): Functions removed.
39668         Include <sysdeps/posix/libc_fatal.c> instead.
39670 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
39672         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39673         constants.
39674         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39675         double constants.
39677 2013-03-19  Andreas Schwab  <schwab@suse.de>
39679         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39680         * sysdeps/gnu/configure: Regenerate.
39682         * configure.in: Substitute libc_cv_rtlddir.
39683         * configure: Regenerate.
39684         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39685         * Makeconfig (rtlddir, inst_rtlddir): New variables.
39686         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39687         * elf/Makefile (install-others, CFLAGS-interp.c)
39688         (ldso_install, common-ldd-rewrite): Likewise.
39689         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39690         $(inst_slibdir)/$(rtld-installed-name).
39691         * scripts/rellns-sh: Add -p option.
39692         * Makerules (make-shlib-link): Use rellns-sh to get relative name
39693         for source.
39695 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39697         * manual/nptl.texi: Renamed to ...
39698         * manual/threads.texi: ... this.
39699         * manual/Makefile (chapters): Update.
39701 2013-03-18  Roland McGrath  <roland@hack.frob.com>
39703         [BZ #14812]
39704         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39705         on argument names, not just descriptions.
39706         * malloc/memusagestat.c (options): Likewise.
39707         * nss/getent.c (options): Likewise.
39709 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
39711         [BZ #14812]
39712         * iconv/iconv_prog.c (options): Put N_ translation marker
39713         on argument names, not just descriptions.
39714         * iconv/iconvconfig.c (options): Likewise.
39716 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
39718         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39719         implementation which is faster on all x86_64 architectures.
39720         Tested on AMD, Intel Nehalem, SNB, IVB.
39721         * sysdeps/x86_64/strnlen.S: Likewise.
39723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39724         Remove all multiarch strlen and strnlen versions.
39725         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39726         Remove strlen and strnlen related parts.
39728         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39729         Inline strlen part.
39730         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39732         * sysdeps/x86_64/multiarch/strlen.S: Remove.
39733         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39734         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39735         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39736         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39737         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39739 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
39741         * manual/memory.texi (Malloc Tunable Parameters):
39742         Sort parameters alphabetically. Add comments for missing entries.
39744 2013-03-17  David S. Miller  <davem@davemloft.net>
39746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39748 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
39750         [BZ #15283]
39751         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39752         for arguments at most half maximum finite value.
39753         * math/libm-test.inc (j0_test): Add more tests.
39754         (j1_test): Likewise.
39755         (y0_test): Likewise.
39756         (y1_test): Likewise.
39757         * sysdeps/i386/fpu/libm-test-ulps: Update.
39758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39760         [BZ #14155]
39761         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39762         1 / x and functions P and Q for arguments above 0x1p256L.
39763         (__ieee754_y0l): Likewise.
39764         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39765         (__ieee754_y1l): Likewise.
39766         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39767         (j1_test): Likewise.
39768         (y0_test): Likewise.
39769         (y1_test): Likewise.
39771 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
39773         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39774         variable.
39776 2013-03-15  Roland McGrath  <roland@hack.frob.com>
39778         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39779         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39780         zero since it's initialized to EXEC_PAGESIZE.
39782         * sysdeps/unix/sysv/linux/ldsodefs.h
39783         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39784         * sysdeps/generic/ldsodefs.h: ... here.
39786 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
39788         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39790         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39791         math/test-snan.c.
39792         * math/test-snan.c: Renamed from
39793         sysdeps/powerpc/fpu/test-powerpc-snan.c.
39794         * math/Makefile (tests): Add test-snan.
39795         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39796         test-powerpc-snan.
39798         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39799         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
39800         functions.
39801         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
39802         __builtin_nan family of functions.
39803         * math/libm-test.inc (initialize): Initialize qnan_value with
39804         __builtin_nan family of functions.
39805         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39806         Remove variables.
39807         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39808         Remove functions.
39809         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
39810         storage class.  Initialize qNaN_var and sNaN_var with
39811         __builtin_nan and __builtin_nans families of functions,
39812         respectively.
39814         * math/libm-test.inc (acosh_test): Also test with qNaN input.
39815         (sqrt_test): Remove duplicate test with qNaN input.
39816         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39817         (round_test, signbit_test, significand_test): Note missing +/-Inf
39818         as well as qNaN tests.
39820         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39821         qNaN_var.  Fix a few strings, too.
39822         * math/libm-test.inc (nan_value): Rename to qnan_value.
39823         * math/gen-libm-test.pl (%beautify): Adjust to that.
39824         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39825         * math/test-misc.c (main): Likewise.
39826         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39827         to __qnan_bytes, and __qnan_union, respectively.
39828         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39829         Likewise.
39830         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39831         and lqnanval, respectively.
39832         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39833         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39834         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39835         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39837         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39838         * math/test-misc.c (main) [__x86_64__]: Enable test for long
39839         doubles.
39841         * math/test-misc.c (main): Fix copy'n'pastos.
39842         * misc/tst-efgcvt.c (special): Likewise.
39844         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39845         Remove declarations.
39847 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39849         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39850         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
39851         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
39852         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
39854 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39856         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
39857         macro to return vdso values correctly in IFUNC implementations.
39858         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39859         Optimization by using IFUNC.
39861 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39862             Richard Henderson  <rth@redhat.com>
39863             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39865         * Makefile.in (bench): New target.
39866         * NEWS: Mention the benchmark framework.
39867         * Rules (bench): Likewise.
39868         (binaries-bench): Generate binaries for functions to
39869         benchmark.
39870         * benchtests/Makefile: New makefile for benchmark tests.
39871         * benchtests/bench-skeleton.c: New skeleton file for benchmark
39872         programs.
39873         * benchtests/exp-inputs: New input file for EXP function.
39874         * benchtests/pow-inputs: New input file for POW function.
39875         * scripts/bench.pl: New script to generate source files for
39876         benchmark programs.
39878 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39880         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39881         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
39882         computations on mantissa.  Use macros for rounding and
39883         division.
39884         (denorm): Likewise.
39885         (__dbl_mp): Likewise.
39886         (add_magnitudes): Likewise.
39887         (sub_magnitudes): Likewise.
39888         (__mul): Likewise.
39889         (__sqr): Likewise.
39890         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
39891         powers of two in terms of TWOPOW macro.
39892         (mp_no): Make type of mantissa as MANTISSA_T.
39893         [!RADIXI]: Define RADIXI.
39894         [!TWO52]: Define TWO52.
39895         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39897         * manual/nptl.texi (cindex): Modify threads to pthreads.
39899 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
39901         * sysdeps/x86_64/preconfigure: Regenerated.
39903 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
39905         [BZ #14155]
39906         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
39907         0x1p28 and above.
39908         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
39909         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
39910         0x1p28 and above.
39911         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
39912         * math/libm-test.inc (j0_test): Do not allow one spurious
39913         underflow exception.
39914         (y1_test): Likewise.
39916 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39918         * manual/Makefile (chapters): Add nptl.
39919         * manual/debug.texi (Debugging Support): Add link to Threads
39920         chapter.
39921         * manual/nptl.texi: New file.
39923         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
39925 2013-03-14  Petr Baudis  <pasky@ucw.cz>
39927         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
39928         for non-NULL pointer before the memory validity test. Pointed
39929         out by Holger Brunck <holger.brunck@keymile.com>.
39931 2013-03-13  Andreas Schwab  <schwab@suse.de>
39933         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
39934         instead of .os.
39936 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
39938         * timezone/zic.c: Update from tzcode 2013b.
39940 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
39942         * manual/install.texi (Configuring and compiling):
39943         Mention i686 and i586.
39944         * INSTALL: Regenerate.
39946 2013-03-12  Roland McGrath  <roland@hack.frob.com>
39948         * sysdeps/init_array/elf-init.c: New file.
39949         * csu/elf-init.c
39950         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
39951         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
39953         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
39954         __gmon_start__ as global, but as static with a .preinit_array pointer.
39955         * sysdeps/init_array/gmon-start.c: New file.  Use that.
39956         * sysdeps/init_array/crti.S: New file, empty except for comments.
39957         * sysdeps/init_array/crtn.S: Likewise.
39959 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
39961         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
39962         definining bcopy.
39963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39964         Remove Prefer_SSE_for_memop.
39965         * sysdeps/x86_64/multiarch/init-arch.h: Remove
39966         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
39967         HAS_PREFER_SSE_FOR_MEMOP.
39968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
39969         memset-x86-64.
39970         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39971         Remove bzero, memset ifunc support.
39972         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
39973         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
39974         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39975         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39977 2013-03-11  Andreas Schwab  <schwab@suse.de>
39979         [BZ #15234]
39980         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
39981         by SHLIB_COMPAT.
39982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
39983         (GLIBC_2.16): Remove pthread_atfork.
39985 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
39987         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
39988         (ptestcases.h): Likewise.
39990 2013-03-08  Roland McGrath  <roland@hack.frob.com>
39992         * Makeconfig ($(common-objpfx)config.status): Depend on
39993         sysdeps/*/preconfigure{,.in} too.
39995 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
39997         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
39998         (__free_hook): Use void * instead of __malloc_ptr_t.
39999         (__malloc_hook): Likewise.
40000         (__realloc_hook): Likewise.
40001         (__memalign_hook): Likewise.
40002         (__after_morecore_hook): Likewise.
40003         * malloc/arena.c (save_malloc_hook): Likewise.
40004         (save_free_hook): Likewise.
40005         * malloc/hooks.c (malloc_hook_ini): Likewise.
40006         (realloc_hook_ini): Likewise.
40007         (memalign_hook_ini): Likewise.
40008         * malloc/malloc.c (malloc_hook_ini): Likewise.
40009         (realloc_hook_ini): Likewise.
40010         (memalign_hook_ini): Likewise.
40011         (__free_hook): Likewise.
40012         (__malloc_hook): Likewise.
40013         (__realloc_hook): Likewise.
40014         (__memalign_hook): Likewise.
40015         (__libc_malloc): Likewise.
40016         (__libc_free): Likewise.
40017         (__libc_realloc): Likewise.
40018         (__libc_memalign): Likewise.
40019         (__libc_valloc): Likewise.
40020         (__libc_pvalloc): Likewise.
40021         (__libc_calloc): Likewise.
40022         (__posix_memalign): Likewise.
40023         * malloc/morecore.c (__sbrk): Likewise.
40024         (__default_morecore): Likewise.
40026         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
40028         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
40029         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
40030         __malloc_ptrdiff_t.
40032         * malloc/malloc.h (__malloc_size_t): Remove macro.
40033         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
40034         __malloc_size_t.
40035         (old_memalign_hook): Likewise.
40036         (old_realloc_hook): Likewise.
40037         (struct hdr): Likewise.
40038         (flood): Likewise.
40039         (mallochook): Likewise.
40040         (memalignhook): Likewise.
40041         (reallochook): Likewise.
40042         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
40043         (tr_old_realloc_hook): Likewise.
40044         (tr_old_memalign_hook): Likewise.
40045         (tr_mallochook): Likewise.
40046         (tr_reallochook): Likewise.
40047         (tr_memalignhook): Likewise.
40049 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40051         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
40052         default_ldbl_pack and using as default implementation.
40053         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
40054         implementation.
40055         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
40056         redundant definition.
40057         (ldbl_insert_mantissa): Likewise.
40058         (ldbl_canonicalize): Likewise.
40059         (ldbl_nearbyint): Likewise.
40060         (ldbl_pack): Rename to ldbl_pack_ppc.
40061         (ldbl_unpack): Rename to ldbl_unpack_ppc.
40062         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
40063         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
40065 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
40068         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
40069         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
40070         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
40071         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
40072         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
40073         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
40074         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
40076 2013-03-07  Andreas Jaeger  <aj@suse.de>
40078         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40079         bits/mman-linux.h.
40081 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
40083         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
40084         Include mpa.h and declare __MPEXP.
40085         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
40086         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
40087         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
40088         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
40089         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
40090         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
40091         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
40093         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
40094         (__slowpow): Use long double EXPL and LOGL functions to
40095         compute POW.
40096         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
40097         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
40098         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
40099         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
40100         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
40101         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
40103         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
40104         intermediate variable to calculate exponent.
40105         (__sqr): Likewise.
40106         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40107         Likewise.
40108         (__sqr): Likewise.
40110         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
40111         [!NO__SQR]: Define __sqr.
40112         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
40113         and NO__SQR.  Remove all code except __mul and __sqr.  Include
40114         sysdeps/ieee754/dbl-64/mpa.c.
40115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40117         [BZ #12723]
40118         * posix/Makefile (tests): Add tst-pathconf.
40119         * posix/tst-pathconf.c: New test case.
40120         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
40121         _PC_PIPE_BUF.
40122         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
40124 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
40126         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
40128 2013-03-06  Andreas Jaeger  <aj@suse.de>
40130         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
40131         definition via __MAP_ANONYMOUS.
40133         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
40134         it's not part of Linux headers.
40136         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
40137         (MAP_HUGE_MASK): Define.
40139         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40140         Define.
40141         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40142         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40143         Define.
40144         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40145         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40146         Define.
40147         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40148         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
40149         Define.
40150         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40152         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
40153         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
40154         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
40155         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
40156         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
40157         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
40159         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
40160         Handle f2fs.
40162         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40163         Handle f2fs and efivarfs.
40165         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
40166         f2fs.
40168         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
40169         (EFIVARFS_MAGIC): Add.
40170         (F2FS_LINK_MAX): Add.
40172 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40174         * stdio-common/vfprintf.c: Replace __builtin_expect with
40175         __glibc_unlikely.
40177 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
40179         [BZ #13550]
40180         * sysdeps/generic/bp-sym.h: Remove file.
40181         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
40182         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
40183         <bp-sym.h> and <bp-asm.h>.
40184         (__longjmp): Don't use BP_SYM.
40185         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
40186         and <bp-asm.h>.
40187         (memcpy): Don't use BP_SYM.
40188         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
40189         <bp-sym.h> and <bp-asm.h>.
40190         (memcpy): Don't use BP_SYM.
40191         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
40192         <bp-asm.h>.
40193         (memcpy): Don't use BP_SYM.
40194         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
40195         <bp-asm.h>.
40196         (memset): Don't use BP_SYM.
40197         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40198         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40199         (__bzero): Don't use BP_SYM.
40200         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40201         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40202         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
40203         <bp-sym.h> and <bp-asm.h>.
40204         (memcmp): Don't use BP_SYM.  Remove comment about bounded
40205         pointers.
40206         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
40207         <bp-sym.h> and <bp-asm.h>.
40208         (memcpy): Don't use BP_SYM.
40209         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
40210         <bp-sym.h> and <bp-asm.h>.
40211         (memset): Don't use BP_SYM.
40212         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40213         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40214         (__bzero): Don't use BP_SYM.
40215         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40216         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40217         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
40218         <bp-sym.h> and <bp-asm.h>.
40219         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40220         pointers.
40221         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
40222         <bp-sym.h> and <bp-asm.h>.
40223         (memcpy): Don't use BP_SYM.
40224         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
40225         <bp-sym.h> and <bp-asm.h>.
40226         (memset): Don't use BP_SYM.
40227         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40228         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40229         (__bzero): Don't use BP_SYM.
40230         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40231         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40232         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
40233         <bp-sym.h> and <bp-asm.h>.
40234         (__memchr): Don't use BP_SYM.
40235         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
40236         <bp-sym.h> and <bp-asm.h>.
40237         (memcmp): Don't use BP_SYM.  Remove comment about bounded
40238         pointers.
40239         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
40240         <bp-sym.h> and <bp-asm.h>.
40241         (memcpy): Don't use BP_SYM.
40242         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
40243         <bp-sym.h> and <bp-asm.h>.
40244         (__mempcpy): Don't use BP_SYM.
40245         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
40246         <bp-sym.h> and <bp-asm.h>.
40247         (__memrchr): Don't use BP_SYM.
40248         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
40249         <bp-sym.h> and <bp-asm.h>.
40250         (memset): Don't use BP_SYM.
40251         (__bzero): Likewise.
40252         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
40253         <bp-sym.h> and <bp-asm.h>.
40254         (__rawmemchr): Don't use BP_SYM.
40255         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
40256         <bp-sym.h> and <bp-asm.h>.
40257         (__STRCMP): Don't use BP_SYM.
40258         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
40259         <bp-sym.h> and <bp-asm.h>.
40260         (strchr): Don't use BP_SYM.
40261         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
40262         <bp-sym.h> and <bp-asm.h>.
40263         (__strchrnul): Don't use BP_SYM.
40264         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
40265         <bp-sym.h> and <bp-asm.h>.
40266         (strlen): Don't use BP_SYM.
40267         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
40268         <bp-sym.h> and <bp-asm.h>.
40269         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40270         pointers.
40271         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
40272         <bp-sym.h> and <bp-asm.h>.
40273         (__strnlen): Don't use BP_SYM.
40274         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
40275         <bp-sym.h> and <bp-asm.h>.
40276         (__GI__setjmp): Don't use BP_SYM.
40277         (_setjmp): Likewise.
40278         (__sigsetjmp): Likewise.
40279         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
40280         (L(start_addresses)): Don't use BP_SYM.
40281         (_start): Likewise.
40282         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
40283         <bp-asm.h>.
40284         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
40285         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
40286         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40287         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40288         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
40289         <bp-asm.h>.
40290         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
40291         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
40292         about bounded pointers.
40293         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40294         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40295         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
40296         <bp-asm.h>.
40297         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
40298         about bounded pointers.  Remove GKM FIXME comments.
40299         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40300         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
40301         <bp-asm.h>.
40302         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
40303         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
40304         Remove GKM FIXME comments.
40305         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40306         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40307         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
40308         <bp-asm.h>.
40309         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
40310         about bounded pointers.  Remove GKM FIXME comment.
40311         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
40312         and <bp-asm.h>.
40313         (strncmp): Don't use BP_SYM.  Remove comment about bounded
40314         pointers.
40315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
40316         <bp-sym.h> and <bp-asm.h>.
40317         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
40319         <bp-sym.h> and <bp-asm.h>.
40320         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40321         comment.
40323 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40325         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
40326         call free(NULL).
40328 2013-03-05  David S. Miller  <davem@davemloft.net>
40330         * po/es.po: Update from translation team.
40332 2013-03-05  Andreas Jaeger  <aj@suse.de>
40334         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
40335         <bits/mman-linux.h>.
40336         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40337         is fine.
40338         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
40339         <bits/mman-linux.h> to end of file.
40340         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40341         is fine.
40342         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
40343         <bits/mman-linux.h> to end of file.
40344         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40345         is fine.
40346         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
40347         <bits/mman-linux.h> to end of file.
40349         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
40350         (MCL_CURRENT, MCL_FUTURE): Define here.
40352 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40354         [BZ #15232]
40355         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
40356         attribute_hidden.
40357         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40359 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40361         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
40362         fourth parameter needed for rt_sigprocmask syscall.
40363         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40364         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40365         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
40366         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40367         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40368         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
40370 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
40372         [BZ #13550]
40373         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
40374         comment about bounded pointers.
40375         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
40376         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
40378 2013-03-04  Andreas Jaeger  <aj@suse.de>
40380         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
40381         common definitions.
40383         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
40384         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
40385         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
40386         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40387         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40388         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40390 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40392         [BZ #15055]
40393         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
40394         __ieee754_sqrl instead of __sqrl.
40396 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
40398         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
40399         * sysdeps/powerpc/fpu_control.h: ... here.
40400         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
40401         * sysdeps/powerpc/bits/fenvinline.h: ... here.
40402         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
40403         * sysdeps/powerpc/bits/mathinline.h: ... here.
40405 2013-03-01  Roland McGrath  <roland@hack.frob.com>
40407         * elf/dl-hwcaps.c (_dl_important_hwcaps):
40408         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
40409         to just [NEED_DL_SYSINFO_DSO].
40410         * elf/dl-support.c: Likewise.
40411         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40412         * elf/rtld.c (dl_main): Likewise.
40413         * elf/setup-vdso.h (setup_vdso): Likewise.
40414         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
40415         * sysdeps/unix/sysv/linux/dl-sysdep.c
40416         (_dl_discover_osversion): Likewise.
40418 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
40420         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
40421         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40423 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40425         * NEWS: Mention libm performance improvements and non-x86 PI
40426         futex support.
40428         * csu/libc-start.c (__pthread_initialize_minimal): Change
40429         function arguments.
40430         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40432 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
40434         [BZ #13550]
40435         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
40436         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
40437         <bp-sym.h> and <bp-asm.h>.
40438         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40439         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
40440         and <bp-asm.h>.
40441         (memcpy): Don't use BP_SYM.
40442         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
40443         <bp-asm.h>.
40444         (__mpn_add_n): Don't use BP_SYM.
40445         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
40446         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
40447         and <bp-asm.h>.
40448         (__mpn_addmul_1): Don't use BP_SYM.
40449         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40450         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
40451         <bp-sym.h>.
40452         (_setjmp): Don't use BP_SYM.
40453         (__novmx_setjmp): Likewise.
40454         (__GI__setjmp): Likewise.
40455         (__vmx_setjmp): Likewise.
40456         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40457         <bp-sym.h>.
40458         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
40459         (__bzero): Don't use BP_SYM.
40460         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40461         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40462         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
40463         <bp-sym.h> and <bp-asm.h>.
40464         (memcpy): Don't use BP_SYM.
40465         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
40466         <bp-sym.h> and <bp-asm.h>.
40467         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40468         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
40469         <bp-sym.h> and <bp-asm.h>.
40470         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40471         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
40472         <bp-asm.h>.
40473         (__mpn_lshift): Don't use BP_SYM.
40474         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40475         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40476         <bp-asm.h>.
40477         (memset): Don't use BP_SYM.
40478         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40479         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40480         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40481         <bp-asm.h>.
40482         (__mpn_mul_1): Don't use BP_SYM.
40483         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40484         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40485         <bp-sym.h> and <bp-asm.h>.
40486         (memcmp): Don't use BP_SYM.
40487         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40488         <bp-sym.h> and <bp-asm.h>.
40489         (memcpy): Don't use BP_SYM.
40490         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40491         <bp-sym.h> and <bp-asm.h>.
40492         (memset): Don't use BP_SYM.
40493         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40494         <bp-sym.h> and <bp-asm.h>.
40495         (strncmp): Don't use BP_SYM.
40496         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40497         <bp-sym.h> and <bp-asm.h>.
40498         (memcpy): Don't use BP_SYM.
40499         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40500         <bp-sym.h> and <bp-asm.h>.
40501         (memset): Don't use BP_SYM.
40502         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40503         <bp-sym.h> and <bp-asm.h>.
40504         (__memchr): Don't use BP_SYM.
40505         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40506         <bp-sym.h> and <bp-asm.h>.
40507         (memcmp): Don't use BP_SYM.
40508         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40509         <bp-sym.h> and <bp-asm.h>.
40510         (memcpy): Don't use BP_SYM.
40511         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40512         <bp-sym.h> and <bp-asm.h>.
40513         (__mempcpy): Don't use BP_SYM.
40514         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40515         <bp-sym.h> and <bp-asm.h>.
40516         (__memrchr): Don't use BP_SYM.
40517         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40518         <bp-sym.h> and <bp-asm.h>.
40519         (memset): Don't use BP_SYM.
40520         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40521         <bp-sym.h> and <bp-asm.h>.
40522         (__rawmemchr): Don't use BP_SYM.
40523         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40524         <bp-sym.h> and <bp-asm.h>.
40525         (__STRCMP): Don't use BP_SYM.
40526         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40527         <bp-sym.h> and <bp-asm.h>.
40528         (strchr): Don't use BP_SYM.
40529         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40530         <bp-sym.h> and <bp-asm.h>.
40531         (__strchrnul): Don't use BP_SYM.
40532         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40533         <bp-sym.h> and <bp-asm.h>.
40534         (strlen): Don't use BP_SYM.
40535         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40536         <bp-sym.h> and <bp-asm.h>.
40537         (strncmp): Don't use BP_SYM.
40538         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40539         <bp-sym.h> and <bp-asm.h>.
40540         (__strnlen): Don't use BP_SYM.
40541         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40542         <bp-asm.h>.
40543         (__mpn_rshift): Don't use BP_SYM.
40544         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40545         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40546         <bp-sym.h> and <bp-asm.h>.
40547         (__sigsetjmp): Don't use BP_SYM.
40548         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40549         (L(start_addresses)): Don't use BP_SYM.
40550         (_start): Likewise.
40551         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40552         <bp-asm.h>.
40553         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40554         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40555         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40556         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40557         <bp-asm.h>.
40558         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40559         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40560         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40561         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40562         <bp-asm.h>.
40563         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40564         comments.
40565         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40566         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40567         <bp-asm.h>.
40568         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
40569         FIXME comments.
40570         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40571         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40572         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40573         <bp-asm.h>.
40574         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
40575         comment.
40576         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40577         and <bp-asm.h>.
40578         (strncmp): Don't use BP_SYM,
40579         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40580         <bp-asm.h>.
40581         (__mpn_sub_n): Don't use BP_SYM.
40582         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40583         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40584         and <bp-asm.h>.
40585         (__mpn_submul_1): Don't use BP_SYM.
40586         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40588         <bp-sym.h> and <bp-asm.h>.
40589         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40591         <bp-sym.h> and <bp-asm.h>.
40592         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
40593         comment.
40595 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40597         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40598         Use ZK to minimize writes to Z.
40599         (sub_magnitudes): Simplify code a bit.
40600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40601         Use ZK to minimize writes to Z.
40602         (sub_magnitudes): Simplify code a bit.
40604 2013-02-27  Roland McGrath  <roland@hack.frob.com>
40606         * csu/gmon-start.c: Add special exception to license text.
40608 2013-02-27  Richard Henderson  <rth@redhat.com>
40610         * scripts/config.guess: Update from config.git.
40611         * scripts/config.sub: Likewise.
40613 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40615         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40617         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40619         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40621         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40623         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40625 2013-02-26  Roland McGrath  <roland@hack.frob.com>
40627         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40628         [$(build-shared = yes].
40630 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40632         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40633         (__mul): Reduce iterations for calculating mantissa.
40635         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40636         MPTWO.
40637         (__mpranred): Likewise.
40639         [BZ #15160]
40640         * malloc/memusagestat.c (main): Draw graphs for heap and stack
40641         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40643 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
40645         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40646         Define __attribute__.
40648 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40650         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40651         unused.
40652         * posix/regex_internal.h (__attribute): Remove.
40653         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40654         (re_string_context_at): Likewise.
40655         (bitset_not): Use __attribute__ and mark function as possibly
40656         unused.
40657         (bitset_merge): Likewise.
40658         (bitset_mask): Likewise.
40659         (re_string_char_size_at): Likewise.
40660         (re_string_wchar_at): Likewise.
40661         (re_string_elem_size_at): Likewise.
40663 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40665         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40666         code.
40667         (cc32): Likewise.
40669         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40670         (__acr): Likewise.
40671         (__cpy): Likewise.
40672         (norm): Likewise.
40673         (denorm): Likewise.
40674         (__dbl_mp): Likewise.
40675         (add_magnitudes): Likewise.
40676         (sub_magnitudes): Likewise.
40677         (__mul): Likewise.
40678         (__inv): Likewise.
40680         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40681         style.
40683         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40684         style.
40686         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40687         code.
40689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40690         up changes with default code.
40691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40692         Likewise.
40694 2013-02-24  Allan McRae  <allan@archlinux.org>
40696         * manual/socket.texi (The Internet Namespace): Order menu items
40697         to match that in the file.
40699         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40700         node listing of the info page menu.
40702 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
40704         [BZ #13550]
40705         * sysdeps/i386/bp-asm.h: Remove file.
40706         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40707         (PARMS): Do not use macros from bp-asm.h.
40708         (S1): Likewise.
40709         (S2): Likewise.
40710         (SIZE): Likewise.
40711         (__mpn_add_n): Do not use BP_SYM
40712         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40713         "bp-asm.h".
40714         (PARMS): Do not use macros from bp-asm.h.
40715         (S1): Likewise.
40716         (SIZE): Likewise.
40717         (__mpn_addmul_1): Do not use BP_SYM
40718         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40719         "bp-asm.h".
40720         (PARMS): Do not use macros from bp-asm.h.
40721         (SIGMSK): Likewise.
40722         (_setjmp): Likewise.  Do not use BP_SYM.
40723         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40724         "bp-asm.h".
40725         (PARMS): Do not use macros from bp-asm.h.
40726         (SIGMSK): Likewise.
40727         (setjmp): Likewise.  Do not use BP_SYM.
40728         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40729         "bp-asm.h".
40730         (PARMS): Do not use macros from bp-asm.h.
40731         (__frexp): Do not use BP_SYM.
40732         (frexp): Likewise.
40733         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40734         "bp-asm.h".
40735         (PARMS): Do not use macros from bp-asm.h.
40736         (__frexpf): Do not use BP_SYM.
40737         (frexpf): Likewise.
40738         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40739         "bp-asm.h".
40740         (PARMS): Do not use macros from bp-asm.h.
40741         (__frexpl): Do not use BP_SYM.
40742         (frexpl): Likewise.
40743         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40744         "bp-asm.h".
40745         (PARMS): Do not use macros from bp-asm.h.
40746         (__remquo): Do not use BP_SYM.
40747         (remquo): Likewise.
40748         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40749         "bp-asm.h".
40750         (PARMS): Do not use macros from bp-asm.h.
40751         (__remquof): Do not use BP_SYM.
40752         (remquof): Likewise.
40753         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40754         "bp-asm.h".
40755         (PARMS): Do not use macros from bp-asm.h.
40756         (__remquol): Do not use BP_SYM.
40757         (remquol): Likewise.
40758         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40759         "bp-asm.h".
40760         (PARMS): Do not use macros from bp-asm.h.
40761         (DEST): Likewise.
40762         (SRC): Likewise.
40763         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
40764         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40765         "bp-asm.h".
40766         (PARMS): Do not use macros from bp-asm.h.
40767         (strlen): Do not use BP_SYM.
40768         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40769         "bp-asm.h".
40770         (PARMS): Do not use macros from bp-asm.h.
40771         (S1): Likewise.
40772         (S2): Likewise.
40773         (SIZE): Likewise.
40774         (__mpn_add_n): Do not use BP_SYM.
40775         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40776         "bp-asm.h".
40777         (PARMS): Do not use macros from bp-asm.h.
40778         (S1): Likewise.
40779         (SIZE): Likewise.
40780         (__mpn_addmul_1): Do not use BP_SYM.
40781         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40782         weak_alias.
40783         (bzero): Likewise.
40784         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40785         "bp-asm.h".
40786         (PARMS): Do not use macros from bp-asm.h.
40787         (S): Likewise.
40788         (SIZE): Likewise.
40789         (__mpn_lshift): Do not use BP_SYM.
40790         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40791         "bp-asm.h".
40792         (PARMS): Do not use macros from bp-asm.h.
40793         (DEST): Likewise.
40794         (SRC): Likewise.
40795         (LEN): Likewise.
40796         (memcpy): Likewise.  Do not use BP_SYM.
40797         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40798         libc_hidden_def and weak_alias.
40799         (mempcpy): Do not use BP_SYM in weak_alias.
40800         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40801         "bp-asm.h".
40802         (PARMS): Do not use macros from bp-asm.h.
40803         (DEST): Likewise.
40804         (LEN): Likewise.
40805         [!BZERO_P] (CHR): Likewise.
40806         (memset): Likewise.  Do not use BP_SYM.
40807         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40808         "bp-asm.h".
40809         (PARMS): Do not use macros from bp-asm.h.
40810         (S1): Likewise.
40811         (SIZE): Likewise.
40812         (__mpn_mul_1): Do not use BP_SYM.
40813         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40814         "bp-asm.h".
40815         (PARMS): Do not use macros from bp-asm.h.
40816         (S): Likewise.
40817         (SIZE): Likewise.
40818         (__mpn_rshift): Do not use BP_SYM.
40819         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40820         "bp-asm.h".
40821         (PARMS): Do not use macros from bp-asm.h.
40822         (STR): Likewise.
40823         (CHR): Likewise.
40824         (strchr): Likewise.  Do not use BP_SYM.
40825         (index): Do not use BP_SYM in weak_alias.
40826         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40827         "bp-asm.h".
40828         (PARMS): Do not use macros from bp-asm.h.
40829         (DEST): Likewise.
40830         (SRC): Likewise.
40831         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
40832         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40833         "bp-asm.h".
40834         (PARMS): Do not use macros from bp-asm.h.
40835         (strlen): Do not use BP_SYM.
40836         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40837         "bp-asm.h".
40838         (PARMS): Do not use macros from bp-asm.h.
40839         (S1): Likewise.
40840         (S2): Likewise.
40841         (SIZE): Likewise.
40842         (__mpn_sub_n): Do not use BP_SYM.
40843         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40844         "bp-asm.h".
40845         (PARMS): Do not use macros from bp-asm.h.
40846         (S1): Likewise.
40847         (SIZE): Likewise.
40848         (__mpn_submul_1): Do not use BP_SYM.
40849         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40850         "bp-asm.h".
40851         (PARMS): Do not use macros from bp-asm.h.
40852         (S1): Likewise.
40853         (S2): Likewise.
40854         (SIZE): Likewise.
40855         (__mpn_add_n): Do not use BP_SYM.
40856         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
40857         weak_alias.
40858         (bzero): Likewise.
40859         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
40860         "bp-asm.h".
40861         (PARMS): Do not use macros from bp-asm.h.
40862         (BLK2): Likewise.
40863         (LEN): Likewise.
40864         (memcmp): Do not use BP_SYM.
40865         (bcmp): Do not use BP_SYM in weak_alias.
40866         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
40867         "bp-asm.h".
40868         (PARMS): Do not use macros from bp-asm.h.
40869         (DEST): Likewise.
40870         (SRC): Likewise.
40871         (LEN): Likewise.
40872         (memcpy): Likewise.  Do not use BP_SYM.
40873         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
40874         "bp-asm.h".
40875         (PARMS): Do not use macros from bp-asm.h.
40876         (DEST): Likewise.
40877         (SRC): Likewise.
40878         (LEN): Likewise.
40879         (memmove): Likewise.  Do not use BP_SYM.
40880         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
40881         "bp-asm.h".
40882         (PARMS): Do not use macros from bp-asm.h.
40883         (DEST): Likewise.
40884         (SRC): Likewise.
40885         (LEN): Likewise.
40886         (__mempcpy): Likewise.  Do not use BP_SYM.
40887         (mempcpy): Do not use BP_SYM in weak_alias.
40888         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
40889         "bp-asm.h".
40890         (PARMS): Do not use macros from bp-asm.h.
40891         (DEST): Likewise.
40892         (LEN): Likewise.
40893         [!BZERO_P] (CHR): Likewise.
40894         (memset): Likewise.  Do not use BP_SYM.
40895         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
40896         "bp-asm.h".
40897         (PARMS): Do not use macros from bp-asm.h.
40898         (STR2): Likewise.
40899         (strcmp): Do not use BP_SYM.
40900         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
40901         "bp-asm.h".
40902         (PARMS): Do not use macros from bp-asm.h.
40903         (STR): Likewise.
40904         (DELIM): Likewise.
40905         [USE_AS_STRTOK_R] (SAVE): Likewise.
40906         (FUNCTION): Likewise.  Do not use BP_SYM.
40907         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
40908         aliases.
40909         (strtok_r): Likewise.
40910         (__GI___strtok_r): Likewise.
40911         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40912         (PARMS): Do not use macros from bp-asm.h.
40913         (S): Likewise.
40914         (SIZE): Likewise.
40915         (__mpn_lshift): Do not use BP_SYM.
40916         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40917         (PARMS): Do not use macros from bp-asm.h.
40918         (STR): Likewise.
40919         (CHR): Likewise.
40920         (__memchr): Do not use BP_SYM.
40921         (memchr): Do not use BP_SYM in weak_alias.
40922         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40923         (PARMS): Do not use macros from bp-asm.h.
40924         (BLK2): Likewise.
40925         (LEN): Likewise.
40926         (memcmp): Do not use BP_SYM.
40927         (bcmp): Do not use BP_SYM in weak_alias.
40928         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
40929         (PARMS): Do not use macros from bp-asm.h.
40930         (S1): Likewise.
40931         (SIZE): Likewise.
40932         (__mpn_mul_1): Do not use BP_SYM.
40933         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
40934         "bp-asm.h".
40935         (PARMS): Do not use macros from bp-asm.h.
40936         (STR): Likewise.
40937         (CHR): Likewise.
40938         (__rawmemchr): Do not use BP_SYM.
40939         (rawmemchr): Do not use BP_SYM in weak_alias.
40940         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
40941         (PARMS): Do not use macros from bp-asm.h.
40942         (S): Likewise.
40943         (SIZE): Likewise.
40944         (__mpn_rshift): Do not use BP_SYM.
40945         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
40946         (PARMS): Do not use macros from bp-asm.h.
40947         (SIGMSK): Likewise.
40948         (__sigsetjmp): Likewise.  Do not use BP_SYM.
40949         * sysdeps/i386/start.S: Do not include "bp-sym.h".
40950         (_start): Do not use BP_SYM.
40951         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
40952         (PARMS): Do not use macros from bp-asm.h.
40953         (DEST): Likewise.
40954         (SRC): Likewise.
40955         (__stpcpy): Likewise.  Do not use BP_SYM.
40956         (stpcpy): Do not use BP_SYM in weak_alias.
40957         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
40958         "bp-asm.h".
40959         (PARMS): Do not use macros from bp-asm.h.
40960         (DEST): Likewise.
40961         (SRC): Likewise.
40962         (LEN): Likewise.
40963         (__stpncpy): Likewise.  Do not use BP_SYM.
40964         (stpncpy): Do not use BP_SYM in weak_alias.
40965         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
40966         (PARMS): Do not use macros from bp-asm.h.
40967         (STR): Likewise.
40968         (CHR): Likewise.
40969         (strchr): Likewise.  Do not use BP_SYM.
40970         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
40971         "bp-asm.h".
40972         (PARMS): Do not use macros from bp-asm.h.
40973         (STR): Likewise.
40974         (CHR): Likewise.
40975         (__strchrnul): Likewise.  Do not use BP_SYM.
40976         (strchrnul): Do not use BP_SYM in weak_alias.
40977         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
40978         "bp-asm.h".
40979         (PARMS): Do not use macros from bp-asm.h.
40980         (STOP): Likewise.
40981         (strcspn): Do not use BP_SYM.
40982         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
40983         "bp-asm.h".
40984         (PARMS): Do not use macros from bp-asm.h.
40985         (STR): Likewise.
40986         (STOP): Likewise.
40987         (strpbrk): Likewise.  Do not use BP_SYM.
40988         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
40989         "bp-asm.h".
40990         (PARMS): Do not use macros from bp-asm.h.
40991         (STR): Likewise.
40992         (CHR): Likewise.
40993         (strrchr): Likewise.  Do not use BP_SYM.
40994         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
40995         (PARMS): Do not use macros from bp-asm.h.
40996         (SKIP): Likewise.
40997         (strspn): Do not use BP_SYM.
40998         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
40999         (PARMS): Do not use macros from bp-asm.h.
41000         (STR): Likewise.
41001         (DELIM): Likewise.
41002         (SAVE): Likewise.
41003         (FUNCTION): Likewise.  Do not use BP_SYM.
41004         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
41005         aliases.
41006         (strtok_r): Likewise.
41007         (__GI___strtok_r): Likewise.
41008         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
41009         (PARMS): Do not use macros from bp-asm.h.
41010         (S1): Likewise.
41011         (S2): Likewise.
41012         (SIZE): Likewise.
41013         (__mpn_sub_n): Do not use BP_SYM.
41014         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
41015         "bp-asm.h".
41016         (PARMS): Do not use macros from bp-asm.h.
41017         (S1): Likewise.
41018         (SIZE): Likewise.
41019         (__mpn_submul_1): Do not use BP_SYM.
41020         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
41021         <bp-sym.h>.
41022         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
41023         and <bp-asm.h>.
41024         (PARMS): Do not use macros from bp-asm.h.
41025         (FLAGS): Likewise.
41026         (PTID): Likewise.
41027         (TLS): Likewise.
41028         (CTID): Likewise.
41029         (__clone): Do not use BP_SYM.
41030         (clone): Do not use BP_SYM in weak_alias.
41031         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
41032         and <bp-asm.h>.
41033         (PARMS): Do not use macros from bp-asm.h.
41034         (LEN): Likewise.
41035         (__mmap64): Do not use BP_SYM.
41036         (mmap64): Do not use BP_SYM in weak_alias.
41037         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41038         <bp-sym.h> and <bp-asm.h>.
41039         (PARMS): Do not use macros from bp-asm.h.
41040         (__posix_fadvise64_l64): Do not use BP_SYM.
41041         * sysdeps/unix/sysv/linux/i386/semtimedop.S
41042         (PARMS): Do not use macros from bp-asm.h.
41043         (NSOPS): Likewise.
41044         (semtimedop): Do not use BP_SYM.
41045         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
41046         and <bp-asm.h>.
41048 2013-02-21  Allan McRae  <allan@archlinux.org>
41050         * manual/message.texi (Charset conversion in gettext):
41051         Move @end statement to beginning of line.
41053 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
41056         static.
41057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41058         Likewise.
41060         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
41061         (denorm): Likewise.
41062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
41063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
41065 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41067         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
41068         tail-call to the resolved function if pltexit isn't needed.
41070 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
41073         or Y being zero as being unlikely.
41074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
41075         Likewise.
41077 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
41079         * manual/nss.texi (System Databases and Name Service Switch):
41080         Remove frobnicate @pxref.
41082 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
41084         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
41085         __attribute__ ((unused)) to __attribute__ ((__unused__)).
41087 2013-02-20  Petr Machata  <pmachata@redhat.com>
41089         * elf/elf.h (R_ARM_TARGET1): New macro.
41090         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
41091         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
41092         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
41093         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
41094         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
41095         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
41096         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
41097         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
41098         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
41099         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
41100         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
41101         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
41102         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
41103         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
41104         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
41105         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
41106         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
41107         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
41108         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
41109         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
41110         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
41111         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
41112         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
41113         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
41114         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
41115         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
41116         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
41117         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
41118         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
41119         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
41120         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
41121         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
41122         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
41123         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
41124         (R_ARM_THM_GOT_BREL12): Likewise.
41125         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
41126         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
41127         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
41128         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
41129         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
41130         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
41131         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
41132         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
41133         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
41135 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
41137         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
41138         __attribute_used__ to __attribute__ ((unused)).
41140 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41142         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
41143         powerpc mpa.c.
41144         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
41145         comment formatting.
41146         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
41148 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
41150         [BZ #13550]
41151         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
41152         Remove macro.
41153         (ENTER): Remove both macro definitions.
41154         (LEAVE): Likewise.
41155         (CHECK_BOUNDS_LOW): Likewise.
41156         (CHECK_BOUNDS_HIGH): Likewise.
41157         (CHECK_BOUNDS_BOTH): Likewise.
41158         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
41159         (RETURN_BOUNDED_POINTER): Likewise.
41160         (RETURN_NULL_BOUNDED_POINTER): Likewise.
41161         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
41162         (POP_ERRNO_LOCATION_RETURN): Likewise.
41163         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
41164         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41165         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
41166         macros.
41167         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41168         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
41169         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
41170         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
41171         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
41172         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
41173         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
41174         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
41175         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
41176         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
41177         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
41178         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
41179         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41180         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
41181         removed macros.
41182         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41183         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
41184         macros.
41185         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41186         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
41187         * sysdeps/i386/i586/memset.S (memset): Likewise.
41188         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
41189         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41190         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
41191         macros.
41192         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41193         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
41194         Change uses of L(2) to L(out).
41195         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
41196         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
41197         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
41198         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41199         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
41200         removed macros.
41201         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41202         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
41203         macros.
41204         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41205         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
41206         (RETURN): Do not use macro LEAVE.
41207         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
41208         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
41209         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
41210         * sysdeps/i386/i686/memset.S (memset): Likewise.
41211         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
41212         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
41213         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
41214         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
41215         Likewise.
41216         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41217         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
41218         L(1_2) and L(1_3) into L(1).
41219         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
41220         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
41221         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41222         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
41223         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
41224         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
41225         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
41226         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41227         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
41228         macros.
41229         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
41230         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41231         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
41232         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
41233         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
41234         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41235         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
41236         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
41237         * sysdeps/i386/strcspn.S (strcspn): Likewise.
41238         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
41239         * sysdeps/i386/strrchr.S (strrchr): Likewise.
41240         * sysdeps/i386/strspn.S (strspn): Likewise.
41241         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
41242         conditional code.
41243         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41244         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
41245         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
41246         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
41247         L(1_3) into L(1_1).
41248         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
41249         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41250         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
41251         macros.
41252         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41254 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
41256         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
41257         macro.
41259 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41261         * math/atest-exp.c (exp_mpn): Remove ROUND.
41262         * math/atest-exp2.c (exp_mpn): Likewise.
41263         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
41265         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
41266         * stdlib/tst-tls-atexit-lib.c: Likewise.
41267         * stdlib/tst-tls-atexit.c: Likewise.
41269 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41271         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
41272         and __attribute_alloc_size__.
41274 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41276         * include/programs/xmalloc.h: Change __attribute_alloc_size to
41277         __attribute_alloc_size__.
41278         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
41279         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
41281 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
41283         * include/programs/xmalloc.h: New file.
41284         * catgets/gencat.c: Include it.
41285         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
41286         * elf/pldd.c: Likewise.
41287         * iconv/iconv_charmap.c: Likewise.
41288         * iconv/iconvconfig.c: Likewise.
41289         * iconv/strtab.c: Likewise.
41290         * locale/programs/locale.c: Likewise.
41291         * locale/programs/localedef.h: Likewise.
41292         * locale/programs/simple-hash.c: Likewise.
41293         * nscd/nscd.h: Likewise.
41294         * nss/makedb.c: Likewise.
41295         * sysdeps/generic/ldconfig.h: Likewise.
41297 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41299         * Versions.def: Add GLIBC_2.18.
41300         * include/link.h (struct link_map): New member l_tls_dtor_count.
41301         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
41302         (__call_tls_dtors): Likewise.
41303         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
41304         __cxa_thread_atexit_impl.
41305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41306         Likewise.
41307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41308         Likewise.
41309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41310         Likewise.
41311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41312         Likewise.
41313         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
41315         Likewise.
41316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
41317         Likewise.
41318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41320         Likewise.
41321         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
41322         (tests): Add test case tst-tls-atexit.
41323         (modules-names): Add shared library for tst-tls-atexit.
41324         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
41325         (GLIBC_PRIVATE): Add __call_tls_dtors.
41326         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
41327         for libstdc++.
41328         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
41329         * stdlib/tst-tls-atexit.c: New test case.
41330         * stdlib/tst-tls-atexit-lib.c: New test case.
41332         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
41334         * elf/Versions (ld): Add _dl_find_dso_for_object.
41335         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
41336         * elf/dl-open.c (_dl_find_dso_for_object): New function.
41337         (dl_open_worker): Use _dl_find_dso_for_object.
41338         * elf/dl-sym.c (do_sym): Likewise.
41339         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
41341 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41343         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
41344         Syntactic changes only.
41345         (_dl_runtime_profile): Do a tail-call to the resolved function.
41347 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
41349         [BZ #13550]
41350         * sysdeps/x86_64/bp-asm.h: Remove file.
41351         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
41352         <bp-sym.h> and <bp-asm.h>.
41353         (__clone): Do not use BP_SYM.
41354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
41355         <bp-sym.h> and <bp-asm.h>.
41356         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41357         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
41358         "bp-asm.h".
41359         (_setjmp): Do not use BP_SYM.
41360         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
41361         "bp-asm.h".
41362         (setjmp): Do not use BP_SYM.
41363         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
41364         libc_hidden_def.
41365         (mempcpy): Do not use BP_SYM in weak_alias.
41366         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
41367         "bp-asm.h".
41368         (strchr): Do not use BP_SYM.
41369         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
41370         "bp-asm.h".
41371         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
41372         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
41373         (_start): Do not use BP_SYM.
41374         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
41375         "bp-asm.h".
41376         (strcat): Do not use BP_SYM.
41377         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
41378         "bp-asm.h".
41379         (STRCMP): Do not use BP_SYM.
41380         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
41381         "bp-asm.h".
41382         (STRCPY): Do not use BP_SYM.
41383         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
41384         "bp-asm.h".
41385         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
41386         "bp-asm.h".
41387         (FUNCTION): Do not use BP_SYM.
41388         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
41389         weak_alias.
41390         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
41392 2013-02-17  Andreas Jaeger  <aj@suse.de>
41394         * time/Versions: Sort entries.
41395         * string/Versions: Likewise.
41396         * resolv/Versions: Likewise.
41397         * posix/Versions: Likewise.
41398         * iconv/Versions: Likewise.
41399         * elf/Versions: Likewise.
41400         * wcsmbs/Versions: Likewise.
41402 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41404         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
41405         loop termination condition.
41407         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
41408         variable to calculate EZ.
41409         (__sqr): Likewise.
41411         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
41412         the lower precision input.
41414 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
41416         [BZ #13550]
41417         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
41418         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
41419         (run-via-rtld-prefix): Do not handle %-bp tests.
41420         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
41421         (all-object-suffixes): Remove .ob.
41422         (bppfx): Remove variable.
41423         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
41424         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
41425         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
41426         [$(build-bounded) = yes] (libtype.ob): Likewise.
41427         * Makerules (elide-routines.ob): Remove variable.
41428         (do-tests-clean): Do not handle *-bp.out.
41429         (common-mostlyclean): Do not handle *-bp and *-bp.out.
41430         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
41431         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41432         (tests): Do not include $(tests-bp.out).
41433         (xtests): Do not include $(xtests-bp.out).
41434         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
41435         [$(build-bounded) = yes] ($(addprefix
41436         $(objpfx),$(binaries-bounded))): Remove rule.
41437         ($(objpfx)%-bp.out): Remove rule.
41438         * config.make.in (build-bounded): Remove variable.
41439         * crypt/Makefile [$(build-bounded) = yes]
41440         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
41441         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
41442         append to variable.
41443         [$(build-bounded) = yes] (install-lib): Likewise.
41444         [$(build-bounded) = yes] (generated): Likewise.
41445         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
41446         Remove rule.
41447         * intl/Makefile [$(build-bounded) = yes]
41448         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41449         * math/Makefile [$(build-bounded) = yes]
41450         ($(tests:%=$(objpfx)%-bp): Likewise.
41451         * misc/Makefile [$(build-bounded) = yes]
41452         ($(objpfx)tst-tsearch-bp): Likewise.
41453         * nptl/Makeconfig (bounded-thread-library): Remove variable.
41454         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
41455         Remove dependency.
41456         * string/Makefile (o-objects.ob): Remove variable.
41457         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
41458         (CFLAGS-.ob): Remove variable.
41459         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
41460         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
41461         both definitions of variable.
41462         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
41463         (ASFLAGS-.ob): Remove variable.
41465 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
41467         [BZ #13550]
41468         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
41469         Remove __BOUNDED_POINTERS__ from condition.
41470         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
41471         * string/bits/string2.h [!__NO_STRING_INLINES &&
41472         !__BOUNDED_POINTERS__]: Likewise.
41473         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
41474         Likewise.
41475         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41476         Remove conditional code.
41477         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41478         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41479         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41480         condition.
41482         [BZ #13550]
41483         * csu/libc-start.c: Do not include <bp-sym.h>.
41484         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41485         * elf/dl-open.c: Do not include <bp-sym.h>.
41486         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41487         * math/fegetenv.c: Do not include <bp-sym.h>.
41488         (fegetenv): Do not use BP_SYM in versioned symbols.
41489         * nptl/sysdeps/pthread/bits/libc-lockP.h
41490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41491         <bp-sym.h>.
41492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41493         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41495         (__pthread_mutex_destroy): Likewise.
41496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41497         (__pthread_mutex_lock): Likewise.
41498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41499         (__pthread_mutex_trylock): Likewise.
41500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41501         (__pthread_mutex_unlock): Likewise.
41502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41503         (__pthread_mutexattr_init): Likewise.
41504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41505         (__pthread_mutexattr_destroy): Likewise.
41506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41507         (__pthread_mutexattr_settype): Likewise.
41508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41509         (__pthread_rwlock_init): Likewise.
41510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41511         (__pthread_rwlock_destroy): Likewise.
41512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41513         (__pthread_rwlock_rdlock): Likewise.
41514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41515         (__pthread_rwlock_tryrdlock): Likewise.
41516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41517         (__pthread_rwlock_wrlock): Likewise.
41518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41519         (__pthread_rwlock_trywrlock): Likewise.
41520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41521         (__pthread_rwlock_unlock): Likewise.
41522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41523         (__pthread_key_create): Likewise.
41524         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41525         (__pthread_setspecific): Likewise.
41526         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41527         (__pthread_getspecific): Likewise.
41528         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41529         Likewise.
41530         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41531         (_pthread_cleanup_push_defer): Likewise.
41532         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41533         (_pthread_cleanup_pop_restore): Likewise.
41534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41535         (pthread_setcancelstate): Likewise.
41536         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41537         <bp-sym.h>.
41538         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41539         (memchr): Do not use BP_SYM in weak_alias.
41540         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41541         (fegetenv): Do not use BP_SYM in versioned symbols.
41542         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41543         (fesetenv): Do not use BP_SYM in versioned symbols.
41544         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41545         (feupdateenv): Do not use BP_SYM in versioned symbols.
41546         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41547         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41548         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41549         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41550         (open64): Do not use BP_SYM in weak_alias.
41551         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41552         (fegetenv): Do not use BP_SYM in versioned symbols.
41553         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41554         (fesetenv): Do not use BP_SYM in versioned symbols.
41555         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41556         (feupdateenv): Do not use BP_SYM in versioned symbols.
41557         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41558         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41559         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41560         (feraiseexcept): Do not use BP_SYM in versioned symbols.
41561         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41562         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41563         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41564         <bp-sym.h>.
41565         (__libc_start_main): Do not use BP_SYM.
41567 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41569         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41570         redundant return line.
41571         (norm): Likewise.
41572         (denorm): Likewise.
41573         (dbl_mp): Likewise.
41574         (sub_magnitudes): Likewise.
41575         (__add): Likewise.
41576         (__sub): Likewise.
41577         (__mul): Likewise.
41578         (__inv): Likewise.
41579         (__dvd): Likewise.
41580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41581         (norm): Likewise.
41582         (denorm): Likewise.
41583         (dbl_mp): Likewise.
41584         (sub_magnitudes): Likewise.
41585         (__add): Likewise.
41586         (__sub): Likewise.
41587         (__mul): Likewise.
41588         (__inv): Likewise.
41589         (__dvd): Likewise.
41591         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41592         instead of __mul.
41593         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41594         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41595         (cc32): Likewise.
41597         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41598         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41599         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41600         of __mul for squares.
41601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41602         function
41603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41604         Likewise.
41605         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41606         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41608 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
41610         [BZ #13550]
41611         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41612         code.
41613         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41614         prototype or function definition.  Rename ubp_* variables and
41615         parameters.  Remove argv definitions conditional on
41616         [__BOUNDED_POINTERS__].
41617         * debug/backtrace.c (__backtrace): Do not use __unbounded.
41618         * elf/dl-runtime.c (_dl_fixup): Likewise.
41619         * include/set-hooks.h (RUN_HOOK): Likewise.
41620         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41621         definition.
41622         * string/strcpy.c (strcpy): Do not use __unbounded.
41623         * sysdeps/generic/frame.h (struct layout): Likewise.
41624         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41625         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41626         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41627         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41628         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41629         (__backtrace): Likewise.
41630         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41631         use __ptrvalue.
41632         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41633         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41634         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41635         Likewise.
41636         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41637         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41638         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41639         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41640         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41641         Do not use __unbounded.
41642         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41643         Rename __unboundedrlimits parameter to rlimits in prototype.
41644         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41645         Do not use __unbounded.
41646         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41647         not use __ptrvalue.
41648         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41649         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41650         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41651         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41652         __ptrvalue or __unbounded.
41653         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41654         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41655         use __unbounded.
41656         (__new_msgctl): Do not use __ptrvalue.
41657         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41658         __unbounded.
41659         (__libc_msgrcv): Do not use __ptrvalue.
41660         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41661         startup_info): Do not use __unbounded.
41662         (__libc_start_main): Likewise.  Rename ubp_* variables and
41663         parameters.  Remove argv definitions conditional on
41664         [__BOUNDED_POINTERS__].
41665         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41666         __ptrvalue.
41667         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41668         use __unbounded.
41669         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41670         or __ptrvalue.
41671         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41672         use __unbounded.
41673         (__new_shmctl): Do not use __ptrvalue.
41674         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41675         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41676         Likewise.
41677         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41678         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41679         (__libc_sigaction): Likewise.
41680         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41681         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41682         Likewise.
41683         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41685 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
41687         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41689         * string/mempcpy.c: Implement by calling memcpy.
41691 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41693         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41695         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41696         evaluation.
41698         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41699         values in the mantissa.
41701         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41702         minimize writes to Z.
41703         (sub_magnitudes): Simplify code a bit.
41705 2013-02-12  Roland McGrath  <roland@hack.frob.com>
41707         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41708         from the message.  The linker prefixes all warnings with that already.
41710 2013-02-12  Andreas Schwab  <schwab@suse.de>
41712         [BZ #15078]
41713         * posix/regexec.c (extend_buffers): Add parameter min_len.
41714         (check_matching): Pass minimum needed length.
41715         (clean_state_log_if_needed): Likewise.
41716         (get_subexp): Likewise.
41717         * posix/Makefile (tests): Add bug-regex34.
41718         (bug-regex34-ENV): Define.
41719         * posix/bug-regex34.c: New file.
41721         [BZ #11561]
41722         * posix/regcomp.c (parse_bracket_exp): When looking up collating
41723         elements compare against the byte sequence of it, not its name.
41724         * posix/Makefile (tests): Add bug-regex35.
41725         (bug-regex35-ENV): Define.
41726         * posix/bug-regex35.c: New file.
41728 2013-02-11  Tom de Vries  <tom@codesourcery.com>
41730         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
41731         comment.
41732         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41733         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41734         (CHECK_EOL): Add undef.
41736 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
41738         * bits/stdlib-bsearch.h: New file.
41739         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41740         * stdlib/stdlib.h: Likewise.
41742 2013-02-11  Roland McGrath  <roland@hack.frob.com>
41744         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41745         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41746         declaration.
41747         * manual/search.texi (Array Search Function): Add missing const in
41748         lfind prototype.
41749         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41750         declaration to use rlim_t.
41751         (Basic Scheduling Functions): Remove erroneous const from
41752         sched_getparam prototype.  Remove erroneous * from
41753         sched_get_priority_max and sched_get_priority_min prototypes.
41754         (Resource Usage): Fix summary @comment on vtimes to refer to
41755         sys/vtimes.h rather than vtimes.h.
41756         Add missing *s in vtimes prototype.
41757         (Limits on Resources): Fix ulimit prototype to return long int.
41758         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41759         prototypes to use long int rather than double.
41760         (BSD Random): Fix initstate and setstate to use char *, not void *.
41761         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41762         prototype to make second argument 'struct aiocb64 *const[]'.
41763         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41764         (Status of AIO Operations): Remove erroneous const in aio_return and
41765         aio_return64 prototypes.
41766         (Synchronizing I/O): Fix sync prototype to return void.
41767         * manual/startup.texi (Suboptions): Remove an erroneous const in
41768         getsubopt prototype.
41769         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41770         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41771         use size_t rather than int.
41772         (Scanning All Users): Likewise for getpwent_r.
41773         (Setting Groups): Add missing const to setgroups prototype.
41774         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41775         * manual/socket.texi (Host Names): Fix gethostbyaddr and
41776         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41777         'const void *' rather than 'const char *'.
41778         (Host Address Functions): Likewise for inet_ntop.
41779         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41780         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41781         ssize_t for return value.
41782         (Sending Data): Likewise for send, sendto, sendmsg.
41783         (Socket Option Functions): Add a missing const in setsockopt prototype.
41784         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41785         use wchar_t for the argument.
41786         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41787         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41788         take no arguments.
41789         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41790         double/float/long double for second argument.
41791         Fix return types of significand, significandf, significandl.
41792         * manual/filesys.texi (Setting Permissions): Use mode_t for second
41793         argument in fchmod prototype.
41794         (File Owner): Use uid_t and gid_t in fchown prototype.
41795         (File Times): Add const to utimes, futimes, and lutimes prototypes.
41796         (Making Special Files): Use mode_t and dev_t in mknod prototype.
41797         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41798         use 'const struct dirent **' as argument types to CMP function pointer
41799         argument.
41800         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41801         (File Times): Fix summary magic @comment for struct utimbuf and utime
41802         to refer to utime.h, not time.h.
41803         * manual/string.texi (Argz Functions): Add missing const in
41804         argz_extract and argz_next prototypes.
41805         (Finding Tokens in a String): Likewise for basename.
41806         (String/Array Comparison): Fix typo in wcscasecmp prototype.
41807         (Copying and Concatenation): Fix typo in wmemmove prototype.
41808         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41809         (Signal Stack): Remove erroneous const in sigstack prototype.
41810         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41811         prototype.
41812         (Simple Calendar Time): Likewise for stime.
41813         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41814         prototype.
41815         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41816         say sys/sysctl.h instead.
41817         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41818         and vsyslog prototypes.
41820 2013-02-11  Tom de Vries  <tom@codesourcery.com>
41822         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41823         Remove.
41825 2013-02-11  Roland McGrath  <roland@hack.frob.com>
41827         * misc/sys/mman.h: Fix typo in mremap comment.
41829 2013-02-08  Roland McGrath  <roland@hack.frob.com>
41831         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41832         the '\0' terminator.
41834 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
41836         [BZ #13550]
41837         * debug/segfault.c: Don't include <bp-checks.h>.
41838         * sysdeps/generic/bp-checks.h: Remove file.
41839         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41840         (__GETDENTS): Don't use CHECK_N.
41841         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41842         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41843         (__getgroups): Don't use CHECK_N.
41844         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41845         (setgroups): Don't use CHECK_N.
41846         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41847         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41848         (__libc_msgrcv): Don't use CHECK_N.
41849         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41850         (__libc_msgsnd): Don't use CHECK_N.
41851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
41852         <bp-checks.h>.
41853         (__libc_pread): Don't use CHECK_N.
41854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
41855         include <bp-checks.h>.
41856         (__libc_pread64): Don't use CHECK_N.
41857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
41858         include <bp-checks.h>.
41859         (__libc_pwrite): Don't use CHECK_N.
41860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
41861         include <bp-checks.h>.
41862         (__libc_pwrite64): Don't use CHECK_N.
41863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
41864         <bp-checks.h>.
41865         (__libc_pread): Don't use CHECK_N.
41866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
41867         include <bp-checks.h>.
41868         (__libc_pread64): Don't use CHECK_N.
41869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
41870         include <bp-checks.h>.
41871         (__libc_pwrite): Don't use CHECK_N.
41872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
41873         include <bp-checks.h>.
41874         (__libc_pwrite64): Don't use CHECK_N.
41875         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
41876         (do_pread): Don't use CHECK_N.
41877         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
41878         (do_pread64): Don't use CHECK_N.
41879         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
41880         (do_pwrite): Don't use CHECK_N.
41881         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
41882         (do_pwrite64): Don't use CHECK_N.
41883         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
41884         (__libc_readv): Don't use CHECK_N.
41885         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
41886         (semop): Don't use CHECK_N.
41887         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
41888         <bp-checks.h>.
41889         (semtimedop): Don't use CHECK_N.
41890         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
41891         (__libc_pread): Don't use CHECK_N.
41892         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
41893         <bp-checks.h>.
41894         (__libc_pread64): Don't use CHECK_N.
41895         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
41896         <bp-checks.h>.
41897         (__libc_pwrite): Don't use CHECK_N.
41898         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
41899         <bp-checks.h>.
41900         (__libc_pwrite64): Don't use CHECK_N.
41901         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
41902         <bp-checks.h>.
41903         (__libc_msgrcv): Don't use CHECK_N.
41904         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
41905         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
41906         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
41907         (__libc_writev): Don't use CHECK_N.
41909 2013-02-08  Roland McGrath  <roland@hack.frob.com>
41911         * string/strcpy.c: Removed unused variable.
41913         * Makeconfig (+sysdep-includes): Define with := rather than =.
41914         Use an existing include/ subdir of each sysdeps dir before it.
41916 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41918         * nscd/connection.c (register_traced_file): Comment function.
41919         [HAVE_INOTIFY] (union __inev): Define.
41920         [HAVE_INOTIFY] (inotify_check_files): New function.
41921         [HAVE_INOTIFY] (clear_db_cache): Likewise.
41922         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
41923         clear_db_cache.
41924         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
41926 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41928         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
41929         loaded if not already and that a failure is permanent.
41931 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
41933         [BZ #15006]
41934         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
41935         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
41937 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
41939         [BZ #13550]
41940         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
41941         (CHECK_1_NULL_OK): Likewise.
41942         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
41943         (__fxstat): Do not use CHECK_1.
41944         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
41945         <bp-checks.h>.
41946         (___fxstat64): Do not use CHECK_1.
41947         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
41948         <bp-checks.h>.
41949         (__fxstatat): Do not use CHECK_1.
41950         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
41951         <bp-checks.h>.
41952         (__fxstatat64): Do not use CHECK_1.
41953         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
41954         <bp-checks.h>.
41955         (__fxstat): Do not use CHECK_1.
41956         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
41957         <bp-checks.h>.
41958         (__fxstatat): Do not use CHECK_1.
41959         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41960         <bp-checks.h>.
41961         (__getresgid): Do not use CHECK_1.
41962         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41963         <bp-checks.h>.
41964         (__getresuid): Do not use CHECK_1.
41965         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
41966         <bp-checks.h>.
41967         (__lxstat): Do not use CHECK_1.
41968         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41969         <bp-checks.h>.
41970         (__old_msgctl): Do not use CHECK_1.
41971         (__new_msgctl): Likewise.
41972         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
41973         <bp-checks.h>.
41974         (__new_setrlimit): Do not use CHECK_1.
41975         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41976         <bp-checks.h>.
41977         (__old_shmctl): Do not use CHECK_1.
41978         (__new_shmctl): Likewise.
41979         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
41980         <bp-checks.h>.
41981         (__xstat): Do not use CHECK_1.
41982         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
41983         (__lxstat): Do not use CHECK_1.
41984         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
41985         <bp-checks.h>.
41986         (___lxstat64): Do not use CHECK_1.
41987         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
41988         (__old_msgctl): Do not use CHECK_1.
41989         (__new_msgctl): Likewise.
41990         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
41991         <bp-checks.h>.
41992         (__gettimeofday): Do not use CHECK_1.
41993         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
41994         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
41995         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
41996         <bp-checks.h>.
41997         (__gettimeofday): Do not use CHECK_1.
41998         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
41999         (__old_shmctl): Do not use CHECK_1_NULL_OK.
42000         (__new_shmctl): Do not use CHECK_1.
42001         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
42002         <bp-checks.h>.
42003         (do_sigtimedwait): Do not use CHECK_1.
42004         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
42005         <bp-checks.h>.
42006         (do_sigwaitinfo): Do not use CHECK_1.
42007         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
42008         <bp-checks.h>.
42009         (msgctl): Do not use CHECK_1.
42010         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
42011         <bp-checks.h>.
42012         (shmctl): Do not use CHECK_1.
42013         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
42014         (ustat): Do not use CHECK_1.
42015         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
42016         <bp-checks.h>.
42017         (__fxstat): Do not use CHECK_1.
42018         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42019         <bp-checks.h>.
42020         (__fxstatat): Do not use CHECK_1.
42021         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
42022         <bp-checks.h>.
42023         (__lxstat): Do not use CHECK_1.
42024         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
42025         <bp-checks.h>.
42026         (__xstat): Do not use CHECK_1.
42027         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
42028         (__xstat): Do not use CHECK_1.
42029         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
42030         (___xstat64): Do not use CHECK_1.
42032         [BZ #13550]
42033         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
42034         definitions.
42035         (CHECK_BOUNDS_HIGH): Likewise.
42036         * string/strcpy.c: Do not include <bp-checks.h>.
42037         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
42039 2013-02-07  Roland McGrath  <roland@hack.frob.com>
42041         * nscd/nscd-client.h (__nscd_drop_map_ref):
42042         Add __attribute__ ((unused)).
42043         * nis/nss-nisplus.h (niserr2nss): Likewise.
42045         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
42046         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
42048         * csu/libc-tls.c (init_static_tls, init_slotinfo):
42049         Remove inline keyword.
42050         * include/rounding-mode.h (round_away): Likewise.
42051         * libio/wfileops.c (adjust_wide_data): Likewise.
42052         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
42053         (__m128i_strloadu_tolower): Likewise.
42054         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
42055         (__m128i_strloadu_tolower): Likewise.
42056         * time/mktime.c (ydhms_diff): Likewise.
42057         * locale/elem-hash.h (elem_hash): Likewise.
42058         * locale/setlocale.c (setdata): Likewise.
42059         * posix/regex_internal.h (re_string_char_size_at): Likewise.
42060         (re_string_wchar_at): Likewise.
42061         (bitset_not, bitset_merge, bitset_mask): Likewise.
42062         [!(__GNUC__ > 3)] (inline): Remove macro.
42063         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
42064         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
42065         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
42066         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
42067         * string/memcmp.c (memcmp_bytes): Likewise.
42068         * locale/programs/locarchive.c (compute_hashval): Likewise.
42069         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
42070         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
42071         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
42072         * nss/getent.c (print_rpc, print_protocols): Likewise.
42073         (print_passwd, print_group, print_aliases): Likewise.
42074         * nis/nss-nisplus.h (niserr2nss): Likewise.
42075         * nscd/connections.c (restart_p): Likewise.
42076         Change return type to bool.
42078 2013-02-05  Roland McGrath  <roland@hack.frob.com>
42080         * Makeconfig (all-Depend-files): Add existing
42081         $(sorted-subdirs:=/Depend) files.
42082         (all-subdirs): Remove nss.
42083         * sysdeps/unix/inet/Subdirs: Add it here instead.
42084         * hesiod/Depend: New file.
42086         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
42087         instead of calling alloca.
42089         * io/lseek.c (__lseek): Rename to __libc_lseek.
42090         Define __lseek as an alias.
42092         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
42094 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
42096         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
42097         else clause and remove check for non-standard endianness.
42099 2013-02-04  David S. Miller  <davem@davemloft.net>
42101         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42103 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
42105         [BZ #13550]
42106         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
42107         (__ubp_memchr): Remove prototype.
42108         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
42109         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
42110         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
42111         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
42112         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
42113         Remove alias.
42114         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
42115         (__ubp_memchr): Likewise.
42116         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
42117         (__ubp_memchr): Likewise.
42118         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
42119         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
42120         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
42121         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
42122         CHECK_STRING.
42123         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42124         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
42125         (__getcwd): Do not use CHECK_STRING.
42126         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42127         <bp-checks.h>.
42128         (__real_chown): Do not use CHECK_STRING.
42129         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
42130         <bp-checks.h>.
42131         (fchownat): Do not use CHECK_STRING.
42132         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
42133         CHECK_STRING.
42134         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42135         <bp-checks.h>.
42136         (__lchown): Do not use CHECK_STRING.
42137         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
42138         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
42139         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
42140         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
42141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42142         include <bp-checks.h>.
42143         (truncate64): Do not use CHECK_STRING.
42144         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42145         <bp-checks.h>.
42146         (__real_chown): Do not use CHECK_STRING.
42147         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42148         <bp-checks.h>.
42149         (__lchown): Do not use CHECK_STRING.
42150         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42151         <bp-checks.h>.
42152         (__chown): Do not use CHECK_STRING.
42153         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
42154         <bp-checks.h>.
42155         (truncate64): Do not use CHECK_STRING.
42156         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
42157         Likewise.
42158         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
42159         (__xmknod): Do not use CHECK_STRING.
42160         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42161         <bp-checks.h>.
42162         (__xmknodat): Do not use CHECK_STRING.
42163         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
42164         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
42166 2013-02-04  Andreas Schwab  <schwab@suse.de>
42168         [BZ #14142]
42169         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
42170         * include/netdb.h: Likewise for h_errno.
42171         * elf/tst-stackguard1.c: Include <tls.h>.
42173 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
42175         * elf/link.h (struct link_map): Extend the l_addr comment.
42176         * include/link.h (struct link_map): Likewise.
42178 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
42180         [BZ #13550]
42181         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
42182         (BOUNDED_1): Remove macro.
42183         * debug/backtrace.c: Don't include <bp-checks.h>.
42184         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
42185         (__backtrace): Likewise.
42186         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
42187         <bp-checks.h>.
42188         (__backtrace): Don't use BOUNDED_1.
42189         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
42190         <bp-checks.h>.
42191         (__backtrace): Don't use BOUNDED_1.
42192         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
42193         (__backtrace): Don't use BOUNDED_1.
42194         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
42195         (shmat): Don't use BOUNDED_N.
42197 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
42199         [BZ #13550]
42200         * sysdeps/generic/bp-start.h: Remove file.
42201         * csu/libc-start.c: Don't include <bp-start.h>.
42202         (LIBC_START_MAIN): Set up __environ directly instead of using
42203         INIT_ARGV_and_ENVIRON.
42204         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
42205         <bp-start.h>.
42207         [BZ #13550]
42208         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
42209         definitions.
42210         (CHECK_FCNTL): Likewise.
42211         (CHECK_N_PAGES): Likewise.
42213         [BZ #13550]
42214         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
42215         definitions.
42216         (CHECK_SIGSET_NULL_OK): Likewise.
42217         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
42218         <bp-checks.h>.
42219         (sigpending): Don't use CHECK_SIGSET.
42220         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
42221         <bp-checks.h>.
42222         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42223         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
42224         <bp-checks.h>.
42225         (do_sigsuspend): Don't use CHECK_SIGSET.
42226         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
42227         use CHECK_SIGSET.
42228         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
42229         (do_sigwait): Don't use CHECK_SIGSET.
42230         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
42231         use CHECK_SIGSET.
42232         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
42233         include <bp-checks.h>.
42234         (sigpending): Don't use CHECK_SIGSET.
42235         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
42236         include <bp-checks.h>.
42237         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42238         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
42239         <bp-checks.h>.
42240         (sigpending): Don't use CHECK_SIGSET.
42241         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
42242         <bp-checks.h>.
42243         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42245         [BZ #13550]
42246         * sysdeps/generic/bp-semctl.h: Remove file.
42247         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
42248         <bp-checks.h> and <bp-semctl.h>.
42249         (__old_semctl): Don't use CHECK_SEMCTL.
42250         (__new_semctl): Likewise.
42251         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
42252         and <bp-semctl.h>.
42253         (__old_semctl): Don't use CHECK_SEMCTL.
42254         (__new_semctl): Likewise.
42255         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
42256         <bp-checks.h> and <bp-semctl.h>.
42257         (__old_semctl): Don't use CHECK_SEMCTL.
42258         (__new_semctl): Likewise.
42259         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
42260         <bp-checks.h> and <bp-semctl.h>.
42261         (semctl): Don't use CHECK_SEMCTL.
42263         [BZ #13550]
42264         * Makerules (elide-bp-thunks): Remove variable.
42265         (elide-routines.oS): Don't use $(elide-bp-thunks).
42266         (elide-routines.os): Likewise.
42267         (elide-routines.o): Likewise.
42268         (elide-routines.op): Likewise.
42269         (elide-routines.og): Likewise.
42270         (objects): Don't use $(bp-thunks).
42271         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
42272         include.
42273         (common-generated): Do not add s-proto-bp.d.
42274         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
42275         (int): Likewise.
42276         (typ): Likewise.
42277         Do not generate makefile rules for bounded-pointer thunks.
42278         * sysdeps/generic/bp-thunks.h: Remove file.
42279         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
42280         * sysdeps/unix/s-proto-bp.S: Likewise.
42282         [BZ #15062]
42283         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
42284         parts of result separately when argument is not close to line from
42285         -i to i and one part of argument is small.
42286         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42287         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42288         * math/libm-test.inc (cacos_test): Add more tests.
42289         (casin_test): Likewise.
42290         (casinh_test): Likewise.
42291         * sysdeps/i386/fpu/libm-test-ulps: Update.
42292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42294 2013-01-31  David S. Miller  <davem@davemloft.net>
42296         * po/de.po: Update from translation team.
42298 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
42300         * time/tzfile.c: Include stdint.h for SIZE_MAX.
42302 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
42304         * configure.in (_AC_PROG_CC_C89): New definition.
42305         * configure: Regenerate.
42307         * configure.in (AC_PROG_CPP): New definition.
42308         * configure: Regenerate.
42310 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
42312         * debug/tst-backtrace.h: New file.
42313         * debug/tst-backtrace2.c: Include tst-backtrace.h.
42314         (ret): Remove variable.
42315         (x): Likewise.
42316         (FAIL): Remove macro.
42317         (NO_INLINE): Likewise.
42318         (fn1): Use match function instead of strstr.
42319         * debug/tst-backtrace3.c: Include tst-backtrace.h.
42320         (ret): Remove variable.
42321         (x): Likewise.
42322         (FAIL): Remove macro.
42323         (NO_INLINE): Likewise.
42324         (fn): Use match function instead of strstr.
42325         * debug/tst-backtrace4.c: Include tst-backtrace.h.
42326         (ret): Remove variable.
42327         (x): Likewise.
42328         (FAIL): Remove macro.
42329         (NO_INLINE): Likewise.
42330         (handle_signal): Use match function instead of strstr.
42331         * debug/tst-backtrace5.c: Include tst-backtrace.h.
42332         (ret): Remove variable.
42333         (x): Likewise.
42334         (FAIL): Remove macro.
42335         (NO_INLINE): Likewise.
42336         (handle_signal): Use match function instead of strstr.
42338 2013-01-23  Roland McGrath  <roland@hack.frob.com>
42340         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
42342 2013-01-23  David S. Miller  <davem@davemloft.net>
42344         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
42345         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
42346         argument of CAS if possible.
42347         * sysdeps/sparc/sparc64/bits/atomic.h
42348         (__arch_compare_and_exchange_val_32_acq): Likewise.
42349         (__arch_compare_and_exchange_val_64_acq): Likewise.
42351 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
42353         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
42354         * sysdeps/posix/ulimit.c: ... this.
42355         Include <limits.h>.
42356         * sysdeps/unix/bsd/ulimit.c: Remove file.
42358 2013-01-23  Adam Conrad  <adconrad@0c3.net>
42360         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
42361         (LDFLAGS-tst-array5): Likewise.
42363 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
42365         [BZ #15036]
42366         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
42367         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
42368         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
42369         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
42371 2013-01-21  David S. Miller  <davem@davemloft.net>
42373         * sysdeps/sparc/backtrace.c: New file.
42374         * sysdeps/sparc/sparc32/backtrace.h: New file.
42375         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
42376         * sysdeps/sparc/sparc64/backtrace.h: New file.
42377         * sysdeps/sparc/sparc64/backtrace.c: Delete.
42378         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
42379         -funwind-tables.
42381 2013-01-21  Andreas Schwab  <schwab@suse.de>
42383         [BZ #15020]
42384         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
42385         closed its stdout.
42387 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
42389         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
42390         "mpa2.h".
42391         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42393 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
42394             Mark Mitchell  <mark@codesourcery.com>
42395             Tom de Vries  <tom@codesourcery.com>
42396             Paul Pluzhnikov  <ppluzhnikov@google.com>
42398         * debug/tst-backtrace2.c: New file.
42399         * debug/tst-backtrace3.c: Likewise.
42400         * debug/tst-backtrace4.c: Likewise.
42401         * debug/tst-backtrace5.c: Likewise.
42402         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
42403         (CFLAGS-tst-backtrace3.c): Likewise.
42404         (CFLAGS-tst-backtrace4.c): Likewise.
42405         (CFLAGS-tst-backtrace5.c): Likewise.
42406         (LDFLAGS-tst-backtrace2): Likewise.
42407         (LDFLAGS-tst-backtrace3): Likewise.
42408         (LDFLAGS-tst-backtrace4): Likewise.
42409         (LDFLAGS-tst-backtrace5): Likewise.
42410         (tests): Add new tests tst-backtrace2, tst-backtrace3,
42411         tst-backtrace4 and tst-backtrace5.
42413 2013-01-18  Anton Blanchard  <anton@samba.org>
42414             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42416         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
42417         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
42418         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
42419         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
42420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42421         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42422         "+r" and remove output regs list as redundant.  Add explicit inline
42423         asm to specify register of return val to work around compiler codegen
42424         bug.  Remove (int) cast on return value.  Add return type parameter to
42425         use in macro so that this macro does not truncate return value for
42426         64-bit values.
42427         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42428         pass to INTERNAL_VSYSCALL_NCS.
42429         (INLINE_VSYSCALL): Add 'long int' as return type to
42430         INTERNAL_VSYSCALL_NCS macro invocation.
42431         (INTERNAL_VSYSCALL): Add 'long int' as return type to
42432         INTERNAL_VSYSCALL_NCS macro invocation.
42433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42435 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42437         [BZ #14496]
42438         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
42439         Fix application of SIMD FP exception mask.
42441         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
42442         mp_no from a power of two.
42443         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
42444         __mpexp_twomm1.  Use __pow_mp.
42446         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
42447         multiplication.
42449 2013-01-17  David S. Miller  <davem@davemloft.net>
42451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42453 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42455         [BZ #15023]
42456         * include/complex.h: Condition contents on [!_COMPLEX_H].
42457         (__kernel_casinhf): New prototype.
42458         (__kernel_casinh): Likewise.
42459         (__kernel_casinhl): Likewise.
42460         * math/Makefile (libm_calls): Add k_casinh.
42461         * math/k_casinh.c: New file.
42462         * math/k_casinhf.c: Likewise.
42463         * math/k_casinhl.c: Likewise.
42464         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
42465         finite nonzero arguments.
42466         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
42467         finite nonzero arguments.
42468         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
42469         finite nonzero arguments.
42470         * math/s_casinh.c: Do not include <float.h>.
42471         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
42472         * math/s_casinhf.c: Do not include <float.h>.
42473         (__casinhf): Move code for finite nonzero arguments to
42474         k_casinhf.c.
42475         * math/s_casinhl.c: Do not include <float.h>.
42476         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42477         redefine.
42478         (__casinhl): Move code for finite nonzero arguments to
42479         k_casinhl.c.
42480         * math/libm-test.inc (cacos_test): Add more tests.
42481         * sysdeps/i386/fpu/libm-test-ulps: Update.
42482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42484 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
42486         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42487         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42488         [!HAVE_MREMAP]: Remove [defined linux] case.
42489         * malloc/arena.c: Do not include <malloc-sysdep.h>.
42491 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42493         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42495 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
42497         * elf/elf.h (R_386_SIZE32): New relocation.
42498         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42499         R_386_SIZE32.
42500         (elf_machine_rela): Likewise.
42501         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42502         R_X86_64_SIZE64 and R_X86_64_SIZE32.
42504 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
42506         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42507         (FP_FAST_FMA): Do not define.
42508         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42509         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42510         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42511         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42512         !_SOFT_FLOAT]: Likewise.
42513         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42514         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42515         value.
42516         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42517         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42518         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42519         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42520         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42521         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42522         file.
42524 2013-01-16  Andreas Schwab  <schwab@suse.de>
42526         [BZ #14327]
42527         * include/stdlib.h (__mktemp): Add declaration.
42528         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42529         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42531 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42533         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42534         definitions.
42535         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42536         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42537         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42538         definitions here.
42539         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42540         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42541         definitions.
42542         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42543         and ONE.
42544         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42545         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42546         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42547         definitions.
42548         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42549         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42550         definitions.
42551         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42553         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42555 2013-01-15  David S. Miller  <davem@davemloft.net>
42557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42558         trunc{,f} to libm-sysdep_routes.
42559         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42561         file.
42562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42564         file.
42565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42566         file.
42567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42569         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42570         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42571         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42572         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42573         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42574         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42577         nearbyint{,f} to libm-sysdep_routes.
42578         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42580         New file.
42581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42582         file.
42583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42584         New file.
42585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42586         file.
42587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42589         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42590         file.
42591         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42592         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42593         file.
42594         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42595         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42596         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42598         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42599         libc_feholdexcept and libc_fesetenv.
42601 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
42603         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42605 2013-01-14  David S. Miller  <davem@davemloft.net>
42607         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42608         (SPARC_ASM_VIS2_IFUNC): Likewise.
42609         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42611         use of 'siam' instruction.
42612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42613         Likewise.
42614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42615         Likewise.
42616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42617         Likewise.
42618         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42619         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42620         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42621         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42623         file.
42624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42625         file.
42626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42627         file.
42628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42629         file.
42630         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42631         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42632         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42633         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42635         new VIS2 routines.
42636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42639         Likewise.
42640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42641         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42645         routines to libm-sysdep_routines.
42646         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42649         fdim/fdimf to libm-sysdep_routines.
42650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42651         file.
42652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42654         file.
42655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42658         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42659         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42660         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42661         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42663 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42665         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42666         to optimize copies.
42668         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42669         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42672         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42673         local variable MPTWO.
42674         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42675         Likewise.
42677 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42679         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42680         GLOB_NOESCAPE.
42682 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42684         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42686 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
42688         * manual/pattern.texi (glob_t): Document gl_flags.
42689         (glob64_t): Likewise.
42691 2013-01-11  David S. Miller  <davem@davemloft.net>
42693         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42694         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42695         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
42696         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42697         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42698         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42699         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42700         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42701         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42702         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42703         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42704         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42705         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42707         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42708         sparc V9 rather than using V8 code.
42709         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42710         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42712         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42713         Move to...
42714         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42715         Here.
42717 2013-01-11  Roland McGrath  <roland@hack.frob.com>
42719         [BZ #14941]
42720         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42721         not in the main loop.
42722         * configure: Regenerated.
42724 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
42726         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42727         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42728         to just #else.
42729         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
42730         [!__GLIBC_HAVE_LONG_LONG] case.
42731         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42732         condition to just #else.
42733         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42734         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42735         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42736         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42737         unconditional.
42738         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42739         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42740         #elif condition to just #else.
42741         * sysdeps/unix/sysv/linux/sys/sysmacros.h
42742         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42743         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42744         #elif condition to just #else.
42746 2013-01-11  Steve Ellcey  <sellcey@mips.com>
42748         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42749         (EF_MIPS_ARCH_64): Fix value.
42750         (EF_MIPS_ARCH_32R2): New.
42751         (EF_MIPS_ARCH_64R2): New.
42753 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
42755         * Makeconfig (+link-pie-before-libc): New.
42756         (+link-pie-after-libc): Likewise.
42757         (+link-pie-tests): Likewise.
42758         (+link-pie): Rewritten.
42759         (link-before-libc): Remove $(config-LDFLAGS).
42760         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42761         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42762         (config-LDFLAGS): Renamed to ...
42763         (rtld-LDFLAGS): This.
42764         (rtld-tests-LDFLAGS): New macro.
42765         (link-libc-rpath-link): Likewise.
42766         (link-libc-tests-rpath-link): Likewise.
42767         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42768         (link-libc): Prepand $(link-libc-rpath-link).
42769         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42770         (test-program-prefix): New macro.
42771         (test-via-rtld-prefix): Likewise.
42772         (test-program-cmd): Likewise.
42773         (host-test-program-cmd): Likewise.
42774         * Makefile ($(common-objpfx)testrun.sh): Replace
42775         $(run-program-prefix) with $(test-program-prefix).
42776         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42777         $(rtld-LDFLAGS).
42778         ($(common-objpfx)shlib.lds): Likewise.
42779         (build-module-helper): Likewise.
42780         ($(common-objpfx)format.lds): Likewise.
42781         * Rules (binaries-pie-tests): New.
42782         (binaries-pie-notests): Likewise.
42783         (binaries-pie): Rewritten.
42784         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42785         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42786         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42787         (make-test-out): Replace $(host-built-program-cmd) with
42788         $(host-test-program-cmd).
42789         * config.make.in (build-hardcoded-path-in-tests): New variable.
42790         * configure.in (--enable-hardcoded-path-in-tests): New configure
42791         option.
42792         (hardcoded_path_in_tests): New AC_SUBST.
42793         * configure: Regenerated.
42794         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42795         $(built-program-cmd) with $(test-program-cmd).
42796         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42797         (test_program_cmd): This.
42798         * elf/Makefile ($(objpfx)order.out): Run test with
42799         $(test-program-prefix).
42800         ($(objpfx)order2.out): Likewise.
42801         ($(objpfx)tst-initorder.out): Likewise.
42802         ($(objpfx)tst-initorder2.out): Likewise.
42803         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42804         $(test-program-cmd).
42805         ($(objpfx)tst-array1-static.out): Likewise.
42806         ($(objpfx)tst-array2.out): Likewise.
42807         ($(objpfx)tst-array3.out): Likewise.
42808         ($(objpfx)tst-array4.out): Likewise.
42809         ($(objpfx)tst-array5.out): Likewise.
42810         ($(objpfx)tst-array5-static.out): Likewise.
42811         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42812         $(test-program-cmd).
42813         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42814         $(run-program-prefix) with $(test-program-prefix).
42815         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42816         (test_program_prefix): This.
42817         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42818         $(run-program-prefix) with $(test-program-prefix).
42819         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42820         (test_program_prefix): This.
42821         * iconvdata/tst-tables.sh: Likewise.
42822         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42823         $(run-program-prefix) with $(test-program-prefix).
42824         ($(objpfx)tst-translit.out): Likewise.
42825         ($(objpfx)tst-gettext2.out): Likewise.
42826         ($(objpfx)tst-gettext4.out): Likewise.
42827         ($(objpfx)tst-gettext6.out): Likewise.
42828         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42829         (test_program_prefix): This.
42830         * intl/tst-gettext2.sh: Likewise.
42831         * intl/tst-gettext4.sh  Likewise.
42832         * intl/tst-gettext6.sh: Likewise.
42833         * intl/tst-translit.sh: Likewise.
42834         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42835         with $(test-program-cmd).
42836         * libio/Makefile ($(objpfx)test-freopen.out): Replace
42837         $(run-program-prefix) with $(test-program-prefix).
42838         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42839         (test_program_prefix): This.
42840         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42841         $(run-program-prefix) with $(test-program-prefix).
42842         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42843         (test_program_prefix): This.
42844         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42845         * posix/Makefile ($(objpfx)globtest.out): Replace
42846         $(run-via-rtld-prefix) and $(test-wrapper) with
42847         $(test-program-prefix) and $(test-via-rtld-prefix).
42848         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42849         $(test-program-prefix).
42850         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
42851         $(host-test-program-cmd).
42852         (tst-spawn-ARGS): Likewise.
42853         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
42854         $(test-program-prefix).
42855         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
42856         (test_via_rtld_prefix): This.
42857         (test_wrapper): Renamed to ...
42858         (test_program_prefix): This.
42859         (run_program_prefix): Replaced by test_program_prefix.
42860         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
42861         (test_program_prefix): This.
42862         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
42863         with $(host-test-program-cmd).
42864         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
42865         $(run-program-prefix) with $(test-program-prefix).
42866         ($(objpfx)tst-printf.out): Likewise.
42867         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
42868         $(test-program-cmd).
42869         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
42870         (test_program_prefix): This.
42871         * stdio-common/tst-unbputc.sh: Likewise.
42872         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
42873         $(run-program-prefix) with $(test-program-prefix).
42874         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
42875         (test_program_prefix): This.
42876         * string/Makefile ($(objpfx)tst-svc.out):  Replace
42877         $(built-program-cmd) with $(test-program-cmd).
42879 2013-01-11  Andreas Jaeger  <aj@suse.de>
42881         [BZ #15003]
42882         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
42883         value. Sync with Linux 3.7.
42885 2013-01-10  David S. Miller  <davem@davemloft.net>
42887         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
42888         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42889         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42891 2013-01-10  Roland McGrath  <roland@hack.frob.com>
42893         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
42894         never set.
42895         * configure: Regenerated.
42897 2013-01-10  David S. Miller  <davem@davemloft.net>
42899         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42900         sparc V9 rather than using V8 code.
42901         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42902         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42904 2013-01-10  Roland McGrath  <roland@hack.frob.com>
42906         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
42907         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
42908         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
42909         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
42910         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
42911         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
42912         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
42913         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
42914         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
42915         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
42916         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
42917         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
42918         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
42919         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
42920         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
42921         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
42922         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
42923         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
42924         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
42925         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
42926         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
42927         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
42928         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
42929         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
42930         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
42931         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
42932         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
42934 2013-01-10  David S. Miller  <davem@davemloft.net>
42936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42938 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
42940         * posix/Makefile (tests-static): New variable.
42941         (tests): Add $(tests-static).
42942         (tst-exec-static-ARGS): New variable.
42943         (tst-spawn-static-ARGS): Likewise.
42944         * posix/tst-exec-static.c: New file.
42945         * posix/tst-spawn-static.c: Likewise.
42946         * posix/tst-exec.c: Support run directly.
42947         * posix/tst-spawn.c: Likewise.
42949 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
42951         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
42952         long.
42953         * math/bits/mathcalls.h (llrint): Likewise.
42954         (llround): Likewise.
42955         * stdlib/stdlib.h (struct drand48_data): Likewise.
42956         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
42957         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
42958         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
42959         Likewise.
42960         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
42961         Likewise.
42962         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
42963         (elf_greg_t): Likewise.
42964         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
42965         (__jmp_buf): Likewise.
42966         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
42967         definitions.
42968         (llrint): Likewise, for all definitions.
42969         (llrintl): Likewise.
42971         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
42972         Remove [__GNUC__] condition.
42973         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
42974         condition to just [__USE_ISOC99].
42975         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
42977 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
42979         [BZ #14200]
42980         * sysdeps/unix/sysv/linux/x86/bits/environments.h
42981         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
42982         defined.
42983         (_POSIX_V6_ILP32_OFF32): Likewise.
42984         (_XBS5_ILP32_OFF32): Likewise.
42985         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
42986         (__ILP32_OFFBIG_LDFLAGS): Likewise.
42988 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42990         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
42992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
42993         doubles __mpexp_twomm1.  Adjust usage.
42994         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
42995         Remove.
42997 2013-01-10  Andreas Schwab  <schwab@suse.de>
42999         [BZ #14964]
43000         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
43001         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
43003 2013-01-09  David S. Miller  <davem@davemloft.net>
43005         [BZ #15003]
43006         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
43007         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
43008         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
43009         (TCP_FASTOPEN): Define.
43010         (tcp_repair_opt): New structure.
43011         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
43012         enum values.
43013         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
43014         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
43015         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
43016         (tcp_cookie_transactions): New structure.
43018 2013-01-09  Anton Blanchard  <anton@samba.org>
43020         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
43021         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
43022         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
43023         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
43025 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
43027         * include/features.h (__USE_ANSI): Remove.
43029 2013-01-09  Roland McGrath  <roland@hack.frob.com>
43031         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
43033         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
43035 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
43037         * sysdeps/s390/fpu/libm-test-ulps: Update.
43039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43041         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
43042         (__acr): Likewise.
43043         (__cpy): Likewise.
43044         (norm): Likewise.
43045         (denorm): Likewise.
43046         (__mp_dbl): Likewise.
43047         (__dbl_mp): Likewise.
43048         (add_magnitudes): Likewise.
43049         (sub_magnitudes): Likewise.
43050         (__add): Likewise.
43051         (__sub): Likewise.
43052         (__mul): Likewise.
43053         (__inv): Likewise.
43054         (__dvd): Likewise.
43055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
43056         (__acr): Likewise.
43057         (__cpy): Likewise.
43058         (norm): Likewise.
43059         (denorm): Likewise.
43060         (__mp_dbl): Likewise.
43061         (__dbl_mp): Likewise.
43062         (add_magnitudes): Likewise.
43063         (sub_magnitudes): Likewise.
43064         (__add): Likewise.
43065         (__sub): Likewise.
43066         (__mul): Likewise.
43067         (__inv): Likewise.
43068         (__dvd): Likewise.
43069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
43070         (__acr): Likewise.
43071         (__cpy): Likewise.
43072         (norm): Likewise.
43073         (denorm): Likewise.
43074         (__mp_dbl): Likewise.
43075         (__dbl_mp): Likewise.
43076         (add_magnitudes): Likewise.
43077         (sub_magnitudes): Likewise.
43078         (__add): Likewise.
43079         (__sub): Likewise.
43080         (__mul): Likewise.
43081         (__inv): Likewise.
43082         (__dvd): Likewise.
43084 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
43086         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
43087         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
43088         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
43089         2 && __USE_EXTERN_INLINES]: Likewise.
43091 2013-01-08  Andreas Jaeger  <aj@suse.de>
43093         [BZ# 14985]
43094         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
43095         Remove.
43096         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
43097         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
43099 2013-01-07  Anton Blanchard  <anton@samba.org>
43101         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
43102         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
43103         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
43104         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
43105         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43106         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43107         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
43108         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43110         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43111         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43112         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43113         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43114         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43115         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43116         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43117         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43118         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43119         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43120         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43121         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43122         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
43123         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43124         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43125         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
43126         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43127         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43128         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
43129         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
43130         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43131         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43133         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43134         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43135         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43136         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43137         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43138         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43139         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
43140         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43141         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
43142         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43143         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43145 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
43147         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
43148         (__MALLOC_PMT): Likewise.
43149         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
43150         [__GNUC__], only on [_LIBC].
43151         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
43152         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
43153         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
43154         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
43155         forward declaration.
43156         (realloc_hook_ini): Likewise.
43157         (memalign_hook_ini): Likewise.
43158         (__libc_memalign): Do not use __MALLOC_PMT in variable
43159         declaration.
43160         (__libc_valloc): Likewise.
43161         (__libc_pvalloc): Likewise.
43162         (__libc_calloc): Likewise.
43163         (__posix_memalign): Likewise.
43165         [BZ #14996]
43166         * math/s_casinh.c: Include <float.h>.
43167         (__casinh): Do not do computation with squaring and square root
43168         for large arguments.
43169         * math/s_casinhf.c: Include <float.h>.
43170         (__casinhf): Do not do computation with squaring and square root
43171         for large arguments.
43172         * math/s_casinhl.c: Include <float.h>.
43173         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
43174         (__casinhl): Do not do computation with squaring and square root
43175         for large arguments.
43176         * math/libm-test.inc (casin_test): Add more tests.
43177         (casinh_test): Likewise.
43178         * sysdeps/i386/fpu/libm-test-ulps: Update.
43179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43181 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
43183         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
43184         (__x86_64_raw_data_cache_size): Likewise.
43185         (__x86_64_data_cache_size_half): Likewise.
43186         (__x86_64_raw_data_cache_size_half): Likewise.
43187         (__x86_64_shared_cache_size): Likewise.
43188         (__x86_64_raw_shared_cache_size): Likewise.
43189         (__x86_64_shared_cache_size_half): Likewise.
43190         (__x86_64_raw_shared_cache_size_half): Likewise.
43191         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
43192         to ...
43193         (__x86_data_cache_size): This.
43194         (__x86_64_raw_data_cache_size): Renamed to ...
43195         (__x86_raw_data_cache_size): This.
43196         (__x86_64_data_cache_size_half): Renamed to ...
43197         (__x86_data_cache_size_half): This.
43198         (__x86_64_raw_data_cache_size_half): Renamed to ...
43199         (__x86_raw_data_cache_size_half): This.
43200         (__x86_64_shared_cache_size): Renamed to ...
43201         (__x86_shared_cache_size): This.
43202         (__x86_64_raw_shared_cache_size): Renamed to ...
43203         (__x86_raw_shared_cache_size): This.
43204         (__x86_64_shared_cache_size_half): Renamed to ...
43205         (__x86_shared_cache_size_half): This.
43206         (__x86_64_raw_shared_cache_size_half): Renamed to ...
43207         (__x86_raw_shared_cache_size_half): This.
43208         * sysdeps/x86_64/memcpy.S: Updated.
43209         * sysdeps/x86_64/memset.S: Likewise.
43210         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43211         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43212         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43214 2013-01-04  David S. Miller  <davem@davemloft.net>
43216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43218 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
43220         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
43221         1 to avoid redefinition warning.
43222         (__USE_GNU): Don't define.
43223         (init_signaling_nan): Protoize.
43225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43227 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43229         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
43230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
43231         (__cpymn): Likewise.
43232         (norm): Remove commented code.
43233         (denorm): Likewise.
43234         (__mp_dbl): Likewise.
43235         (__inv): Likewise.
43236         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
43237         (__cpymn): Likewise.
43238         (norm): Remove commented code.
43239         (denorm): Likewise.
43240         (__mp_dbl): Likewise.
43241         (__inv): Likewise.
43243         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
43244         mp_no value for 1.0 and 2.0.
43245         (norm): Use RADIXI instead of radixi.d.
43246         (denorm): Likewise.
43247         (__mul): Use 0.0 instead of zero.d.
43248         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
43249         mp_no value for 1.0 and 2.0.
43250         (norm): Use RADIXI instead of radixi.d.
43251         (denorm): Likewise.
43252         (__mul): Use 0.0 instead of zero.d.
43254 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
43256         [BZ #14994]
43257         * math/s_casinh.c (__casinh): Reduce finite argument to first
43258         quadrant then set signs of results at the end.
43259         * math/s_casinhf.c (__casinhf): Likewise.
43260         * math/s_casinhl.c (__casinhl): Likewise.
43261         * math/libm-test.inc (casin_test): Add more tests.
43262         (casinh_test): Likewise.
43263         * sysdeps/i386/fpu/libm-test-ulps: Update.
43264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43266 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43268         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
43270         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
43272         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
43273         declarations.
43274         (denorm): Likewise.
43275         (__mp_dbl): Likewise.
43276         (__inv): Likewise.
43278         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
43279         and adjust the header comment.
43281         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
43282         variable name from declaration.
43284 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
43286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43287         Initialize COMMON_CPUID_INDEX_7 element.
43288         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
43289         (CPUID_RTM): Likewise.
43290         (HAS_RTM): Likewise.
43291         (COMMON_CPUID_INDEX_7): New enum.
43293 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
43295         [BZ #14981]
43296         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
43297         size is zero, record memory as freed.
43299 2013-01-03  Andreas Jaeger  <aj@suse.de>
43301         * po/ia.po: Add new Interlingua translation.
43303 2012-01-03  Allan McRae  <allan@archlinux.org>
43305         * locale/programs/localedef.c: Fix description of '--posix' flag.
43307 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
43309         * NEWS: Update dates in second copyright notice.
43310         * README: Update copyright dates in example.
43311         * manual/libc.texinfo: Update copyright dates.
43312         * scripts/test-installation.pl: Update copyright date in --version
43313         output.
43315         * hurd/ctty-input.c: Fix copyright notice formatting.
43316         * hurd/ctty-output.c: Likewise.
43317         * hurd/dtable.c: Likewise.
43318         * hurd/hurd-raise.c: Likewise.
43319         * hurd/hurdprio.c: Likewise.
43320         * hurd/msgportdemux.c: Likewise.
43321         * misc/sys/file.h: Likewise.
43322         * misc/sys/ioctl.h: Likewise.
43323         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43324         * sysdeps/mach/hurd/chdir.c: Likewise.
43325         * sysdeps/mach/hurd/fchdir.c: Likewise.
43326         * sysdeps/mach/hurd/rename.c: Likewise.
43327         * sysdeps/mach/hurd/rmdir.c: Likewise.
43328         * sysdeps/mach/hurd/seekdir.c: Likewise.
43329         * sysdeps/mach/hurd/setsid.c: Likewise.
43330         * sysdeps/posix/wait3.c: Likewise.
43332         * All files with FSF copyright notices: Update copyright dates
43333         using scripts/update-copyrights.
43334         * intl/plural.c: Regenerated.
43335         * locale/programs/charmap-kw.h: Likewise.
43336         * locale/programs/locfile-kw.h: Likewise.
43338 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43340         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
43341         four values.
43343         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
43344         calculation loop and add branch prediction.
43346         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
43347         check access beyond bounds of m1np.
43349         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43350         MPTWO.
43351         (__inv): Remove local variable MPTWO to use the global
43352         constant.
43353         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
43354         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43355         variable MPTWO.
43356         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
43357         MP3HALFS static const.
43359 2013-01-01  David S. Miller  <davem@davemloft.net>
43361         * po/ca.po: Update from translation team.
43363 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
43365         * scripts/update-copyrights: New file.
43366         * Makeconfig: Reformat copyright notice.
43367         * ctype/ctype.h: Likewise.
43368         * debug/swprintf_chk.c: Likewise.
43369         * elf/dl-cache.c: Likewise.
43370         * elf/dl-debug.c: Likewise.
43371         * elf/dl-object.c: Likewise.
43372         * grp/initgroups.c: Likewise.
43373         * hurd/Makefile: Likewise.
43374         * hurd/hurd/signal.h: Likewise.
43375         * hurd/hurdfault.c: Likewise.
43376         * hurd/hurdioctl.c: Likewise.
43377         * hurd/hurdlookup.c: Likewise.
43378         * hurd/intr-msg.c: Likewise.
43379         * iconv/gconv_open.c: Likewise.
43380         * libio/swprintf.c: Likewise.
43381         * locale/lc-ctype.c: Likewise.
43382         * locale/nl_langinfo.c: Likewise.
43383         * mach/Machrules: Likewise.
43384         * mach/Makefile: Likewise.
43385         * malloc/obstack.h: Likewise.
43386         * manual/Makefile: Likewise.
43387         * manual/tsort.awk: Likewise.
43388         * misc/bits/stab.def: Likewise.
43389         * nis/nis_print_group_entry.c: Likewise.
43390         * nis/nis_table.c: Likewise.
43391         * nis/nss_compat/compat-pwd.c: Likewise.
43392         * nis/nss_compat/compat-spwd.c: Likewise.
43393         * po/Makefile: Likewise.
43394         * posix/fnmatch.c: Likewise.
43395         * posix/regex.h: Likewise.
43396         * resolv/Makefile: Likewise.
43397         * resolv/nss_dns/dns-network.c: Likewise.
43398         * resolv/res_hconf.c: Likewise.
43399         * scripts/gen-sorted.awk: Likewise.
43400         * soft-fp/soft-fp.h: Likewise.
43401         * stdio-common/printf.h: Likewise.
43402         * stdlib/monetary.h: Likewise.
43403         * stdlib/random.c: Likewise.
43404         * stdlib/random_r.c: Likewise.
43405         * sysdeps/generic/Makefile: Likewise.
43406         * sysdeps/gnu/Makefile: Likewise.
43407         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43408         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43409         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43410         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43411         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43412         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43413         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43414         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43415         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43416         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43417         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43418         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43419         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43420         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43421         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
43422         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43423         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43424         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43425         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43426         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43427         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43428         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43429         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43430         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43431         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
43432         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43433         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43434         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
43435         * sysdeps/mach/hurd/errnos.awk: Likewise.
43436         * sysdeps/mach/hurd/fork.c: Likewise.
43437         * sysdeps/mach/hurd/getcwd.c: Likewise.
43438         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
43439         * sysdeps/mach/hurd/mmap.c: Likewise.
43440         * sysdeps/mach/hurd/utimes.c: Likewise.
43441         * sysdeps/mach/hurd/xmknod.c: Likewise.
43442         * sysdeps/posix/profil.c: Likewise.
43443         * sysdeps/posix/readdir_r.c: Likewise.
43444         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43445         * sysdeps/powerpc/bits/setjmp.h: Likewise.
43446         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
43447         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43449         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43450         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43451         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43453         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43454         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43455         * sysdeps/pthread/lio_listio.c: Likewise.
43456         * sysdeps/sparc/dl-procinfo.h: Likewise.
43457         * sysdeps/unix/i386/sysdep.S: Likewise.
43458         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
43459         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
43460         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
43461         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
43462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43463         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
43464         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
43465         * sysdeps/unix/sysv/linux/speed.c: Likewise.
43466         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43467         * sysdeps/wordsize-32/divdi3.c: Likewise.
43468         * time/sys/time.h: Likewise.
43469         * wcsmbs/Makefile: Likewise.
43471 2013-01-01  David S. Miller  <davem@davemloft.net>
43473         * po/fr.po: Update from translation team.
43475         * catgets/gencat.c: Update copyright year.
43476         * csu/version.c: Likewise.
43477         * debug/catchsegv.sh: Likewise.
43478         * debug/pcprofiledump.c: Likewise.
43479         * debug/xtrace.sh: Likewise.
43480         * elf/ldconfig.c: Likewise.
43481         * elf/ldd.bash.in: Likewise.
43482         * elf/pldd.c: Likewise.
43483         * elf/sotruss.ksh: Likewise.
43484         * elf/sprof.c: Likewise.
43485         * iconv/iconv_prog.c: Likewise.
43486         * iconv/iconvconfig.c: Likewise.
43487         * locale/programs/locale.c: Likewise.
43488         * locale/programs/localedef.c: Likewise.
43489         * login/programs/pt_chown.c: Likewise.
43490         * malloc/memusage.sh: Likewise.
43491         * malloc/memusagestat.c: Likewise.
43492         * malloc/mtrace.pl: Likewise.
43493         * nscd/nscd.c: Likewise.
43494         * nss/getent.c: Likewise.
43495         * nss/makedb.c: Likewise.
43496         * posix/getconf.c: Likewise.
43498 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43500         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43501         numbers.
43503 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
43505         * math/bits/mathcalls.h (modf): Use __nonnull.
43507 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43509         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43510         (split): Use macro CN instead of the bare value.
43511         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43512         could be used.
43513         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43514         instead of the bare value.
43515         (power1): Likewise.
43517 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43519         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43520         __ATAN_TWOM.
43521         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43523         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43524         their values.
43525         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43526         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43527         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43528         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43530 2012-12-28  Andreas Jaeger  <aj@suse.de>
43532         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
43533         values are from Linux 3.7.
43535         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43536         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
43538 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43540         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43541         TRUE case.
43543         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43544         (norm): Likewise.
43545         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43546         variables with preprocessor constants.
43547         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43548         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43549         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43551 2012-12-27  Bruno Haible  <bruno@clisp.org>
43553         [BZ #14317]
43554         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43555         only if needed.
43557 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43559         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43560         and use variable directly.
43561         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43563         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43564         MPONE.
43565         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43566         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43567         variable MPONE.
43568         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43570         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43571         include directive.  Remove local variable MPONE.
43572         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43573         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43574         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43576 2012-12-25  David S. Miller  <davem@davemloft.net>
43578         * version.h (RELEASE): Set to "development".
43579         (VERSION): Set to "2.17.90".
43580         * NEWS: Add 2.18 section.
43582 2012-12-21  David S. Miller  <davem@davemloft.net>
43584         * po/hr.po: Update from translation team.
43586 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43588         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43590 2012-12-19  Steve Ellcey  <sellcey@mips.com>
43592         * NEWS:  Mention new memcpy for MIPS.
43594 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43596         * manual/contrib.texi (Contributors): Spelling correction.
43598 2012-12-15  David S. Miller  <davem@davemloft.net>
43600         * po/ru.po: Update from translation team.
43602 2012-12-13  David S. Miller  <davem@davemloft.net>
43604         * NEWS: Mention IFUNC testsuite enhancements.
43606         * po/pl.po: Update from translation team.
43607         * po/bg.po: Likewise.
43609         * manual/contrib.texi (Contributors): Update entries for Hongjiu
43610         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
43612 2012-12-11  David S. Miller  <davem@davemloft.net>
43614         * po/sv.po: Update from translation team.
43616         * po/vi.po: Update from translation team.
43618         * po/cs.po: Update from translation team.
43620         * po/de.po: Update from translation team.
43621         * po/eo.po: Likewise.
43622         * po/nl.po: Likewise.
43624 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43626         [BZ #14246]
43627         * manual/argp.texi (Argp Helper Functions): Move node to follow
43628         Argp Parsing State.
43630         [BZ #14872]
43631         * manual/conf.texi (Limits on File System Capacity): Mention if
43632         terminating null is included in the max size.
43634 2012-12-10  Andreas Jaeger  <aj@suse.de>
43636         * po/cs.po: Update from translation team.
43638 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43640         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43641         void pointer and cast to uintptr_t.
43642         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43643         path.
43644         * sysdeps/s390/s390-64/memcpy.S: Likewise.
43645         * sysdeps/s390/s390-64/memset.S: Likewise.
43647 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
43649         [BZ #14833]
43650         * menual/message.texi (Message Translation): Fix typos.
43651         (Helper programs for gettext): Likewise.
43653 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
43655         [BZ #14898]
43656         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43657         Change to -1.
43659 2012-12-07  David S. Miller  <davem@davemloft.net>
43661         * po/libc.pot: Update.
43663 2012-12-07  Richard Henderson  <rth@redhat.com>
43665         [BZ #10114]
43666         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43667         normal/normal case to before the switch.
43668         (_FP_DIV): Likewise.
43670 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
43671             Mike Frysinger  <vapier@gentoo.org>
43673         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43674         check for __NR_fadvise64_64.
43676 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
43678         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43679         0, not just to plain "0" as a statement.
43680         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43681         with cw.
43683 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
43685         * NEWS: Use sourceware.org in Bugzilla URL.
43687 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43690         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43692         * stdio-common/tst-put-error.c (do_test): Add newline to the
43693         padded test to ensure flush.
43695 2012-12-05  Jeff Law  <law@redhat.com>
43697         * sunrpc/etc.rpc (fedfs_admin): Add entry.
43699 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
43701         * README: Don't refer to ports add-on as distributed separately.
43702         Mention AArch64 in list of systems supported in the ports add-on.
43704         * LICENSES: Add more non-FSF copyright and license notices.
43706         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43707         ((unused)).
43709         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43711         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43712         10000 as width of padded output.
43714 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
43716         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43718         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43719         variable LX with __attribute__ ((unused)).
43720         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43721         Likewise.
43722         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43723         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43724         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43725         with __attribute__ ((unused)).
43727 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
43729         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43731 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
43733         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43734         (CFLAGS-nldbl-acos.c): New variable.
43735         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43736         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43737         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43738         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43739         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43740         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43741         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43742         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43743         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43744         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43745         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43746         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43747         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43748         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43749         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43750         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43751         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43752         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43753         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43754         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43755         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43756         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43757         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43758         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43759         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43760         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43761         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43762         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43763         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43764         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43765         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43766         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43767         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43768         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43769         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43770         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43771         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43772         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43773         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43774         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43775         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43776         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43777         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43778         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43779         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43780         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43781         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43782         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43783         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43784         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43785         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43786         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43787         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43788         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43789         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43790         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43791         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43792         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43793         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43794         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43795         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43796         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43797         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43798         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43799         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43800         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43801         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43802         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43803         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43804         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43805         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43806         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43807         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43808         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43809         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43810         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43811         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43812         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43813         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43814         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43815         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43816         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43817         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43818         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43819         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43820         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43821         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43822         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43823         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43824         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43825         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43826         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43827         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43828         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43829         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43830         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43831         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43834         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43836         [BZ #14914]
43837         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43838         whole low double instead of just low 47 bits when splitting values
43839         into two parts.
43841 2012-12-03  Allan McRae  <allan@archlinux.org>
43843         * manual/stdio.texi (Predefined Printf Handlers): Remove
43844         @hsep and @vsep usage.
43846 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
43848         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43849         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43851 2012-12-03  Jeff Law  <law@redhat.com>
43853         * time/sys/time.h (settimeofday): Do not mark TV argument
43854         as __nonnull.
43856 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
43858         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
43859         when currently writing and seek to current position when not.
43860         * libio/Makefile (tests): Remove bug-fclose1.
43861         * libio/bug-fclose1.c: Delete.
43863 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
43865         * manual/arith.texi (feenableexcept): Fix typo.
43866         (fedisableexcept): Likewise.
43868 2012-11-30  Roland McGrath  <roland@hack.frob.com>
43870         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
43871         second, differently-typed declaration, rather than a cast.
43873 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43875         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
43876         * include/rpc/svc.h: ... here.
43878 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
43880         [BZ #13013]
43881         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
43882         depending n and resplen2 to catch cases where answer
43883         equals answerp2.
43885 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
43887         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43888         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
43890 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
43892         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
43894 2012-11-29  Roland McGrath  <roland@hack.frob.com>
43896         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
43898 2012-11-28  Jeff Law  <law@redhat.com>
43900         [BZ #13761]
43901         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
43902         dataset_temporary.  Track alloca usage into alloca_used.
43903         If dataset is large allocate and release it via malloc/free.
43905 2012-06-04  Florian Weimer  <fweimer@redhat.com>
43907         [BZ #14197]
43908         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
43910 2012-11-28  David S. Miller  <davem@davemloft.net>
43912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43914 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
43916         [BZ #14803]
43917         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
43918         of pi/2 rounded to nearest to 64 bits.
43919         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43920         nearest to 64 bits.
43921         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
43922         bits.
43924 2012-11-28  Jeff Law <law@redhat.com>
43925             Martin Osvald <mosvald@redhat.com>
43927         [BZ #14889]
43928         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
43929         * sunrpc/svc.c: Include time.h.
43930         (__svc_accept_failed): New function.
43931         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43932         any reason other than EINTR, call __svc_accept_failed.
43933         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
43934         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
43936 2012-11-28  Andreas Schwab  <schwab@suse.de>
43938         * scripts/abilist.awk: Also handle indirect functions in .opd
43939         section.
43941 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
43943         [BZ #13881]
43944         * sysdeps/x86/fpu/powl_helper.c: New file.
43945         * sysdeps/x86/fpu/Makefile: Likewise.
43946         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
43947         (p3): New object.
43948         (__ieee754_powl): Use __powl_helper for finite arguments except
43949         integer exponents below 8.
43950         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
43951         (p3): New object.
43952         (__ieee754_powl): Use __powl_helper for finite arguments except
43953         integer exponents below 8.
43954         * math/libm-test.inc (pow_test): Add more tests and enable some
43955         previously disabled tests.
43956         * sysdeps/i386/fpu/libm-test-ulps: Update.
43957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43959 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43960             Carlos O'Donell  <carlos_odonell@mentor.com>
43962         * nss/makedb.c (is_prime): Assert that input is odd and greater
43963         than 4.  Note that fact in a comment too.
43964         (next_prime): Add 4 to input.
43966 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43968         [BZ #11741]
43969         * libio/Makefile (tests): Add test case tst-fwrite-error.
43970         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
43971         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
43972         * libio/tst-fwrite-error.c: New test case.
43974 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
43976         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
43977         before casting to void *.
43978         * include/libc-internal.h (__pointer_type): New macro.
43979         (__integer_if_pointer_type_sub): Likewise.
43980         (__integer_if_pointer_type): Likewise.
43981         (cast_to_integer): Likewise.
43982         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
43983         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
43984         before casting to atomic64_t.
43985         (atomic_exchange_acq): Likewise.
43986         (__arch_exchange_and_add_body): Likewise.
43987         (__arch_add_body): Likewise.
43988         (atomic_add_negative): Likewise.
43989         (atomic_add_zero): Likewise.
43991 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
43993         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
43994         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
43995         (add_fdes): Likewise.
43996         (linear_search_fdes): Likewise.
43997         (binary_search_unencoded_fdes): Likewise.
43999 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
44001         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
44003 2012-11-24  Adam Conrad  <adconrad@0c3.net>
44005         * configure.in: Autodetect C++ header directories.
44006         * configure: Regenerated.
44008 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
44010         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
44012 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
44014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44016 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
44018         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
44019         LDBL_MANT_DIG == 106]: Disable some tests.
44020         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
44021         Likewise.
44022         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
44023         Likewise.
44025         [BZ #14871]
44026         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
44027         input for small inputs.  Return +/- pi/2 for large inputs.
44028         * math/libm-test.inc (atan_test): Add more tests.
44030         * sysdeps/generic/unwind-dw2-fde-glibc.c
44031         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
44032         __attribute__ ((unused)).
44034         [BZ #14645]
44035         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
44036         x * y if x and y are nonzero and z is zero.
44038         [BZ #14811]
44039         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
44040         nonzero exponents with absolute value below 0x1p-117 to +/-
44041         0x1p-117.
44043         [BZ #14869]
44044         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
44045         up arguments below 2**-450, not just those below 2**-500.
44046         * math/libm-test.inc (hypot_test): Add another test.
44048         [BZ #14868]
44049         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
44050         Return a+b for ratio over 2**120, not 2**60.
44051         * math/libm-test.inc (hypot_test): Add another test.
44053         * math/libm-test.inc (clog_test): Use
44054         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
44055         (clog10_test): Likewise.
44057         [BZ #6778]
44058         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
44060 2012-11-22  Andreas Schwab  <schwab@suse.de>
44062         * sysdeps/i386/fpu/libm-test-ulps: Update.
44064 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
44066         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
44067         printf output with newline.
44069 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
44071         [BZ #14865]
44072         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
44073         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
44074         -z nodlopen, -z initfirst and -z execstack support.
44075         * configure: Regenerated.
44077         * elf/elf.h (DF_1_NODIRECT): New macro.
44078         (DF_1_IGNMULDEF): Likewise.
44079         (DF_1_NOKSYMS): Likewise.
44080         (DF_1_NOHDR): Likewise.
44081         (DF_1_EDITED): Likewise.
44082         (DF_1_NORELOC): Likewise.
44083         (DF_1_SYMINTPOSE): Likewise.
44084         (DF_1_GLOBAUDIT): Likewise.
44085         (DF_1_SINGLETON): Likewise.
44086         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
44087         DT_1_SUPPORTED_MASK bits.
44088         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
44090 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
44092         * sysdeps/unix/make-syscalls.sh: Document prefixes.
44094 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
44096         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
44097         macro.
44099         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
44100         (sendmmsg): Move declarations...
44101         * socket/sys/socket.h: ... here.
44102         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
44103         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
44104         include it from...
44105         * socket/recvmmsg.c: ... this new file.
44106         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
44107         (sendmmsg): Rename to __sendmmsg, create weak alias and make
44108         definition of __sendmmsg hidden.
44109         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
44110         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
44111         Move ENOSYS stub into and include it from...
44112         * socket/sendmmsg.c: ... this new file.
44113         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
44114         (sysdep_routines): Move recvmmsg and sendmmsg...
44115         * socket/Makefile (routines): ... here.
44116         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
44117         (GLIBC_PRIVATE): Add __sendmmsg.
44118         * include/sys/socket.h (__sendmmsg): Add declarations.
44119         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
44120         sendmmsg.
44122 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
44124         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
44125         variable I1 with __attribute__ ((unused)).
44126         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44128 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
44130         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
44131         DUMMY variables with __attribute__ ((unused)).
44133         * bits/byteswap.h: Include <bits/types.h>.
44134         (__bswap_64): Use __uint64_t instead of unsigned long long int.
44136 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
44138         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
44139         string_t.  Do not manually set errno.
44140         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
44141         length with __strnlen.  Make sure to both set errno and return it on
44142         failure.
44144 2012-11-19  David S. Miller  <davem@davemloft.net>
44146         With help from Joseph Myers.
44147         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
44148         very large arguments properly.
44149         * math/libm-test.inc (atan_test): New tests.
44150         (atan2_test): New tests.
44151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44152         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44154 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
44156         [BZ #14856]
44157         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
44158         Define to 3.
44160         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
44161         [POSIX] (EADDRNOTAVAIL): Likewise.
44162         [POSIX] (EAFNOSUPPORT): Likewise.
44163         [POSIX] (EALREADY): Likewise.
44164         [POSIX] (ECONNABORTED): Likewise.
44165         [POSIX] (ECONNREFUSED): Likewise.
44166         [POSIX] (ECONNRESET): Likewise.
44167         [POSIX] (EDESTADDRREQ): Likewise.
44168         [POSIX] (EDQUOT): Likewise.
44169         [POSIX] (EHOSTUNREACH): Likewise.
44170         [POSIX] (EIDRM): Likewise.
44171         [POSIX] (EISCONN): Likewise.
44172         [POSIX] (ELOOP): Likewise.
44173         [POSIX] (EMULTIHOP): Likewise.
44174         [POSIX] (ENETDOWN): Likewise.
44175         [POSIX] (ENETUNREACH): Likewise.
44176         [POSIX] (ENOBUFS): Likewise.
44177         [POSIX] (ENODATA): Likewise.
44178         [POSIX] (ENOLINK): Likewise.
44179         [POSIX] (ENOMSG): Likewise.
44180         [POSIX] (ENOPROTOOPT): Likewise.
44181         [POSIX] (ENOSR): Likewise.
44182         [POSIX] (ENOSTR): Likewise.
44183         [POSIX] (ENOTCONN): Likewise.
44184         [POSIX] (ENOTSOCK): Likewise.
44185         [POSIX] (EOPNOTSUPP): Likewise.
44186         [POSIX] (EOVERFLOW): Likewise.
44187         [POSIX] (EPROTO): Likewise.
44188         [POSIX] (EPROTONOSUPPORT): Likewise.
44189         [POSIX] (EPROTOTYPE): Likewise.
44190         [POSIX] (ESTALE): Likewise.
44191         [POSIX] (ETIME): Likewise.
44192         [POSIX] (ETXTBSY): Likewise.
44193         [POSIX] (EWOULDBLOCK): Likewise.
44194         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
44195         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
44196         [POSIX] (SEEK_CUR): Likewise.
44197         [POSIX] (SEEK_END): Likewise.
44198         [POSIX || UNIX98] (mode_t): Do not require.
44199         [POSIX] (off_t): Likewise.
44200         [POSIX] (pid_t): Likewise.
44201         [POSIX] (sys/stat.h): Do not allow header.
44202         [POSIX] (unistd.h): Likewise.
44203         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
44204         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
44205         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
44206         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
44207         require.
44208         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
44209         sigevent): Specify elements.
44210         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
44211         entry.
44212         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
44213         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
44215         * conform/data/cpio.h-data [POSIX]: Disable whole file.
44216         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
44217         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
44218         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
44219         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
44220         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
44221         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
44222         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
44223         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
44224         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
44225         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
44226         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
44227         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
44228         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
44229         Likewise.
44230         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
44231         Likewise.
44232         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
44233         Likewise.
44234         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
44235         Likewise.
44236         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
44237         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
44238         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
44239         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
44240         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
44241         Specify lower bound on value.
44242         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
44243         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
44244         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
44245         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
44246         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
44247         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
44248         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
44249         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
44250         value.
44251         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
44252         as optional.
44253         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
44254         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
44255         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
44256         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
44257         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
44258         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
44259         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
44260         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
44261         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
44262         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
44263         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
44264         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
44265         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
44266         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
44267         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
44268         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
44269         entry.
44270         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
44271         optional.
44272         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
44273         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
44274         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
44275         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
44276         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
44277         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
44278         Likewise.
44279         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
44280         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
44281         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
44282         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
44283         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
44284         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
44285         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
44286         as optional.
44287         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
44288         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
44289         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
44290         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
44291         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
44292         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
44293         specify as optional.
44294         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
44295         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
44296         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
44297         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
44298         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
44299         [XPG3] (NL_LANGMAX): Likewise.
44300         [POSIX || XPG3] (NL_MSGMAX): Likewise.
44301         [POSIX || XPG3] (NL_NMAX): Likewise.
44302         [POSIX || XPG3] (NL_SETMAX): Likewise.
44303         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
44304         [XPG3] (NZERO): Likewise.
44305         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
44306         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
44307         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
44308         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
44309         (REG_ERANGE): Expect.
44310         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
44311         optional-constant.
44312         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
44313         Use (void) in prototype.
44314         [POSIX] (*_t): Allow.
44315         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
44316         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
44317         (WRDE_BADVAL): Expect.
44319         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
44320         expect.
44321         [XPG3 || XPG4] (O_RSYNC): Likewise.
44322         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
44323         Likewise.
44324         [XPG3 || XPG4] (pthread_sigmask): Likewise.
44325         [XPG3 || XPG4] (sigqueue): Likewise.
44326         [XPG3 || XPG4] (sigtimedwait): Likewise.
44327         [XPG3 || XPG4] (sigwaitinfo): Likewise.
44328         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
44329         [XPG3 || XPG4] (vsnprintf): Likewise.
44330         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
44331         Likewise.
44332         [XPG3 || XPG4] (blksize_t): Likewise.
44333         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
44334         Likewise.
44335         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
44336         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44337         [XPG3 || XPG4] (struct itimerspec): Likewise.
44338         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
44339         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
44340         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
44341         [XPG3 || XPG4] (clockid_t): Likewise.
44342         [XPG3 || XPG4] (timer_t): Likewise.
44343         [XPG3 || XPG4] (clock_getres): Likewise.
44344         [XPG3 || XPG4] (clock_gettime): Likewise.
44345         [XPG3 || XPG4] (clock_settime): Likewise.
44346         [XPG3 || XPG4] (nanosleep): Likewise.
44347         [XPG3 || XPG4] (timer_create): Likewise.
44348         [XPG3 || XPG4] (timer_delete): Likewise.
44349         [XPG3 || XPG4] (timer_gettime): Likewise.
44350         [XPG3 || XPG4] (timer_getoverrun): Likewise.
44351         [XPG3 || XPG4] (timer_settime): Likewise.
44352         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
44353         [XPG3 || XPG4] (getlogin_r): Likewise.
44354         [XPG3 || XPG4] (pread): Likewise.
44355         [XPG3 || XPG4] (pthread_atfork): Likewise.
44356         [XPG3 || XPG4] (pwrite): Likewise.
44358         [BZ #14835]
44359         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
44360         <bits/siginfo.h>.
44362 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
44364         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
44365         finalizing MALLSTREAM.
44367         * sysdeps/mach/hurd/syncfs.c: New file.
44369 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44371         [BZ #14719]
44372         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
44373         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
44374         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
44375         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
44376         (_nss_dns_gethostbyname4_r): Likewise.
44377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
44378         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
44380 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
44382         [BZ #13763]
44383         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
44385 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
44387         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
44388         * elf/cache.c (print_entry): Print ",AArch64" for
44389         FLAG_AARCH64_LIB64
44391         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
44392         * elf/cache.c (print_entry): Print ",hard-float" for
44393         FLAG_ARM_LIBHF.
44395 2012-11-18  David S. Miller  <davem@davemloft.net>
44397         With help from Joseph Myers.
44398         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
44399         cutoff to 2**-13.
44400         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
44401         cutoff to 2**-25.
44402         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
44403         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
44404         small.
44405         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
44406         * math/libm-test.inc (y0_test): New tests.
44407         (y1_test): New tests.
44408         * sysdeps/i386/fpu/libm-test-ulps: Update.
44409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44412 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
44414         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
44415         64-bit targets.
44416         * configure: Regenerated.
44418 2012-11-17  David S. Miller  <davem@davemloft.net>
44420         [BZ #14811]
44421         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
44422         nonzero exponents with absolute value below 0x1p-128 to +/-
44423         0x1p-128.
44425 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
44427         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
44429         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
44431         * posix/getconf-speclist.c: New file.
44432         * posix/posix-envs.def: Likewise.
44433         * posix/confstr.c (START_ENV_GROUP): New macro.
44434         (END_ENV_GROUP): Likewise.
44435         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44436         (KNOWN_PRESENT_ENV_STRING): Likewise.
44437         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44438         (UNKNOWN_ENVIRONMENT): Likewise.
44439         (confstr): Include posix-envs.def instead of handling
44440         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
44441         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
44442         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
44443         (END_ENV_GROUP): Likewise.
44444         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44445         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44446         (UNKNOWN_ENVIRONMENT): Likewise.
44447         (__sysconf): Include posix-envs.def instead of handling associated
44448         cases directly here.
44449         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
44450         preprocessing getconf-speclist.c rather than running getconf or
44451         generating empty file.
44453 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
44455         * scripts/check-local-headers.sh: Ignore 'mach' headers.
44457 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
44459         [BZ #14672]
44460         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
44462 2012-11-16  David S. Miller  <davem@davemloft.net>
44464         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
44465         smaller than LDBL_EPSILON/2.0L, just return xm1.
44467 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
44469         * elf/tst-array1.c (init): Set constructor priority to 1000.
44470         (fini): Set destructor priority to 1000.
44471         * elf/tst-array2dep.c: Likewise.
44473 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44475         [BZ #11741]
44476         * libio/fileops.c (_IO_new_file_write): Correctly return error.
44477         (_IO_new_file_xsputn): Also return EOF if none of the input
44478         data was written when overflow failed.
44479         * libio/iopadn.c (_IO_padn): Likewise.
44480         * libio/iowpadn.c (_IO_wpadn): Likewise.
44481         * stdio-common/tst-put-error.c: Add copyright notice.
44482         (do_test): Add case for printing padded string.
44483         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44484         _IO_padn returned error.
44485         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44486         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44487         return EOF.
44489 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44491         * libio/libioP.h: Add comment note that the references to C++
44492         bits are now obsolete.
44494 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44496         * math/libm-test.inc (check_complex): Use asprintf.
44498 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
44500         * debug/pcprofiledump.c (print_version): Update copyright year.
44501         * malloc/memusagestat.c (print_version): Likewise.
44503 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
44505         [BZ #14831]
44506         * elf/Makefile (tests): Add tst-audit8.
44507         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44508         ($(objpfx)tst-audit8.out): New target.
44509         (tst-audit8-ENV): New variable.
44510         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44511         audit if l_reloc_result is NULL.
44512         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44513         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44514         * elf/tst-audit8.c: New file.
44516 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44518         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44519         * misc/Makefile (CFLAGS-select.c): Define.
44520         * posix/Makefile (CFLAGS-pause.c): Define.
44522 2012-11-13  David S. Miller  <davem@davemloft.net>
44524         * crypt/Makefile: Move test targets after toplevel Rules
44525         inclusion.  Grab any necessary sysdep routines when linking.
44526         * crypt/md5.c (md5_process_block): Remove define, we will always
44527         name it __md5_process_block.
44528         (md5_finish_ctx): Update md5_process_block call.
44529         (md5_stream): Likewise.
44530         (md5_process_bytes): Likewise.
44531         (md5_process_block): Rename to __md5_process_block and move to ...
44532         * crypt/md5-block.c: ... here.
44533         * crypt/sha256.c (sha256_process_block): Move to ...
44534         * crypt/sha256-block.c: ... here.
44535         * crypt/sha512.c (sha512_process_block): Move to ...
44536         * crypt/sha512-block.c: ... here.
44537         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44538         path.
44539         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44540         * sysdeps/sparc/sparc64/multiarch/Makefile
44541         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44542         crypt subdir.
44543         (localedef-aux): Add md5 crypto assembler when in locale subdir.
44544         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44545         multiarch changes.
44546         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44547         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44548         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44549         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44550         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44551         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44552         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44553         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44554         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44555         file.
44556         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44557         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44558         file.
44559         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44561 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
44563         * timezone/tzselect.ksh: Update from tzcode git revision
44564         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44565         * timezone/zdump.c: Likewise.
44566         * timezone/zic.c: Likewise.
44567         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44568         in TZVERSION setting, not $(PKGVERSION).
44569         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
44570         REPORT_BUGS_TO settings.
44572         [BZ #14838]
44573         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44574         macro.
44576 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44578         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44579         detection to immediately after _FP_ROUND().
44580         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44581         bits are 0.
44583 2012-11-11  David S. Miller  <davem@davemloft.net>
44585         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44586         inttypes.h
44587         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44588         __close rather than their public counterparts.
44590 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
44592         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44593         file.
44594         [UNIX98] (sem_timedwait): Do not expect.
44595         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44596         [XPG4 || UNIX98] (sockatmark): Do not expect.
44597         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44598         (clock_getcpuclockid): Do not expect.
44599         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44600         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44601         Do not expect.
44602         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44603         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44604         [UNIX98] (vwscanf): Likewise.
44605         [UNIX98] (vswscanf): Likewise.
44607 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
44609         * timezone/version.h: Remove file.
44610         * timezone/README: Do not refer to version.h.
44611         * timezone/Makefile ($(objpfx)zic.o): New dependency on
44612         $(objpfx)version.h.
44613         ($(objpfx)zdump.o): Likewise.
44614         ($(objpfx)version.h): New target.
44616         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44617         2012i.
44618         * timezone/README: Don't mention modification to tzselect.ksh.
44619         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44620         work on unmodified tzselect.ksh.  Substitute version numbers in
44621         tzselect.ksh.
44623         * Makefile (format-me): Remove.
44624         (INSTALL): Adjust indentation.  Use commands directly instead of
44625         using $(format-me).
44627         * aclocal.m4 (ACX_PKGVERSION): New macro.
44628         (ACX_BUGURL): Likewise.
44629         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44630         (PKGVERSION): New AC_DEFINE_UNQUOTED.
44631         (REPORT_BUGS_TO): Likewise.
44632         * configure: Regenerated.
44633         * config.h.in (PKGVERSION): New macro.
44634         (REPORT_BUGS_TO): Likewise.
44635         * config.make.in (PKGVERSION): New variable.
44636         (PKGVERSION_TEXI): Likewise.
44637         (REPORT_BUGS_TO): Likewise.
44638         (REPORT_BUGS_TEXI): Likewise.
44639         * Makefile (format-me): Use -I$(common-objpfx)manual.
44640         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44641         ($(common-objpfx)manual/%): New target.
44642         (manual/%): Remove target.
44643         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44644         (print_version): Use PKGVERSION.
44645         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44646         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44647         and REPORT_BUGS_TO.
44648         ($(objpfx)xtrace): Likewise.
44649         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44650         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44651         (print_version): Use PKGVERSION.
44652         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44653         (do_version): Use PKGVERSION.
44654         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44655         REPORT_BUGS_TO.
44656         (common-ldd-rewrite): Likewise.
44657         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44658         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44659         (print_version): Use PKGVERSION.
44660         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44661         * elf/pldd.c (argp_program_bug_address): Remove variable.
44662         (more_help): New function.
44663         (argp): Use more_help.
44664         (print_version): Use PKGVERSION.
44665         * elf/sln.c (main): Use PKGVERSION.
44666         (usage): Use REPORT_BUGS_TO.
44667         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44668         (top level): Use PKGVERSION.
44669         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44670         (print_version): Use PKGVERSION.
44671         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44672         (print_version): Use PKGVERSION.
44673         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44674         (print_version): Use PKGVERSION.
44675         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44676         (print_version): Use PKGVERSION.
44677         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44678         (print_version): Use PKGVERSION.
44679         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44680         (print_version): Use PKGVERSION.
44681         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44682         and BUGURL.
44683         ($(objpfx)memusage): Likewise.
44684         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44685         (do_version): Use PKGVERSION.
44686         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44687         (print_version): Use PKGVERSION.
44688         * malloc/mtrace.pl ($PACKAGE): Remove variable.
44689         ($PKGVERSION): New variable.
44690         ($REPORT_BUGS_TO): Likewise.
44691         (usage): Use $REPORT_BUGS_TO.
44692         (top level): Use $PKGVERSION.
44693         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44694         ($(objpfx)pkgvers.texi): New rule.
44695         ($(objpfx)stamp-pkgvers): Likewise.
44696         * manual/install.texi: Include pkgvers.texi.
44697         (--with-pkgversion): Document new configure option.
44698         (--with-bugurl): Likewise.
44699         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44700         than necessarily for this particular distribution.  Use
44701         REPORT_BUGS_TO for where to report bugs.
44702         * INSTALL: Regenerated.
44703         * manual/libc.texinfo: Include pkgvers.texi.
44704         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44705         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44706         (print_version): Use PKGVERSION.
44707         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44708         (print_version): Use PKGVERSION.
44709         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44710         (print_version): Use PKGVERSION.
44711         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44712         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44713         macro.
44714         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44715         (print_version): Use PKGVERSION.
44716         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44717         (print_version): Use PKGVERSION.
44718         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44719         and PKGVERSION.
44721         * timezone/checktab.awk: Update from tzcode 2012i.
44722         * timezone/ialloc.c: Likewise.
44723         * timezone/private.h: Likewise.
44724         * timezone/scheck.c: Likewise.
44725         * timezone/tzfile.h: Likewise.
44726         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44727         (TZVERSION): Hardcode tzcode version number.
44728         * timezone/zdump.c: Update from tzcode 2012i.
44729         * timezone/zic.c: Likewise.
44730         * timezone/version.h: New file.
44731         * timezone/README: Describe version.h.  Update upstream location.
44733         [BZ #14824]
44734         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44735         (mktemp): Enable declaration.
44736         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44737         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44738         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44739         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44740         Likewise.
44741         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44742         Likewise.
44743         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44744         Likewise.
44745         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44746         Likewise.
44747         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44748         Likewise.
44749         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44750         Likewise.
44752         [BZ #14821]
44753         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44754         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
44755         for copies of such integer values.
44756         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44757         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44759 2012-11-09  Andreas Jaeger  <aj@suse.de>
44761         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44762         definitions and declarations that are provided by
44763         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44765 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44767         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44768         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44769         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44770         definition.
44772 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44774         * elf/elf.h: Update comment before AArch64 relocations.
44776 2012-11-07  David S. Miller  <davem@davemloft.net>
44778         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44779         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44780         (__start_context): Declare.
44781         (__makecontext_ret): Delete.
44782         (__makecontext): Hook up __start_context instead of
44783         __makecontext_ret.
44784         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44785         (sysdep_routines): Add __start_context when in stdlib.
44787 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44789         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44790         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44791         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
44792         hardcoded "nm".
44793         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
44794         (READELF): New variable.  Use it instead of hardcoded "readelf".
44796 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
44798         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44799         * sysdeps/x86/Makefile: Here.
44800         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44801         * sysdeps/x86/tst-xmmymm.sh: This.
44803 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
44805         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44806         expectations.
44807         [UNIX98] (pthread_barrier_t): Do not expect.
44808         [UNIX98] (pthread_barrierattr_t): Likewise.
44809         [UNIX98] (pthread_spinlock_t): Likewise.
44810         [UNIX98] (pthread_barrier_destroy): Likewise.
44811         [UNIX98] (pthread_barrier_init): Likewise.
44812         [UNIX98] (pthread_barrier_wait): Likewise.
44813         [UNIX98] (pthread_barrierattr_destroy): Likewise.
44814         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44815         [UNIX98] (pthread_barrierattr_init): Likewise.
44816         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44817         [UNIX98] (pthread_getcpuclockid): Likewise.
44818         [UNIX98] (pthread_mutex_timedlock): Likewise.
44819         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44820         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44821         [UNIX98] (pthread_sigmask): Likewise.
44822         [UNIX98] (pthread_spin_destroy): Likewise.
44823         [UNIX98] (pthread_spin_init): Likewise.
44824         [UNIX98] (pthread_spin_lock): Likewise.
44825         [UNIX98] (pthread_spin_trylock): Likewise.
44826         [UNIX98] (pthread_spin_unlock): Likewise.
44827         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44828         Do not expect.
44829         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44830         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44831         [XPG3 || XPG4] (pthread_cond_t): Likewise.
44832         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44833         [XPG3 || XPG4] (pthread_key_t): Likewise.
44834         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44835         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44836         [XPG3 || XPG4] (pthread_once_t): Likewise.
44837         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44838         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44839         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44840         [XPG3 || XPG4] (pthread_t): Likewise.
44842         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44843         not expect.
44844         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44846         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44847         Change function return type to int.
44849         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44850         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
44851         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
44852         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
44853         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
44854         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
44855         [!POSIX] (posix_madvise): Likewise.
44856         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
44857         && !UNIX98].
44858         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
44859         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
44860         (mode_t): Likewise.
44861         (posix_mem_offset): Likewise.
44862         (posix_typed_mem_get_info): Likewise.
44863         (posix_typed_mem_open): Likewise.
44865         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
44866         Change condition to [XOPEN2K8].
44868         * conform/conformtest.pl: Preprocess allow-header data with -x c
44869         instead of from stdin.
44870         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
44871         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
44872         [C99-based standards] (cerfc): Likewise.
44873         [C99-based standards] (cexp2): Likewise.
44874         [C99-based standards] (cexpm1): Likewise.
44875         [C99-based standards] (clog10): Likewise.
44876         [C99-based standards] (clog1p): Likewise.
44877         [C99-based standards] (clog2): Likewise.
44878         [C99-based standards] (clgamma): Likewise.
44879         [C99-based standards] (ctgamma): Likewise.
44880         [C99-based standards] (cerff): Likewise.
44881         [C99-based standards] (cerfcf): Likewise.
44882         [C99-based standards] (cexp2f): Likewise.
44883         [C99-based standards] (cexpm1f): Likewise.
44884         [C99-based standards] (clog10f): Likewise.
44885         [C99-based standards] (clog1pf): Likewise.
44886         [C99-based standards] (clog2f): Likewise.
44887         [C99-based standards] (clgammaf): Likewise.
44888         [C99-based standards] (ctgammaf): Likewise.
44889         [C99-based standards] (cerfl): Likewise.
44890         [C99-based standards] (cerfcl): Likewise.
44891         [C99-based standards] (cexp2l): Likewise.
44892         [C99-based standards] (cexpm1l): Likewise.
44893         [C99-based standards] (clog10l): Likewise.
44894         [C99-based standards] (clog1pl): Likewise.
44895         [C99-based standards] (clog2l): Likewise.
44896         [C99-based standards] (clgammal): Likewise.
44897         [C99-based standards] (ctgammal): Likewise.
44898         * conform/data/inttypes.h-data [C99-based standards]: Include
44899         stdint.h-data.  Remove all expectations for stdint.h contents.
44900         [C99-based standards] (PRI*): Do not allow.
44901         [C99-based standards] (SCN*): Likewise.
44902         [C99-based standards] (*_t): Likewise.
44903         [C99-based-standards] (PRId8): Expect macro.
44904         [C99-based-standards] (PRIi8): Likewise.
44905         [C99-based-standards] (PRIo8): Likewise.
44906         [C99-based-standards] (PRIu8): Likewise.
44907         [C99-based-standards] (PRIx8): Likewise.
44908         [C99-based-standards] (PRIX8): Likewise.
44909         [C99-based-standards] (SCNd8): Likewise.
44910         [C99-based-standards] (SCNi8): Likewise.
44911         [C99-based-standards] (SCNo8): Likewise.
44912         [C99-based-standards] (SCNu8): Likewise.
44913         [C99-based-standards] (SCNx8): Likewise.
44914         [C99-based-standards] (PRIdLEAST8): Likewise.
44915         [C99-based-standards] (PRIiLEAST8): Likewise.
44916         [C99-based-standards] (PRIoLEAST8): Likewise.
44917         [C99-based-standards] (PRIuLEAST8): Likewise.
44918         [C99-based-standards] (PRIxLEAST8): Likewise.
44919         [C99-based-standards] (PRIXLEAST8): Likewise.
44920         [C99-based-standards] (SCNdLEAST8): Likewise.
44921         [C99-based-standards] (SCNiLEAST8): Likewise.
44922         [C99-based-standards] (SCNoLEAST8): Likewise.
44923         [C99-based-standards] (SCNuLEAST8): Likewise.
44924         [C99-based-standards] (SCNxLEAST8): Likewise.
44925         [C99-based-standards] (PRIdFAST8): Likewise.
44926         [C99-based-standards] (PRIiFAST8): Likewise.
44927         [C99-based-standards] (PRIoFAST8): Likewise.
44928         [C99-based-standards] (PRIuFAST8): Likewise.
44929         [C99-based-standards] (PRIxFAST8): Likewise.
44930         [C99-based-standards] (PRIXFAST8): Likewise.
44931         [C99-based-standards] (SCNdFAST8): Likewise.
44932         [C99-based-standards] (SCNiFAST8): Likewise.
44933         [C99-based-standards] (SCNoFAST8): Likewise.
44934         [C99-based-standards] (SCNuFAST8): Likewise.
44935         [C99-based-standards] (SCNxFAST8): Likewise.
44936         [C99-based-standards] (PRId16): Likewise.
44937         [C99-based-standards] (PRIi16): Likewise.
44938         [C99-based-standards] (PRIo16): Likewise.
44939         [C99-based-standards] (PRIu16): Likewise.
44940         [C99-based-standards] (PRIx16): Likewise.
44941         [C99-based-standards] (PRIX16): Likewise.
44942         [C99-based-standards] (SCNd16): Likewise.
44943         [C99-based-standards] (SCNi16): Likewise.
44944         [C99-based-standards] (SCNo16): Likewise.
44945         [C99-based-standards] (SCNu16): Likewise.
44946         [C99-based-standards] (SCNx16): Likewise.
44947         [C99-based-standards] (PRIdLEAST16): Likewise.
44948         [C99-based-standards] (PRIiLEAST16): Likewise.
44949         [C99-based-standards] (PRIoLEAST16): Likewise.
44950         [C99-based-standards] (PRIuLEAST16): Likewise.
44951         [C99-based-standards] (PRIxLEAST16): Likewise.
44952         [C99-based-standards] (PRIXLEAST16): Likewise.
44953         [C99-based-standards] (SCNdLEAST16): Likewise.
44954         [C99-based-standards] (SCNiLEAST16): Likewise.
44955         [C99-based-standards] (SCNoLEAST16): Likewise.
44956         [C99-based-standards] (SCNuLEAST16): Likewise.
44957         [C99-based-standards] (SCNxLEAST16): Likewise.
44958         [C99-based-standards] (PRIdFAST16): Likewise.
44959         [C99-based-standards] (PRIiFAST16): Likewise.
44960         [C99-based-standards] (PRIoFAST16): Likewise.
44961         [C99-based-standards] (PRIuFAST16): Likewise.
44962         [C99-based-standards] (PRIxFAST16): Likewise.
44963         [C99-based-standards] (PRIXFAST16): Likewise.
44964         [C99-based-standards] (SCNdFAST16): Likewise.
44965         [C99-based-standards] (SCNiFAST16): Likewise.
44966         [C99-based-standards] (SCNoFAST16): Likewise.
44967         [C99-based-standards] (SCNuFAST16): Likewise.
44968         [C99-based-standards] (SCNxFAST16): Likewise.
44969         [C99-based-standards] (PRId32): Likewise.
44970         [C99-based-standards] (PRIi32): Likewise.
44971         [C99-based-standards] (PRIo32): Likewise.
44972         [C99-based-standards] (PRIu32): Likewise.
44973         [C99-based-standards] (PRIx32): Likewise.
44974         [C99-based-standards] (PRIX32): Likewise.
44975         [C99-based-standards] (SCNd32): Likewise.
44976         [C99-based-standards] (SCNi32): Likewise.
44977         [C99-based-standards] (SCNo32): Likewise.
44978         [C99-based-standards] (SCNu32): Likewise.
44979         [C99-based-standards] (SCNx32): Likewise.
44980         [C99-based-standards] (PRIdLEAST32): Likewise.
44981         [C99-based-standards] (PRIiLEAST32): Likewise.
44982         [C99-based-standards] (PRIoLEAST32): Likewise.
44983         [C99-based-standards] (PRIuLEAST32): Likewise.
44984         [C99-based-standards] (PRIxLEAST32): Likewise.
44985         [C99-based-standards] (PRIXLEAST32): Likewise.
44986         [C99-based-standards] (SCNdLEAST32): Likewise.
44987         [C99-based-standards] (SCNiLEAST32): Likewise.
44988         [C99-based-standards] (SCNoLEAST32): Likewise.
44989         [C99-based-standards] (SCNuLEAST32): Likewise.
44990         [C99-based-standards] (SCNxLEAST32): Likewise.
44991         [C99-based-standards] (PRIdFAST32): Likewise.
44992         [C99-based-standards] (PRIiFAST32): Likewise.
44993         [C99-based-standards] (PRIoFAST32): Likewise.
44994         [C99-based-standards] (PRIuFAST32): Likewise.
44995         [C99-based-standards] (PRIxFAST32): Likewise.
44996         [C99-based-standards] (PRIXFAST32): Likewise.
44997         [C99-based-standards] (SCNdFAST32): Likewise.
44998         [C99-based-standards] (SCNiFAST32): Likewise.
44999         [C99-based-standards] (SCNoFAST32): Likewise.
45000         [C99-based-standards] (SCNuFAST32): Likewise.
45001         [C99-based-standards] (SCNxFAST32): Likewise.
45002         [C99-based-standards] (PRId64): Likewise.
45003         [C99-based-standards] (PRIi64): Likewise.
45004         [C99-based-standards] (PRIo64): Likewise.
45005         [C99-based-standards] (PRIu64): Likewise.
45006         [C99-based-standards] (PRIx64): Likewise.
45007         [C99-based-standards] (PRIX64): Likewise.
45008         [C99-based-standards] (SCNd64): Likewise.
45009         [C99-based-standards] (SCNi64): Likewise.
45010         [C99-based-standards] (SCNo64): Likewise.
45011         [C99-based-standards] (SCNu64): Likewise.
45012         [C99-based-standards] (SCNx64): Likewise.
45013         [C99-based-standards] (PRIdLEAST64): Likewise.
45014         [C99-based-standards] (PRIiLEAST64): Likewise.
45015         [C99-based-standards] (PRIoLEAST64): Likewise.
45016         [C99-based-standards] (PRIuLEAST64): Likewise.
45017         [C99-based-standards] (PRIxLEAST64): Likewise.
45018         [C99-based-standards] (PRIXLEAST64): Likewise.
45019         [C99-based-standards] (SCNdLEAST64): Likewise.
45020         [C99-based-standards] (SCNiLEAST64): Likewise.
45021         [C99-based-standards] (SCNoLEAST64): Likewise.
45022         [C99-based-standards] (SCNuLEAST64): Likewise.
45023         [C99-based-standards] (SCNxLEAST64): Likewise.
45024         [C99-based-standards] (PRIdFAST64): Likewise.
45025         [C99-based-standards] (PRIiFAST64): Likewise.
45026         [C99-based-standards] (PRIoFAST64): Likewise.
45027         [C99-based-standards] (PRIuFAST64): Likewise.
45028         [C99-based-standards] (PRIxFAST64): Likewise.
45029         [C99-based-standards] (PRIXFAST64): Likewise.
45030         [C99-based-standards] (SCNdFAST64): Likewise.
45031         [C99-based-standards] (SCNiFAST64): Likewise.
45032         [C99-based-standards] (SCNoFAST64): Likewise.
45033         [C99-based-standards] (SCNuFAST64): Likewise.
45034         [C99-based-standards] (SCNxFAST64): Likewise.
45035         [C99-based-standards] (PRIdMAX): Likewise.
45036         [C99-based-standards] (PRIiMAX): Likewise.
45037         [C99-based-standards] (PRIoMAX): Likewise.
45038         [C99-based-standards] (PRIuMAX): Likewise.
45039         [C99-based-standards] (PRIxMAX): Likewise.
45040         [C99-based-standards] (PRIXMAX): Likewise.
45041         [C99-based-standards] (SCNdMAX): Likewise.
45042         [C99-based-standards] (SCNiMAX): Likewise.
45043         [C99-based-standards] (SCNoMAX): Likewise.
45044         [C99-based-standards] (SCNuMAX): Likewise.
45045         [C99-based-standards] (SCNxMAX): Likewise.
45046         [C99-based-standards] (PRIdPTR): Likewise.
45047         [C99-based-standards] (PRIiPTR): Likewise.
45048         [C99-based-standards] (PRIoPTR): Likewise.
45049         [C99-based-standards] (PRIuPTR): Likewise.
45050         [C99-based-standards] (PRIxPTR): Likewise.
45051         [C99-based-standards] (PRIXPTR): Likewise.
45052         [C99-based-standards] (SCNdPTR): Likewise.
45053         [C99-based-standards] (SCNiPTR): Likewise.
45054         [C99-based-standards] (SCNoPTR): Likewise.
45055         [C99-based-standards] (SCNuPTR): Likewise.
45056         [C99-based-standards] (SCNxPTR): Likewise.
45057         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
45058         allow.
45059         * conform/data/stdint.h-data: Update comments to clarify
45060         requirements.
45061         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
45062         type.
45063         [C99-based standards] (INT8_MAX): Likewise.
45064         [C99-based standards] (INT16_MIN): Likewise.
45065         [C99-based standards] (INT16_MAX): Likewise.
45066         [C99-based standards] (INT32_MIN): Likewise.
45067         [C99-based standards] (INT32_MAX): Likewise.
45068         [C99-based standards] (INT64_MIN): Likewise.
45069         [C99-based standards] (INT64_MAX): Likewise.
45070         [C99-based standards] (UINT8_MAX): Likewise.
45071         [C99-based standards] (UINT16_MAX): Likewise.
45072         [C99-based standards] (UINT32_MAX): Likewise.
45073         [C99-based standards] (UINT64_MAX): Likewise.
45074         [C99-based standards] (INT_LEAST8_MIN): Likewise.
45075         [C99-based standards] (INT_LEAST8_MAX): Likewise.
45076         [C99-based standards] (INT_LEAST16_MIN): Likewise.
45077         [C99-based standards] (INT_LEAST16_MAX): Likewise.
45078         [C99-based standards] (INT_LEAST32_MIN): Likewise.
45079         [C99-based standards] (INT_LEAST32_MAX): Likewise.
45080         [C99-based standards] (INT_LEAST64_MIN): Likewise.
45081         [C99-based standards] (INT_LEAST64_MAX): Likewise.
45082         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
45083         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
45084         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
45085         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
45086         [C99-based standards] (INT_FAST8_MIN): Likewise.
45087         [C99-based standards] (INT_FAST8_MAX): Likewise.
45088         [C99-based standards] (INT_FAST16_MIN): Likewise.
45089         [C99-based standards] (INT_FAST16_MAX): Likewise.
45090         [C99-based standards] (INT_FAST32_MIN): Likewise.
45091         [C99-based standards] (INT_FAST32_MAX): Likewise.
45092         [C99-based standards] (INT_FAST64_MIN): Likewise.
45093         [C99-based standards] (INT_FAST64_MAX): Likewise.
45094         [C99-based standards] (UINT_FAST8_MAX): Likewise.
45095         [C99-based standards] (UINT_FAST16_MAX): Likewise.
45096         [C99-based standards] (UINT_FAST32_MAX): Likewise.
45097         [C99-based standards] (UINT_FAST64_MAX): Likewise.
45098         [C99-based standards] (INTPTR_MIN): Likewise.
45099         [C99-based standards] (INTPTR_MAX): Likewise.
45100         [C99-based standards] (UINTPTR_MAX): Likewise.
45101         [C99-based standards] (INTMAX_MIN): Likewise.
45102         [C99-based standards] (INTMAX_MAX): Likewise.
45103         [C99-based standards] (UINTMAX_MAX): Likewise.
45104         [C99-based standards] (PTRDIFF_MIN): Likewise.
45105         [C99-based standards] (PTRDIFF_MAX): Likewise.
45106         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
45107         [C99-based standards] (SIZE_MAX): Likewise.
45108         [C99-based standards] (WCHAR_MAX): Likewise.
45109         [C99-based standards] (WINT_MAX): Likewise.
45110         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
45111         constraint on value.
45112         [C99-based standards] (WCHAR_MIN): Likewise.
45113         [C99-based standards] (WINT_MIN): Likewise.
45114         [C99-based standards] (*_t): Allow.
45115         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
45116         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
45117         Include math.h-data and complex.h-data.  Remove all expectations
45118         of math.h and complex.h contents.
45119         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
45120         at end of line.
45121         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
45122         (struct tm): Expect tag.
45123         [C99-based-standards] (wcstof): Expect function.
45124         [C99-based-standards] (wcstold): Likewise.
45125         [C99-based-standards] (wcstoll): Likewise.
45126         [C99-based-standards] (wcstoull): Likewise.
45127         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
45128         macro-int-constant.  Specify type.
45129         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
45130         constraint on value.
45131         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
45132         Specify type.
45133         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
45134         Specify value.
45135         [ISO C standards]: Do not allow headers.
45136         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
45137         wcs[abcdefghijklmnopqrstuvwxyz]*.
45138         [ISO C standards] (*_t): Do not allow.
45139         * conform/data/wctype.h-data [C99-based standards] (iswblank):
45140         Expect function.
45141         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
45142         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
45143         Specify type.
45144         [ISO C standards]: Do not allow headers.
45145         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
45146         is[abcdefghijklmnopqrstuvwxyz]*.
45147         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
45148         to[abcdefghijklmnopqrstuvwxyz]*.
45149         [ISO C standards] (*_t): Do not allow.
45150         * conform/data/stdalign.h-data: New file.
45151         * conform/data/stdbool.h-data: Likewise.
45152         * conform/data/stdnoreturn.h-data: Likewise.
45154 2012-11-07  Roland McGrath  <roland@hack.frob.com>
45156         [BZ #14815]
45157         * manual/filesys.texi (Directory Entries): Typo fix.
45158         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
45160 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45162         * elf/elf.h (EM_AARCH64): New macro.
45163         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
45164         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
45165         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
45166         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
45167         (R_AARCH64_TLSDESC): Likewise.
45168         (NT_ARM_TLS): Likewise.
45169         (NT_ARM_HW_BREAK): Likewise.
45170         (NT_ARM_HW_WATCH): Likewise.
45172 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
45174         [BZ #14811]
45175         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
45176         (__ieee754_powl): Saturate nonzero exponents with absolute value
45177         below 0x1p-79 to +/- 0x1p-79.
45178         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
45179         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
45180         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
45181         nonzero exponents with absolute value below 0x1p-32 to +/-
45182         0x1p-32.
45183         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
45184         (__ieee754_powl): Saturate nonzero exponents with absolute value
45185         below 0x1p-79 to +/- 0x1p-79.
45186         * math/libm-test.inc (pow_test): Add more tests.
45188 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45190         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
45191         _dl_s390_cap_flags with kernel. Increase string length.
45192         (_dl_s390_platforms): Add z196 and zEC12.
45194 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
45196         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
45197         Change XOPEN21K to XOPEN2K.
45199 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
45201         * string/memmove.c: Use memcpy when possible.
45203 2012-11-06  Andreas Jaeger  <aj@suse.de>
45205         * po/eo.po: Update from translation team.
45207 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
45209         [BZ #14793]
45210         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
45211         exponent and small x and y exponents, scale x or y up.  Increase
45212         by 2 the exponent used in scaling up.
45213         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45214         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45215         * math/libm-test.inc (fma_test): Add more tests.
45216         (fma_test_towardzero): Likewise.
45217         (fma_test_downward): Likewise.
45218         (fma_test_upward): Likewise.
45220 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
45222         [BZ #14805]
45223         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
45224         fenv_t *.
45226         [BZ #14801]
45227         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
45228         namespace for names of struct fields.
45229         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
45230         fenv_t fields.
45231         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
45232         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
45234 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45236         [BZ #3665]
45237         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
45239 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
45241         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
45242         PTR_DEMANGLE.
45244         [BZ #5246]
45245         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
45246         PTR_DEMANGLE.
45248 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
45250         [BZ #14797]
45251         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
45252         definitely overflow as x * y not x * y + z.
45253         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45254         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45255         * math/libm-test.inc (fma_test): Add more tests.
45256         (fma_test_towardzero): Likewise.
45257         (fma_test_downward): Likewise.
45258         (fma_test_upward): Likewise.
45260 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
45262         [BZ #157]
45264         * include/stub-tag.h: Remove file.
45265         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
45266         '#include' of it.
45267         * manual/maint.texi (Porting): Don't reference it.
45268         * Makerules ($(objpfx)stubs): Likewise.
45269         * dirent/closedir.c: Don't include <stub-tag.h>.
45270         * dirent/dirfd.c: Likewise.
45271         * dirent/fdopendir.c: Likewise.
45272         * dirent/getdents.c: Likewise.
45273         * dirent/getdents64.c: Likewise.
45274         * dirent/opendir.c: Likewise.
45275         * dirent/readdir.c: Likewise.
45276         * dirent/readdir64.c: Likewise.
45277         * dirent/readdir64_r.c: Likewise.
45278         * dirent/readdir_r.c: Likewise.
45279         * dirent/rewinddir.c: Likewise.
45280         * dirent/seekdir.c: Likewise.
45281         * dirent/telldir.c: Likewise.
45282         * gmon/profil.c: Likewise.
45283         * grp/setgroups.c: Likewise.
45284         * inet/if_index.c: Likewise.
45285         * io/access.c: Likewise.
45286         * io/chdir.c: Likewise.
45287         * io/chmod.c: Likewise.
45288         * io/chown.c: Likewise.
45289         * io/close.c: Likewise.
45290         * io/dup.c: Likewise.
45291         * io/dup2.c: Likewise.
45292         * io/dup3.c: Likewise.
45293         * io/euidaccess.c: Likewise.
45294         * io/faccessat.c: Likewise.
45295         * io/fchdir.c: Likewise.
45296         * io/fchmod.c: Likewise.
45297         * io/fchmodat.c: Likewise.
45298         * io/fchown.c: Likewise.
45299         * io/fchownat.c: Likewise.
45300         * io/fcntl.c: Likewise.
45301         * io/flock.c: Likewise.
45302         * io/fstatfs.c: Likewise.
45303         * io/fstatfs64.c: Likewise.
45304         * io/fstatvfs.c: Likewise.
45305         * io/fstatvfs64.c: Likewise.
45306         * io/futimens.c: Likewise.
45307         * io/fxstat.c: Likewise.
45308         * io/fxstat64.c: Likewise.
45309         * io/fxstatat.c: Likewise.
45310         * io/fxstatat64.c: Likewise.
45311         * io/getcwd.c: Likewise.
45312         * io/isatty.c: Likewise.
45313         * io/lchmod.c: Likewise.
45314         * io/lchown.c: Likewise.
45315         * io/link.c: Likewise.
45316         * io/linkat.c: Likewise.
45317         * io/lseek.c: Likewise.
45318         * io/lseek64.c: Likewise.
45319         * io/lxstat64.c: Likewise.
45320         * io/mkdir.c: Likewise.
45321         * io/mkdirat.c: Likewise.
45322         * io/mkfifo.c: Likewise.
45323         * io/mkfifoat.c: Likewise.
45324         * io/open.c: Likewise.
45325         * io/open64.c: Likewise.
45326         * io/openat.c: Likewise.
45327         * io/openat64.c: Likewise.
45328         * io/pipe.c: Likewise.
45329         * io/pipe2.c: Likewise.
45330         * io/poll.c: Likewise.
45331         * io/posix_fadvise.c: Likewise.
45332         * io/posix_fadvise64.c: Likewise.
45333         * io/posix_fallocate.c: Likewise.
45334         * io/posix_fallocate64.c: Likewise.
45335         * io/read.c: Likewise.
45336         * io/readlink.c: Likewise.
45337         * io/readlinkat.c: Likewise.
45338         * io/rmdir.c: Likewise.
45339         * io/sendfile.c: Likewise.
45340         * io/sendfile64.c: Likewise.
45341         * io/statfs.c: Likewise.
45342         * io/statfs64.c: Likewise.
45343         * io/statvfs.c: Likewise.
45344         * io/statvfs64.c: Likewise.
45345         * io/symlink.c: Likewise.
45346         * io/symlinkat.c: Likewise.
45347         * io/ttyname.c: Likewise.
45348         * io/ttyname_r.c: Likewise.
45349         * io/umask.c: Likewise.
45350         * io/unlink.c: Likewise.
45351         * io/unlinkat.c: Likewise.
45352         * io/utime.c: Likewise.
45353         * io/utimensat.c: Likewise.
45354         * io/write.c: Likewise.
45355         * io/xmknod.c: Likewise.
45356         * io/xmknodat.c: Likewise.
45357         * io/xstat.c: Likewise.
45358         * io/xstat64.c: Likewise.
45359         * login/getpt.c: Likewise.
45360         * login/grantpt.c: Likewise.
45361         * login/unlockpt.c: Likewise.
45362         * math/e_acoshl.c: Likewise.
45363         * math/e_acosl.c: Likewise.
45364         * math/e_asinl.c: Likewise.
45365         * math/e_atan2l.c: Likewise.
45366         * math/e_atanhl.c: Likewise.
45367         * math/e_coshl.c: Likewise.
45368         * math/e_expl.c: Likewise.
45369         * math/e_fmodl.c: Likewise.
45370         * math/e_gammal_r.c: Likewise.
45371         * math/e_hypotl.c: Likewise.
45372         * math/e_j0l.c: Likewise.
45373         * math/e_j1l.c: Likewise.
45374         * math/e_jnl.c: Likewise.
45375         * math/e_lgammal_r.c: Likewise.
45376         * math/e_log10l.c: Likewise.
45377         * math/e_log2l.c: Likewise.
45378         * math/e_logl.c: Likewise.
45379         * math/e_powl.c: Likewise.
45380         * math/e_rem_pio2l.c: Likewise.
45381         * math/e_sinhl.c: Likewise.
45382         * math/e_sqrtl.c: Likewise.
45383         * math/fclrexcpt.c: Likewise.
45384         * math/fedisblxcpt.c: Likewise.
45385         * math/feenablxcpt.c: Likewise.
45386         * math/fegetenv.c: Likewise.
45387         * math/fegetexcept.c: Likewise.
45388         * math/fegetround.c: Likewise.
45389         * math/feholdexcpt.c: Likewise.
45390         * math/fesetenv.c: Likewise.
45391         * math/fesetround.c: Likewise.
45392         * math/feupdateenv.c: Likewise.
45393         * math/fgetexcptflg.c: Likewise.
45394         * math/fraiseexcpt.c: Likewise.
45395         * math/fsetexcptflg.c: Likewise.
45396         * math/ftestexcept.c: Likewise.
45397         * math/k_cosl.c: Likewise.
45398         * math/k_rem_pio2l.c: Likewise.
45399         * math/k_sinl.c: Likewise.
45400         * math/k_tanl.c: Likewise.
45401         * math/s_asinhl.c: Likewise.
45402         * math/s_atanl.c: Likewise.
45403         * math/s_cbrtl.c: Likewise.
45404         * math/s_erfl.c: Likewise.
45405         * math/s_expm1l.c: Likewise.
45406         * math/s_log1pl.c: Likewise.
45407         * math/s_tanhl.c: Likewise.
45408         * misc/acct.c: Likewise.
45409         * misc/brk.c: Likewise.
45410         * misc/chflags.c: Likewise.
45411         * misc/chroot.c: Likewise.
45412         * misc/fchflags.c: Likewise.
45413         * misc/fgetxattr.c: Likewise.
45414         * misc/flistxattr.c: Likewise.
45415         * misc/fremovexattr.c: Likewise.
45416         * misc/fsetxattr.c: Likewise.
45417         * misc/fsync.c: Likewise.
45418         * misc/ftruncate.c: Likewise.
45419         * misc/futimes.c: Likewise.
45420         * misc/futimesat.c: Likewise.
45421         * misc/getdomain.c: Likewise.
45422         * misc/getdtsz.c: Likewise.
45423         * misc/gethostid.c: Likewise.
45424         * misc/gethostname.c: Likewise.
45425         * misc/getloadavg.c: Likewise.
45426         * misc/getpagesize.c: Likewise.
45427         * misc/getsysstats.c: Likewise.
45428         * misc/getxattr.c: Likewise.
45429         * misc/gtty.c: Likewise.
45430         * misc/ioctl.c: Likewise.
45431         * misc/lgetxattr.c: Likewise.
45432         * misc/listxattr.c: Likewise.
45433         * misc/llistxattr.c: Likewise.
45434         * misc/lremovexattr.c: Likewise.
45435         * misc/lsetxattr.c: Likewise.
45436         * misc/lutimes.c: Likewise.
45437         * misc/madvise.c: Likewise.
45438         * misc/mincore.c: Likewise.
45439         * misc/mlock.c: Likewise.
45440         * misc/mlockall.c: Likewise.
45441         * misc/mmap.c: Likewise.
45442         * misc/mprotect.c: Likewise.
45443         * misc/msync.c: Likewise.
45444         * misc/munlock.c: Likewise.
45445         * misc/munlockall.c: Likewise.
45446         * misc/munmap.c: Likewise.
45447         * misc/preadv.c: Likewise.
45448         * misc/preadv64.c: Likewise.
45449         * misc/ptrace.c: Likewise.
45450         * misc/pwritev.c: Likewise.
45451         * misc/pwritev64.c: Likewise.
45452         * misc/readv.c: Likewise.
45453         * misc/reboot.c: Likewise.
45454         * misc/remap_file_pages.c: Likewise.
45455         * misc/removexattr.c: Likewise.
45456         * misc/revoke.c: Likewise.
45457         * misc/select.c: Likewise.
45458         * misc/setdomain.c: Likewise.
45459         * misc/setegid.c: Likewise.
45460         * misc/seteuid.c: Likewise.
45461         * misc/sethostid.c: Likewise.
45462         * misc/sethostname.c: Likewise.
45463         * misc/setregid.c: Likewise.
45464         * misc/setreuid.c: Likewise.
45465         * misc/setxattr.c: Likewise.
45466         * misc/sstk.c: Likewise.
45467         * misc/stty.c: Likewise.
45468         * misc/swapoff.c: Likewise.
45469         * misc/swapon.c: Likewise.
45470         * misc/sync.c: Likewise.
45471         * misc/syncfs.c: Likewise.
45472         * misc/syscall.c: Likewise.
45473         * misc/truncate.c: Likewise.
45474         * misc/ualarm.c: Likewise.
45475         * misc/usleep.c: Likewise.
45476         * misc/ustat.c: Likewise.
45477         * misc/utimes.c: Likewise.
45478         * misc/vhangup.c: Likewise.
45479         * misc/writev.c: Likewise.
45480         * posix/_exit.c: Likewise.
45481         * posix/alarm.c: Likewise.
45482         * posix/execve.c: Likewise.
45483         * posix/fexecve.c: Likewise.
45484         * posix/fork.c: Likewise.
45485         * posix/fpathconf.c: Likewise.
45486         * posix/getaddrinfo.c: Likewise.
45487         * posix/getegid.c: Likewise.
45488         * posix/geteuid.c: Likewise.
45489         * posix/getgid.c: Likewise.
45490         * posix/getgroups.c: Likewise.
45491         * posix/getlogin.c: Likewise.
45492         * posix/getlogin_r.c: Likewise.
45493         * posix/getpgid.c: Likewise.
45494         * posix/getpid.c: Likewise.
45495         * posix/getppid.c: Likewise.
45496         * posix/getresgid.c: Likewise.
45497         * posix/getresuid.c: Likewise.
45498         * posix/getsid.c: Likewise.
45499         * posix/getuid.c: Likewise.
45500         * posix/glob64.c: Likewise.
45501         * posix/nanosleep.c: Likewise.
45502         * posix/pathconf.c: Likewise.
45503         * posix/pause.c: Likewise.
45504         * posix/posix_madvise.c: Likewise.
45505         * posix/pread.c: Likewise.
45506         * posix/pread64.c: Likewise.
45507         * posix/pwrite.c: Likewise.
45508         * posix/pwrite64.c: Likewise.
45509         * posix/sched_getaffinity.c: Likewise.
45510         * posix/sched_getp.c: Likewise.
45511         * posix/sched_gets.c: Likewise.
45512         * posix/sched_primax.c: Likewise.
45513         * posix/sched_primin.c: Likewise.
45514         * posix/sched_rr_gi.c: Likewise.
45515         * posix/sched_setaffinity.c: Likewise.
45516         * posix/sched_setp.c: Likewise.
45517         * posix/sched_sets.c: Likewise.
45518         * posix/sched_yield.c: Likewise.
45519         * posix/setgid.c: Likewise.
45520         * posix/setlogin.c: Likewise.
45521         * posix/setpgid.c: Likewise.
45522         * posix/setresgid.c: Likewise.
45523         * posix/setresuid.c: Likewise.
45524         * posix/setsid.c: Likewise.
45525         * posix/setuid.c: Likewise.
45526         * posix/sleep.c: Likewise.
45527         * posix/spawni.c: Likewise.
45528         * posix/sysconf.c: Likewise.
45529         * posix/times.c: Likewise.
45530         * posix/wait.c: Likewise.
45531         * posix/wait3.c: Likewise.
45532         * posix/wait4.c: Likewise.
45533         * posix/waitpid.c: Likewise.
45534         * resolv/gai_sigqueue.c: Likewise.
45535         * resource/getpriority.c: Likewise.
45536         * resource/getrlimit.c: Likewise.
45537         * resource/getrusage.c: Likewise.
45538         * resource/nice.c: Likewise.
45539         * resource/setpriority.c: Likewise.
45540         * resource/setrlimit.c: Likewise.
45541         * resource/ulimit.c: Likewise.
45542         * rt/aio_cancel.c: Likewise.
45543         * rt/aio_fsync.c: Likewise.
45544         * rt/aio_read.c: Likewise.
45545         * rt/aio_sigqueue.c: Likewise.
45546         * rt/aio_suspend.c: Likewise.
45547         * rt/aio_write.c: Likewise.
45548         * rt/clock_getres.c: Likewise.
45549         * rt/clock_gettime.c: Likewise.
45550         * rt/clock_nanosleep.c: Likewise.
45551         * rt/clock_settime.c: Likewise.
45552         * rt/lio_listio.c: Likewise.
45553         * rt/mq_close.c: Likewise.
45554         * rt/mq_getattr.c: Likewise.
45555         * rt/mq_notify.c: Likewise.
45556         * rt/mq_open.c: Likewise.
45557         * rt/mq_receive.c: Likewise.
45558         * rt/mq_send.c: Likewise.
45559         * rt/mq_setattr.c: Likewise.
45560         * rt/mq_timedreceive.c: Likewise.
45561         * rt/mq_timedsend.c: Likewise.
45562         * rt/mq_unlink.c: Likewise.
45563         * rt/shm_open.c: Likewise.
45564         * rt/shm_unlink.c: Likewise.
45565         * rt/timer_create.c: Likewise.
45566         * rt/timer_delete.c: Likewise.
45567         * rt/timer_getoverr.c: Likewise.
45568         * rt/timer_gettime.c: Likewise.
45569         * rt/timer_settime.c: Likewise.
45570         * setjmp/__longjmp.c: Likewise.
45571         * setjmp/setjmp.c: Likewise.
45572         * signal/kill.c: Likewise.
45573         * signal/killpg.c: Likewise.
45574         * signal/raise.c: Likewise.
45575         * signal/sigaction.c: Likewise.
45576         * signal/sigaltstack.c: Likewise.
45577         * signal/sigblock.c: Likewise.
45578         * signal/sigignore.c: Likewise.
45579         * signal/sigintr.c: Likewise.
45580         * signal/signal.c: Likewise.
45581         * signal/sigpause.c: Likewise.
45582         * signal/sigpending.c: Likewise.
45583         * signal/sigqueue.c: Likewise.
45584         * signal/sigreturn.c: Likewise.
45585         * signal/sigset.c: Likewise.
45586         * signal/sigsetmask.c: Likewise.
45587         * signal/sigstack.c: Likewise.
45588         * signal/sigsuspend.c: Likewise.
45589         * signal/sigtimedwait.c: Likewise.
45590         * signal/sigvec.c: Likewise.
45591         * signal/sigwait.c: Likewise.
45592         * signal/sigwaitinfo.c: Likewise.
45593         * signal/sysv_signal.c: Likewise.
45594         * socket/accept.c: Likewise.
45595         * socket/accept4.c: Likewise.
45596         * socket/bind.c: Likewise.
45597         * socket/connect.c: Likewise.
45598         * socket/getpeername.c: Likewise.
45599         * socket/getsockname.c: Likewise.
45600         * socket/getsockopt.c: Likewise.
45601         * socket/isfdtype.c: Likewise.
45602         * socket/listen.c: Likewise.
45603         * socket/recv.c: Likewise.
45604         * socket/recvfrom.c: Likewise.
45605         * socket/recvmsg.c: Likewise.
45606         * socket/send.c: Likewise.
45607         * socket/sendmsg.c: Likewise.
45608         * socket/sendto.c: Likewise.
45609         * socket/setsockopt.c: Likewise.
45610         * socket/shutdown.c: Likewise.
45611         * socket/sockatmark.c: Likewise.
45612         * socket/socket.c: Likewise.
45613         * socket/socketpair.c: Likewise.
45614         * stdio-common/ctermid.c: Likewise.
45615         * stdio-common/cuserid.c: Likewise.
45616         * stdio-common/remove.c: Likewise.
45617         * stdio-common/rename.c: Likewise.
45618         * stdio-common/renameat.c: Likewise.
45619         * stdio-common/tempname.c: Likewise.
45620         * stdlib/getcontext.c: Likewise.
45621         * stdlib/makecontext.c: Likewise.
45622         * stdlib/setcontext.c: Likewise.
45623         * stdlib/swapcontext.c: Likewise.
45624         * stdlib/system.c: Likewise.
45625         * streams/fattach.c: Likewise.
45626         * streams/fdetach.c: Likewise.
45627         * streams/getmsg.c: Likewise.
45628         * streams/getpmsg.c: Likewise.
45629         * streams/putmsg.c: Likewise.
45630         * streams/putpmsg.c: Likewise.
45631         * sysdeps/unix/bsd/getpt.c: Likewise.
45632         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45633         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45634         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45636         Likewise.
45637         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45638         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45639         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45640         * sysvipc/msgctl.c: Likewise.
45641         * sysvipc/msgget.c: Likewise.
45642         * sysvipc/msgrcv.c: Likewise.
45643         * sysvipc/msgsnd.c: Likewise.
45644         * sysvipc/semctl.c: Likewise.
45645         * sysvipc/semget.c: Likewise.
45646         * sysvipc/semop.c: Likewise.
45647         * sysvipc/semtimedop.c: Likewise.
45648         * sysvipc/shmat.c: Likewise.
45649         * sysvipc/shmctl.c: Likewise.
45650         * sysvipc/shmdt.c: Likewise.
45651         * sysvipc/shmget.c: Likewise.
45652         * termios/tcdrain.c: Likewise.
45653         * termios/tcflow.c: Likewise.
45654         * termios/tcflush.c: Likewise.
45655         * termios/tcgetattr.c: Likewise.
45656         * termios/tcgetpgrp.c: Likewise.
45657         * termios/tcsendbrk.c: Likewise.
45658         * termios/tcsetattr.c: Likewise.
45659         * termios/tcsetpgrp.c: Likewise.
45660         * time/adjtime.c: Likewise.
45661         * time/clock.c: Likewise.
45662         * time/getitimer.c: Likewise.
45663         * time/gettimeofday.c: Likewise.
45664         * time/setitimer.c: Likewise.
45665         * time/settimeofday.c: Likewise.
45666         * time/stime.c: Likewise.
45667         * time/time.c: Likewise.
45669 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
45671         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45672         /usr/old/bin.
45674         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45675         instead of spaces.
45676         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45678 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
45680         [BZ #14796]
45681         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45682         FE_TONEAREST before applying Dekker multiplication and Knuth
45683         addition.  Clear inexact exceptions and check for exact zero
45684         results afterwards.
45685         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45686         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45687         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45688         * math/libm-test.inc (fma_test): Add more tests.
45689         (fma_test_towardzero): Likewise.
45690         (fma_test_downward): Likewise.
45691         (fma_test_upward): Likewise.
45692         * sysdeps/generic/math_private.h (default_libc_fesetround): New
45693         function.
45694         (libc_fesetround): New macro.
45695         (libc_fesetroundf): Likewise.
45696         (libc_fesetroundl): Likewise.
45697         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45698         function.
45699         (libc_fesetround_387): Likewise.
45700         (libc_fesetroundf): New macro.
45701         (libc_fesetround): Likewise.
45702         (libc_fesetroundl): Likewise.
45703         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45704         function.
45705         (libc_fesetroundf): New macro.
45706         (libc_fesetround): Likewise.
45707         (libc_fesetroundl): Likewise.
45708         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45709         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45710         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45711         libm_hidden_ver.
45712         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45713         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45714         libm_hidden_def.
45715         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45716         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45717         libm_hidden_ver.
45718         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45719         libm_hidden_def.
45721         [BZ #3439]
45722         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45723         integer constant usable in #if and use that to give value to enum
45724         constant.
45725         (FE_DIVBYZERO): Likewise.
45726         (FE_UNDERFLOW): Likewise.
45727         (FE_OVERFLOW): Likewise.
45728         (FE_INVALID): Likewise.
45729         (FE_INVALID_SNAN): Likewise.
45730         (FE_INVALID_ISI): Likewise.
45731         (FE_INVALID_IDI): Likewise.
45732         (FE_INVALID_ZDZ): Likewise.
45733         (FE_INVALID_IMZ): Likewise.
45734         (FE_INVALID_COMPARE): Likewise.
45735         (FE_INVALID_SOFTWARE): Likewise.
45736         (FE_INVALID_SQRT): Likewise.
45737         (FE_INVALID_INTEGER_CONVERSION): Likewise.
45738         (FE_TONEAREST): Likewise.
45739         (FE_TOWARDZERO): Likewise.
45740         (FE_UPWARD): Likewise.
45741         (FE_DOWNWARD): Likewise.
45742         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45743         (FE_DIVBYZERO): Likewise.
45744         (FE_OVERFLOW): Likewise.
45745         (FE_UNDERFLOW): Likewise.
45746         (FE_INEXACT): Likewise.
45747         (FE_TONEAREST): Likewise.
45748         (FE_DOWNWARD): Likewise.
45749         (FE_UPWARD): Likewise.
45750         (FE_TOWARDZERO): Likewise.
45751         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45752         (FE_UNDERFLOW): Likewise.
45753         (FE_OVERFLOW): Likewise.
45754         (FE_DIVBYZERO): Likewise.
45755         (FE_INVALID): Likewise.
45756         (FE_TONEAREST): Likewise.
45757         (FE_TOWARDZERO): Likewise.
45758         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45759         (FE_OVERFLOW): Likewise.
45760         (FE_UNDERFLOW): Likewise.
45761         (FE_DIVBYZERO): Likewise.
45762         (FE_INEXACT): Likewise.
45763         (FE_TONEAREST): Likewise.
45764         (FE_TOWARDZERO): Likewise.
45765         (FE_UPWARD): Likewise.
45766         (FE_DOWNWARD): Likewise.
45767         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45768         (FE_DIVBYZERO): Likewise.
45769         (FE_OVERFLOW): Likewise.
45770         (FE_UNDERFLOW): Likewise.
45771         (FE_INEXACT): Likewise.
45772         (FE_TONEAREST): Likewise.
45773         (FE_DOWNWARD): Likewise.
45774         (FE_UPWARD): Likewise.
45775         (FE_TOWARDZERO): Likewise.
45777 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
45779         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45781 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
45783         * scripts/cross-test-ssh.sh (command): Use newlines to separate
45784         commands.  Quote $PWD.
45785         (blacklist_exports): Don't use remove_newlines.  Replace "declare
45786         -x" by "export".
45787         (remove_newlines): Remove.
45789 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
45791         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45792         * stdlib/stdlib.h (atof): Moved to ...
45793         * include/bits/stdlib-float.h: Here.  New file.
45794         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45795         * stdlib/bits/stdlib-float.h: New file.
45796         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45797         -mno-sse -mno-mmx.
45798         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45799         <xmmintrin.h>.
45801 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
45803         * conform/conformtest.pl (@headers): Add fenv.h.
45804         * conform/data/fenv.h-data: New file.
45805         * include/fenv.h [_ISOMAC]: Disable all contents of file except
45806         include of <math/fenv.h>.
45808         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45809         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45810         && !UNIX98].  Enables tests for XOPEN2K8.
45811         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45812         POSIX2008]: Likewise.
45814         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45815         (struct rusage): Do not expect type or its members.
45817         [BZ #3439]
45818         * math/math.h (FP_NAN): Define macro to integer constant usable in
45819         #if and use that to give value to enum constant.
45820         (FP_INFINITE): Likewise.
45821         (FP_ZERO): Likewise.
45822         (FP_SUBNORMAL): Likewise.
45823         (FP_NORMAL): Likewise.
45825 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
45827         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45828         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45829         arguments.
45831 2012-11-02  Roland McGrath  <roland@hack.frob.com>
45833         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45834         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45835         autoconf-time if not.
45836         * configure.in: Remove AC_PREREQ.
45838 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45840         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45841         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45842         of the internal implementation.
45844 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
45846         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45847         except include of <misc/sys/syslog.h>.
45849 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
45852         function returns with a NULL context exit with zero.
45854 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45856         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
45858 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
45860         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
45861         (run_program_cmd): This.
45862         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
45863         (tst_langinfo): New variable.  Use it.
45865 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
45867         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
45868         floating point opcodes.
45870 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45872         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
45873         variable.
45875         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
45877         * sysdeps/mach/hurd/powerpc: Remove directory.
45878         * sysdeps/mach/powerpc: Likewise.
45880 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45882         * scripts/check-local-headers.sh: Ignore c++ headers.
45884 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45886         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
45887         __libc_cleanup_region_start argument.
45889 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
45891         [BZ #14784]
45892         [BZ #14785]
45893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
45894         x * y using scaling, not as x * y + z.
45895         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45896         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45897         * math/libm-test.inc (fma_test): Add more tests.
45898         (fma_test_towardzero): Likewise.
45899         (fma_test_downward): Likewise.
45900         (fma_test_upward): Likewise.
45902 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
45904         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
45906 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
45908         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
45909         New variable.
45911 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
45913         * rt/tst-shm.c (worker): Correct checking for mmap failure.
45915 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
45917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45918         Fix sort order.
45919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45920         Likewise.
45922 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45925         Fix the order of the list for glibc 2.17.
45926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45927         Likewise.
45929 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
45931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45933 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
45935         [BZ #14610]
45936         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
45937         for low part of x being zero before using __atanl (y).
45938         * math/libm-test.inc (atan2_test): Add another test.
45940         * manual/install.texi (Configuring and compiling): Document
45941         general use of test-wrapper and test-wrapper-env.
45942         * INSTALL: Regenerated.
45944         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
45945         (__fma): Do not extract and scale down low bits on after-rounding
45946         systems when result rounded to normal precision would have normal
45947         exponent.
45948         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
45949         (__fmal): Do not extract and scale down low bits on after-rounding
45950         systems when result rounded to normal precision would have normal
45951         exponent.
45952         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
45953         (__fmal): Do not extract and scale down low bits on after-rounding
45954         systems when result rounded to normal precision would have normal
45955         exponent.
45956         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
45957         macro.
45958         (fma_test): Add more tests.
45959         (fma_test_towardzero): Likewise.
45960         (fma_test_downward): Likewise.
45961         (fma_test_upward): Likewise.
45963 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
45965         * sysdeps/i386/tininess.h: Renamed to ...
45966         * sysdeps/x86/tininess.h: This.
45967         * sysdeps/x86_64/tininess.h: Removed.
45969 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
45971         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
45972         input.  Use $(build-program-cmd).
45973         ($(objpfx)tst-array1-static.out): Likewise.
45974         ($(objpfx)tst-array2.out): Likewise.
45975         ($(objpfx)tst-array3.out): Likewise.
45976         ($(objpfx)tst-array4.out): Likewise.
45977         ($(objpfx)tst-array5.out): Likewise.
45978         ($(objpfx)tst-array5-static.out): Likewise.
45980 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
45982         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
45983         if defined.
45985         * nss/nsswitch.h (nss_interface_function): Provide new
45986         macro for use with NSS functions.
45987         * grp/initgroups.c: Use new macro.
45988         * nss/getXXbyYY.c: Likewise.
45989         * nss/getXXbyYY_r.c: Likewise.
45990         * nss/getXXent.c: Likewise.
45991         * nss/getXXent_r.c: Likewise.
45992         * sysdeps/posix/getaddrinfo.c: Likewise.
45994 2012-10-30  Andreas Jaeger  <aj@suse.de>
45996         * po/ru.po: Update Russion translation from translation project.
45998 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
46000         [BZ #14152]
46001         [BZ #14783]
46002         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
46003         result and shift together with sticky bit instead of replicating
46004         round-to-nearest rounding.
46005         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46006         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46007         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
46008         missing underflow exceptions.
46009         (fma_test_towardzero): Add more tests.
46010         (fma_test_downward): Likewise.
46011         (fma_test_upward): Likewise.
46013         [BZ #14047]
46014         * sysdeps/generic/tininess.h: New file.
46015         * sysdeps/i386/tininess.h: Likewise.
46016         * sysdeps/sh/tininess.h: Likewise.
46017         * sysdeps/x86_64/tininess.h: Likewise.
46018         * stdlib/tst-strtod-underflow.c: Likewise.
46019         * stdlib/tst-tininess.c: Likewise.
46020         * stdlib/strtod_l.c: Include <tininess.h>.
46021         (round_and_return): Do not set errno for exact underflow cases.
46022         Force an underflow exception when setting errno for underflow.
46023         Determine underflow based on rounding to normal precision if
46024         TININESS_AFTER_ROUNDING.
46025         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
46026         ERANGE for exact underflow cases.
46027         * stdlib/Makefile (tests): Add tst-tininess and
46028         tst-strtod-underflow.
46029         ($(objpfx)tst-tininess): Use $(link-libm).
46030         ($(objpfx)tst-strtod-underflow): Likewise.
46032 2012-10-30  Andreas Jaeger  <aj@suse.de>
46034         [BZ#14767]
46035         * elf/Makefile (tests): Remove conditional for have-initfini-array
46036         since this is now always required and the variable does not exist
46037         anymore.
46038         (tests-static): Likewise.
46039         (modules-names): Likewise.
46041         * po/eo.po: Add Esperanto translation from translation project.
46043         * elf/tst-array1.c (fini_array): Make writeable so that it can be
46044         merged with constructor/destructor.
46045         (init_array): Likewise.
46046         * elf/tst-array2dep.c (fini_array): Likewise.
46047         (init_array): Likewise.
46049 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
46051         * manual/message.texi: Delete @cartouche tags.
46053 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
46055         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
46056         EOPNOTSUPP.
46057         * sysdeps/mach/hurd/fsync.c: Likewise.
46059         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
46060         [_POSIX_REALTIME_SIGNALS]: Change condition to
46061         [_POSIX_REALTIME_SIGNALS > 0].
46063 2012-10-27  Andreas Jaeger  <aj@suse.de>
46065         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
46066         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
46067         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
46068         [__WORDSIZE != 64]: Likewise.
46070 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
46072         *  iconvdata/tst-table.sh: Remove ${SHELL}.
46073         *  iconvdata/tst-tables.sh: Likewise.
46075 2012-10-25  David S. Miller  <davem@davemloft.net>
46077         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46078         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
46079         of strtoull.
46081         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
46082         ifunc-impl-list.c
46083         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46084         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
46085         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
46086         file.
46088 2012-10-25  Roland McGrath  <roland@hack.frob.com>
46090         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46091         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
46092         __getdirentries.
46094 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
46095             Jim Blandy  <jimb@codesourcery.com>
46097         * scripts/cross-test-ssh.sh: New file.
46098         * manual/install.texi (Configuring and compiling): Document use of
46099         cross-test-ssh.sh.
46100         * INSTALL: Regenerated.
46102 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
46104         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
46105         EOPNOTSUPP.
46107 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
46109         * Makeconfig (run-program-prefix): Fix comment.
46111 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
46112             Jim Blandy  <jimb@codesourcery.com>
46114         * Makeconfig (test-wrapper): New variable,
46115         (test-wrapper-env): Likewise.
46116         [$(cross-compiling) = yes && $(test-wrapper) != ""]
46117         (run-built-tests): Define to yes.
46118         (run-program-prefix): Use $(test-wrapper).
46119         (built-program-cmd): Likewise.
46120         * Rules (make-test-out): Use $(test-wrapper-env) and
46121         $(host-built-program-cmd).
46122         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
46123         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
46124         tst-pathopt.sh.
46125         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
46126         $(test-wrapper-env) to tst-rtld-load-self.sh.
46127         ($(objpfx)order2.out): Use $(test-wrapper).
46128         ($(objpfx)tst-initorder.out): Likewise.
46129         ($(objpfx)tst-initorder2.out): Likewise.
46130         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
46131         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
46132         (test_wrapper_env): New variable.  Use it to run ld.so.
46133         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
46134         Use it to run ld.so.
46135         (test_wrapper_env): Likewise.
46136         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
46137         $(test-wrapper) to run-iconv-test.sh.
46138         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
46139         (ICONV): Use $test_wrapper.
46140         * posix/Makefile ($(objpfx)globtest.out): Pass
46141         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
46142         globtest.sh, not $(run-program-prefix).
46143         * posix/globtest.sh (run_via_rtld_prefix): New variable.
46144         (test_wrapper): Likewise.
46145         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
46146         set together with run_via_rtld_prefix.
46147         (run_program_prefix): Define in terms of test_wrapper and
46148         run_via_rtld_prefix.
46150 2012-10-24  Roland McGrath  <roland@hack.frob.com>
46152         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
46153         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
46154         Targets removed.
46156         [BZ #14743]
46157         * include/time.h: Remove librt_hidden_proto (clock_gettime).
46158         Declare __clock_getres, __clock_gettime, __clock_settime,
46159         __clock_nanosleep, and __clock_getcpuclockid.
46160         * rt/clock_gettime.c: Define __clock_gettime as an alias.
46161         Remove librt_hidden_def (clock_gettime).
46162         * sysdeps/unix/clock_gettime.c: Likewise.
46163         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
46164         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
46165         * rt/clock_getres.c: Define __clock_getres as an alias.
46166         * sysdeps/posix/clock_getres.c: Likewise.
46167         * rt/clock_settime.c: Define __clock_settime as an alias.
46168         * sysdeps/unix/clock_settime.c: Likewise.
46169         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
46170         * sysdeps/unix/clock_nanosleep.c: Likewise.
46171         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
46172         * rt/clock-compat.c: New file.
46173         * rt/Makefile (librt-routines): Add clock-compat and move
46174         $(clock-routines) to ...
46175         (routines): ... here, new variable.
46176         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
46177         Don't add get_clockfreq here.
46178         * rt/Versions (libc: GLIBC_2.17): New version set.
46179         Add clock_* symbols here.
46180         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
46181         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
46182         (GLIBC_2.17): Add clock_* symbols.
46183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46185         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46187         Likewise.
46188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46189         Likewise.
46190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46194         * NEWS: Mention the move.
46196         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46197         Use __open, __read, __close rather than their public counterparts.
46198         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46199         (__get_clockfreq_via_cpuinfo): Likewise.
46200         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
46201         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
46203         * config.h.in (HAVE_IFUNC): New #undef.
46204         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
46205         was successful.
46206         * configure: Regenerated.
46208 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
46210         * configure.in: Move READELF check to start of file.
46211         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
46212         libc_cv_asm_gnu_indirect_function in the process.
46213         * configure: Regenerated.
46215 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
46217         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
46218         send the output to /dev/null.
46219         (libc_cv_cc_with_libunwind): Likewise.
46220         (libc_cv_as_noexecstack): Likewise.
46221         * configure: Regenerate.
46223 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
46225         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
46227         * posix/globtest.sh (TMPDIR): Do not set.
46228         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
46229         (testout): Likewise.
46231 2012-10-24  Andreas Jaeger  <aj@suse.de>
46233         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
46234         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
46235         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
46236         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
46237         posix_fadvise64, posix_fallocate64.
46239         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
46240         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
46241         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
46242         Likewise.
46243         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
46244         Likewise.
46245         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
46247         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
46248         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
46249         <bits/fcntl-linux.h>.
46250         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
46252         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
46253         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
46254         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
46255         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
46256         [__WORDSIZE != 64]: Likewise.
46258 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
46260         * Makeconfig (run-built-tests): New variable.
46261         * Rules [$(cross-compiling) = yes]: Change condition to
46262         [$(run-built-tests) = no].
46263         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
46264         to [$(run-built-tests) = yes].
46265         * elf/Makefile [$(cross-compiling) = no]: Likewise
46266         * grp/Makefile [$(cross-compiling) = no]: Likewise.
46267         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
46268         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
46269         * intl/Makefile [$(cross-compiling) = no]: Likewise.
46270         * io/Makefile [$(cross-compiling) = no]: Likewise.
46271         * libio/Makefile [$(cross-compiling) = no]: Likewise.
46272         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
46273         * misc/Makefile [$(cross-compiling) = no]: Likewise.
46274         * posix/Makefile [$(cross-compiling) = no]: Likewise.
46275         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
46276         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
46277         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
46278         * string/Makefile [$(cross-compiling) = no]: Likewise.
46280         * posix/Makefile ($(objpfx)globtest.out): Pass
46281         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
46282         $(rtld-installed-name).
46283         * posix/globtest.sh (elf_objpfx): Remove variable.
46284         (rtld_installed_name): Likewise.
46285         (library_path): Likewise.
46286         (run_program_prefix): New variable.  Use for running globtest
46287         binary.
46289 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
46290             Joseph Myers  <joseph@codesourcery.com>
46292         * Makeconfig (host-built-program-cmd): New variable.
46293         * elf/Makefile (tst-stackguard1-ARGS): Use
46294         $(host-built-program-cmd).
46295         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
46296         (tst-spawn-ARGS): Likewise.
46297         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
46299 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
46300             Jim Blandy  <jimb@codesourcery.com>
46302         * Makeconfig (run-via-rtld-prefix): New variable.
46303         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
46304         (built-program-cmd): Likewise.
46306 2012-10-22  Andreas Jaeger  <aj@suse.de>
46308         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
46309         __O_RSYNC if it exists, otherwise to O_SYNC.
46311 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
46312             Joseph Myers  <joseph@codesourcery.com>
46314         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
46315         /dev/null.
46316         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
46317         from /dev/null
46318         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
46319         /dev/null.
46321 2012-10-22  Andreas Jaeger  <aj@suse.de>
46323         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
46324         Define always.
46325         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
46327         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46328         bits/fcntl-linux.h.
46330         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
46331         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
46333         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
46334         to __O_LARGEFILE.
46335         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
46336         to __O_LARGEFILE.
46338 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
46339             Joseph Myers  <joseph@codesourcery.com>
46341         * config.make.in (NM): New variable.
46343 2012-10-21  Andreas Jaeger  <aj@suse.de>
46345         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
46346         definitions and declarations that are provided by
46347         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46349 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46351         [BZ #14683]
46352         * elf/Makefile (tests-static): Add tst-leaks1-static.
46353         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
46354         ($(objpfx)tst-leaks1-static): New rule.
46355         ($(objpfx)tst-leaks1-static-mem): Likewise.
46356         (tst-leaks1-static-ENV): New macro.
46357         * elf/dl-open.c (dl_open_worker): Check the main application
46358         only if SHARED is defined.
46359         * elf/tst-leaks1-static.c: New file.
46361 2012-10-20  Andreas Jaeger  <aj@suse.de>
46363         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
46364         generic values for Linux.
46365         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
46366         and declarations that are provided by <bits/fcntl-linux.h> and
46367         include <bits/fcntl-linux.h>.
46368         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46369         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46371 2012-10-20  Roland McGrath  <roland@hack.frob.com>
46373         * io/fcntl.h: Move include of <bits/types.h> to the top and
46374         include it unconditionally.
46376 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
46378         * wcsmbs/Makefile (tests-ifunc): New variable.
46379         (tests): Add $(tests-ifunc).
46380         * wcsmbs/test-wcschr-ifunc.c: New file.
46381         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
46382         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
46383         * wcsmbs/test-wcslen-ifunc.c: Likewise.
46384         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
46385         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
46387         * string/Makefile (tests-ifunc): New variable.
46388         (tests): Add $(tests-ifunc).
46389         * string/test-memccpy.c (TEST_NAME): New macro.
46390         * string/test-memchr.c (TEST_NAME): Likewise.
46391         * string/test-memcmp.c (TEST_NAME): Likewise.
46392         * string/test-memcpy.c (TEST_NAME): Likewise.
46393         * string/test-memmem.c (TEST_NAME): Likewise.
46394         * string/test-memmove.c (TEST_NAME): Likewise.
46395         * string/test-memset.c (TEST_NAME): Likewise.
46396         * string/test-rawmemchr.c (TEST_NAME): Likewise.
46397         * string/test-stpcpy.c (TEST_NAME): Likewise.
46398         * string/test-stpncpy.c (TEST_NAME): Likewise.
46399         * string/test-strcasecmp.c (TEST_NAME): Likewise.
46400         * string/test-strcasestr.c (TEST_NAME): Likewise.
46401         * string/test-strcat.c (TEST_NAME): Likewise.
46402         * string/test-strchr.c (TEST_NAME): Likewise.
46403         * string/test-strcmp.c(TEST_NAME): Likewise.
46404         * string/test-strcpy.c (TEST_NAME): Likewise.
46405         * string/test-strcspn.c (TEST_NAME): Likewise.
46406         * string/test-strlen.c (TEST_NAME): Likewise.
46407         * string/test-strncasecmp.c (TEST_NAME): Likewise.
46408         * string/test-strncmp.c (TEST_NAME): Likewise.
46409         * string/test-strncpy.c (TEST_NAME): Likewise.
46410         * string/test-strnlen.c (TEST_NAME): Likewise.
46411         * string/test-strpbrk.c (TEST_NAME): Likewise.
46412         * string/test-strrchr.c (TEST_NAME): Likewise.
46413         * string/test-strspn.c (TEST_NAME): Likewise.
46414         * string/test-strstr.c (TEST_NAME): Likewise.
46415         * string/test-bcopy-ifunc.c: New file.
46416         * string/test-bzero-ifunc.c: Likewise.
46417         * string/test-memccpy-ifunc.c: Likewise.
46418         * string/test-memchr-ifunc.c: Likewise.
46419         * string/test-memcmp-ifunc.c: Likewise.
46420         * string/test-memcpy-ifunc.c: Likewise.
46421         * string/test-memmem-ifunc.c: Likewise.
46422         * string/test-memmove-ifunc.c: Likewise.
46423         * string/test-mempcpy-ifunc.c: Likewise.
46424         * string/test-memset-ifunc.c: Likewise.
46425         * string/test-rawmemchr-ifunc.c: Likewise.
46426         * string/test-stpcpy-ifunc.c: Likewise.
46427         * string/test-stpncpy-ifunc.c: Likewise.
46428         * string/test-strcasecmp-ifunc.c: Likewise.
46429         * string/test-strcasestr-ifunc.c: Likewise.
46430         * string/test-strcat-ifunc.c: Likewise.
46431         * string/test-strchr-ifunc.c: Likewise.
46432         * string/test-strchrnul-ifunc.c: Likewise.
46433         * string/test-strcmp-ifunc.c: Likewise.
46434         * string/test-strcpy-ifunc.c: Likewise.
46435         * string/test-strcspn-ifunc.c: Likewise.
46436         * string/test-strlen-ifunc.c: Likewise.
46437         * string/test-strncasecmp-ifunc.c: Likewise.
46438         * string/test-strncat-ifunc.c: Likewise.
46439         * string/test-strncmp-ifunc.c: Likewise.
46440         * string/test-strncpy-ifunc.c: Likewise.
46441         * string/test-strnlen-ifunc.c: Likewise.
46442         * string/test-strpbrk-ifunc.c: Likewise.
46443         * string/test-strrchr-ifunc.c: Likewise.
46444         * string/test-strspn-ifunc.c: Likewise.
46445         * string/test-strstr-ifunc.c: Likewise.
46447         * debug/Makefile (tests-ifunc): New variable.
46448         (tests): Add $(tests-ifunc).
46449         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
46450         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
46451         * debug/test-stpcpy_chk-ifunc.c: New file.
46452         * debug/test-strcpy_chk-ifunc.c: Likewise.
46454 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46456         [BZ #13601]
46457         * elf/dl-load.c (open_verify): Retry read if the entire ELF
46458         header is not read in.
46460 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
46462         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
46463         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
46464         directly.  Pass built executable to script as
46465         $(built-program-cmd).
46466         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
46467         $testprogram without using LD_LIBRARY_PATH and $ldso.
46469         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
46470         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
46471         $(rtld-installed-name).
46472         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
46473         (rtld_installed_name): Likewise.
46474         (library_path): Likewise.
46475         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
46476         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46477         $(run-program-prefix) to tst-tables.sh.
46478         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
46479         it to run tst-table-from and tst-table-to.
46480         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46481         Pass it to tst-table.sh.
46482         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46483         $(run-program-prefix) to tst-gettext.sh.
46484         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46485         tst-translit.sh.
46486         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46487         tst-gettext2.sh.
46488         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
46489         to run tst-gettext.
46490         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
46491         to run tst-gettext2.
46492         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
46493         to run tst-translit.
46494         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46495         $(run-program-prefix) to tst-mtrace.sh.
46496         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
46497         to run tst-mtrace.
46498         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46499         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46500         $(rtld-installed-name).
46501         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46502         (rtld_installed_name): Likewise.
46503         (run_program_prefix): New variable.  Use it to run wordexp-test.
46505         * Makeconfig (ARCH): Remove all definitions.
46506         (machine): Likewise.
46507         [ARCH]: Remove conditional code.
46508         [!objdir]: Give error.
46509         [!objdir] (objpfx): Remove.
46510         [!objdir] (common-objpfx): Likewise.
46511         [!objdir] (common-objdir): Likewise.
46512         * configure.in (config_makefile): Remove.  Hardcode Makefile in
46513         AC_CONFIG_FILES call.
46514         * configure: Regenerated.
46516         [BZ #13888]
46517         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46518         or TMPDIR.
46519         (testout): Likewise.
46521         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46522         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46523         $(rtld-installed-name).
46524         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46525         (rtld_installed_name): Likwise.
46526         (runit): Remove function.
46527         (run_getconf): New variable,  Use it for running getconf binary.
46529 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
46531         [BZ #14716]
46532         * string/test-memmem.c (check_result): New function.
46533         (do_one_test): Use it.
46534         (check1): New function.
46535         (test_main): Use it.
46537 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
46539         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46541 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
46543         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46544         (_G_LSEEK64): Likewise.
46545         (_G_MMAP64): Likewise.
46546         (_G_FSTAT64): Likewise.
46547         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46548         (_G_LSEEK64): Likewise.
46549         (_G_MMAP64): Likewise.
46550         (_G_FSTAT64): Likewise.
46551         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46552         unconditional.  Call __mmap64 directly.
46553         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46554         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
46555         __lseek64 directly.
46556         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46557         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
46558         __mmap64 directly.
46559         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46560         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46561         __lseek64 directly.
46562         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46563         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
46564         __lseek64 directly.
46565         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46566         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
46567         __lseek64 directly.
46568         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46569         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
46570         __fxstat64 directly.
46571         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46572         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46573         unconditional.
46574         (freopen64) [!_G_OPEN64]: Remove conditional code.
46575         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46576         unconditional.
46577         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46578         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46579         unconditional.
46580         (ftello64) [!_G_LSEEK64]: Remove conditional code.
46581         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46582         unconditional.
46583         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46584         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46585         unconditional.
46586         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46587         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46588         unconditional.
46589         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46590         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46591         unconditional.
46592         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46593         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46594         unconditional.
46595         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46597 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46599         [BZ #12140]
46600         * manual/memory.texi (Malloc Tunable Parameters): Add note
46601         about free list pointers overwriting some perturb bytes.
46602         Wording suggested by Roland McGrath.
46604 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
46606         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46607         (lgamma_test): Likewise.
46608         (tgamma_test): Likewise.
46610 2012-10-16  Florian Weimer  <fweimer@redhat.com>
46612         [BZ #14700]
46613         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46614         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46616 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
46618         * NEWS: Mention BZ #14716.
46619         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46620         when removing AVAILABLE1_USES_J macro.
46622 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
46624         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46625         (__bswap_64): __uint64_t for unsigned 64-bit int.
46627 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
46629         * include/string.h (memmem): Declare libc hidden alias.
46630         * string/memmem.c (memmem): Define libc hidden alias.
46631         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46632         __read, __close instead of open, read, close.
46634 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
46636         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46637         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46638         global and hidden.
46639         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46640         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46641         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46642         Likewise.
46643         (__rawmemchr_sse2): Likewise.
46644         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46645         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46646         (__strchr_sse2): Likewise.
46647         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46648         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46649         (__strcasecmp_sse2): Likewise.
46650         (__strncasecmp_sse2): Likewise.
46651         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46652         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46653         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46654         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46655         (__strrchr_sse2): Likewise.
46656         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46657         ifunc-impl-list.c.
46658         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46659         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46660         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46661         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46662         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46663         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46664         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46665         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46666         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46667         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46668         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46669         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46670         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46671         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46672         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46673         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46674         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46675         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46676         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46677         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46678         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46679         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46680         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46681         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46682         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46683         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46684         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46685         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46686         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46687         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46689         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46690         global and hidden.
46691         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46692         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46693         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46694         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46695         Likewise.
46696         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46697         Likewise.
46698         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46699         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46700         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46701         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46702         ifunc-impl-list.c.
46703         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46704         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46705         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46706         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46707         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46708         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46709         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46710         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46711         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46712         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46713         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46714         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46715         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46716         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46717         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46718         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46719         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46720         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46721         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46722         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46723         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46724         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46725         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46726         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46727         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46728         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46729         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46730         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46731         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46732         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46733         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46734         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46735         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46736         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46737         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46738         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46739         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46740         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46741         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46742         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46743         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46745         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46746         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46747         * include/ifunc-impl-list.h: New file.
46748         * misc/ifunc-impl-list.c: Likewise.
46749         * misc/Makefile (routines): Add ifunc-impl-list.
46750         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46751         * string/test-string.h: Include <ifunc-impl-list.h>.
46752         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46753         TEST_NAME]: New variables.
46754         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46755         are defined.
46756         (test_init): Call __libc_ifunc_impl_list to initialize
46757         func_list if TEST_IFUNC and TEST_NAME are defined.
46759         * string/Makefile (strop-tests): Add bcopy and bzero.
46760         * string/test-bcopy.c: New file.
46761         * string/test-bzero.c: Likewise.
46762         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46763         defined.
46764         * string/test-memset.c: Support bzero test if TEST_BZERO is
46765         defined.
46766         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46767         __libc_memmove.
46768         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46769         __libc_memset.
46770         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46771         of memset.
46773 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
46775         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46776         * configure: Regenerated.
46778         * Makeconfig (+link-static-before-libc): Don't include
46779         $(link-static-libc).
46781         * libio/libio.h (_IO_pos_t): Remove.
46783 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46785         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
46786         McGrath.
46788 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46790         * crypt/crypt-entry.c: Include fips-private.h.
46791         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46792         * crypt/md5c-test.c (main): Tolerate disabled MD5.
46793         * sysdeps/unix/sysv/linux/fips-private.h: New file.
46794         * sysdeps/generic/fips-private.h: New file, dummy fallback.
46796 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
46798         * crypt/crypt-private.h: Include stdbool.h.
46799         (_ufc_setup_salt_r): Return bool.
46800         * crypt/crypt-entry.c: Include errno.h.
46801         (__crypt_r): Return NULL with EINVAL for bad salt.
46802         * crypt/crypt_util.c (bad_for_salt): New.
46803         (_ufc_setup_salt_r): Check that salt is long enough and within
46804         the specified alphabet.
46805         * crypt/badsalttest.c: New file.
46806         * crypt/Makefile (tests): Add it.
46807         ($(objpfx)badsalttest): New.
46809 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
46811         * NEWS: Add entry for BZ #14602.
46813 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
46815         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46816         type-generic.
46817         * math/libm-test.inc: Update comment listing what functions and
46818         macros are tested.
46819         (isgreater_test): New function.
46820         (isgreaterequal_test): Likewise.
46821         (isless_test): Likewise.
46822         (islessequal_test): Likewise.
46823         (islessgreater_test): Likewise.
46824         (isunordered_test): Likewise.
46825         (main): Call the new functions.
46827 2012-10-09  Roland McGrath  <roland@hack.frob.com>
46829         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46830         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46831         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46832         * sysdeps/i386/configure: Regenerated.
46833         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46834         * sysdeps/mach/configure: Regenerated.
46835         * sysdeps/mach/hurd/configure: Regenerated.
46836         * sysdeps/powerpc/configure: Regenerated.
46837         * sysdeps/powerpc/powerpc32/configure: Regenerated.
46838         * sysdeps/powerpc/powerpc64/configure: Regenerated.
46839         * sysdeps/s390/s390-32/configure: Regenerated.
46840         * sysdeps/s390/s390-64/configure: Regenerated.
46841         * sysdeps/sh/configure: Regenerated.
46842         * sysdeps/sparc/configure: Regenerated.
46843         * sysdeps/unix/sysv/linux/configure: Regenerated.
46844         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46845         * sysdeps/x86_64/configure: Regenerated.
46847         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46848         defined.  Don't check if MAP is NULL.
46850 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
46852         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
46853         (_G_stat64): Likewise.
46854         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
46855         (_G_stat64): Likewise.
46856         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
46857         instead of struct _G_stat64.
46858         * libio/fileops.c (mmap_remap_check): Likewise.
46859         (decide_maybe_mmap): Likewise.
46860         (_IO_new_file_seekoff): Likewise.
46861         (_IO_file_stat): Likewise.
46862         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
46863         _G_off64_t.
46864         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
46865         instead of struct _G_stat64.
46866         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
46868 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
46870         [BZ #14602]
46871         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46872         Replace with ...
46873         (CHECK_EOL): New macro.
46874         (two_way_short_needle): Check beginning of haystack for EOL.  Use
46875         CHECK_EOL.
46876         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46877         Replace with CHECK_EOL.
46878         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
46879         Replace with CHECK_EOL.
46881 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
46883         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
46884         type-generic.
46885         * math/libm-test.inc: Update comment listing what functions and
46886         macros are tested.
46887         (finite_test): New function.
46888         (isinf_test): Likewise.
46889         (isnan_test): Likewise.
46890         (fpclassify_test): Test subnormal input.
46891         (isfinite_test): Likewise.
46892         (isnormal_test): Likewise.
46893         (main): Call the new functions.
46895 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
46897         [BZ #14660]
46898         * Makerules (%.dynsym): Force C locale when running
46899         $(OBJDUMP) --dynamic-syms.
46901 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
46903         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
46904         <stdint.h>.
46906 2012-10-06  David S. Miller  <davem@davemloft.net>
46908         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
46909         upper 32-bits of the length value in %o2 since we use branch-on-register
46910         tests which consider the entire 64-bit register.
46912 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
46914         * string/test-strstr.c (check2): Add a test for page boundary.
46916 2012-10-05  David S. Miller  <davem@davemloft.net>
46918         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
46919         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
46920         file.
46921         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
46922         sysdep_routines.
46923         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
46924         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
46925         and bzero when HWCAP_SPARC_CRYPTO is present.
46927 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
46929         [BZ #14602]
46930         * string/test-strstr.c (check2): New function.
46931         (test_main): Call check2.
46933         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
46934         and bug-strchr1.
46935         * string/bug-strcasestr1.c (do_test): Moved to ...
46936         * string/test-strcasestr.c (check1): Here.  New function.
46937         (do_one_test): Break out result checking code into ...
46938         (check_result): This.  New function.
46939         (do_one_test): Call check_result.
46940         (test_main): Call check1.
46941         * string/bug-strchr1.c (do_test): Moved to ...
46942         * string/test-strchr.c (check1): Here.  New function.
46943         (do_one_test): Break out result checking code into ...
46944         (check_result): This.  New function.
46945         (do_one_test): Call check_result.
46946         (test_main): Call check1.
46947         * string/bug-strstr1.c (main): Moved to ...
46948         * string/test-strstr.c (check1): Here.  New function.
46949         (do_one_test): Break out result checking code into ...
46950         (check_result): This.  New function.
46951         (do_one_test): Call check_result.
46952         (test_main): Call check1.
46953         * string/bug-strcasestr1.c: Removed.
46954         * string/bug-strchr1.c: Likewise.
46955         * string/bug-strstr1.c: Likewise.
46957         * elf/Makefile (dl-routines): Add hwcaps.
46958         * elf/dl-support.c (_dl_important_hwcaps): Removed.
46959         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
46960         (_dl_important_hwcaps): Moved to ...
46961         * elf/dl-hwcaps.c: Here.  New file.
46962         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
46964         [BZ #14557]
46965         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
46966         if IS_IN_rtld isn't defined.
46968         * elf/dl-support.c (_dl_sysinfo_map): New.
46969         Include "get-dynamic-info.h" and "setup-vdso.h".
46970         (_dl_non_dynamic_init): Call setup_vdso.
46971         * elf/dynamic-link.h: Don't include <assert.h>.
46972         (elf_get_dynamic_info): Moved to ...
46973         * elf/get-dynamic-info.h: Here.  New file.
46974         * elf/dynamic-link.h: Include "get-dynamic-info.h".
46975         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
46976         * elf/setup-vdso.h: Here.  New file.
46977         * elf/rtld.c: Include "setup-vdso.h".
46978         (dl_main): Call setup_vdso.
46980 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
46982         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
46983         creal in comment listing functions tested.  List finite, isinf,
46984         isnan, isless, islessequal, isgreater, isgreaterequal,
46985         islessgreater, isunordered, lgamma_r and pow10 as functions and
46986         macros not tested.  Mention which functions not tested are aliases
46987         for other functions.  Fix typo.  Note that signs of NaNs are not
46988         tested.
46990         * scripts/config.guess: Update from config.git.
46991         * scripts/config.sub: Likewise.
46993 2012-10-04  Roland McGrath  <roland@hack.frob.com>
46995         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
46996         * misc/madvise.c (madvise): Renamed to __madvise.
46997         Make madvise a weak alias.
46998         * include/sys/mman.h: Declare __madvise.
46999         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
47000         * sysdeps/unix/syscalls.list
47001         (madvise): Make __madvise the strong name, and madvise a weak alias.
47002         * sysdeps/unix/sysv/linux/syscalls.list
47003         (madvise, mmap): Remove redundant entries.
47004         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
47005         * malloc/malloc.c (mtrim): Likewise.
47006         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
47008 2012-10-03  Roland McGrath  <roland@hack.frob.com>
47010         * sysdeps/mach/hurd/dl-cache.c: File removed.
47011         * config.h.in (USE_LDCONFIG): New #undef.
47012         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
47013         * configure: Regenerated.
47014         * elf/Makefile (dl-routines): Add dl-cache only under
47015         [$(use-ldconfig) = yes].
47016         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
47017         cache on [USE_LDCONFIG].
47018         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
47019         [USE_LDCONFIG].
47020         * elf/rtld.c (dl_main): Likewise.
47022 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
47024         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
47025         _SC_LEVEL4_CACHE_LINESIZE.
47027 2012-10-03  Roland McGrath  <roland@hack.frob.com>
47029         * sysdeps/unix/bsd/confstr.h: File removed.
47031 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
47033         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
47034         sys/sdt-config.h.
47036 2012-10-02  Roland McGrath  <roland@hack.frob.com>
47038         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
47039         Make 'mapoff' field ElfW(Off) rather than off_t.
47041 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
47043         * nscd/Makefile: Remove nscd-cflags and all its users.
47044         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
47045         (CFLAGS-nonlib): Add compiler flags for nscd modules.
47047         [BZ #10631]
47048         * malloc.c (malloc_printerr): Clarify error message.
47050 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
47052         [BZ #14648]
47053         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47054         Set bit_FMA_Usable if FMA is supported.
47055         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
47056         macro.
47057         (bit_FMA4_Usable): Updated.
47058         (index_FMA_Usable): New macro.
47059         (CPUID_FMA): Likewise
47060         (HAS_FMA): Defined with bit_FMA_Usable.
47062 2012-10-01  Roland McGrath  <roland@hack.frob.com>
47064         * bits/types.h (__swblk_t): Type removed.
47065         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
47066         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
47067         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47068         (__SWBLK_T_TYPE): Likewise.
47069         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47070         (__SWBLK_T_TYPE): Likewise.
47071         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47072         (__SWBLK_T_TYPE): Likewise.
47073         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47074         (__SWBLK_T_TYPE): Likewise.
47076 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
47077             Honza Horak <hhorak@redhat.com>
47079         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
47080         (xdr_mapname): Use YPMAXMAP as maxsize.
47081         (xdr_peername): Use YPMAXPEER as maxsize.
47082         (xdr_keydat): Use YPAXRECORD as maxsize.
47083         (xdr_valdat): Use YPMAXRECORD as maxsize.
47085 2012-10-01  Roland McGrath  <roland@hack.frob.com>
47087         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
47089         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
47090         * csu/init-first.c: ... here.
47091         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
47092         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
47093         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
47094         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
47095         * sysdeps/i386/init-first.c: File removed.
47096         * sysdeps/sh/init-first.c: File removed.
47098 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
47100         [BZ #14645]
47101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
47102         if x * y might underflow to zero and z is zero.
47103         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47104         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47105         * math/libm-test.inc (min_subnorm_value): New variable.
47106         (fma_test): Add more tests.
47107         (fma_test_towardzero): Likewise.
47108         (fma_test_downward): Likewise
47109         (fma_test_upward): Likewise.
47110         (initialize): Set min_subnorm_value.
47112 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
47114         [BZ #14638]
47115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
47116         0 + 0.
47117         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
47118         mode for addition resulting in exact zero.
47119         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
47120         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
47121         exact 0 + 0.
47122         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47123         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47124         * math/libm-test.inc (fma_test): Add more tests.
47125         (fma_test_towardzero): New function.
47126         (fma_test_downward): Likewise.
47127         (fma_test_upward): Likewise.
47128         (main): Call the new functions.
47130 2012-09-28  David S. Miller  <davem@davemloft.net>
47132         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
47134 2012-09-28  Roland McGrath  <roland@hack.frob.com>
47136         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
47137         instead of SIGALRM.
47139         * sysdeps/gnu/_G_config.h: Moved to ...
47140         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
47141         * sysdeps/mach/hurd/_G_config.h: Moved to ...
47142         * sysdeps/generic/_G_config.h: ... here.
47144         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
47146         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
47148         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
47149         Conditionalize target on [libnss_test1.so-version].
47151         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
47153         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
47154         (elfobjdir): Move out of conditionals.
47156         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
47157         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
47158         (__nss_lookup_function): Conditionalize label remove_from_tree on
47159         [!DO_STATIC_NSS || SHARED], matching its only use.
47161 2012-09-28  David S. Miller  <davem@davemloft.net>
47163         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
47164         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
47165         file.
47166         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
47167         sysdep_routines.
47168         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
47169         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
47170         when HWCAP_SPARC_CRYPTO is present.
47172 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47174         * io/tst-mknodat.c: Create a FIFO instead of a socket.
47176 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
47178         [BZ #6530]
47179         * stdio-common/vfprintf.c (process_string_arg): Revert
47180         2000-07-22 change.
47182 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
47184         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
47185         for testcase.
47186         * stdio-common/tst-sprintf.c: Include <locale.h>
47187         (main): Test sprintf's handling of incomplete multibyte
47188         characters.
47190 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
47192         * elf/dl-runtime.c (VERSYMIDX): Removed.
47193         * elf/dl-version.c (VERSYMIDX): Likewise.
47194         * elf/do-rel.h (VERSYMIDX): Likewise.
47195         (VALIDX): Likewise.
47196         * elf/dynamic-link.h (VERSYMIDX): Likewise.
47197         * elf/rtld.c (VALIDX): Likewise.
47198         (ADDRIDX): Likewise.
47199         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
47200         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
47201         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
47202         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
47203         (VALIDX): Likewise.
47204         (ADDRIDX): Likewise.
47206 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47208         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
47210 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
47212         [BZ #11438]
47213         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
47214         to global scope.
47215         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
47216         addresses are in the same scope as 192.0.2/24.
47217         * posix/gai.conf: Document new scope table defaults.
47219 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47221         [BZ #5298]
47222         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
47223         for ftell.  Compute offsets from write pointers instead.
47224         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
47226 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47228         [BZ #14543]
47229         * libio/Makefile (tests): New test case tst-fseek.
47230         * libio/tst-fseek.c: New test case to verify that fseek/ftell
47231         combination works in wide mode.
47232         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
47233         state when the external buffer state changes.
47235 2012-09-27  David S. Miller  <davem@davemloft.net>
47237         [BZ #14376]
47238         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
47239         pass reloc->r_addend in as the 'high' argument to
47240         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
47242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47244 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
47246         * rt/tst-aio2.c: Include <pthread.h>.
47247         * rt/tst-aio3.c: Likewise.
47249 2012-09-27  Steve Ellcey  <sellcey@mips.com>
47251         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
47253 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
47255         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
47256         contents on [SHARED].
47258 2012-09-26  Marek Polacek  <polacek@redhat.com>
47260         [BZ #14530]
47261         [BZ #13741]
47262         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
47263         for C++ and GCC <4.3 as well as for non GCC compilers.
47265 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47269 2012-09-25  Roland McGrath  <roland@hack.frob.com>
47271         * Makefile.in (all, install): Declare with .PHONY.
47272         Reported by Michael Hope <michael.hope@linaro.org>.
47274 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47276         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
47277         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
47278         system header.
47279         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
47280         Likewise.
47281         (sydep_routines): Add the new and the internal functions.
47282         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
47283         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
47284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
47285         (GLIBC_2.17): Add the new function.
47286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47287         (GLIBC_2.17): Likewise.
47288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
47289         (GLIBC_2.17): Likewise.
47290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
47291         (GLIBC_2.17): Likewise.
47292         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
47294 2012-09-25  Alan Modra  <amodra@gmail.com>
47296         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
47297         Add release barrier before setting once_control to say
47298         initialisation is done.  Add hints on lwarx.  Use macro in
47299         place of isync.
47300         (clear_once_control): Add release barrier.
47302 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
47304         [BZ #13629]
47305         * math/s_clog.c (__clog): Handle more values close to |z| = 1
47306         specially.
47307         * math/s_clog10.c (__clog10): Likewise.
47308         * math/s_clog10f.c (__clog10f): Likewise.
47309         * math/s_clog10l.c (__clog10l): Likewise.
47310         * math/s_clogf.c (__clogf): Likewise.
47311         * math/s_clogl.c (__clogl): Likewise.
47312         * math/Makefile (libm-calls): Add x2y2m1.
47313         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
47314         (__x2y2m1): Likewise.
47315         (__x2y2m1l): Likewise.
47316         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
47317         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
47318         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
47319         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47320         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
47321         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
47322         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
47323         * sysdeps/i386/fpu/libm-test-ulps: Update.
47324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47326         [BZ #14621]
47327         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
47328         int as type of variable DEPTH.
47329         (glob): Use size_t instead of int as type of variables NEWCOUNT
47330         and OLD_PATHC.
47332 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47334         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47335         Add s_sincosf-sse2.
47336         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
47337         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
47338         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
47339         macros for using routine as __sincosf_ia32.
47340         Use macro for function declaration and weak_alias.
47341         * sysdeps/i386/fpu/libm-test-ulps: Update.
47343         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
47344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47346         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
47347         subnormal argument.
47348         * math/s_cexpf.c (__cexpf): Likewise.
47349         * math/s_csinf.c (__csinf): Likewise.
47350         * math/s_csinhf.c (__csinhf): Likewise.
47351         * math/s_ctanf.c (__ctanf): Likewise.
47352         * math/s_ctanhf.c (__ctanhf): Likewise.
47353         * math/s_ccosh.c (__ccoshf): Likewise.
47354         * math/s_cexp.c (__cexpl): Likewise.
47355         * math/s_csin.c (__csin): Likewise.
47356         * math/s_csinh.c (__csinh): Likewise.
47357         * math/s_ctan.c (__ctan): Likewise.
47358         * math/s_ctanh.c (ctanh): Likewise.
47359         * math/s_ccoshl.c (__ccoshl): Likewise.
47360         * math/s_cexpl.c (__cexpl): Likewise.
47361         * math/s_csinl.c (__csinl): Likewise.
47362         * math/s_csinhl.c (__csinhl): Likewise.
47363         * math/s_ctanl.c (__ctanl): Likewise.
47364         * math/s_ctanhl.c (__ctanhl): Likewise.
47366 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
47368         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
47369         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
47370         (_IO_off_t): Define to __off_t, not _G_off_t.
47371         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
47372         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
47373         (_IO_wint_t): Define to wint_t, not _G_wint_t.
47374         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
47375         type of __dummy and __dummy2 fields.
47376         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
47377         (_G_ssize_t): Likewise.
47378         (_G_off_t): Likewise.
47379         (_G_pid_t): Likewise.
47380         (_G_uid_t): Likewise.
47381         (_G_wchar_t): Likewise.
47382         (_G_wint_t): Likewise.
47383         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
47384         (_G_ssize_t): Likewise.
47385         (_G_off_t): Likewise.
47386         (_G_pid_t): Likewise.
47387         (_G_uid_t): Likewise.
47388         (_G_wchar_t): Likewise.
47389         (_G_wint_t): Likewise.
47390         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
47391         (_G_ssize_t): Likewise.
47392         (_G_off_t): Likewise.
47393         (_G_pid_t): Likewise.
47394         (_G_uid_t): Likewise.
47395         (_G_wchar_t): Likewise.
47396         (_G_wint_t): Likewise.
47398 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47400         * malloc/arena.c: Include malloc-sysdep.h.
47401         (shrink_heap): Use check_may_shrink_heap to decide if madvise
47402         is sufficient to shrink the heap or an unmap is needed.
47403         * sysdeps/generic/malloc-sysdep.h: New file.  Define
47404         new function check_may_shrink_heap.
47405         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
47406         new function check_may_shrink_heap.
47408 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47410         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
47411         comments.
47413 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
47415         * catgets/test-gencat.sh: Add "set -e".
47416         * elf/tst-pathopt.sh: Likewise.
47417         * grp/tst_fgetgrent.sh: Likewise.
47418         * iconvdata/run-iconv-test.sh: Likewise.
47419         * intl/tst-gettext.sh: Likewise.
47420         * intl/tst-gettext2.sh: Likewise.
47421         * intl/tst-gettext4.sh: Likewise.
47422         * intl/tst-gettext6.sh: Likewise.
47423         * intl/tst-translit.sh: Likewise.
47424         * io/ftwtest-sh: Likewise.
47425         * libio/test-freopen.sh: Likewise.
47426         * malloc/tst-mtrace.sh: Likewise.
47427         * posix/globtest.sh: Likewise.
47428         * posix/tst-getconf.sh: Likewise.
47429         * posix/wordexp-tst.sh: Likewise.
47430         * stdio-common/tst-printf.sh: Likewise.
47431         * stdio-common/tst-unbputc.sh: Likewise.
47432         * stdlib/tst-fmtmsg.sh: Likewise.
47433         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47434         * catgets/Makefile: Do not specify -e option when running
47435         testsuite shell scripts.
47436         * elf/Makefile: Likewise.
47437         * grp/Makefile: Likewise.
47438         * iconvdata/Makefile: Likewise.
47439         * intl/Makefile: Likewise.
47440         * io/Makefile: Likewise.
47441         * libio/Makefile: Likewise.
47442         * malloc/Makefile: Likewise.
47443         * posix/Makefile: Likewise.
47444         * stdio-common/Makefile: Likewise.
47445         * stdlib/Makefile: Likewise.
47446         * sysdeps/x86_64/Makefile: Likewise.
47448         * io/ftwtest-sh: Add copyright header.
47449         * posix/globtest.sh: Likewise.
47450         * posix/tst-getconf.sh: Likewise.
47451         * posix/wordexp-tst.sh: Likewise.
47452         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47454 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
47456         [BZ #13679]
47457         * Makeconfig (+link): Defined as $(+link-static) if
47458         $(build-shared) isn't yes.
47459         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
47460         isn't yes.
47461         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
47463         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
47465         [BZ #14562]
47466         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
47467         new chunk size with MALLOC_ALIGN_MASK.
47469 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
47471         [BZ #5044]
47472         * stdio-common/printf_fphex.c: Include <stdbool.h> and
47473         <rounding-mode.h>.
47474         (__printf_fphex): Determine rounding using get_rounding_mode and
47475         round_away.
47476         * stdio-common/tst-printf-round.c (struct hex_test): New
47477         structure.
47478         (hex_tests): New variable.
47479         (test_hex_in_one_mode): New function.
47480         (do_test): Also run tests for hex float output.
47482 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
47484         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47485         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47486         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47487         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47488         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47489         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47490         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47491         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47493 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
47495         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47496         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47497         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47498         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47500 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
47502         [BZ #14579]
47503         * elf/rtld.c (dl_main): Limit the check for self loading to normal
47504         mode only.
47505         * elf/tst-rtld-load-self.sh: New test.
47506         * elf/Makefile: Run it.
47508 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
47510         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47511         (tst-writev-ENV): Remove.
47512         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47514 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
47516         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47518 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
47520         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47521         unconditional.
47522         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47523         Likewise.
47524         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47525         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47526         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47527         Likewise.
47529 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
47531         [BZ #14587]
47532         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47533         * config.make.in (have-cpp-asm-debuginfo): Removed.
47534         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47535         * configure: Regenerated.
47537 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
47539         [BZ #5044]
47540         * stdio-common/printf_fp.c: Include <stdbool.h> and
47541         <rounding-mode.h>.
47542         (___printf_fp): Determine rounding using get_rounding_mode and
47543         round_away.
47544         * stdio-common/tst-printf-round.c: New file.
47545         * stdio-common/Makefile (tests): Add tst-printf-round.
47546         (link-libm): New variable.
47547         ($(objpfx)tst-printf-round): Depend in $(link-libm).
47549 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
47551         [BZ #14576]
47552         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47553         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47554         Likewise.
47555         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47556         Likewise.
47558 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
47560         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47561         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47562         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47563         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47565 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
47567         [BZ #14518]
47568         * include/rounding-mode.h: New file.
47569         * sysdeps/generic/get-rounding-mode.h: Likewise.
47570         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47571         * stdlib/strtod_l.c: Include <rounding-mode.h>.
47572         (MAX_VALUE): New macro.
47573         (MIN_VALUE): Likewise.
47574         (overflow_value): New function.
47575         (underflow_value): Likewise.
47576         (round_and_return): Use overflow_value and underflow_value to
47577         determine return values in overflow and underflow cases.  Use
47578         round_away to determine rounding depending on rounding mode.
47579         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47580         determine return values in overflow and underflow cases.
47581         * stdlib/tst-strtod-round.c: Include <fenv.h>.
47582         (struct test_results): New structure.
47583         (struct test): Use struct test_results to store expected results
47584         for all rounding modes.
47585         (TEST): Include expected results for all rounding modes.
47586         (test_in_one_mode): New function.
47587         (do_test): Use test_in_one_mode to compute and check results.
47588         Check results for all rounding modes.
47589         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47590         $(link-libm).
47592 2012-12-09  Allan McRae  <allan@archlinux.org>
47594         * sysdeps/i386/fpu/libm-test-ulps: Update
47596 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
47598         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47599         (_G_int32_t): Likewise.
47600         (_G_uint16_t): Likewise.
47601         (_G_uint32_t): Likewise.
47602         (_G_HAVE_BOOL): Likewise.
47603         (_G_HAVE_ATEXIT): Likewise.
47604         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47605         (_G_HAVE_IO_FILE_OPEN): Likewise.
47606         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47607         (_G_int32_t): Likewise.
47608         (_G_uint16_t): Likewise.
47609         (_G_uint32_t): Likewise.
47610         (_G_HAVE_BOOL): Likewise.
47611         (_G_HAVE_ATEXIT): Likewise.
47612         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47613         (_G_HAVE_IO_FILE_OPEN): Likewise.
47614         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47615         (_G_int32_t): Likewise.
47616         (_G_uint16_t): Likewise.
47617         (_G_uint32_t): Likewise.
47618         (_G_HAVE_BOOL): Likewise.
47619         (_G_HAVE_ATEXIT): Likewise.
47620         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47621         (_G_HAVE_IO_FILE_OPEN): Likewise.
47623 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
47625         * csu/libc-tls.c: Update copyright years.
47627 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
47629         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47630         [!_G_USING_THUNKS]: Remove conditional code.
47631         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47632         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47634         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47635         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47636         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47637         (_G_VTABLE_LABEL_PREFIX): Likewise.
47638         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47639         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47640         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47641         (_G_VTABLE_LABEL_PREFIX): Likewise.
47642         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47643         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47644         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47645         (_G_VTABLE_LABEL_PREFIX): Likewise.
47646         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47648 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
47650         * libio/Makefile: Include ../Makeconfig before tests.
47651         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47652         only if $(build-shared) is yes.
47654         * iconv/gconv_db.c: Update copyright years.
47656 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47658         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47659         unwind info if defined PIC. Fix special cases description.
47660         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47662         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47663         DP_HI_MASK entry.
47664         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47666 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
47668         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47670         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47671         is NULL.
47673         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47674         (LDLIBS-tst-chk4): This.
47675         (LDFLAGS-tst-chk5): Renamed to ...
47676         (LDLIBS-tst-chk5): This.
47677         (LDFLAGS-tst-chk6): Renamed to ...
47678         (LDLIBS-tst-chk6): This.
47679         (LDFLAGS-tst-lfschk4): Renamed to ...
47680         (LDLIBS-tst-lfschk4): This.
47681         (LDFLAGS-tst-lfschk5): Renamed to ...
47682         (LDLIBS-tst-lfschk5): This.
47683         (LDFLAGS-tst-lfschk6): Renamed to ...
47684         (LDLIBS-tst-lfschk6): This.
47686         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47687         on $(common-objpfx)soversions.mk.
47689 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
47691         [BZ #10014]
47692         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47693         example host name.
47695 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47697         * malloc/arena.c (arena_get_retry): New function that gets
47698         another arena for the caller to try its request on.
47699         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47700         current arena cannot fulfill the request.
47701         (__libc_memalign): Likewise.
47702         (__libc_memalign): Likewise.
47703         (__libc_pvalloc): Likewise.
47704         (__libc_calloc): Likewise.
47706 2012-09-05  John Tobey  <john.tobey@gmail.com>
47708         [BZ #13542]
47709         * manual/arith.texi (Operations on Complex): Fix description
47710         of carg branch cut.
47712 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
47714         [BZ #10014]
47715         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47716         host name.
47718         [BZ #10038]
47719         * manual/memory.texi (Memory): Make order of menu items match
47720         order of sections.
47722 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47724         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47725         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
47726         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47728 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47730         * csu/libc-tls.c (static_dtv): Renamed to ...
47731         (_dl_static_dtv): This.  Make it global.
47732         (_dl_initial_dtv): Removed.
47733         (__libc_setup_tls): Updated.
47734         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47735         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47736         DL_INITIAL_DTV.
47738 2012-09-06  Petr Machata  <pmachata@redhat.com>
47740         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47741         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47742         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47743         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47745 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47747         [BZ #14545]
47748         * csu/libc-tls.c (_dl_initial_dtv): New variable.
47749         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47750         freeing dtv[-1].
47752 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
47754         [BZ #14544]
47755         * Makeconfig (link-static-before-libc): Replace $(+prector)
47756         with $(+prectorT).
47757         (link-static-after-libc): Replace $(+postctor) with
47758         $(+postctorT).
47759         (link-bounded): Replace $(+prector)/$(+postctor) with
47760         $(+prectorT)/$(+postctorT).
47761         (+prectorT): New macro.
47762         (+postctorT): Likewise.
47764 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
47766         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47767         (round_str): Handle values above the maximum for IBM long double
47768         as inexact.
47769         * stdlib/tst-strtod-round.c (tests): Regenerated.
47771 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47773         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47774         assembler flag.
47775         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47776         zarch_nohighgprs around the zarch optimized routines.
47777         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47778         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47779         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47780         for zarch.
47782 2012-09-05  David S. Miller  <davem@davemloft.net>
47784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47786         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47787         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47788         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47789         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47790         entries.
47792 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47794         * malloc/arena.c: Fold copyright years.
47795         * malloc/mcheck.c, malloc/memusage.c: Likewise.
47797 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47799         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47801 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47803         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
47805 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47807         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47808         change internal state upon failure.
47810 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
47812         * malloc/mcheck.c (mcheck_check_all): Fix typo.
47813         * malloc/memusage.c (mmap): Likewise.
47814         (mmap64, mremap): Likewise.  Adjust name in comment.
47816 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47818         * libio/fileops.c: Fix typos in comments.
47819         * libio/oldfileops.c: Likewise.
47820         * libio/wfileops.c: Likewise.
47822 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47824         [BZ #1349]
47825         * malloc/Makefile (tests): Add tst-malloc-usable test case.
47826         (tst-malloc-usable-ENV): Set environment for test case.
47827         * malloc/hooks.c (malloc_check_get_size): New function to get
47828         requested size.
47829         * malloc/malloc.c (musable): Use malloc_check_get_size.
47830         * malloc/tst-malloc-usable.c: New test case.
47832 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47834         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47836 2012-09-05  Allan McRae  <allan@archlinux.org>
47838         [BZ #13966]
47839         * configure.in (CXX_SYSINCLUDES): Use compiler output to
47840         determine header location.
47841         * configure: Regenerated.
47843 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47845         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47846         float format.
47847         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47848         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47849         format.
47850         (test): Regenerate.
47852 2012-09-04  David S. Miller  <davem@davemloft.net>
47854         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
47855         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
47856         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
47858 2012-09-04  Florian Weimer  <fweimer@redhat.com>
47860         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
47861         failures.
47863         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
47865 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
47867         [BZ #9914]
47868         * libio/iogetdelim.c: Include <limits.h>.
47869         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
47870         + len + 1 would overflow.
47872 2012-09-03  Andreas Jaeger  <aj@suse.de>
47874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47875         * sysdeps/i386/fpu/libm-test-ulps: Update.
47877 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47879         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47880         Add s_sinf-sse2, s_conf-sse2.
47882         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
47883         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
47884         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
47885         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
47887         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
47888         for using routine as __sinf_ia32.
47889         Use macro for function declaration and weak_alias.
47890         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
47891         for using routine as __cosf_ia32.
47892         Use macro for function declaration and weak_alias.
47894         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
47895         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
47897         * sysdeps/x86_64/fpu/s_sinf.S: New file.
47898         * sysdeps/x86_64/fpu/s_cosf.S: New file.
47899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47901         * math/libm-test.inc (cos_test): Add more test cases.
47902         (sin_test): Likewise.
47903         (sincos_test): Likewise.
47905 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47907         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
47908         (IFUNC_RESOLVE): Make pointers to the specialized implementations
47909         hidden.
47910         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
47912 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
47914         [BZ #14538]
47915         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
47916         first element of the GOT.
47917         (elf_machine_load_address): Return the difference between
47918         the runtime address of _DYNAMIC and elf_machine_dynamic ().
47920 2012-09-01  Allan McRae  <allan@archlinux.org>
47922         [BZ #13412]
47923         * configure.in (AWK): Require gawk version 3.0 or later.
47924         * configure: Regenerated.
47926 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
47928         * sysdeps/unix/sysv/linux/kernel-features.h
47929         (__ASSUME_POSIX_CPU_TIMERS): Remove.
47930         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47931         [__NR_clock_getres]: Make code unconditional.
47932         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
47933         (clock_getcpuclockid): Remove code left unreachable by removal of
47934         conditionals.
47935         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
47936         code unconditional.
47937         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47938         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47939         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
47940         Make code unconditional.
47941         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
47942         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47943         * sysdeps/unix/sysv/linux/clock_settime.c
47944         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
47945         conditional code.
47946         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
47947         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
47949 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
47951         [BZ #14476]
47952         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
47953         scripts/test-installation.pl.
47955         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
47956         and $ld_so_version if it is set.
47958 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47960         [BZ #14516]
47961         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
47962         failure if reading from procfs failed.
47963         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
47965 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
47967         * sysdeps/unix/sysv/linux/kernel-features.h
47968         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
47969         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47970         Remove conditional code.
47971         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47972         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
47973         Remove conditional code.
47974         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47975         * sysdeps/unix/sysv/linux/i386/fxstat.c
47976         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47977         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47978         * sysdeps/unix/sysv/linux/i386/fxstatat.c
47979         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47980         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47981         * sysdeps/unix/sysv/linux/i386/lxstat.c
47982         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
47983         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47984         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
47985         Remove conditional code.
47986         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47987         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
47988         Remove conditional code.
47989         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47990         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
47991         <kernel-features.h>.
47992         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
47993         Remove.
47994         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
47995         Remove conditional code.
47996         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
47997         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
47998         Remove conditional.
48000 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
48002         [BZ #5400]
48003         * NEWS: Add fixed bug number.
48005 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
48007         [BZ #14519]
48008         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
48009         underflowing exponent in case of negative sign.
48010         * stdlib/tst-strtod-round-data: Add more tests.
48011         * stdlib/tst-strtod-round.c (tests): Regenerated.
48013         [BZ #3479]
48014         * stdlib/strtod_l.c (NDIG): Remove.
48015         (HEXNDIG): Likewise.
48016         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
48017         smallest representable value.
48018         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
48019         lie within an exact representation of 1/2 ulp of the result.
48020         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
48021         unconditionally.
48022         (TENS_P9_IDX): Define unconditionally.
48023         (TENS_P9_SIZE): Likewise.
48024         (TENS_P10_IDX): Likewise.
48025         (TENS_P10_SIZE): Likewise.
48026         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
48027         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
48028         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
48029         entries for 10^2^13 and 10^2^14.
48030         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
48031         (TENS_P13_IDX): Define.
48032         (TENS_P13_SIZE): Likewise.
48033         (TENS_P14_IDX): Likewise.
48034         (TENS_P14_SIZE): Likewise.
48035         (_fpioconst_pow10): Change array size to
48036         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
48037         unconditional.
48038         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
48039         1024]: Add entries for 10^2^13 and 10^2^14.
48040         [LAST_POW10 > _LAST_POW10]: Remove #error.
48041         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
48042         (_fpioconst_pow10): Change array size to
48043         FPIOCONST_POW10_ARRAY_SIZE.
48044         * stdlib/gen-fpioconst.c: New file.
48045         * stdlib/gen-tst-strtod-round.c: Likewise.
48046         * stdlib/tst-strtod-round-data: Likewise.
48047         * stdlib/tst-strtod-round.c: Likewise.
48048         * stdlib/Makefile (tests): Add tst-strtod-round.
48050         [BZ #14459]
48051         * stdlib/strtod_l.c: Include <stdint.h>.
48052         (NDEBUG): Do not define.
48053         (round_and_return): Change EXPONENT parameter to type intmax_t.
48054         Rearrange calculations to avoid internal overflow possibilities.
48055         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
48056         Rearrange calculations to avoid internal overflow possibilities.
48057         Assert that number fits inside MPNSIZE limbs.
48058         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
48059         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
48060         calculations and add assertions to avoid internal overflow
48061         possibilities.  Add casts to avoid signed/unsigned operations.
48062         * stdlib/tst-strtod-overflow.c: New file.
48063         * stdlib/Makefile (tests): Add tst-strtod-overflow.
48065 2012-08-25  Marek Polacek  <polacek@redhat.com>
48067         * time/time.h: Fix some typos in comments.
48069 2012-08-23  Roland McGrath  <roland@hack.frob.com>
48071         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
48072         * posix/tst-rfc3484-2.c: Likewise.
48073         * posix/tst-rfc3484-3.c: Likewise.
48075 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
48077         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
48078         (EF_ARM_ABI_FLOAT_HARD): Likewise.
48080 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
48082         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
48083         #include of fxstatat64.c.
48085 2012-08-22  Roland McGrath  <roland@hack.frob.com>
48087         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
48088         * shadow/getspent_r.c: Likewise.
48089         * shadow/getspnam.c: Likewise.
48090         * shadow/getspnam_r.c: Likewise.
48091         * gshadow/getsgent.c: Likewise.
48092         * gshadow/getsgent_r.c: Likewise.
48093         * gshadow/getsgnam.c: Likewise.
48094         * gshadow/getsgnam_r.c: Likewise.
48095         * inet/getnetbyad.c: Likewise.
48096         * inet/getnetbyad_r.c: Likewise.
48097         * inet/getnetbynm.c: Likewise.
48098         * inet/getnetbynm_r.c: Likewise.
48099         * inet/getnetent.c: Likewise.
48100         * inet/getnetent_r.c: Likewise.
48101         * inet/getproto.c: Likewise.
48102         * inet/getproto_r.c: Likewise.
48103         * inet/getprtent.c: Likewise.
48104         * inet/getprtent_r.c: Likewise.
48105         * inet/getprtname.c: Likewise.
48106         * inet/getprtname_r.c: Likewise.
48107         * inet/getrpcbyname.c: Likewise.
48108         * inet/getrpcbyname_r.c: Likewise.
48109         * inet/getrpcbynumber.c: Likewise.
48110         * inet/getrpcbynumber_r.c: Likewise.
48111         * inet/getrpcent.c: Likewise.
48112         * inet/getrpcent_r.c: Likewise.
48113         * inet/getaliasent.c: Likewise.
48114         * inet/getaliasent_r.c: Likewise.
48115         * inet/getaliasname.c: Likewise.
48116         * inet/getaliasname_r.c: Likewise.
48117         * nscd/getgrgid_r.c: Likewise.
48118         * nscd/getgrnam_r.c: Likewise.
48119         * nscd/gethstbyad_r.c: Likewise.
48120         * nscd/gethstbynm3_r.c: Likewise.
48121         * nscd/getpwnam_r.c: Likewise.
48122         * nscd/getpwuid_r.c: Likewise.
48123         * nscd/getsrvbynm_r.c: Likewise.
48124         * nscd/getsrvbypt_r.c: Likewise.
48125         * nscd/gai.c: Likewise.
48127         * configure.in (build_nscd): New substituted variable, set
48128         by --disable-build-nscd and defaults to $use_nscd.
48129         * configure: Regenerated.
48130         * config.make.in (build-nscd): New substituted variable.
48131         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
48132         Change conditional to require [$(build-nscd) = yes] as well.
48133         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
48135         [BZ# 13696]
48136         * configure.in (use_nscd): New substituted variable, set by
48137         --disable-nscd.  If enabled, define USE_NSCD.
48138         * configure: Regenerated.
48139         * config.h.in: Add USE_NSCD.
48140         * config.make.in (use-nscd): New substituted variable.
48141         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
48142         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
48143         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
48144         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
48145         (CFLAGS-getgrnam_r.c): Likewise.
48146         (CFLAGS-initgroups.c): Likewise.
48147         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
48148         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
48149         Variables removed.
48150         * inet/getnetgrent_r.c
48151         (nscd_setnetgrent): New function, broken out of ...
48152         (setnetgrent): ... here.  Call it.
48153         (innetgr): Conditionalize nscd bits on [USE_NSCD].
48154         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
48155         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
48156         * nscd/Makefile (routines, aux): Move definitions after include of
48157         Makeconfig.  Conditionalize on [$(use-nscd) != no].
48158         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
48159         Conditionalize on [USE_NSCD].
48160         (is_nscd, nscd_init_cb): Likewise.
48161         (nss_load_library): Conditionalize init callback on [USE_NSCD].
48162         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
48163         * nss/nss_db/db-init.c: Likewise.
48164         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
48165         [USE_NSCD].
48166         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
48167         (make_request): Use it.
48168         (cache_valid_p): New function.
48169         (__check_pf): Use it.
48170         * NEWS: Add item for --disable-nscd.
48172 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
48174         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
48175         to support sed >= 4.2.1-20-ga9bf076.
48176         * configure: Regenerated.
48178 2012-08-22  Roland McGrath  <roland@hack.frob.com>
48180         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
48181         Conditionalize whole body on [IREL].
48183 2012-08-22  Jeff Law <law@redhat.com>
48185         [BZ #14505]
48186         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
48187         if the family is PF_UNSPEC.
48189 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
48191         * Makerules (lib-version): Rename from V.
48192         (install-lib-nosubdir): Change V to lib-version.
48194 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
48196         [BZ #14252]
48197         * powerpc32/power6/wcschr.c: New file.
48198         * powerpc32/power6/wcscpy.c: New file.
48199         * powerpc32/power6/wcsrchr.c: New file.
48200         * powerpc64/power6/wcschr.c: New file.
48201         * powerpc64/power6/wcscpy.c: New file.
48202         * powerpc64/power6/wcsrchr.c: New file.
48204 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
48206         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
48207         (two_way_short_needle): Use it.
48208         * string/strstr.c (AVAILABLE1_USES_J): Define.
48209         * string/strcasestr.c: Likewise.
48211         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
48212         array references.
48213         * string/strcasestr.c (TOLOWER): Make side-effect safe.
48215         [BZ #11607]
48216         * NEWS: Add an entry.
48217         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
48218         define their defaults.
48219         (two_way_short_needle): Detect end-of-string on-the-fly.
48220         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
48221         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
48222         * string/bug-strcasestr1.c: New test.
48223         * string/Makefile: Run it.
48225 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
48227         [BZ #11607]
48228         * string/str-two-way.h (two_way_short_needle): Optimize matching of
48229         the first character.
48231 2012-08-21  Roland McGrath  <roland@hack.frob.com>
48233         * csu/elf-init.c (__libc_csu_irel): Function removed.
48234         * csu/libc-start.c (apply_irel): New function.
48235         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
48237 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
48239         * sysdeps/unix/sysv/linux/kernel-features.h
48240         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
48241         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48242         <kernel-features.h>.
48243         [__NR_fadvise64_64]: Make code unconditional.
48244         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
48245         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
48246         !__NR_fadvise64_64)]: Likewise.
48247         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
48248         !__NR_fadvise64_64))]: Likewise.
48249         [__NR_fadvise64]: Make code unconditional.
48250         [!__NR_fadvise64]: Remove conditional code.
48251         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
48252         <kernel-features.h>.
48253         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48254         unconditional.
48255         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48256         conditional code.
48257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
48258         not include <kernel-features.h>.
48259         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48260         unconditional.
48261         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48262         conditional code.
48263         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
48264         include <kernel-features.h>.
48265         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48266         unconditional.
48267         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48268         conditional code.
48270 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48272         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
48273         slight instruction rearrangements per scrollpipe analysis.
48274         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48276 2012-08-20  Roland McGrath  <roland@hack.frob.com>
48278         * manual/syslog.texi (syslog; vsyslog, closelog):
48279         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
48280         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
48282         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
48283         DSOCAPS to match condition on defining it.
48285 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
48287         * sysdeps/unix/sysv/linux/kernel-features.h
48288         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
48289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
48290         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48291         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
48293         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48294         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
48296         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48297         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48299         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
48300         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
48302         * sysdeps/unix/sysv/linux/kernel-features.h
48303         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
48304         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
48305         unconditional.
48306         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48307         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
48308         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48309         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48310         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
48311         Make code unconditional.
48312         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48313         (__mmap64) [!__NR_mmap2]: Likewise.
48314         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
48315         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48316         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48317         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
48318         [__NR_mmap2]: Make code unconditional.
48319         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48320         (__mmap64) [!__NR_mmap2]: Likewise.
48322 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48324         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
48326 2012-08-18  Andreas Jaeger  <aj@suse.de>
48328         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
48330 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
48332         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
48333         * include/unistd.h (__have_sock_cloexec): Likewise.
48334         (__have_pipe2): Likewise.
48335         (__have_dup3): Likewise.
48337 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
48339         [BZ #9685]
48340         * include/unistd.h (__have_pipe2): Change define into an extern int.
48341         (__have_dup3): Likewise.
48342         * socket/have_sock_cloexec.c: Include fcntl.h.
48343         (__have_pipe2): New variable.
48344         (__have_dup3): Likewise.
48346 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
48348         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
48350 2012-08-17  Marek Polacek  <polacek@redhat.com>
48352         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
48353         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
48355 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48357         * configure.in: Add AC_SUBST for sysheaders.
48358         * configure: Regenerated.
48359         * config.make.in (sysheaders): New substituted variable.
48361         * sysdeps/unix/mkfifo.c: Moved ...
48362         * sysdeps/posix/mkfifo.c: ... here.
48363         * sysdeps/unix/mkfifoat.c: Moved ...
48364         * sysdeps/posix/mkfifoat.c: ... here.
48366         * sysdeps/unix/utime.c: Moved ...
48367         * sysdeps/posix/utime.c: ... here.
48369         * sysdeps/unix/time.c: Moved ...
48370         * sysdeps/posix/time.c: ... here.
48371         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
48372         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
48374         * sysdeps/unix/nice.c: Moved ...
48375         * sysdeps/posix/nice.c: ... here.
48377         * sysdeps/unix/alarm.c: Moved ...
48378         * sysdeps/posix/alarm.c: ... here.
48380         * intl/Makefile ($(codeset_mo)): Depend on the input file.
48382 2012-08-17  Jeff Law <law@redhat.com>
48384         * intl/Makefile (codeset_mo): New variable.
48385         ($(codeset_mo)): New target.
48386         (tst-codeset.out): Depend on that.  Remove explicit rule.
48387         (tst-gettext3.out, tst-gettext5.out): Likewise.
48388         (LOCPATH-ENV, tst-codeset-ENV): New variables.
48389         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
48390         * intl/tst-codeset.sh: Remove.
48391         * intl/tst-gettext3.sh: Likewise.
48392         * intl/tst-gettext5.sh: Likewise.
48394 2012-08-17  Roland McGrath  <roland@hack.frob.com>
48396         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
48397         * sysdeps/unix/syscalls.list: ... here.
48399         * sysdeps/posix/getaddrinfo.c
48400         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
48401         (gaiconf_init, gaiconf_reload): Use them.
48402         [!_STATBUF_ST_NSEC]
48403         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
48404         Define using time_t rather than struct timespec.
48406         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
48407         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
48408         Macros removed.
48409         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
48410         [!NO_THREADS].
48411         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
48412         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
48413         Likewise.
48415         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
48416         __libc_cleanup_push argument.
48418         * bits/param.h: New file.
48419         * misc/sys/param.h: New file.
48420         * include/sys/param.h: New file.
48421         * misc/Makefile (headers): Add bits/param.h.
48422         * sysdeps/generic/sys/param.h: File removed.
48423         * sysdeps/unix/sysv/linux/bits/param.h: New file.
48424         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48425         * sysdeps/mach/hurd/bits/param.h: New file.
48426         * sysdeps/mach/hurd/sys/param.h: File removed.
48428         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48429         last change.
48431         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
48432         [_IO_MTSAFE_IO].
48433         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
48434         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
48435         New macros.
48437         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
48438         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
48439         rather than -D_IO_MTSAFE_IO conditionally.
48440         * stdio-common/Makefile (CPPFLAGS): Likewise.
48441         * wcsmbs/Makefile (CPPFLAGS): Likewise.
48442         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
48443         Use $(libio-mtsafe).
48444         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
48445         of -D_IO_MTSAFE_IO.
48446         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
48447         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
48448         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
48449         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
48450         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48451         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
48452         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
48453         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
48454         (CFLAGS-fread_u_chk.c): Likewise.
48455         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
48456         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
48457         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
48458         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
48459         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
48460         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
48461         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
48462         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
48463         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
48465         * libio/Makefile: Test [$(libc-reentrant) = yes]
48466         instead of [$(filter %REENTRANT, $(defines)) nonempty].
48468         * Makeconfig
48469         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
48470         * sysdeps/pthread/configure: File removed.
48471         * sysdeps/pthread/Makeconfig: New file.
48472         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48473         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
48475 2012-08-16  Gary Benson  <gbenson@redhat.com>
48477         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48478         unmapping the first object in a namespace.
48480 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48482         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48483         (__internal_setnetgrent): ... this.  Add internal_function to
48484         definition.  Add libc_hidden_def.
48485         (setnetgrent): Update caller.
48486         (internal_endnetgrent): Renamed to ...
48487         (__internal_endnetgrent): ... this.  Add internal_function to
48488         definition.  Add libc_hidden_def.
48489         (endnetgrent): Update caller.
48490         (internal_getnetgrent_r): Renamed to ...
48491         (__internal_getnetgrent_r): ... this.  Add internal_function to
48492         definition.  Add libc_hidden_def.
48493         (__getnetgrent_r): Update caller.
48494         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
48496 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48498         * stdlib/longlong.h: Update from GCC.
48500 2012-08-16  Roland McGrath  <roland@hack.frob.com>
48502         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48503         on _QL, which is set by umul_ppmm but never used.
48504         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48505         variables, which are set by GMP macros but never used.
48506         * stdio-common/_itowa.c (_itowa): Likewise.
48507         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48508         * stdlib/mod_1.c (mpn_mod_1): Likewise.
48510 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
48512         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48513         struct La_sh_regs is not constant.
48514         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48515         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48516         and struct La_sparc64_regs are not constant.
48518 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
48520         * sysdeps/unix/sysv/linux/kernel-features.h
48521         (__ASSUME_POSIX_TIMERS): Remove.
48522         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48523         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48524         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48525         Make code unconditional.
48526         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48527         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48528         Make code unconditional.
48529         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48530         * sysdeps/unix/sysv/linux/clock_nanosleep.c
48531         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48532         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48533         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48534         Make code unconditional.
48535         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48536         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48537         (__libc_missing_posix_timers): Remove.
48539 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48541         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48542         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48544         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48546         * elf/dl-sym.c: Include <stdlib.h>.
48548         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48549         constants, which avoids warnings in 32-bit builds.
48551         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48552         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48554         * misc/lseek.c: File moved to ...
48555         * io/lseek.c: ... here.
48557         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48559         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48560         shifting LEN more than 31 bits at once.
48562 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48564         [BZ #14195]
48565         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48566         segmentation fault for a case of two empty input strings.
48567         * string/test-strncasecmp.c (check1): Renamed to...
48568         (bz12205): ...this.
48569         (bz14195): Add new testcase for two empty input strings and N > 0.
48570         (test_main): Call new testcase, adapt for renamed function.
48572 2012-08-15  Andreas Jaeger  <aj@suse.de>
48574         [BZ #14090]
48575         * crypt/md5test2.c: New test, based on test supplied by Serge
48576         Belyshev <belyshev@depni.sinp.msu.ru>.
48577         * crypt/Makefile (xtests): Add md5test-giant..
48578         * crypt/Makefile ($(objpfx)md5test-giant): Add.
48580 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
48582         [BZ #14090]
48583         * crypt/md5.c (md5_process_block): Don't assume the buffer
48584         length is less than 2**32.
48585         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48586         length is less than 2**64.
48588 2012-08-15  Roland McGrath  <roland@hack.frob.com>
48590         * string/str-two-way.h: Include <sys/param.h>.
48591         (MAX): Macro removed.
48593         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48594         Move #define and #undef of memmove to just before and after
48595         including <string.h>.
48597         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48598         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48599         and after including <string.h>.  Move declarations of
48600         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48601         to before #include "string/memmove.c".
48603         * include/dirent.h: Declare __getdirentries.
48605         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48606         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48608 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
48610         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48611         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48612         * sysdeps/i386/configure: Regenerated.
48613         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48614         STABS_CURRENT_FILE, and STABS_FUN.
48615         (END): Remove call to STABS_FUN_END.
48616         (STABS_CURRENT_FILE1): Delete.
48617         (STABS_CURRENT_FILE): Likewise.
48618         (STABS_FUN): Likewise.
48619         (STABS_FUN_END): Likewise.
48620         (STABS_FUN2): Likewise.
48621         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48622         * sysdeps/x86_64/configure: Regenerated.
48624 2012-08-14  Roland McGrath  <roland@hack.frob.com>
48626         * elf/dl-open.c: Include <atomic.h>.
48627         * elf/dl-lookup.c: Likewise.
48629 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
48631         * sysdeps/unix/sysv/linux/kernel-features.h
48632         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48633         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48634         unconditionally.
48635         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48636         unconditionally.
48637         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48638         condition on __ASSUME_CLONE_THREAD_FLAGS.
48640 2012-08-14  Andreas Jaeger  <aj@suse.de>
48642         * sysdeps/i386/fpu/libm-test-ulps: Update.
48644 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
48646         * include/atomic.h (atomic_exchange_and_add): Split into ...
48647         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48648         New atomic macros.
48650 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
48652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48654 2012-08-13  Jeff Law <law@redhat.com>
48656         * manual/stdio.texi (snprintf): Clarify handling of the trailing
48657         null byte in the output string.
48659 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
48661         * sysdeps/unix/sysv/linux/kernel-features.h
48662         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48663         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48664         (__ASSUME_ARG_MAX_STACK_BASED): Define.
48665         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48666         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48667         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
48668         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48670 2012-08-09  Jeff Law <law@redhat.com>
48672         [BZ #13939]
48673         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48674         When avoid_arena is set, don't retry in the that arena.  Pick the
48675         next one, whatever it might be.
48676         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48677         (arena_lock): Pass in new parameter to arena_get2.
48678         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48679         arena_get2.
48680         (__libc_malloc): Unify retrying after main arena failure with
48681         __libc_memalign version.
48682         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48684 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
48686         [BZ #14166]
48687         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48688         to __redirect_strstr.
48689         (__strstr_sse42): Use typeof __redirect_strstr.
48690         (__strstr_ia32): Likewise.
48691         (__libc_strstr): New prototype.
48692         (strstr): Renamed to ...
48693         (__libc_strstr): This.
48694         (strstr): New strong alias of __libc_strstr.
48695         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48696         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48697         __redirect_time.
48698         Include <time.h>.
48699         (__libc_time): New prototype.
48700         (time_ifunc): Replace time with __libc_time.
48701         (time): New strong alias and hidden definition of __libc_time.
48702         (__GI_time): Remove strong alias.
48703         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48704         Include <stddef.h>.
48705         (memmove): Redefined to __redirect_memmove.
48706         (__memmove_sse2): Use typeof __redirect_memmove.
48707         (__memmove_ssse3): Likewise.
48708         (__memmove_ssse3_back): Likewise.
48709         (__libc_memmove): New prototype.
48710         (memmove): Renamed to ...
48711         (__libc_memmove): This.
48712         (memmove): New strong alias of __libc_memmove.
48714 2012-08-08  Mark Salter  <msalter@redhat.com>
48716         * elf/elf.h
48717         (R_MN10300_TLS_GD): Define.
48718         (R_MN10300_TLS_LD): Likewise.
48719         (R_MN10300_TLS_LDO): Likewise.
48720         (R_MN10300_TLS_GOTIE): Likewise.
48721         (R_MN10300_TLS_IE): Likewise.
48722         (R_MN10300_TLS_LE): Likewise.
48723         (R_MN10300_TLS_DTPMOD): Likewise.
48724         (R_MN10300_TLS_DTPOFF): Likewise.
48725         (R_MN10300_TLS_TPOFF): Likewise.
48726         (R_MN10300_SYM_DIFF): Likewise.
48727         (R_MN10300_ALIGN): Likewise.
48728         (R_MN10300_NUM): Update.
48730 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
48732         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48733         Remove.
48735 2012-08-08  Roland McGrath  <roland@hack.frob.com>
48737         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48739         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48740         sysdeps/unix -> sysdeps/posix move.
48741         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48743 2012-08-07      Allan McRae     <allan@archlinux.org>
48745         [BZ #14303]
48746         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48747         (SUNOS_CPP): Likewise.
48748         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48749         not found.
48750         (open_input): Call CPP using execvp.
48752 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
48754         * sysdeps/unix/sysv/linux/kernel-features.h
48755         (__ASSUME_PROT_GROWSUPDOWN): Remove.
48756         (__ASSUME_NO_CLONE_DETACHED): Likewise.
48757         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48758         (__ASSUME_WAITID_SYSCALL): Likewise.
48759         * sysdeps/unix/sysv/linux/dl-execstack.c
48760         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48761         code unconditional.
48762         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48763         conditional code.
48764         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48765         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48766         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48767         code.
48768         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48769         unconditional.
48770         [__ASSUME_WAITID_SYSCALL]: Likewise.
48771         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48773 2012-08-07  Roland McGrath  <roland@hack.frob.com>
48775         * sysdeps/unix/closedir.c: Renamed to ...
48776         * sysdeps/posix/closedir.c: ... here.
48777         * sysdeps/unix/dirfd.c: Renamed to ...
48778         * sysdeps/posix/dirfd.c: ... here.
48779         * sysdeps/unix/dirstream.h: Renamed to ...
48780         * sysdeps/posix/dirstream.h: ... here.
48781         * sysdeps/unix/fdopendir.c: Renamed to ...
48782         * sysdeps/posix/fdopendir.c: ... here.
48783         * sysdeps/unix/opendir.c: Renamed to ...
48784         * sysdeps/posix/opendir.c: ... here.
48785         * sysdeps/unix/readdir.c: Renamed to ...
48786         * sysdeps/posix/readdir.c: ... here.
48787         * sysdeps/unix/readdir_r.c: Renamed to ...
48788         * sysdeps/posix/readdir_r.c: ... here.
48789         * sysdeps/unix/rewinddir.c: Renamed to ...
48790         * sysdeps/posix/rewinddir.c: ... here.
48791         * sysdeps/unix/seekdir.c: Renamed to ...
48792         * sysdeps/posix/seekdir.c: ... here.
48793         * sysdeps/unix/telldir.c: Renamed to ...
48794         * sysdeps/posix/telldir.c: ... here.
48795         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48796         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48797         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48798         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48800         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48801         * bits/fcntl.h: ... here.
48803         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48804         not 0.
48805         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48806         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48807         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48808         (struct flock): Move l_start, l_len to the beginning.
48809         Use __pid_t for l_pid.
48810         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48811         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48812         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48813         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48814         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48815         [__USE_LARGEFILE64] (struct flock64): New type.
48816         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48818         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48819         * bits/dirent.h: ... here.
48821         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48822         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48824 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
48826         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48827         Change from 2.6.0 to 2.6.16.
48828         * sysdeps/unix/sysv/linux/configure: Regenerated.
48829         * sysdeps/unix/sysv/linux/kernel-features.h
48830         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48831         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48832         version.
48833         (__ASSUME_UTIMES): Likewise.
48834         (__ASSUME_CLONE_STOPPED): Remove.
48835         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48836         architectures, not kernel version.
48837         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48838         (__ASSUME_NO_CLONE_DETACHED): Likewise.
48839         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48840         (__ASSUME_WAITID_SYSCALL): Likewise.
48841         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48842         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48843         * README: State 2.6.16 as minimum Linux kernel version.  Do not
48844         refer to older versions.
48846 2012-08-06  Roland McGrath  <roland@hack.frob.com>
48848         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48849         Define alphasort64 as an alias.
48850         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
48851         Define versionsort64 as an alias.
48852         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
48853         Define scandir64 as an alias.
48854         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
48855         Define scandirat64 as an alias.
48856         * dirent/alphasort64.c (alphasort64):
48857         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
48858         * dirent/versionsort64.c: Likewise.
48859         * dirent/scandir64.c: Likewise.
48860         * dirent/scandirat64.c: Likewise.
48861         * sysdeps/wordsize-64/alphasort.c: File removed.
48862         * sysdeps/wordsize-64/alphasort64.c: File removed.
48863         * sysdeps/wordsize-64/scandir.c: File removed.
48864         * sysdeps/wordsize-64/scandir64.c: File removed.
48865         * sysdeps/wordsize-64/scandirat.c: File removed.
48866         * sysdeps/wordsize-64/scandirat64.c: File removed.
48867         * sysdeps/wordsize-64/versionsort.c: File removed.
48868         * sysdeps/wordsize-64/versionsort64.c: File removed.
48869         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
48870         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
48871         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
48872         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
48873         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
48874         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
48875         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
48876         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
48878         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
48879         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48880         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
48881         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48882         [defined __arch64__ || defined __sparcv9]
48883         (__INO_T_MATCHES_INO64_T): New macro.
48884         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48885         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
48886         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
48887         * sysdeps/unix/sysv/linux/bits/dirent.h
48888         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
48889         (_DIRENT_MATCHES_DIRENT64): New macro.
48891         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
48892         Define lockf64 as an alias.
48893         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
48894         Define fseeko64 as an alias.
48895         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
48896         Define ftello64 as an alias.
48897         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
48898         Define _IO_fgetpos64 and fgetpos64 as aliases.
48899         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
48900         Define _IO_fsetpos64 and fsetpos64 as aliases.
48901         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
48902         Conditionalize body on this.
48903         * libio/fseeko64.c: Likewise.
48904         * libio/ftello64.c: Likewise.
48905         * libio/iofgetpos64.c: Likewise.
48906         * libio/iofsetpos64.c: Likewise.
48907         * sysdeps/wordsize-64/lockf.c: File removed.
48908         * sysdeps/wordsize-64/lockf64.c: File removed.
48909         * sysdeps/wordsize-64/fseeko.c: File removed.
48910         * sysdeps/wordsize-64/fseeko64.c: File removed.
48911         * sysdeps/wordsize-64/ftello.c: File removed.
48912         * sysdeps/wordsize-64/ftello64.c: File removed.
48913         * sysdeps/wordsize-64/iofgetpos.c: File removed.
48914         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
48915         * sysdeps/wordsize-64/iofsetpos.c: File removed.
48916         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
48917         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
48918         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
48919         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
48920         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
48921         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
48922         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
48923         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
48924         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
48925         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
48926         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
48928         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48929         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
48930         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
48931         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48932         [defined __arch64__ || defined __sparcv9]
48933         (__OFF_T_MATCHES_OFF64_T): New macro.
48934         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
48935         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
48936         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48937         (__OFF_T_MATCHES_OFF64_T): New macro.
48939 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
48941         * stdlib/secure-getenv.c (__secure_getenv): Replace
48942         GLIBC_2_16 with GLIBC_2_17.
48944 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
48946         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
48947         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48949 2012-08-03  David S. Miller  <davem@davemloft.net>
48951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48953 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
48955         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
48956         Remove.
48957         (__ASSUME_CORRECT_SI_PID): Likewise.
48958         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
48959         (__ASSUME_TMPFS_NAME): Likewise.
48960         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
48961         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
48962         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
48963         (HAVE_AUX_SECURE): Make definition unconditional.
48964         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
48965         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
48967 2012-08-03  Roland McGrath  <roland@hack.frob.com>
48969         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
48970         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
48971         * sysdeps/mach/hurd/eloop-threshold.h: New file.
48972         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48973         __eloop_threshold instead of SYMLOOP_MAX.
48975         * sysdeps/generic/eloop-threshold.h: New file.
48976         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
48977         of MAXSYMLINKS.
48978         * elf/chroot_canon.c (chroot_canon): Likewise.
48980 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
48982         [BZ #13717]
48983         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48984         Change to 2.6.0 everywhere.
48985         * sysdeps/unix/sysv/linux/configure: Regenerated.
48986         * sysdeps/unix/sysv/linux/kernel-features.h
48987         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
48988         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
48989         kernel versions.
48990         (__ASSUME_POSIX_TIMERS): Define unconditionally.
48991         (__ASSUME_FUTEX_REQUEUE): Remove.
48992         (__ASSUME_STATFS64): Define unconditionally.
48993         (__ASSUME_AT_SECURE): Likewise.
48994         (__ASSUME_CORRECT_SI_PID): Likewise.
48995         (__ASSUME_TGKILL): Define without depending on kernel version for
48996         i386.
48997         (__ASSUME_UTIMES): Likewise.
48998         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
48999         kernel version.
49000         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
49001         (__ASSUME_TMPFS_NAME): Likewise.
49002         * README: Update reference to Linux kernel versions.
49004 2012-08-02  Marek Polacek  <polacek@redhat.com>
49006         [BZ# 14150]
49007         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
49008         libc_cv_asm_type_prefix with %.
49009         * configure: Regenerated.
49010         * include/libc-symbols.h: Remove comment about
49011         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
49012         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
49013         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
49014         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
49015         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
49016         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
49017         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
49018         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
49019         * elf/tst-unique2mod1.c: Likewise.
49020         * elf/tst-unique1mod2.c: Likewise.
49021         * elf/tst-unique1mod1.c: Likewise.
49022         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
49023         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
49024         Replace ASM_TYPE_DIRECTIVE with .type.
49025         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49026         * sysdeps/i386/sysdep.h: Likewise.
49027         * sysdeps/x86_64/sysdep.h: Likewise.
49028         * sysdeps/sh/sysdep.h: Likewise.
49029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49030         Do not define ASM_TYPE_DIRECTIVE.
49031         * sysdeps/powerpc/sysdep.h: Likewise.
49032         * sysdeps/powerpc/powerpc32/sysdep.h:
49033         Replace ASM_TYPE_DIRECTIVE with .type.
49034         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49035         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49036         * sysdeps/i386/fpu/e_powf.S: Likewise.
49037         * sysdeps/i386/fpu/e_expl.S: Likewise.
49038         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49039         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49040         * sysdeps/i386/fpu/e_pow.S: Likewise.
49041         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49042         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49043         * sysdeps/i386/fpu/s_expm1.S: Likewise.
49044         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49045         * sysdeps/i386/fpu/e_log2.S: Likewise.
49046         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49047         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49048         * sysdeps/i386/fpu/e_powl.S: Likewise.
49049         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49050         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49051         * sysdeps/i386/fpu/e_logl.S: Likewise.
49052         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49053         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49054         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49055         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49056         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49057         * sysdeps/i386/fpu/e_log.S: Likewise.
49058         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49059         * sysdeps/i386/fpu/e_logf.S: Likewise.
49060         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49061         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49062         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49063         * sysdeps/i386/fpu/e_log10.S: Likewise.
49064         * sysdeps/i386/fpu/s_frexp.S: Likewise.
49065         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49066         * sysdeps/i386/fpu/s_asinh.S: Likewise.
49067         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49068         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49069         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
49070         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49071         * sysdeps/i386/i686/strtok.S: Likewise.
49072         * sysdeps/i386/i386-mcount.S: Likewise.
49073         * sysdeps/i386/strtok.S: Likewise.
49074         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
49075         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49076         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49077         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49078         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49079         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49080         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49081         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49082         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49083         * sysdeps/x86_64/_mcount.S: Likewise.
49084         * sysdeps/x86_64/strtok.S: Likewise.
49085         * sysdeps/sh/_mcount.S: Likewise.
49087 2012-08-01  Roland McGrath  <roland@hack.frob.com>
49089         * libio/iofopen.c: Include <fcntl.h>.
49090         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
49091         (_IO_fopen64, fopen64): Define as aliases.
49092         * libio/iofopen64.c: Include <fcntl.h>.
49093         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
49094         Conditionalize body on this.
49095         * sysdeps/wordsize-64/iofopen.c: File removed.
49096         * sysdeps/wordsize-64/iofopen64.c: File removed.
49098 2012-08-01  Marek Polacek  <polacek@redhat.com>
49100         * libc/Makeconfig: Use elf in place of binfmt-subdir.
49101         Use dlfcn directly instead of a variable.
49102         (binfmt-subdir): Do not define.
49103         (dlfcn): Likewise.
49105 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
49107         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
49108         Remove all definitions.
49109         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
49110         <kernel-features.h>.
49111         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
49112         (miss_F_GETOWN_EX): Remove all definitions.
49113         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
49114         macro definition.
49115         [!__ASSUME_FCNTL64]: Remove conditional code.
49116         [__ASSUME_FCNTL64]: Make code unconditional.
49117         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
49118         <kernel-features.h>.
49119         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
49120         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
49121         (lockf64) [__NR_fcntl64]: Make code unconditional.
49122         (lockf64) [__ASSUME_FCNTL64]: Likewise.
49124         * sysdeps/unix/sysv/linux/kernel-features.h
49125         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
49126         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
49127         Make code unconditional.
49128         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49129         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
49131         [__NR_vfork]: Make code unconditional.
49132         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49133         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
49135         [__NR_vfork]: Make code unconditional.
49136         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49137         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49139 2012-08-01  Roland McGrath  <roland@hack.frob.com>
49141         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
49142         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
49144         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49145         Define mkstemp64 as an alias.
49146         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49147         Define mkstemps64 as an alias.
49148         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49149         Define mkostemp64 as an alias.
49150         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49151         Define mkostemps64 as an alias.
49152         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
49153         Conditionalize body on this.
49154         * misc/mkostemp64.c: Likewise.
49155         * misc/mkostemps64.c: Likewise.
49156         * misc/mkstemps64.c: Likewise.
49157         * sysdeps/wordsize-64/mkstemp64.c: File removed.
49158         * sysdeps/wordsize-64/mkostemp64.c: File removed.
49159         * sysdeps/wordsize-64/mkostemp.c: File removed.
49160         * sysdeps/wordsize-64/mkstemp.c: File removed.
49161         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
49162         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
49163         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
49164         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
49166         [BZ #14138]
49167         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
49168         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
49169         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
49170         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
49172         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
49173         compat_symbol macros from <shlib-compat.h> rather than the underlying
49174         default_symbol_version and symbol_version macros, so that DEFAULT
49175         lines in shlib-versions are respected.
49176         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
49178 2012-08-01  Florian Weimer  <fweimer@redhat.com>
49180         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
49181         Declare with warn_unused_result.
49182         (setgid, setregid, setegid, setresgid): Likewise.
49183         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
49184         Likewise.
49185         * WUR-REPORT: Remove set*id functions.
49187 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
49189         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
49191 2012-07-31  Roland McGrath  <roland@hack.frob.com>
49193         [BZ #10191]
49194         * include/sys/socket.h (__libc_accept, __libc_accept4):
49195         Add attribute_hidden.
49196         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
49198         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
49199         use of PTR_MANGLE.
49200         * inet/getnetgrent_r.c (setup): Likewise.
49202         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
49204 2012-07-31  David S. Miller  <davem@davemloft.net>
49206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49208 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
49210         [BZ #13629]
49211         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
49212         value between 1.0 and 2.0 and smaller part has absolute value less
49213         than 1.0.
49214         * math/s_clog10.c (__clog10): Likewise.
49215         * math/s_clog10f.c (__clog10f): Likewise.
49216         * math/s_clog10l.c (__clog10l): Likewise.
49217         * math/s_clogf.c (__clogf): Likewise.
49218         * math/s_clogl.c (__clogl): Likewise.
49219         * math/libm-test.inc (clog_test): Add more tests.
49220         (clog10_test): Likewise.
49221         * sysdeps/i386/fpu/libm-test-ulps: Update.
49222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49224 2012-07-31  Florian Weimer  <fweimer@redhat.com>
49226         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
49227         Exit with zero in case no suitable GID is found, and write a
49228         message to standard error.
49230 2012-07-30  Roland McGrath  <roland@hack.frob.com>
49232         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
49233         rather than to 1.
49234         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
49235         (MAXPATHLEN): Removed.
49236         (NOGROUP, NODEV): New macros.
49237         (setbit, clrbit, isset, isclr): New macros.
49238         (howmany, roundup, powerof2): New macros.
49239         (DEV_BSIZE): New macro.
49241         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
49242         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
49244         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
49245         definition on [!__NO_LONG_DOUBLE_MATH].
49247         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
49248         PTR_MANGLE and PTR_DEMANGLE.
49250         * socket/accept4.c (accept4): Rename to __libc_accept4.
49251         Define accept4 as a weak alias.
49253         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
49254         on [_DIRENT_HAVE_D_TYPE].
49255         * io/ftw.c (ftw_dir): Likewise.
49257         * io/xmknod.c (__xmknod): Don't check PATH for being null.
49259         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
49261         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
49262         Use the BSD numbers rather than the arbitrary ones we had.
49263         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
49264         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
49265         (SIGXCPU, SIGXFSZ): New macros.
49266         (_NSIG): Now 32.
49268         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
49269         initializer on [_LIBC_REENTRANT].
49271         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
49272         definitions inside [_POSIX_MAPPED_FILES].
49274         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
49276         * dirent/opendir.c: Include <fcntl.h>.
49278         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
49279         (__libc_getspecific): Likewise.
49280         (__libc_key_create): Likewise.
49282         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
49283         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
49284         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
49285         (tmpfile64): Define as alias.
49286         * sysdeps/wordsize-64/tmpfile.c: File removed.
49287         * sysdeps/wordsize-64/tmpfile64.c: File removed.
49288         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
49289         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
49291         * stdio-common/vfscanf.c: Include <stdbool.h>.
49292         * nss/makedb.c: Likewise.
49293         * stdio-common/_i18n_number.h: Likewise.
49294         * argp/argp-help.c: Likewise.
49295         * posix/wordexp.c: Likewise.
49296         * sysdeps/posix/spawni.c: Likewise.
49297         * nss/nss_files/files-initgroups.c: Likewise.
49298         * stdio-common/reg-modifier.c: Include <stdlib.h>.
49299         * nss/nss_files/files-initgroups.c: Likewise.
49300         * nss/nss_db/db-netgrp.c: Likewise.
49301         * nss/nss_db/db-initgroups.c: Likewise.
49302         * io/fchmodat.c: Include <sys/stat.h>.
49304         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
49305         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
49307         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
49308         [HAVE_MMAP].
49310         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
49311         Add multiple inclusion protection.
49313 2012-07-27  David S. Miller  <davem@davemloft.net>
49315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49317 2012-07-27  Gary Benson  <gbenson@redhat.com>
49319         [BZ #14298]
49320         * elf/rtld.c: Include <stap-probe.h>.
49321         (dl_main): Added static probes "init_start" and "init_complete".
49322         * elf/dl-load.c: Include <stap-probe.h>.
49323         (lose): Take new parameter "nsid".
49324         Added static probe "map_failed".
49325         (_dl_map_object_from_fd): Pass namespace id to lose.
49326         Added static probe "map_start".
49327         (open_verify): Pass namespace id to lose.
49328         * elf/dl-open.c: Include <stap-probe.h>.
49329         (dl_open_worker) Added static probes "map_complete", "reloc_start"
49330         and "reloc_complete".
49331         * elf/dl-close.c: Include <stap-probe.h>.
49332         (_dl_close_worker): Added static probes "unmap_start" and
49333         "unmap_complete".
49334         * elf/rtld-debugger-interface.txt: New file documenting the above.
49336 2012-07-26  Roland McGrath  <roland@hack.frob.com>
49338         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
49339         rather than a string variable.
49340         * sunrpc/rpc_main.c (h_output): Likewise.
49341         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
49343 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
49345         * inet/check_native.c: New file.
49347 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
49349         [BZ #13629]
49350         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
49351         if larger part has absolute value 1.0.
49352         * math/s_clog10.c (__clog10): Likewise.
49353         * math/s_clog10f.c (__clog10f): Likewise.
49354         * math/s_clog10l.c (__clog10l): Likewise.
49355         * math/s_clogf.c (__clogf): Likewise.
49356         * math/s_clogl.c (__clogl): Likewise.
49357         * math/libm-test.inc (clog_test): Add more tests.
49358         (clog10_test): Likewise.
49359         * sysdeps/i386/fpu/libm-test-ulps: Update.
49360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49362         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
49363         (pltexit): Likewise.
49364         (La_regs): Likewise.
49365         (La_retval): Likewise.
49366         (int_retval): Likewise.
49367         Update #error for removed macros to refer only to definitions in
49368         tst-audit.h.
49369         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
49370         macro.
49371         (pltexit): Likewise.
49372         (La_regs): Likewise.
49373         (La_retval): Likewise.
49374         (int_retval): Likewise.
49375         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
49376         macro.
49377         (pltexit): Likewise.
49378         (La_regs): Likewise.
49379         (La_retval): Likewise.
49380         (int_retval): Likewise.
49381         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
49382         macro.
49383         (pltexit): Likewise.
49384         (La_regs): Likewise.
49385         (La_retval): Likewise.
49386         (int_retval): Likewise.
49387         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
49388         macro.
49389         (pltexit): Likewise.
49390         (La_regs): Likewise.
49391         (La_retval): Likewise.
49392         (int_retval): Likewise.
49393         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
49394         macro.
49395         (pltexit): Likewise.
49396         (La_regs): Likewise.
49397         (La_retval): Likewise.
49398         (int_retval): Likewise.
49399         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
49400         macro.
49401         (pltexit): Likewise.
49402         (La_regs): Likewise.
49403         (La_retval): Likewise.
49404         (int_retval): Likewise.
49405         * sysdeps/generic/tst-audit.h: Update comment to refer only to
49406         macro definitions in tst-audit.h.
49407         * sysdeps/i386/tst-audit.h: New file.
49408         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
49409         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
49410         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
49411         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
49412         * sysdeps/sh/tst-audit.h: Likewise.
49413         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
49414         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
49415         * sysdeps/x86_64/tst-audit.h: Likewise.
49417 2012-07-26  Andreas Jaeger  <aj@suse.de>
49419         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
49420         ptrace.
49422         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
49423         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
49424         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
49425         PTRACE_O_MASK.
49426         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
49427         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
49428         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
49430         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
49431         value.
49433         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
49434         _sigsys.
49435         (si_call_addr, si_syscall, si_arch): Define new macro.
49436         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
49437         _sigsys.
49438         (si_call_addr, si_syscall, si_arch): Define new marcro.
49439         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
49440         _sigsys.
49441         (si_call_addr, si_syscall, si_arch): Define new macro.
49442         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
49443         _sigsys.
49444         (si_call_addr, si_syscall, si_arch): Define new macro.
49446 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49448         [BZ #13717]
49449         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49450         Change to 2.4.21 where previously 2.4.1.
49451         * sysdeps/unix/sysv/linux/configure: Regenerated.
49452         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
49453         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
49454         Linux kernel version.
49455         (__ASSUME_STD_AUXV): Remove.
49456         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
49457         kernel version.
49458         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
49459         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
49460         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
49461         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
49462         (__ASSUME_NETLINK_SUPPORT): Likewise.
49463         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
49464         (__no_netlink_support): Remove conditional definition.
49465         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
49466         Remove.
49467         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49468         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
49469         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
49470         (if_nameindex_ioctl): Remove.
49471         (if_nameindex_netlink): Do not handle __no_netlink_support.
49472         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49473         code.
49474         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49475         Remove conditional code.
49476         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49477         code.
49478         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49479         unconditional.
49480         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49481         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49482         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49483         Remove.
49484         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49485         [!__ASSUME_STD_AUXV]: Remove conditional code.
49486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49487         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49488         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49490         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49491         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49492         code.
49493         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49495         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49496         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49497         conditional code.
49498         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49500         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49501         code.
49502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49503         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49504         conditional code.
49505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49506         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49507         code unconditional.
49508         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49509         conditional code.
49510         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49511         unconditional.
49512         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49513         conditional code.
49514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49515         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49516         unconditional.
49517         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49518         conditional code.
49519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49520         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49521         code unconditional.
49522         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49523         conditional code.
49524         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49525         unconditional.
49526         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49527         conditional code.
49528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49529         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49530         code unconditional.
49531         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49532         conditional code.
49533         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49534         unconditional.
49535         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49536         conditional code.
49538 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
49540         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49541         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49542         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49543         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49544         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49545         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49546         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49547         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49548         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49549         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49550         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49551         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49552         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49553         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49554         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49555         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49556         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49557         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49558         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49559         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49560         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49561         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49562         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49564 2012-07-25  Florian Weimer  <fweimer@redhat.com>
49566         * Versions.def: Add GLIBC_2.17.
49567         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49568         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49569         Introduce __libc_secure_getenv.
49570         * stdlib/Versions (2.17): Add secure_getenv
49571         (GLIBC_PRIVATE): Add __libc_secure_getenv.
49572         * stdlib/secure-getenv.c: Rename __secure_getenv to
49573         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
49574         symbol __secure_getenv for GLIBC_2.0.
49575         * stdlib/tst-secure-getenv.c: New.
49576         * stdlib/Makefile (tests): Add testcase.
49577         * manual/startup.texi (Environment Access): Document
49578         secure_getenv.
49579         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49580         __libc_secure_getenv.
49581         * inet/ruserpass.c (ruserpass): Likewise.
49582         * malloc/mtrace.c (mtrace): Likewise.
49583         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49584         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49585         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49586         * sysdeps/posix/tempname.c: Likewise.  Evaluate
49587         HAVE_SECURE_GETENV.
49588         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49589         __secure_getenv to __libc_secure_getenv.
49590         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49592         Likewise.
49593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49594         Likewise.
49595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49597         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49603 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
49605         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49606         (struct La_i86_retval): Likewise.
49607         (struct La_x86_64_regs): Likewise.
49608         (struct La_x86_64_retval): Likewise.
49609         (struct La_x32_regs): Likewise.
49610         (struct La_x32_retval): Likewise.
49611         (struct La_ppc32_regs): Likewise.
49612         (struct La_ppc32_retval): Likewise.
49613         (struct La_ppc64_regs): Likewise.
49614         (struct La_ppc64_retval): Likewise.
49615         (struct La_sh_regs): Likewise.
49616         (struct La_sh_retval): Likewise.
49617         (struct La_s390_32_regs): Likewise.
49618         (struct La_s390_32_retval): Likewise.
49619         (struct La_s390_64_regs): Likewise.
49620         (struct La_s390_64_retval): Likewise.
49621         (struct La_sparc32_regs): Likewise.
49622         (struct La_sparc32_retval): Likewise.
49623         (struct La_sparc64_regs): Likewise.
49624         (struct La_sparc64_retval): Likewise.
49625         (struct audit_ifaces): Remove architecture-specific pltenter and
49626         pltexit members.
49627         * sysdeps/i386/ldsodefs.h: New file.
49628         * sysdeps/powerpc/ldsodefs.h: Likewise.
49629         * sysdeps/s390/ldsodefs.h: Likewise.
49630         * sysdeps/sh/ldsodefs.h: Likewise.
49631         * sysdeps/sparc/ldsodefs.h: Likewise.
49632         * sysdeps/x86_64/ldsodefs.h: Likewise.
49634 2012-07-25  Marek Polacek  <polacek@redhat.com>
49636         [BZ #6808]
49637         * math/libm-test.inc (yn_test): Add another test.
49638         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49639         to ERANGE when the result is +-Inf.
49640         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49641         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49642         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49643         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49645 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
49647         * conform/data/time.h-data (NULL): Use macro-constant.  Require
49648         equal to 0.
49649         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
49650         clock_t.
49651         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
49653 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
49655         * configure.in <sysdeps resolving>: Correct printing
49656         Implies_before.
49657         * configure: Regenerate.
49659 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
49661         * math/w_ilogb.c: Include <limits.h>.
49662         * math/w_ilogbl.c: Likewise.
49664 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
49666         * manual/lang.texi (__va_copy): Document primarily as ISO C99
49667         va_copy.  Document allowing for unavailable va_copy only as
49668         pre-C99 compatibility.
49669         * manual/string.texi (Copying and Concatenation): Use va_copy
49670         instead of __va_copy in concat example.
49672 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
49674         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49675         (__sendto): Use create_address_port.  Initialize APORT and deallocate
49676         it if not null.
49678         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49679         with O_NOLINK passed to __file_name_lookup.
49681         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49682         with O_NOLINK passed to __file_name_lookup.
49684         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49685         negative N or less than NGIDS.
49687         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49688         type to string_t.  Set ERANGE as errno and return it if NAME is not big
49689         enough.  Use memcpy instead of strncpy.
49691 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
49693         * elf/Makefile (check-data): Remove.
49694         (localplt.data): New vpath directive.
49695         ($(objpfx)check-localplt.out): Use localplt.data from vpath
49696         instead of $(check-data).
49697         * scripts/data/localplt-generic.data: Move to ...
49698         * sysdeps/generic/localplt.data: ... here.
49699         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49700         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49701         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49703         ... here.
49704         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49706         ... here.
49707         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49709         ... here.
49710         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49712         ... here.
49713         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49715         ... here.
49716         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49718         ... here.
49720 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49722         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49723         PPC32 and PPC64 files.
49724         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49725         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49727 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49729         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49730         __makecontext_ret to ...
49731         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49732         ... here and call exit if uc_link is NULL.  New file.
49733         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49734         __makecontext_ret.S.
49735         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49736         __makecontext_ret to ...
49737         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49738         ... here and call exit if uc_link is NULL.  New file.
49739         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49740         __makecontext_ret.S.
49742 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49744         * elf/elf.h (R_390_IRELATIVE): New definition.
49745         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49746         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
49747         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49748         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49749         (elf_machine_lazy_rel): Likewise.
49750         * sysdeps/s390/dl-irel.h: New file.
49751         * sysdeps/s390/s390-64/memcpy.S: New asm code.
49752         * sysdeps/s390/s390-64/memset.S: New asm code.
49753         * sysdeps/s390/s390-64/memcmp.S: New asm code.
49754         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49755         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49756         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49757         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49758         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49759         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49760         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49761         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49762         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49763         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49764         * sysdeps/s390/s390-32/memcpy.S: New asm code.
49765         * sysdeps/s390/s390-32/memset.S: New asm code.
49766         * sysdeps/s390/s390-32/memcmp.S: New asm code.
49768 2012-07-17  Marek Polacek  <polacek@redhat.com>
49770         [BZ #14349]
49771         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49772         * sysdeps/s390/s390-64/configure.in: Likewise.
49773         * sysdeps/sparc/configure.in: Likewise.
49774         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49775         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49776         * sysdeps/i386/configure.in: Likewise.
49777         * sysdeps/x86_64/configure.in: Likewise.
49778         * sysdeps/sh/configure.in: Likewise.
49779         * sysdeps/s390/s390-32/configure: Regenerated.
49780         * sysdeps/s390/s390-64/configure: Likewise.
49781         * sysdeps/x86_64/configure: Likewise.
49782         * sysdeps/sh/configure: Likewise.
49783         * sysdeps/powerpc/powerpc64/configure: Likewise.
49784         * sysdeps/powerpc/powerpc32/configure: Likewise.
49785         * sysdeps/sparc/configure: Likwise.
49786         * sysdeps/i386/configure: Likewise.
49788         * elf/dl-open.c: Comment fixes.
49790 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
49792         * Makefile [CXX] (check-data): Remove.
49793         [CXX] (c++-types.data): New vpath directive.
49794         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49795         vpath.  Do not allow for C++ type data being missing.
49796         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49797         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49798         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49799         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49800         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49801         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49802         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49804         ... here.
49805         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49807         ... here.
49808         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49810         ... here.
49811         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49813         ... here.
49814         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49816         ... here.
49817         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49819         ... here.
49820         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49822         ... here.
49823         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49826         * elf/tls-macros.h (TLS_LE): Move architecture-specific
49827         definitions to architecture-specific files.
49828         (TLS_IE): Likewise.
49829         (TLS_LD): Likewise.
49830         (TLS_GD): Likewise.
49831         * sysdeps/i386/tls-macros.h: New file.
49832         * sysdeps/powerpc/tls-macros.h: Likewise.
49833         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49834         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49835         * sysdeps/sh/tls-macros.h: Likewise.
49836         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49837         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49838         * sysdeps/x86_64/tls-macros.h: Likewise.
49840 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
49842         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49843         zero value for regular exit case.
49845         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49846         (__start_context): Preserve zero value for regular exit case.
49848 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
49849             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49851         * manual/setjmp.texi (setcontext): Clarify normal process
49852         termination when uc_link is the null pointer.
49853         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
49854         exit call.
49856 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
49858         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
49859         preprocessor.  Test for each exception mask separately.
49861 2012-07-16  Andreas Jaeger  <aj@suse.de>
49863         * po/ru.po: Update from translation team.
49865 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
49867         * conform/data/string.h-data (NULL): Use macro-constant.  Require
49868         equal to 0.
49869         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49870         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49871         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
49872         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
49873         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49875 2012-07-13  Andreas Jaeger  <aj@suse.de>
49877         * po/fr.po: Update from translation team.
49879 2012-07-12  Marek Polacek  <polacek@redhat.com>
49881         [BZ #14173]
49882         * math/libm-test.inc (yn_test): Add test for BZ #14173.
49883         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
49884         loop condition.
49886 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
49888         [BZ #13717]
49889         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49890         Change to 2.4.1 where previously 2.4.0.
49891         * sysdeps/unix/sysv/linux/configure: Regenerated.
49892         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
49893         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
49894         version.
49895         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
49896         (__ASSUME_AT_CLKTCK): Remove.
49897         (__ASSUME_AT_PAGESIZE): Likewise.
49898         (__ASSUME_AT_XID): Likewise.
49899         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
49900         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
49901         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
49902         unconditionally.
49903         (HAVE_AUX_PAGESIZE): Likewise.
49904         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
49905         [__ASSUME_AT_CLKTCK]: Make code unconditional.
49906         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
49908 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
49910         [BZ #14307]
49911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
49912         the temporary buffer used to invoke __gethostbyname2_r,
49913         __gethostbyaddr_r and gethostbyname4_r to make room for struct
49914         host_data / struct gaih_addrtuple.
49915         * resolv/nss_dns/dns-host.c (global scope): Move definition of
49916         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
49917         header file nss/nsswitch.h.
49918         * nss/nsswitch.h (global scope): Add definition of implementation
49919         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
49920         resolv/nss_dns/dns-host.c).
49922 2012-07-11  Andreas Jaeger  <aj@suse.de>
49924         * po/fr.po: Update from translation team.
49926         * po/sv.po: Update from translation team
49927         * po/fr.po: Another update from translation team.
49929 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49931         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
49932         for subnormals or multiply small sinh result by itself.
49933         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49936 2012-07-11  David S. Miller  <davem@davemloft.net>
49938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49940 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
49942         [BZ #14347]
49943         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
49944         (INTERNAL_MARK): Shift it here.
49946 2012-07-10  Marek Polacek  <polacek@redhat.com>
49948         [BZ #14151]
49949         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
49950         libc_cv_asm_global_directive with .globl.
49951         * configure: Regenerated.
49952         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
49953         with .globl.
49954         * sysdeps/i386/configure: Regenerated.
49955         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
49956         with .globl.
49957         * sysdeps/x86_64/configure: Regenerated.
49958         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
49959         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
49960         * elf/tst-unique2mod2.c: Likewise.
49961         * elf/tst-unique2mod1.c: Likewise.
49962         * elf/tst-unique1mod2.c: Likewise.
49963         * elf/tst-unique1mod1.c: Likewise.
49964         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49965         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49966         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49967         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49968         * sysdeps/mach/sysdep.h: Likewise.
49969         * sysdeps/i386/sysdep.h: Likewise.
49970         * sysdeps/i386/i386-mcount.S: Likewise.
49971         * sysdeps/x86_64/_mcount.S: Likewise.
49972         * sysdeps/x86_64/sysdep.h: Likewise.
49973         * sysdeps/sh/_mcount.S: Likewise.
49974         * sysdeps/sh/sysdep.h: Likewise.
49975         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
49976         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
49977         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
49978         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49979         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
49980         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
49981         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
49982         * locale/localeinfo.h: Likewise.
49983         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
49984         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
49986 2012-07-09  Roland McGrath  <roland@hack.frob.com>
49988         [BZ #14336]
49989         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
49990         system".
49991         * manual/message.texi (The Uniforum approach): Likewise.
49992         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
49993         (glibc iconv Implementation): Likewise.
49995 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
49997         [BZ #14337]
49998         * math/s_clog.c (__clog): Avoid scaling a value down where that
49999         could result in underflow.
50000         * math/s_clog10.c (__clog10): Likewise.
50001         * math/s_clog10f.c (__clog10f): Likewise.
50002         * math/s_clog10l.c (__clog10l): Likewise.
50003         * math/s_clogf.c (__clogf): Likewise.
50004         * math/s_clogl.c (__clogl): Likewise.
50005         * math/libm-test.inc (clog_test): Add more tests.
50006         (clog10_test): Likewise.
50007         * sysdeps/i386/fpu/libm-test-ulps: Update.
50008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50010 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
50012         [BZ #14283]
50013         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
50014         by 7 not 8 to examine high bit of fractional part.
50016         [BZ #14042]
50017         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
50018         for call to __mcount_internal.
50019         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
50020         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
50021         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
50023 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
50025         [BZ #14154]
50026         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
50027         approximation for values within 0x1p-13f of an odd multiple of
50028         pi/4.
50029         * math/libm-test.inc (tan_test): Do not allow spurious underflow
50030         exception.  Add more tests.
50031         * sysdeps/i386/fpu/libm-test-ulps: Update.
50033         [BZ #6778]
50034         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
50035         inputs and return -1 for them.  Do not check for +Inf in case not
50036         reachable for +Inf.
50037         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50038         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
50039         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
50040         and return -1 for them.  Do not check for +Inf in case not
50041         reachable for +Inf.
50042         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
50043         define.
50044         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
50045         and return -1 for them.  Do not check for +Inf in case not
50046         reachable for +Inf.
50047         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
50048         spurious underflow.
50049         * sysdeps/i386/fpu/libm-test-ulps: Update.
50050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50052 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
50054         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
50056 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
50058         [BZ #14157]
50059         [BZ #14331]
50060         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
50061         could result in spurious underflow.  Scale down values above
50062         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
50063         * math/s_csqrtf.c (__csqrtf): Likewise.
50064         * math/s_csqrtl.c (__csqrtl): Likewise.
50065         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
50066         spurious underflow.
50067         * sysdeps/i386/fpu/libm-test-ulps: Update.
50068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50070 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
50072         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
50073         xopen-msg.sed.
50074         * catgets/xopen-msg.awk: New file.
50075         * catgets/xopen-msg.sed: Removed.
50077         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
50078         po2text.sed.
50079         * intl/po2test.awk: New file.
50080         * intl/po2test.sed: Removed.
50082 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
50084         [BZ #14328]
50085         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
50086         or multiply small sinh result by itself.
50087         * math/s_ctanf.c (__ctanf): Likewise.
50088         * math/s_ctanh.c (__ctanh): Likewise.
50089         * math/s_ctanhf.c (__ctanhf): Likewise.
50090         * math/s_ctanhl.c (__ctanhl): Likewise.
50091         * math/s_ctanl.c (__ctanl): Likewise.
50092         * math/libm-test.inc (ctan_test_tonearest): New function.
50093         (ctan_test_towardzero): Likewise.
50094         (ctan_test_downward): Likewise.
50095         (ctan_test_upward): Likewise.
50096         (ctanh_test_tonearest): Likewise.
50097         (ctanh_test_towardzero): Likewise.
50098         (ctanh_test_downward): Likewise.
50099         (ctanh_test_upward): Likewise.
50100         (main): Call these new functions.
50101         * sysdeps/i386/fpu/libm-test-ulps: Update.
50102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50104 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
50106         * .gitignore: Delete /ports entry.
50108 2012-07-03  Andreas Jaeger  <aj@suse.de>
50110         * po/bg.po: Update from translation team.
50111         * po/cs.po: Likewise.
50112         * po/de.po: Likewise.
50113         * po/hr.po: Likewise.
50114         * po/nl.pl: Likewise.
50115         * po/pl.po: Likewise.
50116         * po/vi.po: Likewise.
50118 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
50120         * Makeconfig [!+link] (+link-before-libc): New variable.
50121         [!+link] (+link-after-libc): Likewise.
50122         [!+link] (+link-tests): Likewise.
50123         [!+link] (+link): Define in terms of $(+link-before-libc) and
50124         $(+link-after-libc).
50125         [!+link-static] (+link-static-before-libc): New variable.
50126         [!+link-static] (+link-static-after-libc): Likewise.
50127         [!+link-static] (+link-static-tests): Likewise.
50128         [!+link-static] (+link-static): Define in terms of
50129         $(+link-static-before-libc) and $(+link-static-after-libc).
50130         [build-shared] (link-libc-before-gnulib): New variable.
50131         [build-shared] (link-libc-tests): Likewise.
50132         [build-shared] (link-libc): Define in terms of
50133         $(link-libc-before-gnulib).
50134         [!build-shared] (link-libc-tests): New variable.
50135         (link-libc-static-tests): New variable.
50136         [!gnulib] (gnulib-arch): New variable.
50137         [!gnulib] (gnulib-tests): Likewise.
50138         [!gnulib] (static-gnulib-arch): Likewise.
50139         [!gnulib] (static-gnulib-tests): Likewise.
50140         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
50141         Define with "=" instead of ":=".
50142         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
50143         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
50144         * Rules (binaries-all-notests): New variable.
50145         (binaries-all-tests): Likewise.
50146         (binaries-static-notests): Likewise.
50147         (binaries-static-tests): Likewise.
50148         (binaries-all): Define using $(binaries-all-notests) and
50149         $(binaries-all-tests).
50150         (binaries-static): Define using $(binaries-static-notests) and
50151         $(binaries-static-tests).
50152         (binaries-shared-tests): New variable.
50153         (binaries-shared-notests): Likewise.
50154         (binaries-shared): Remove variable.
50155         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
50156         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
50157         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
50158         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
50159         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
50160         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
50161         * elf/Makefile (sln-modules): New variable.
50162         (extra-objs): Add $(sln-modules:=.o).
50163         (ldconfig-modules): Add static-stubs.
50164         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
50165         * elf/static-stubs.c: New file.
50167         [BZ #14283]
50168         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
50169         by 7 not 8 to examine high bit of fractional part.  Use volatile
50170         variables when splitting into final array of floats if
50171         __FLT_EVAL_METHOD__ != 0.
50172         * math/libm-test.inc (cos_test): Add another test.
50173         (sin_test): Likewise.
50174         * sysdeps/i386/fpu/libm-test-ulps: Update.
50176         [BZ #14273]
50177         * math/libm-test.inc (cosh_test): Add more tests.
50179         * version.h (RELEASE): Set to "development".
50180         (VERSION): Set to "2.16.90".
50182 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
50184         * NEWS: Update copyright. Remove last-updated date.
50185         Mention math library bug fixes and timezone data changes.
50186         * README: Mention GNU/Hurd, x32, and HPPA support status.
50188 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
50190         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
50192 2012-06-27  Andreas Jaeger  <aj@suse.de>
50194         * manual/contrib.texi (Contributors): Add Samuel Thibault.
50196 2012-06-25  Andreas Jaeger  <aj@suse.de>
50198         * sysdeps/s390/fpu/libm-test-ulps: Update.
50200 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
50201             Thomas Schwinge  <thomas@codesourcery.com>
50203         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
50204         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
50205         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
50206         fanotify_mark.
50208 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
50210         * sysdeps/mach/start.c: Remove file.
50211         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
50212         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
50213         * sysdeps/sh/init-first.c: Likewise.
50215         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
50216         registers for frame unwinding purposes, add CFI directives.
50217         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
50218         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
50219         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
50220         Likewise.
50222         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
50223         __fortify_fail returning.
50224         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
50226         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
50227         sysdeps/sh/____longjmp_chk.S.
50228         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
50229         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
50230         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
50231         (gen-as-const-headers): Append sigaltstack-offsets.sym.
50233         * sysdeps/sh/abort-instr.h: New file.
50234         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
50235         process in case exit returns.
50237         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
50238         initialize the GOT register before use.
50240         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
50241         calculation of ARGC > 4.
50243         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
50244         meaningful names to some local labels.
50246 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50247             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50249         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
50250         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
50251         (__arch_compare_and_exchange_val_16_acq): Likewise.
50252         (__arch_compare_and_exchange_val_32_acq): Likewise.
50253         (atomic_exchange_and_add): Fix gUSA sequence.
50254         (atomic_add): Likewise.
50255         (atomic_add_negative): Likewise.
50256         (atomic_add_zero): Likewise.
50257         (atomic_bit_test_set): Likewise.
50259 2012-06-22  Andreas Schwab  <schwab@redhat.com>
50261         [BZ #13579]
50262         * include/link.h (struct link_map): Add l_free_initfini.
50263         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
50264         l_initfini.
50265         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
50266         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
50267         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
50268         set.
50270 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
50272         * configure.in: Use AC_LANG_SOURCE.
50273         * configure: Regenerate.
50275 2012-06-22  Roland McGrath  <roland@hack.frob.com>
50277         * configure.in (libc_cv_localstatedir): New substituted variable.
50278         * configure: Regenerated.
50279         * config.make.in (localstatedir): New variable, substituted from
50280         libc_cv_localstatedir.
50281         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
50282         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
50283         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
50284         * sysdeps/gnu/configure: Regenerated.
50286 2012-06-21  Jeff Law  <law@redhat.com>
50288         [BZ #14277]
50289         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
50290         free.  Simplify list management for _LIBC case.
50292 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
50294         [BZ #14273]
50295         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
50296         Clear sign bit of 64-bit integer value before comparing against
50297         overflow value.
50299         * sysdeps/mach/configure: Regenerated.
50301 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
50303         [BZ #14278]
50304         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
50306 2012-06-21  Jeff Law  <law@redhat.com>
50308         [BZ #13882]
50309         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
50310         uint16_t for elements in the "seen" array to avoid char overflows.
50311         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50312         * elf/dl-open.c (dl_open_worker): Likewise.
50314 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
50316         * scripts/list-sources.sh: Scan PORTS for translations.
50317         * po/libc.pot: Regenerated.
50319 2012-06-21  Andreas Jaeger  <aj@suse.de>
50321         [BZ #12194]
50322         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
50323         warning.
50324         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
50325         * bits/byteswap-16.h (__bswap_16): Likewise.
50326         * bits/byteswap.h (__bswap_constant_16): Likewise.
50328 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
50330         [BZ #14117]
50331         * sysdeps/i386/fpu_control.h: Removed.
50332         * sysdeps/x86_64/fpu_control.h: Moved to ...
50333         * sysdeps/x86/fpu_control.h: Here.
50335         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
50336         (_FPU_SETCW): Likewise.
50338 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
50340         [BZ #14117]
50341         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
50342         * sysdeps/x86/fpu/bits/mathinline.h: This.
50343         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
50345         [BZ #14050]
50346         [BZ #14117]
50347         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
50348         functions if __x86_64__ is defined.
50350 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
50352         * string/endian.h: Add !__ASSEMBLER__ condition for including
50353         conversion interfaces.
50355 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
50357         [BZ #14241]
50358         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
50359         of ABS(x) in calculating zero to negative powers other than odd
50360         integers.
50361         * math/libm-test.inc (pow_test): Add more tests.
50363 2012-06-15  Andreas Jaeger  <aj@suse.de>
50365         * manual/contrib.texi (Contributors): Update entry of Liubov
50366         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
50367         Machado Filho.
50369 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
50371         * string/string.h: Add __wur to GNU version of strerror_r.
50373 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
50375         [BZ #14229]
50376         * string/Makefile (tests): Add tst-strtok_r.
50377         * string/tst-strtok_r.c: New file.
50378         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
50379         RAX_LP/RDX_LP on SAVE_PTR.
50381 2012-06-14  Roland McGrath  <roland@hack.frob.com>
50383         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
50385 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
50387         * libm_test.inc (csqrt_test): Allow more spurious underflow
50388         exceptions.
50389         (j0_test): Likewise.
50390         (j1_test): Likewise.
50391         (y0_test): Likewise.
50392         (y1_test): Likewise.
50394 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
50396         * po/Makefile (libc.pot): Use UTF-8 charset.
50398 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
50400         [BZ #14210]
50401         Suppress sign-conversion warning from FD_SET.
50402         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
50403         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
50404         not unsigned long int.
50405         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
50407 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
50409         [BZ #14050]
50410         [BZ #14117]
50411         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50412         __extern_always_inline instead of __extern_inline.
50413         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
50414         (__signbit): Likewise.
50415         (__signbitl): Support C++ namespace.
50416         (lrintf): New inline function.
50417         (lrint): Likewise.
50418         (llrintf): Likewise.
50419         (llrint): Likewise.
50420         (fmaxf): Likewise.
50421         (fmax): Likewise.
50422         (fminf): Likewise.
50423         (fmin): Likewise.
50424         (rint): Likewise.
50425         (rintf): Likewise.
50426         (ceil): Likewise.
50427         (ceilf): Likewise.
50428         (floor): Likewise.
50429         (floorf): Likewise.
50430         (nearbyint): Likewise.
50431         (nearbyintf): Likewise.
50433 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
50435         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
50436         non-default versions.
50438 2012-06-11  Roland McGrath  <roland@hack.frob.com>
50440         [BZ #14218]
50441         * manual/argp.texi (Argp): Reword argp_parse description slightly.
50443 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
50445         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
50446         (FE_UPWARD, FE_DOWNWARD): Don't define.
50447         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
50448         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50450         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
50451         reading it.
50452         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50453         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50455 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50457         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50458         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
50459         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
50460         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
50462 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
50464         [BZ #14117]
50465         * sysdeps/i386/fpu/bits/fenv.h: Removed.
50466         * sysdeps/i386/fpu/Implies: New file.
50467         * sysdeps/x86_64/fpu/Implies: Likewise.
50468         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
50469         * sysdeps/x86/fpu/bits/fenv.h: This.
50471         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
50472         __SSE_MATH__.
50474 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50476         [BZ #14134]
50477         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50478         character 0xffff that matches the last element of the
50479         conversion table.
50481 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50483         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50484         fmodl commit.
50486 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50488         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50489         values higher than 25.6283.
50491 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50493         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50494         subnormal exponent extraction and add some __builtin_expect.
50495         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50496         Fix for subnormal mantissa calculation.
50498 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
50500         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50501         cpu2 is -1 and errno is not ENOSYS.
50503 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
50505         [BZ #14117]
50506         * sysdeps/i386/i486/bits/string.h: Renamed to ...
50507         * sysdeps/x86/bits/string.h: This.
50508         * sysdeps/x86_64/bits/string.h: Removed.
50510         * sysdeps/i386/i486/bits/string.h: Define inline functions only
50511         if not compiling for x86-64, but compiling for >= i486.
50513         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50514         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50516         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50517         New macro from Linux kernel 3.4.0.
50518         (FP_XSTATE_MAGIC2): Likewise.
50519         (FP_XSTATE_MAGIC2_SIZE): Likewise.
50520         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50521         (struct _fpx_sw_bytes): New struct.
50522         (struct _xsave_hdr): Likewise.
50523         (struct _ymmh_state): Likewise.
50524         (struct _xstate): Likewise.
50526         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50527         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50528         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50529         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50530         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50531         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50533         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50534         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50535         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50536         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50537         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50538         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50540 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50542         [BZ #13743]
50543         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50544         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50545         (sysdep_headers): Include sys/platform/ppc.h.
50546         * sysdeps/powerpc/test-gettimebase.c: Test for
50547         __ppc_get_timebase() to catch future ISA opcode/insn changes.
50548         * manual/Makefile (appendices): Include platform.texi.
50549         * manual/contrib.texi (Contributors): Update @node pointers.
50550         * manual/maint.texi (Maintenance): Likewise.
50551         (Platform): New node.
50552         * manual/platform.texi: New file.  Document the new features.
50554 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50555             Jakub Jelinek  <jakub@redhat.com>
50557         [BZ #14188]
50558         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50559         where __builtin_expect is unavailable.
50561 2012-06-03  David S. Miller  <davem@davemloft.net>
50563         * stdlib/longlong.h: Updated from GCC.
50565 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
50567         [BZ #14042]
50568         * sysdeps/powerpc/powerpc32/mcount.c: New file.
50569         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50570         __mcount_internal.
50571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50572         (GLIBC_2.16): Likewise.
50574 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50576         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50578 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50581         (default-abi): New variable.
50582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50583         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50584         variable.
50585         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50586         Likewise.
50587         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50588         Likewise.
50589         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50590         Likewise.
50592         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50593         definition.  Document in comment.
50595 2012-06-01  David S. Miller  <davem@davemloft.net>
50597         * stdlib/longlong.h: Updated from GCC.
50599 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50601         [BZ #14117]
50602         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50603         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50604         sys/debugreg.h sys/io.h here.
50605         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50606         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50607         sys/io.h.
50608         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50609         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50610         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50611         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50612         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50613         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50615         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50616         Define only if __x86_64__ is defined.
50618 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
50620         [BZ #14048]
50621         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50622         Use int64_t for variable i.
50623         * math/libm-test.inc (fmod_test): Add more tests.
50625         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50626         z computation is not scheduled after fetestexcept.
50627         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50628         Use math_force_eval instead of asm to ensure calculation scheduled
50629         before exception test.
50630         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50631         Ensure a1 + u.d computation is not scheduled after fetestexcept.
50633 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
50635         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50636         computation is not scheduled after fetestexcept.
50638 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
50640         [BZ #14117]
50641         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50642         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50644 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50646         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50647         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50649 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
50651         [BZ #14117]
50652         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50653         <bits/wordsize.h>.
50654         (__WCHAR_MIN): Support __WORDSIZE == 64.
50655         (__WCHAR_MAX): Likewise.
50657         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50658         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50660         [BZ #14183]
50661         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50662         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50664         [BZ #14117]
50665         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50666         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50668         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50669         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50671         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50672         Defined to 1 if __x86_64__ isn't defined.
50673         (_STAT_VER_LINUX_OLD): New.
50674         (st_atime): Remove duplicate.
50675         (st_mtime): Likewise.
50676         (st_ctime): Likewise.
50678 2012-05-31  David S. Miller  <davem@davemloft.net>
50680         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50681         entries.
50683 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
50685         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50686         gen-libm-test.pl.
50688         [BZ #14132]
50689         * elf/dl-reloc.c: Include <_itoa.h>.
50690         (_dl_reloc_bad_type): Remove use of INTUSE.
50691         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50692         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50693         * stdio-common/psiginfo.c (psiginfo): Likewise.
50694         * stdio-common/psignal.c (psignal): Likewise.
50695         * string/strsignal.c (strsignal): Likewise.
50696         * include/signal.h (_sys_siglist): Declare hidden proto.
50697         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
50698         INTVARDEF with libc_hidden_data_def.
50699         * stdio-common/itoa-udigits.c: Likewise.
50700         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50701         (_itoa_lower_digits_internal): Remove declaration.
50702         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50703         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50704         (_sys_sigabbrev_internal): Remove aliases.
50705         (_sys_siglist): Define hidden alias.
50707 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
50709         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50710         bits/sysctl.h.
50712 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
50714         [BZ #14117]
50715         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50716         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50718         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50719         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50720         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50721         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50722         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50723         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50725         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50726         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50727         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50729         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50730         with __addr.
50731         (insw): Likewise.
50732         (insl): Likewise.
50733         (outsb): Likewise.
50734         (outsw): Likewise.
50735         (outsl): Likewise.
50737         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50738         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50739         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50741         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50742         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50743         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50744         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50745         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50746         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50748         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50749         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50751         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50752         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50754         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50755         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50756         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50758         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50759         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50760         to ...
50761         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50763         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50764         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50765         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50767         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50768         for x86-64.
50769         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50771 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
50773         * math/math.h (M_El): Use two more decimal places.
50774         (M_LOG2El): Likewise.
50775         (M_LOG10El): Likewise.
50776         (M_LN2l): Likewise.
50777         (M_LN10l): Likewise.
50778         (M_PIl): Likewise.
50779         (M_PI_2l): Likewise.
50780         (M_PI_4l): Likewise.
50781         (M_1_PIl): Likewise.
50782         (M_2_PIl): Likewise.
50783         (M_2_SQRTPIl): Likewise.
50784         (M_SQRT2l): Likewise.
50785         (M_SQRT1_2l): Likewise.
50787 2012-05-31  David S. Miller  <davem@davemloft.net>
50789         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50790         values between float registers.
50791         * sysdeps/sparc/sparc64/memset.S: Likewise.
50792         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50794 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
50796         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50797         -D_FORTIFY_SOURCE=1.
50798         (CPPFLAGS-tst-longjmp_chk.c): Define.
50799         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50800         (CPPFLAGS-tst-longjmp_chk2.c): Define.
50801         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50802         CFLAGS-tst-wchar-h.c.
50804 2012-05-31  Marek Polacek  <polacek@redhat.com>
50806         [BZ #14132]
50807         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50808         __endmntent_internal): Remove declaration.
50809         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50810         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50811         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50813 2012-05-30  David S. Miller  <davem@davemloft.net>
50815         * sysdeps/sparc/sparc32/soft-fp/q_util.c
50816         (___Q_simulate_exceptions): Use real FP ops rather than writing
50817         into the %fsr.
50818         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50819         Likewise.
50821 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50823         [BZ #14117]
50824         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50825         * sysdeps/x86/bits/xtitypes.h: This.
50827         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50828         * sysdeps/x86/bits/wordsize.h: This.
50830         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50831         * sysdeps/x86/bits/huge_vall.h: This.
50833         * sysdeps/i386/bits/select.h: Removed.
50834         * sysdeps/x86_64/bits/select.h: Renamed to ...
50835         * sysdeps/x86/bits/select.h: This.
50837         * sysdeps/i386/bits/setjmp.h: Removed.
50838         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50839         * sysdeps/x86/bits/setjmp.h: This.
50841         * sysdeps/i386/bits/mathdef.h: Removed.
50842         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50843         * sysdeps/x86/bits/mathdef.h: This.
50845 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
50847         [BZ #14132]
50848         * include/sys/socket.h (__connect_internal)
50849         (__libc_sa_len_internal): Remove declaration.
50850         (__connect, __libc_sa_len): Declare hidden_proto.
50851         (SA_LEN): Remove use of INTUSE.
50852         * socket/connect.c: Add libc_hidden_def.
50853         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
50854         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
50855         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
50856         alias.
50857         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
50858         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
50859         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
50860         of adding _internal alias.
50862 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50864         [BZ #14117]
50865         * sysdeps/i386/bits/link.h: Removed.
50866         * sysdeps/i386/bits/linkmap.h: Likewise.
50867         * sysdeps/x86_64/bits/link.h: Renamed to ...
50868         * sysdeps/x86/bits/link.h: This.
50869         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
50870         * sysdeps/x86/bits/linkmap.h: This.
50872         * sysdeps/i386/bits/endian.h: Removed.
50873         * sysdeps/x86_64/bits/endian.h: Renamed to ...
50874         * sysdeps/x86/bits/endian.h: This.
50876         * sysdeps/i386/bits/byteswap.h: Removed.
50877         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50878         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50879         * sysdeps/x86/bits/byteswap.h: This.
50880         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
50881         * sysdeps/x86/bits/byteswap-16.h: This.
50882         * sysdeps/i386/Implies: Add x86.
50883         * sysdeps/x86_64/Implies: Likewise.
50885 2012-05-30  David S. Miller  <davem@davemloft.net>
50887         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
50888         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
50889         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50890         (FP_TRAPPING_EXCEPTIONS): Define.
50891         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50892         (FP_TRAPPING_EXCEPTIONS): Define.
50893         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
50894         subnormals only when inexact has been signalled or underflow
50895         exceptions are enabled.
50896         (_FP_PACK_CANONICAL): Likewise.
50898 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50900         [BZ #14183]
50901         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
50902         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
50904 2012-05-30  Richard Henderson  <rth@twiddle.net>
50906         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
50907         with #ifndef NOT_IN_libc.
50909         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
50910         marked to avoid plt entry.
50912 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
50914         [BZ #14112]
50915         * Makeconfig (default-abi): New macro.
50916         (abi-includes): Likewise.
50917         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
50918         $(abi-$(default-abi)-lib-soname) for soname if defined.
50919         ($(common-objpfx)gnu/lib-names.stmp): Generate from
50920         abi-variants.
50921         * Makefile (installed-stubs): Likewise.
50922         * include/stubs-biarch.h: Removed.
50923         * scripts/lib-names.awk: Only handle one library at a time.
50924         * scripts/soversions.awk: Remove WORDSIZE support.
50925         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
50926         entries.
50927         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
50928         Removed.
50929         (syscall-list-default-condition): Likewise.
50930         (syscall-list-default-condition): Likewise.
50931         (syscall-list-includes): Likewise.
50932         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
50933         syscall-list-* with abi-*.  Handle undefined abi-variants.
50934         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
50935         * sysdeps/unix/sysv/linux/i386/Implies: New file.
50936         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
50937         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
50938         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
50939         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
50940         Removed.
50941         (syscall-list-32-options): Likewise.
50942         (syscall-list-32-condition): Likewise.
50943         (syscall-list-64-options): Likewise.
50944         (syscall-list-64-condition): Likewise.
50945         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
50946         macro.
50947         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
50948         Renamed to ...
50949         (abi-*): This.
50950         (abi-64-ld-soname): New macro.
50951         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
50952         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
50953         Renamed to ...
50954         (abi-*): This.
50955         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
50956         * sysdeps/x86_64/x32/shlib-versions: Likewise.
50958 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
50960         * sysdeps/unix/sysv/linux/kernel-features.h
50961         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
50962         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
50963         include <kernel-features.h>.
50964         [!__NR_ftruncate64]: Remove conditional code.
50965         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50966         [__NR_ftruncate64]: Make code unconditional.
50967         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50968         * sysdeps/unix/sysv/linux/truncate64.c: Do not
50969         include <kernel-features.h>.
50970         [!__NR_ftruncate64]: Remove conditional code.
50971         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50972         [__NR_ftruncate64]: Make code unconditional.
50973         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
50975         include <kernel-features.h>.
50976         [!__NR_ftruncate64]: Remove conditional code.
50977         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50978         [__NR_ftruncate64]: Make code unconditional.
50979         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50981         include <kernel-features.h>.
50982         [!__NR_ftruncate64]: Remove conditional code.
50983         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50984         [__NR_ftruncate64]: Make code unconditional.
50985         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
50987         * configure.in (libc_cv_fpie): Weaken to a compile test using
50988         LIBC_TRY_CC_OPTION.
50989         * configure: Regenerated.
50991 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
50994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
50995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
50996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50997         Refreshed.
50998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
50999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
51000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
51001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
51002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
51003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51004         Refreshed.
51006 2012-05-27  David S. Miller  <davem@davemloft.net>
51008         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
51009         (___Q_zero): New.
51010         (__Q_simulate_exceptions): Return void.  Change to simulate
51011         exceptions by writing into the %fsr.
51012         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
51013         (__Qp_handle_exceptions): Likewise.
51014         (numbers): Delete.
51015         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
51016         __Qp_handle_exceptions.
51017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
51018         __Qp_handle_exceptions.
51019         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
51020         as unused and give dummy FP_RND_NEAREST initializer.
51021         (FP_INHIBIT_RESULTS): Define.
51022         (___Q_simulate_exceptions): Update declaration.
51023         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
51024         formatting.
51025         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
51026         as unused and give dummy FP_RND_NEAREST initializer.
51027         (__Qp_handle_exceptions): Update declaration.
51028         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
51029         formatting.
51031 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
51033         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
51034         the temporary FPU control word.
51035         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51036         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
51037         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
51038         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
51039         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
51040         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
51041         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
51042         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
51043         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
51044         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
51045         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51047 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51049         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
51050         fields.
51052 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
51054         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
51055         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
51056         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
51057         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
51058         Likewise.
51059         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
51060         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
51061         Likewise.
51063 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
51065         * po/h.po: Update from translation team.
51067 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
51069         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
51071         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
51072         handling of denormals.
51073         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51074         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51075         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51076         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51077         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51078         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
51079         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
51080         Likewise.
51082 2012-05-26  Marek Polacek  <polacek@redhat.com>
51084         [BZ #14152]
51085         * math/libm-test.inc (fma_test): Don't always expect underflow
51086         exception.
51088 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51090         [BZ #12416]
51091         * elf/tst-execstack.c: Include stackinfo.h.
51092         (do_test): Adjust test case to ensure that pthread_getattr_np
51093         behaviour remains the same after marking stack executable.
51095 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
51097         * sysdeps/unix/sysv/linux/kernel-features.h
51098         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
51099         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
51100         kernel-features.h.
51101         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
51102         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
51103         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
51104         kernel-features.h.
51105         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
51106         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
51108 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
51110         * configure.in: Define the default includes to being none.
51111         * configure: Regenerated.
51113 2012-05-25  Roland McGrath  <roland@hack.frob.com>
51115         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
51116         * sysdeps/x86_64/setjmp.S: Likewise.
51117         * sysdeps/i386/bsd-setjmp.S: Likewise.
51118         * sysdeps/i386/bsd-_setjmp.S: Likewise.
51119         * sysdeps/i386/setjmp.S: Likewise.
51120         * sysdeps/i386/__longjmp.S: Likewise.
51121         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51122         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
51124         * include/stap-probe.h: New file.
51125         * configure.in: Handle --enable-systemtap.
51126         * configure: Regenerated.
51127         * config.h.in (USE_STAP_PROBE): New #undef.
51128         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
51129         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
51130         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
51132 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
51134         [BZ #13717]
51135         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51136         to 2.4.0 where earlier.
51137         * sysdeps/unix/sysv/linux/configure: Regenerated.
51138         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51139         <kernel-features.h>.
51140         [__ASSUME_32BITUIDS]: Make code unconditional.
51141         [!__ASSUME_32BITUIDS]: Remove conditional code.
51142         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
51143         <kernel-features.h>.
51144         [__ASSUME_32BITUIDS]: Make code unconditional.
51145         [!__ASSUME_32BITUIDS]: Remove conditional code.
51146         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
51147         [__ASSUME_32BITUIDS]: Make code unconditional.
51148         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
51149         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
51150         <kernel-features.h>.
51151         [__ASSUME_32BITUIDS]: Make code unconditional.
51152         [!__ASSUME_32BITUIDS]: Remove conditional code.
51153         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
51154         <kernel-features.h>.
51155         [__ASSUME_32BITUIDS]: Make code unconditional.
51156         [!__ASSUME_32BITUIDS]: Remove conditional code.
51157         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
51158         <kernel-features.h>.
51159         [__ASSUME_32BITUIDS]: Make code unconditional.
51160         [!__ASSUME_32BITUIDS]: Remove conditional code.
51161         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
51162         <kernel-features.h>.
51163         [__ASSUME_32BITUIDS]: Make code unconditional.
51164         [!__ASSUME_32BITUIDS]: Remove conditional code.
51165         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51166         <kernel-features.h>.
51167         [__ASSUME_32BITUIDS]: Make code unconditional.
51168         [!__ASSUME_32BITUIDS]: Remove conditional code.
51169         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51170         <kernel-features.h>.
51171         [__ASSUME_32BITUIDS]: Make code unconditional.
51172         [!__ASSUME_32BITUIDS]: Remove conditional code.
51173         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
51174         <kernel-features.h>.
51175         [__ASSUME_32BITUIDS]: Make code unconditional.
51176         [!__ASSUME_32BITUIDS]: Remove conditional code.
51177         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51178         <kernel-features.h>.
51179         [__ASSUME_32BITUIDS]: Make code unconditional.
51180         [!__ASSUME_32BITUIDS]: Remove conditional code.
51181         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51182         <kernel-features.h>.
51183         [__ASSUME_32BITUIDS]: Make code unconditional.
51184         [!__ASSUME_32BITUIDS]: Remove conditional code.
51185         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
51186         <kernel-features.h>.
51187         [__ASSUME_32BITUIDS]: Make code unconditional.
51188         [!__ASSUME_32BITUIDS]: Remove conditional code.
51189         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
51190         <kernel-features.h>.
51191         [__NR_setresgid] (__setresgid): Do not declare.
51192         [__ASSUME_32BITUIDS]: Make code unconditional.
51193         [!__ASSUME_32BITUIDS]: Remove conditional code.
51194         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
51195         <kernel-features.h>.
51196         [__NR_setresuid] (__setresuid): Do not declare.
51197         [__ASSUME_32BITUIDS]: Make code unconditional.
51198         [!__ASSUME_32BITUIDS]: Remove conditional code.
51199         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
51200         <kernel-features.h>.
51201         [__ASSUME_32BITUIDS]: Make code unconditional.
51202         [!__ASSUME_32BITUIDS]: Remove conditional code.
51203         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
51204         <kernel-features.h>.
51205         [__ASSUME_32BITUIDS]: Make code unconditional.
51206         [!__ASSUME_32BITUIDS]: Remove conditional code.
51207         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
51208         <kernel-features.h>.
51209         [__ASSUME_32BITUIDS]: Make code unconditional.
51210         [!__ASSUME_32BITUIDS]: Remove conditional code.
51211         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
51212         <kernel-features.h>.
51213         [__ASSUME_32BITUIDS]: Make code unconditional.
51214         [!__ASSUME_32BITUIDS]: Remove conditional code.
51215         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
51216         <kernel-features.h>.
51217         [__ASSUME_32BITUIDS]: Make code unconditional.
51218         [!__ASSUME_32BITUIDS]: Remove conditional code.
51219         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
51220         <kernel-features.h>.
51221         [__ASSUME_32BITUIDS]: Make code unconditional.
51222         [!__ASSUME_32BITUIDS]: Remove conditional code.
51223         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
51224         <kernel-features.h>.
51225         [__ASSUME_32BITUIDS]: Make code unconditional.
51226         [!__ASSUME_32BITUIDS]: Remove conditional code.
51227         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
51228         <kernel-features.h>.
51229         [__ASSUME_32BITUIDS]: Make code unconditional.
51230         [!__ASSUME_32BITUIDS]: Remove conditional code.
51231         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
51232         <kernel-features.h>.
51233         [__ASSUME_32BITUIDS]: Make code unconditional.
51234         [!__ASSUME_32BITUIDS]: Remove conditional code.
51235         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51236         <kernel-features.h>.
51237         [__ASSUME_32BITUIDS]: Make code unconditional.
51238         [!__ASSUME_32BITUIDS]: Remove conditional code.
51239         * sysdeps/unix/sysv/linux/kernel-features.h
51240         (__ASSUME_SETRESUID_SYSCALL): Remove.
51241         (__ASSUME_SETRESGID_SYSCALL): Likewise.
51242         (__ASSUME_32BITUIDS): Likewise.
51243         (__ASSUME_LDT_WORKS): Likewise.
51244         (__ASSUME_O_DIRECTORY): Likewise.
51245         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
51246         architecture but not kernel version.
51247         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51248         (__ASSUME_MMAP2_SYSCALL): Likewise.
51249         (__ASSUME_STAT64_SYSCALL): Likewise.
51250         (__ASSUME_IPC64): Likewise.
51251         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
51252         <kernel-features.h>.
51253         [__ASSUME_32BITUIDS]: Make code unconditional.
51254         [!__ASSUME_32BITUIDS]: Remove conditional code.
51255         * sysdeps/unix/sysv/linux/opendir.c: Do not include
51256         <kernel-features.h>.
51257         [__ASSUME_O_DIRECTORY]: Make code unconditional.
51258         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
51259         132096]: Remove conditional code.
51260         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
51261         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51262         <kernel-features.h>.
51263         [__ASSUME_32BITUIDS]: Make code unconditional.
51264         [!__ASSUME_32BITUIDS]: Remove conditional code.
51265         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51266         <kernel-features.h>.
51267         [__ASSUME_32BITUIDS]: Make code unconditional.
51268         [!__ASSUME_32BITUIDS]: Remove conditional code.
51269         * sysdeps/unix/sysv/linux/setegid.c: Do not include
51270         <kernel-features.h>.
51271         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
51272         unconditional.
51273         (__setresgid): Do not declare.
51274         [__ASSUME_32BITUIDS]: Make code unconditional.
51275         [!__ASSUME_32BITUIDS]: Remove conditional code.
51276         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
51277         <kernel-features.h>.
51278         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
51279         unconditional.
51280         (__setresuid): Do not declare.
51281         [__ASSUME_32BITUIDS]: Make code unconditional.
51282         [!__ASSUME_32BITUIDS]: Remove conditional code.
51283         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51284         <kernel-features.h>.
51285         [__ASSUME_32BITUIDS]: Make code unconditional.
51286         [!__ASSUME_32BITUIDS]: Remove conditional code.
51287         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
51288         <kernel-features.h>.
51289         [__ASSUME_32BITUIDS]: Make code unconditional.
51290         [!__ASSUME_32BITUIDS]: Remove conditional code.
51292 2012-05-25  Richard Henderson  <rth@twiddle.net>
51294         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
51295         dl_hwcap to ifunc resolver.
51296         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
51297         elf_ifunc_invoke.
51298         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
51299         dl_hwcap to ifunc resolver.
51300         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
51302 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51304         [BZ #14153]
51305         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
51306         for |x| <= 2**-26, not 2**-57.
51307         * math/libm-test.inc (acos_test): Do not allow spurious underflow
51308         exception.
51310 2012-05-24  Jeff Law  <law@redhat.com>
51312         * stdio-common/Makefile (tests): Add bug25.
51313         * stdio-common/bug25.c: New test.
51315 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51317         [BZ #13576]
51318         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
51319         multiple of MALLOC_ALIGNMENT in size.
51320         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
51322 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51324         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
51325         Require >= 256.
51326         (FILENAME_MAX): Use macro-int-constant.
51327         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
51328         (_IOFBF): Use macro-int-constant.
51329         (_IOLBF): Likewise.
51330         (_IONBF): Likewise.
51331         (SEEK_CUR): Likewise.
51332         (SEEK_END): Likewise.
51333         (SEEK_SET): Likewise.
51334         (TMP_MAX): Likewise.
51335         (EOF): Use macro-int-constant.  Require < 0.
51336         (NULL): Use macro-constant.  Require == 0.
51337         (stdin): Require type to be FILE *.
51338         (stdout): Likewise.
51339         (stderr): Likewise.
51340         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
51341         macro-int-constant.
51342         (EXIT_SUCCESS): Likewise.
51343         (NULL): Use macro-constant.  Require == 0.
51344         (RAND_MAX): Use macro-int-constant.
51345         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
51346         [C99-based standards] (strtof): Require function.
51347         [C99-based standards] (strtold): Likewise.
51348         [C99-based standards] (strtoll): Likewise.
51349         [C99-based standards] (strtoull): Likewise.
51350         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51351         [ISO || ISO99 || ISO11] (limits.h): Likewise.
51352         [ISO || ISO99 || ISO11] (math.h): Likewise.
51353         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
51354         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51355         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51357 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
51359         [BZ #14132]
51360         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
51361         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
51362         * intl/dgettext.c (DCGETTEXT): Likewise.
51363         * intl/gettext.c (DCGETTEXT): Likewise.
51364         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
51365         * posix/regex_internal.h (gettext): Likewise.
51366         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
51367         Remove declaration.
51368         * include/argz.h (__argz_count_internal)
51369         (__argz_stringify_internal): Remove declaration.
51370         (__argz_count, __argz_stringify): Declare hidden proto.
51371         * intl/dcgettext.c: Remove use of INTDEF.
51372         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
51373         * string/argz-stringify.c: Likewise.
51374         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51375         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51376         Declare hidden proto.
51377         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51378         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51379         Declare hidden proto.
51380         * include/stdio.h (__asprintf_internal): Don't declare.
51381         (__asprintf): Don't define as macro.  Declare hidden proto.
51382         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
51383         (__fsetlocking): Declare hidden proto.
51384         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
51385         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
51386         hidden proto.
51387         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
51388         (_IO_setlinebuf): Remove use of INTUSE.
51389         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
51390         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
51391         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
51392         Remove declaration.
51393         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
51394         (_IO_do_flush): Remove use of INTUSE.
51395         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
51396         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
51397         (_IO_adjust_column, _IO_least_wmarker)
51398         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
51399         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
51400         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
51401         (_IO_default_doallocate, _IO_wdefault_doallocate)
51402         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
51403         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
51404         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
51405         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
51406         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
51407         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
51408         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
51409         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
51410         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
51411         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
51412         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
51413         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
51414         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
51415         proto.
51416         (_IO_flush_all_internal, _IO_adjust_column_internal)
51417         (_IO_default_uflow_internal, _IO_default_finish_internal)
51418         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
51419         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
51420         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
51421         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
51422         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
51423         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
51424         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
51425         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
51426         (_IO_file_close_internal, _IO_file_close_it_internal)
51427         (_IO_file_underflow_internal, _IO_file_overflow_internal)
51428         (_IO_file_init_internal, _IO_file_attach_internal)
51429         (_IO_file_fopen_internal, _IO_file_read_internal)
51430         (_IO_file_sync_internal, _IO_file_seek_internal)
51431         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
51432         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
51433         (_IO_str_underflow_internal, _IO_str_overflow_internal)
51434         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
51435         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
51436         (_IO_list_all_internal, _IO_link_in_internal)
51437         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
51438         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
51439         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
51440         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
51441         (_IO_do_write_internal, _IO_padn_internal)
51442         (_IO_getline_info_internal, _IO_getline_internal)
51443         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
51444         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
51445         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
51446         (_IO_vfscanf_internal, _IO_vfprintf_internal)
51447         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
51448         (_IO_init_internal, _IO_un_link_internal): Don't declare.
51449         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
51450         with libc_hidden_ver, remove use of INTUSE.
51451         * libio/genops.c: Likewise.
51452         * libio/freopen.c: Likewise.
51453         * libio/freopen64.c: Likewise.
51454         * libio/iofclose.c: Likewise.
51455         * libio/iofdopen.c: Likewise.
51456         * libio/iofflush.c: Likewise.
51457         * libio/iofflush_u.c: Likewise.
51458         * libio/iofgets.c: Likewise.
51459         * libio/iofgets_u.c: Likewise.
51460         * libio/iofopen.c: Likewise.
51461         * libio/iofopncook.c: Likewise.
51462         * libio/iofread.c: Likewise.
51463         * libio/iofread_u.c: Likewise.
51464         * libio/ioftell.c: Likewise.
51465         * libio/iofwrite.c: Likewise.
51466         * libio/iogetline.c: Likewise.
51467         * libio/iogets.c: Likewise.
51468         * libio/iogetwline.c: Likewise.
51469         * libio/iopadn.c: Likewise.
51470         * libio/iopopen.c: Likewise.
51471         * libio/ioseekoff.c: Likewise.
51472         * libio/ioseekpos.c: Likewise.
51473         * libio/iosetbuffer.c: Likewise.
51474         * libio/iosetvbuf.c: Likewise.
51475         * libio/ioungetc.c: Likewise.
51476         * libio/ioungetwc.c: Likewise.
51477         * libio/iovdprintf.c: Likewise.
51478         * libio/iovsprintf.c: Likewise.
51479         * libio/iovsscanf.c: Likewise.
51480         * libio/memstream.c: Likewise.
51481         * libio/obprintf.c: Likewise.
51482         * libio/oldfileops.c: Likewise.
51483         * libio/oldiofclose.c: Likewise.
51484         * libio/oldiofdopen.c: Likewise.
51485         * libio/oldiofopen.c: Likewise.
51486         * libio/oldiopopen.c: Likewise.
51487         * libio/oldstdfiles.c: Likewise.
51488         * libio/putc.c: Likewise.
51489         * libio/setbuf.c: Likewise.
51490         * libio/setlinebuf.c: Likewise.
51491         * libio/stdfiles.c: Likewise.
51492         * libio/strops.c: Likewise.
51493         * libio/vasprintf.c: Likewise.
51494         * libio/vscanf.c: Likewise.
51495         * libio/vsnprintf.c: Likewise.
51496         * libio/vswprintf.c: Likewise.
51497         * libio/wfiledoalloc.c: Likewise.
51498         * libio/wfileops.c: Likewise.
51499         * libio/wgenops.c: Likewise.
51500         * libio/wmemstream.c: Likewise.
51501         * libio/wstrops.c: Likewise.
51502         * libio/__fpurge.c: Likewise.
51503         * libio/__fsetlocking.c: Likewise.
51504         * assert/assert.c: Likewise.
51505         * debug/fgets_chk.c: Likewise.
51506         * debug/fgets_u_chk.c: Likewise.
51507         * debug/fread_chk.c: Likewise.
51508         * debug/fread_u_chk.c: Likewise.
51509         * debug/gets_chk.c: Likewise.
51510         * debug/obprintf_chk.c: Likewise.
51511         * debug/vasprintf_chk.c: Likewise.
51512         * debug/vdprintf_chk.c: Likewise.
51513         * debug/vsnprintf_chk.c: Likewise.
51514         * debug/vsprintf_chk.c: Likewise.
51515         * malloc/mtrace.c: Likewise.
51516         * misc/error.c: Likewise.
51517         * misc/syslog.c: Likewise.
51518         * stdio-common/asprintf.c: Likewise.
51519         * stdio-common/fxprintf.c: Likewise.
51520         * stdio-common/getw.c: Likewise.
51521         * stdio-common/isoc99_fscanf.c: Likewise.
51522         * stdio-common/isoc99_scanf.c: Likewise.
51523         * stdio-common/isoc99_vfscanf.c: Likewise.
51524         * stdio-common/isoc99_vscanf.c: Likewise.
51525         * stdio-common/isoc99_vsscanf.c: Likewise.
51526         * stdio-common/printf-prs.c: Likewise.
51527         * stdio-common/printf_fp.c: Likewise.
51528         * stdio-common/printf_fphex.c: Likewise.
51529         * stdio-common/printf_size.c: Likewise.
51530         * stdio-common/putw.c: Likewise.
51531         * stdio-common/scanf.c: Likewise.
51532         * stdio-common/sprintf.c: Likewise.
51533         * stdio-common/tmpfile.c: Likewise.
51534         * stdio-common/vfprintf.c: Likewise.
51535         * stdio-common/vfscanf.c: Likewise.
51536         * stdlib/strfmon_l.c: Likewise.
51537         * sunrpc/openchild.c: Likewise.
51538         * sunrpc/xdr_stdio.c: Likewise.
51539         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51540         * sysdeps/mach/hurd/tmpfile.c: Likewise.
51542 2012-05-24  Roland McGrath  <roland@hack.frob.com>
51544         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51546         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51547         in the third column, to generate for the shared library an IFUNC
51548         that uses _dl_vdso_vsym.
51549         * Makerules (COMPILE.c, compile-stdin.c): New variables.
51550         * Makeconfig (object-suffixes-noshared): New variable.
51552         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51553         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51554         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51555         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51557         [BZ #14132]
51558         * include/sys/time.h (__gettimeofday): Remove macro.
51559         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51560         * time/gettimeofday.c (__gettimeofday): Remove #undef.
51561         Remove INTDEF.
51562         (__gettimeofday): Add libc_hidden_def.
51563         (gettimeofday): Add libc_hidden_weak.
51564         * sysdeps/mach/gettimeofday.c: Likewise.
51565         * sysdeps/posix/gettimeofday.c: Likewise.
51566         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51567         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51568         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51569         (__gettimeofday_internal): Remove strong_alias.
51570         (__gettimeofday): Add libc_hidden_def.
51571         (gettimeofday): Add libc_hidden_weak.
51572         * sysdeps/unix/syscalls.list (gettimeofday):
51573         Remove __gettimeofday_internal alias.
51575 2012-05-24  Daniel Jacobowitz  <drow@false.org>
51576             H.J. Lu  <hongjiu.lu@intel.com>
51578         [BZ #12495]
51579         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51580         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51581         (largebin_index_32_big): New.
51582         (largebin_index): Use it for 16-byte alignment.
51583         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
51584         correction with front_misalign.
51586 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
51588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51590         Likewise.
51591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51592         Likewise.
51593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51594         Likewise.
51595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51596         Likewise.
51597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51598         Likewise.
51599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51600         Likewise.
51601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51602         Likewise.
51603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51604         Likewise.
51605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51606         Likewise.
51607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51608         Likewise.
51609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51610         Likewise.
51611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51612         Likewise.
51614         * scripts/data/c++-types-x32-linux-gnu.data: New file.
51615         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51617 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
51619         [BZ #10846]
51620         [BZ #14036]
51621         * math/libm-test.inc (exp_test): Add test from bug 14036.
51622         (pow_test): Add test from bug 10846.
51624         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51625         and other flags.
51626         (special_function): Do not include flags in test name.
51627         (parse_args): Likewise.
51628         * sysdeps/i386/fpu/libm-test-ulps: Update.
51629         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51630         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51631         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51634         * math/gen-libm-test.pl (%beautify): Add entries for underflow
51635         exceptions.
51636         * math/libm-test.inc ("Philosophy"): Update comment about
51637         exception testing.
51638         (UNDERFLOW_EXCEPTION): New macro.
51639         (UNDERFLOW_EXCEPTION_OK): Likewise.
51640         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51641         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51642         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51643         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51644         (INVALID_EXCEPTION_OK): Update value.
51645         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51646         (OVERFLOW_EXCEPTION_OK): Likewise.
51647         (IGNORE_ZERO_INF_SIGN): Likewise.
51648         (test_exceptions): Handle underflow exceptions.
51649         (acos_test): Update for underflow exception expectations.
51650         (cexp_test): Likewise.
51651         (clog_test): Likewise.
51652         (clog10_test): Likewise.
51653         (csqrt_test): Likewise.
51654         (ctan_test): Likewise.
51655         (ctanh_test): Likewise.
51656         (exp_test): Likewise.
51657         (exp10_test): Likewise.
51658         (exp2_test): Likewise.
51659         (expm1_test): Likewise.
51660         (fma_test): Likewise.
51661         (j0_test): Likewise.
51662         (jn_test): Likewise.
51663         (nexttoward_test): Likewise.
51664         (pow_test): Likewise.
51665         (scalbn_test): Likewise.
51666         (scalbln_test): Likewise.
51667         (tan_test): Likewise.
51668         (y1_test): Likewise.
51669         * sysdeps/i386/fpu/libm-test-ulps: Update.
51670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51672 2012-05-23  David S. Miller  <davem@davemloft.net>
51674         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51675         (__libc_sigaction): Remove unused local variables.
51677 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51679         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51681 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
51683         mktime: avoid signed integer overflow
51684         * time/mktime.c (__mktime_internal): Do not mishandle the case
51685         where diff == INT_MIN.
51687         mktime: simplify computation of average
51688         * time/mktime.c (ranged_convert): Use new time_t_avg function
51689         instead of rolling our own (probably-slower) code.
51691         mktime: do not assume signed right shift propagates sign bit
51692         * time/mktime.c (isdst_differ): New static function.
51693         (__mktime_internal): No need to normalize tm_isdst now.
51694         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51695         tm_isdst values.
51697         mktime: merge another wrapv change from gnulib
51698         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51699         from some compilers.
51701         mktime: remove incorrect attempt at unusual arithmetics
51702         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51703         The code didn't really work on such machines anyway.
51704         (TYPE_MINIMUM): Assume two's complement.
51705         (twos_complement_arithmetic): Verify that long_int and time_t
51706         are two's complement (or unsigned, in the latter case).
51708         mktime: check signed shifts on long_int and time_t, too
51709         * time/mktime.c (SHR): Check that shifts work as desired
51710         on the types long_int and time_t too, as SHR is used on
51711         such types.
51713         mktime: do not assume 'long' is wide enough
51714         * time/mktime.c (verify): Move decl up.
51715         (long_int): New type.
51716         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51717         to remove assumption in the code that 'long' is wide enough to
51718         store year values.  This assumption is not true on x32 and on
51719         some non-glibc platforms.
51721         mktime: merge wrapv change from gnulib
51722         * time/mktime.c (WRAPV): New macro.
51723         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51724         (guess_time_tm, __mktime_internal): Do not assume that signed
51725         integer overflow wraps around; modern compilers generate code
51726         where this assumption is no longer valid.
51728 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51730         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51731         Replace "jmp L(pseudo_end)" with "ret".
51732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51733         Likewise.
51735 2012-05-23  Andreas Jaeger  <aj@suse.de>
51737         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51738         * sysdeps/unix/sysv/linux/poll.c: Remove file.
51740 2012-05-23  Andreas Jaeger  <aj@suse.de>
51741             Maximilian Attems  <max@stro.at>
51743         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51744         New macros.
51746 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
51748         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51749         code so that pseudo_end is just ret and the stack pointer is
51750         correct also for static library in error case.
51752 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
51754         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51755         move to syscalls.list.
51756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51761         * manual/install.texi (Running make install): Do not mention Linux
51762         kernel version for which pt_chown is not needed.
51763         (Linux): Do not mention problems with nscd with 2.0 kernels.
51764         * INSTALL: Regenerated.
51766 2012-05-23  Andreas Jaeger  <aj@suse.de>
51768         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51769         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51770         macro.
51771         * sysdeps/unix/sysv/linux/s390/bits/mman.h
51772         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51773         * sysdeps/unix/sysv/linux/sh/bits/mman.h
51774         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51775         * sysdeps/unix/sysv/linux/i386/bits/mman.h
51776         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51777         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51778         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51779         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51780         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51781         * sysdeps/unix/sysv/linux/bits/in.h
51782         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51784 2012-05-22  Roland McGrath  <roland@hack.frob.com>
51786         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51787         (PREPARE_VERSION): Just use assert instead, it will be elided
51788         under [NDEBUG] anyway.
51790 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51792         * sysdeps/unix/sysv/linux/Makefile: Include
51793         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51794         (sysdep_routines): Remove sysctl.
51795         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51796         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51797         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51798         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51799         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51801 2012-05-22  Andreas Jaeger  <aj@suse.de>
51803         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51804         that pseudo_end is just ret and the stack pointer is correct also
51805         for static library in error case.
51807 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
51809         [BZ #14122]
51810         * nss/nsswitch.c (defconfig_entries): New variable.
51811         (__nss_database_lookup): Don't leak defconfig entries.
51812         (nss_parse_service_list): Don't leak on error paths.
51813         (free_database_entries): New function.
51814         (free_defconfig): New function.
51815         (free_mem): Move common code to free_database_entries.
51817 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51819         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51820         Add arch_prctl.
51821         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51823         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51824         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51825         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51826         New macro.
51827         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51828         (INTERNAL_SYSCALL_TYPES): Likewise.
51829         (LOAD_ARGS_TYPES_[1-6]): Likewise.
51830         (LOAD_REGS_TYPES_[1-6]): Likewise.
51831         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51832         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51834 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51836         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51837         copysignl for GLIBC_2_0.
51838         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51839         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51840         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51841         logbl for GLIBC_2_0.
51842         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51843         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51845 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51847         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51848         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
51850         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51851         Use "neg %eax".
51853         * time/mktime.c: Update copyright years.
51855 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
51857         mktime: merge comment-quoting-style change from gnulib
51858         * time/mktime.c: Quote 'like this' in comments.
51859         The GNU coding standards suggest that we no longer quote `like this',
51860         as "`" and "'" are typically rendered asymmetrically nowadays.
51861         The typical gnulib style is to quote 'like this' when quoting
51862         code, and "like this" when quoting English.
51864         * time/mktime.c (compile-command): Add "-I.".
51866         mktime: merge mktime-internal.h change from gnulib
51867         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
51869         mktime: merge time_r change from gnulib
51870         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
51872         mktime: merge DEBUG change from gnulib
51873         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
51874         case system <time.h> has a #define.
51876         mktime: merge <sys/types.h> change from gnulib
51877         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
51878         since <time.t> is now guaranteed to define time_t.
51880         mktime: merge HAVE_CONFIG_H change from gnulib
51881         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
51883 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
51885         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51886         Use "neg %eax".
51888         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
51889         __rlim_t cast.
51890         (struct rusage): Use anonymous union to pad each field to
51891         __syscall_slong_t.
51893 2012-05-21  David S. Miller  <davem@davemloft.net>
51895         * Makefules (o-iterator): Remove .s cases.
51896         (compile-command.s): Delete.
51897         (COMPILE.s): Delete.
51898         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
51900 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
51902         * configure.in (libc_cv_predef_stack_protector): Only consider
51903         "foobar" and "__stack_chk_fail" lines in libc_undefs.
51904         * configure: Regenerated.
51906 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51908         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
51909         New macro.  Use R*LP on int and pointer.
51910         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
51911         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
51912         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
51913         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
51915         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
51916         [__WORDSIZE_TIME64_COMPAT32] instead of
51917         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
51918         (struct utmp): Likewise.
51919         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
51920         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
51921         Renamed to ...
51922         (__WORDSIZE_TIME64_COMPAT32): This.
51923         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
51924         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
51925         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
51926         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
51927         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
51928         (__WORDSIZE_TIME64_COMPAT32): New macro.
51930 2012-05-21  Andreas Jaeger  <aj@suse.de>
51932         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
51933         only if [SHARED]. Add prototype for __wcschr_ia32.
51935 2012-05-21  Roland McGrath  <roland@hack.frob.com>
51937         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
51938         of %rbp unmolested in the jmp_buf while mangling the low bits.
51939         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
51940         unmolested high bits of %rbp while demangling the low bits.
51941         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51943 2012-05-21  Andreas Jaeger  <aj@suse.de>
51945         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
51946         * sunrpc/svc_simple.c: Use it for registerrpc.
51947         * sunrpc/xcrypt.c: Use it for passwd2des.
51949         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
51951 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51953         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
51954         Don't define if [__SYSCALL_WORDSIZE != 32].
51955         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
51956         New macro.
51958 2012-05-21  Bruno Haible  <bruno@clisp.org>
51959             Andreas Jaeger  <aj@suse.de>
51961         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
51962         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
51963         inptr and inend for must_buffer_ch.
51964         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
51965         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
51966         * stdio-common/Makefile (tests): Remove bug15.
51967         (bug15-ENV): Remove macro.
51968         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
51969         anymore.
51971 2012-05-19  Andreas Jaeger  <aj@suse.de>
51972             Roland McGrath  <roland@hack.frob.com>
51974         * manual/contrib.texi: Completely rewritten. It contains now an
51975         alphabetical list of contributors and their contributions.
51977 2012-05-21  Richard Henderson  <rth@twiddle.net>
51979         * misc/getauxval.c (__getauxval): Use unsigned long int.
51980         * misc/sys/auxv.h: Include <sys/cdefs.h>.
51981         (getauxval): Use unsigned long int.
51983 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
51985         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51987 2012-05-21  Roland McGrath  <roland@hack.frob.com>
51989         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
51990         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
51991         __alignof__ (long double).
51993 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51997 2012-05-20  Richard Henderson  <rth@twiddle.net>
51999         * misc/getauxval.c: New file.
52000         * misc/sys/auxv.h: New file.
52001         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
52002         (routines): Add getauxval.
52003         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
52004         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
52005         * elf/dl-sysdep.c (_dl_auxv): Remove.
52006         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
52007         * elf/dl-support.c (_dl_auxv): New variable.
52008         (_dl_aux_init): Initialize it.
52009         * manual/startup.texi (Auxiliary Vector): New node.
52010         * sysdeps/generic/bits/hwcap.h: New file.
52011         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
52012         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
52013         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
52014         * sysdeps/sparc/sysdep.h: ... here.  Include it.
52015         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
52016         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
52017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52018         Update.
52019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
52020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
52021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
52022         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
52023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
52024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
52025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
52026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
52028 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52032 2012-05-19  David S. Miller  <davem@davemloft.net>
52034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52036 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
52038         [BZ #14123]
52039         * math/s_ccosh.c: Include <float.h>
52040         (__ccosh): Avoid internal overflow calculating sinh and cosh
52041         values before multiplying by sin and cos values.
52042         * math/s_ccoshf.c: Likewise.
52043         * math/s_ccoshl.c: Likewise.
52044         * math/s_csin.c: Likewise.
52045         * math/s_csinf.c: Likewise.
52046         * math/s_csinl.c: Likewise.
52047         * math/s_csinh.c: Likewise.
52048         * math/s_csinhf.c: Likewise.
52049         * math/s_csinhl.c: Likewise.
52050         * math/libm-test.inc (ccos_test): Add more tests.
52051         (ccosh_test): Likewise.
52052         (csin_test): Likewise.
52053         (csinh_test): Likewise.
52054         * sysdeps/i386/fpu/libm-test-ulps: Update.
52055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52057 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
52059         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
52060         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
52062         * sysdeps/x86_64/x32/_itoa.h: Add comment.
52064 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
52066         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
52067         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
52068         * sysdeps/powerpc/soft-fp/Versions: Likewise.
52069         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
52070         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
52071         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
52072         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
52073         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
52074         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
52075         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
52076         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
52077         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
52078         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
52079         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
52080         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
52081         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
52082         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
52083         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
52084         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
52085         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
52086         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
52087         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
52088         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
52089         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
52090         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
52091         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
52092         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
52093         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
52094         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
52095         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
52096         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
52098 2012-05-18  Andreas Jaeger  <aj@suse.de>
52100         * csu/.gitignore: Delete.
52102 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
52104         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
52105         (timex): Use __syscall_slong_t.
52107 2012-05-18  Andreas Jaeger  <aj@suse.de>
52108             Carlos O'Donell  <carlos_odonell@mentor.com>
52110         * manual/install.texi (Configuring and compiling): Update
52111         description about files modified in the source directory.
52112         * INSTALL: Regenerated.
52114 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
52116         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
52117         value.  Use "or" to set return value to -1.
52118         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
52119         negate return value.
52121 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52123         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
52124         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
52125         failure if the compiler has Graphite support disabled.
52126         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
52127         Likewise.
52128         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
52129         (CFLAGS-memmove.c): Likewise.
52130         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
52131         Likewise.
52133 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
52135         * sysdeps/x86_64/x32/_itoa.h: New file.
52137         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
52138         getdents system call only if kernel and user dirents have the
52139         same d_ino and d_off.
52141         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52142         LLONG_MAX != LONG_MAX.
52143         (_itoa_word): Use _ITOA_WORD_TYPE on value.
52144         (_fitoa_word): Likewise.
52146         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
52147         years.
52148         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
52149         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
52150         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
52152         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
52153         include <bits/wordsize.h>.  Check __x86_64__ instead of
52154         __WORDSIZE.
52155         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
52156         if __x86_64__ is defined.  Use anonymous union on fpstate.
52158         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
52159         anonymous union.
52161 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
52163         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
52164         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
52165         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
52166         Refer to _rtld_local_ro instead of _rtld_global_ro.
52167         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
52168         Likewise.
52169         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
52170         Likewise.
52171         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
52172         Likewise.
52173         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
52174         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
52175         of _rtld_global, and rtld_progname instead of _dl_argv[0].
52177         [BZ #10882]
52178         * sysdeps/powerpc/powerpc32/dl-machine.c
52179         (__elf_machine_runtime_setup) [PROF]: Don't reference
52180         _dl_prof_resolve.
52182 2012-05-18  Andreas Jaeger  <aj@suse.de>
52184         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
52185         function only available for GCCs before 3.4 since GCC 3.4
52186         introduced a builtin.
52187         (lrint): Likewise.
52188         (llrintf): Likewise.
52189         (llrint): Likewise.
52190         (fmaxf): Likewise.
52191         (fmax): Likewise.
52192         (fminf): Likewise.
52193         (fmin): Likewise.
52194         (rint): Likewise.
52195         (rintf): Likewise.
52196         (nearbyint): Likewise.
52197         (nearbyintf): Likewise.
52198         (ceil): Likewise.
52199         (ceilf): Likewise.
52200         (floor): Likewise.
52201         (floorf): Likewise.
52203 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52205         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
52206         on both fields and cast pointer to __syscall_ulong_t.
52208         * bits/types.h (__fsword_t): New type.
52209         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
52210         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
52211         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52212         (__FSWORD_T_TYPE): Likewise.
52213         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52214         (__FSWORD_T_TYPE): Likewise.
52215         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52216         (__FSWORD_T_TYPE): Likewise.
52217         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
52218         (__FSWORD_T_TYPE): Likewise.
52219         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
52220         __SWORD_TYPE with __fsword_t.
52221         (statfs64): Likewise.
52223 2012-05-17  David S. Miller  <davem@davemloft.net>
52225         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
52227 2012-05-17  Andreas Jaeger  <aj@suse.de>
52229         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
52230         warning.
52232 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52234         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
52236 2012-05-17  Andreas Jaeger  <aj@suse.de>
52238         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
52239         when it is used.
52241 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
52243         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
52245 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52247         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
52248         * sysdeps/x86_64/tst-mallocalign1.c: New file.
52250 2012-05-17  Andreas Jaeger  <aj@suse.de>
52251             Carlos O'Donell  <carlos_odonell@mentor.com>
52253         [BZ #14059]
52254         * sysdeps/x86_64/multiarch/init-arch.h
52255         (bit_YMM_Usable): Rename to...
52256         (bit_AVX_Usable): ... this.
52257         (bit_FMA4_Usable): New macro.
52258         (bit_XMM_state): New macro.
52259         (bit_YMM_state): New macro.
52260         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
52261         [__ASSEMBLER__] (index_AVX_Usable): ... this.
52262         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
52263         (CPUID_OSXSAVE): New macro.
52264         (CPUID_AVX): New macro.
52265         (CPUID_FMA4): New macro.
52266         (index_YMM_Usable): Rename to...
52267         (index_AVX_Usable): ... this.
52268         (HAS_AVX): Use HAS_ARCH_FEATURE.
52269         (HAS_FMA4): Likewise.
52270         (HAS_YMM_USABLE): Remove.
52271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52272         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
52273         are present.
52274         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
52275         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
52276         * sysdeps/x86_64/multiarch/Makefile: Likewise.
52277         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
52278         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
52280 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
52282         * math/libm-test.c: Support platforms without multiple rounding modes.
52283         * math/bug-nextafter.c: Support platforms without FP exceptions.
52284         * math/bug-nexttoward.c: Likewise.
52285         * math/test-fenv.c: Likewise.
52286         * math/test-misc.c: Likewise.
52287         * stdlib/bug-getcontext.c: Likewise.
52289 2012-05-17  Andreas Jaeger  <aj@suse.de>
52291         * manual/examples/search.c (critter_cmp): Change signature to
52292         avoid warnings.
52293         * manual/string.texi (Collation Functions): Likewise.
52295 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52297         * bits/types.h: Fold copyright years.
52298         * bits/typesizes.h: Likewise.
52299         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
52300         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52301         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
52302         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
52303         * time/time.h: Likewise.
52305 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
52307         [BZ #208]
52308         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
52309         in instead of returning them.  Return void.
52310         (__libc_mallinfo): Accumulate over all arenas.
52311         (__malloc_stats): Adjust for change in int_mallinfo interface.
52313 2012-05-16  Roland McGrath  <roland@hack.frob.com>
52315         [BZ #10375]
52316         * configure.in (NM): Add AC_CHECK_TOOL for it.
52317         (libc_extra_cflags): New substituted variable.
52318         Check for -fstack-protector being used implicitly.
52319         * configure: Regenerated.
52320         * config.make.in (config-extra-cflags): New variable,
52321         gets @libc_extra_cflags@.
52322         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
52324         [BZ #10375]
52325         * configure.in: Check for _FORTIFY_SOURCE being predefined.
52326         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
52327         * configure: Regenerated.
52328         * config.make.in (CPPUNDEFS): New substituted variable.
52329         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
52330         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
52331         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
52333 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52335         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
52336         (mq_attr): Use __syscall_slong_t.
52338 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52340         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
52341         Check __x86_64__ instead of __WORDSIZE.
52342         (_STAT_VER_LINUX): Likewise.
52343         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
52344         __syscall_ulong_t and __syscall_slong_t.
52345         (stat64): Likewise.
52347 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52349         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
52351 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52353         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
52355 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52357         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
52358         __syscall_ulong_t.
52360         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
52361         include <bits/wordsize.h>.  Check __x86_64__ instead of
52362         __WORDSIZE.
52363         (greg_t): Use "__extension__ long long int" if __x86_64__ is
52364         defined.
52365         (mcontext_t): Replace "unsigned long" with "unsigned long long".
52367         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
52368         include <bits/wordsize.h>.  Check __x86_64__ instead of
52369         __WORDSIZE.
52370         (user_regs_struct): Use "__extension__ unsigned long long"
52371         instead of "unsigned long" if __x86_64__ is defined.
52372         (user): Likewise.  Pad after pointer field if __ILP32__ is
52373         defined.
52375 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
52377         * configure.in (makeinfo): Require version 4.5 or later.  Allow
52378         versions 5 to 9.
52379         * configure: Regenerated.
52380         * manual/install.texi (texinfo): Increase version requirement to
52381         4.5 or later.
52382         * INSTALL: Regenerated.
52384         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
52386 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52388         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
52390         * sysdeps/x86_64/x32/ffs.c: New file.
52392         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
52393         __syscall_ulong_t.
52394         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
52395         defined.  Use __syscall_ulong_t.
52396         (shminfo): Use __syscall_ulong_t.
52397         (shm_info): Likewise.
52399         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
52400         __syscall_ulong_t.
52402         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
52403         <bits/wordsize.h>.
52404         (msgqnum_t): Use __syscall_ulong_t.
52405         (msglen_t): Likewise.
52406         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
52407         __syscall_ulong_t.
52409         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
52410         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52412         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
52414         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
52415         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
52417         * sysvipc/sys/msg.h (msgbuf): Replace long int with
52418         __syscall_slong_t.
52420         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
52421         include <bits/wordsize.h>.  Check __x86_64__ instead of
52422         __WORDSIZE.
52424         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52425         "unsigned long long int" if __x86_64__ is defined.
52426         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
52428         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
52429         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
52430         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
52432         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
52433         <stdint.h>.
52434         (GET_PC): Cast to uintptr_t first.
52435         (GET_FRAME): Likewise.
52436         (GET_STACK): Likewise.
52438         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
52439         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
52440         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
52441         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
52442         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
52443         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
52444         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
52445         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
52446         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
52447         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
52448         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
52449         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
52450         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52451         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
52452         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
52453         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
52454         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
52455         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
52456         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
52457         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
52458         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
52459         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
52460         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
52461         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
52462         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
52463         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
52464         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
52465         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
52466         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
52468 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
52470         * Makerules (+depfiles): Also collect depfiles from .oS in
52471         $(extra-objs).
52472         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
52473         .oS, $(libnldbl-routines)).
52475         * Makerules (native-compile-mkdep-flags): Define.
52476         * sunrpc/Makefile (extra-objs): Add $(addprefix
52477         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52478         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52479         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
52480         calling $(make-target-directory).
52482 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52484         * bits/types.h (__snseconds_t): Removed.
52485         * time/time.h (struct timespec): Replace __snseconds_t with
52486         __syscall_slong_t.
52487         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52488         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52489         Likewise.
52490         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52491         (__SNSECONDS_T_TYPE): Likewise.
52492         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52493         (__SNSECONDS_T_TYPE): Likewise.
52494         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52495         (__SNSECONDS_T_TYPE): Likewise.
52497 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52499         * sysdeps/mach/hurd/bits/typesizes.h
52500         (__SYSCALL_SLONG_TYPE): New macro.
52501         (__SYSCALL_ULONG_TYPE): Likewise.
52503 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52505         * bits/types.h (__syscall_slong_t): New type.
52506         (__syscall_ulong_t): Likewise.
52508         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52509         (__SYSCALL_ULONG_TYPE): Likewise.
52510         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52511         (__SYSCALL_SLONG_TYPE): Likewise.
52512         (__SYSCALL_ULONG_TYPE): Likewise.
52513         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52514         (__SYSCALL_SLONG_TYPE): Likewise.
52515         (__SYSCALL_ULONG_TYPE): Likewise.
52516         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52517         (__SYSCALL_SLONG_TYPE): Likewise.
52518         (__SYSCALL_ULONG_TYPE): Likewise.
52520 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52522         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52523         Add sigaltstack-offsets.sym.
52524         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52525         <sigaltstack-offsets.h>.
52526         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
52527         longjmp_msg pointer.
52528         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
52529         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52530         signal stack.
52531         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52533 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52535         * elf/stackguard-macros.h: Remove file.
52536         * sysdeps/generic/stackguard-macros.h: New file.
52537         * sysdeps/i386/stackguard-macros.h: Likewise.
52538         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52539         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52540         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52541         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52542         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52543         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52544         * sysdeps/x86_64/stackguard-macros.h: Likewise.
52545         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52546         <elf/stackguard-macros.h>.
52548         [BZ #14109]
52549         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52550         __aligned__ in attribute.
52551         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52552         (gregset_t): Likewise.
52554 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52556         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52557         * sysdeps/x86_64/64/Implies-after: Here.  New file.
52558         * sysdeps/x86_64/x32/Implies-after: New file.
52560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52562         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52563         and access return value for _dl_profile_fixup.  Use R10_LP to
52564         load frame size.
52566 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52568         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52572         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52573         * sysdeps/x86_64/x32/sysdep.h: New file.
52575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52577         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52578         * sysdeps/x86_64/setjmp.S: Likewise.
52580 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52582         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52583         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52584         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52585         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52586         remove unused global constant.
52588 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
52590         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52591         include of <not-cancel.h>.
52593 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52595         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52597 2012-05-15  Jeff Law  <law@redhat.com>
52598             Andreas Jaeger  <aj@suse.de>
52600         [BZ #13594]
52601         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52602         out from...
52603         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52604         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52605         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52606         code changing __hst_map_handle.map.
52608 2012-05-15  Roland McGrath  <roland@hack.frob.com>
52610         * configure.in (sysnames): Look for Implies-before and Implies-after
52611         files.
52612         * configure: Regenerated.
52614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52616         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52617         8-byte data alignment with LP_SIZE alignment.
52619 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52621         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52622         into R10_LP.
52624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52626         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52630         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52631         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52632         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52633         Likewise.
52634         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52636 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52638         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52639         (stackinfo_sub_sp): Likewise.
52641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52643         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52644         RAX_LP.
52646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52648         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52649         into R*_LP.
52651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52653         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52654         sizes into R*_LP.
52656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52658         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52662         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52663         into R11_LP and load __x86_64_shared_cache_size_half into
52664         R8_LP.
52666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
52668         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52669         R8_LP.
52671 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52673         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52674         logb for POWER7.
52675         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52676         logbf for POWER7.
52677         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52678         logbl for POWER7.
52679         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52680         powerpc32/power7/fpu/s_logb.c via #include.
52681         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52682         powerpc32/power7/fpu/s_logbf.c via #include.
52683         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52684         powerpc32/power7/fpu/s_logbl.c via #include.
52686 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
52688         * README.libm: Remove file.
52690 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52692         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52693         count for x32.  Use R*_LP and omit operand-size suffix.
52695 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52697         * shlib-versions: Move x86_64-.*-linux.* entries to ...
52698         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
52699         * sysdeps/x86_64/x32/shlib-versions: New file.
52701 2012-05-14  Roland McGrath  <roland@hack.frob.com>
52703         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52704         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52705         Use _dl_fatal_printf instead.
52707 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
52709         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52710         set if not set by the user.  Do not allow for being unset.
52711         * sysdeps/unix/sysv/linux/configure: Regenerated.
52713 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52715         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52716         the `q' suffix from lea and replace .quad with ASM_ADDR.
52718 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52721         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
52722         instead of $17.
52723         (PTR_DEMANGLE): Likewise.
52725 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52727         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52728         (LP_OP): Likewise.
52729         (ASM_ADDR): Likewise.
52730         (RAX_LP): Likewise.
52731         (RBP_LP): Likewise.
52732         (RBX_LP): Likewise.
52733         (RCX_LP): Likewise.
52734         (RDI_LP): Likewise.
52735         (RSI_LP): Likewise.
52736         (RSP_LP): Likewise.
52737         (R8_LP): Likewise.
52738         (R9_LP): Likewise.
52739         (R10_LP): Likewise.
52740         (R10_LP): Likewise.
52741         (R11_LP): Likewise.
52742         (R12_LP): Likewise.
52743         (R13_LP): Likewise.
52744         (R14_LP): Likewise.
52745         (R15_LP): Likewise.
52747 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52749         * sysdeps/x86_64/x32/dl-machine.h: New file.
52751 2012-05-14  Andreas Jaeger  <aj@suse.de>
52753         * manual/Makefile (subdir): Remove export of subdir.
52754         (all): Remove target.
52755         (.PHONY): Remove all from list.
52756         (mkinstalldirs): Remove.
52757         (.PHONY): Remove installdirs from list.
52758         ($(inst_infodir)/libc.info): Use make-target-directory.
52759         (installdirs): Remove.
52760         (subdir_%): Remove.
52761         (glibc-targets): Remove.
52762         (lib): Remove.
52763         (stubs): Remove.
52764         ($(objpfx)stubs ../po/manual.pot): Remove.
52765         ($(objpfx)stamp%): Remove.
52766         (make-target-directory): Remove.
52767         (subdir_install): Remove.
52768         (routines): Remove.
52769         (aux): Remove.
52770         (sources): Remove.
52771         (objects): Remove.
52772         (headers): Remove.
52774         [BZ #13750]
52775         * manual/.gitignore: Remove, it's not needed anymore.
52776         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52777         all files in it.
52778         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52779         directory.
52780         (texis): Renamed to $(objpfx)texis.
52781         (texis-path): New, contains path to generated files.
52782         (chapters.%): Use texis-path for complete path, add extra argument
52783         libc-texinfo.sh.
52784         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52785         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52786         (summary,texi, stamp-summary): Use complete path of
52787         files. Generate files in build dir.
52788         (dir-add.texi): Build in build dir.
52789         (libm-err.texi,stamp-libm-err): Likewise.
52790         (version.texi, stamp-version): Likewise.
52791         (.%c.texi): Likewise.
52792         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52793         (mostlyclean): Remove target.
52794         (realclean): Remove target.
52795         (generated): Add new variable with contents from mostlyclean and
52796         realclean, remove entries duplicated in common-mostlyclean, add
52797         stamp-libm-err and stamp-version.
52798         (generated-dirs): Add libc directory.
52799         ($(inst_infodir)/libc.info): Install files from build dir.
52801         * manual/install.texi (Configuring and compiling): Adjust since
52802         the info files are not part of the tar ball anymore.
52804 2012-05-14  Andreas Jaeger  <aj@suse.de>
52806         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52807         variable.
52809 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
52811         [BZ #13717]
52812         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52813         to 2.2.0 where earlier.
52814         * sysdeps/unix/sysv/linux/configure: Regenerated.
52815         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52816         Remove conditional code.
52817         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52818         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52819         Remove conditional code.
52820         [!__NR_lchown]: Likewise.
52821         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52822         [__NR_lchown]: Likewise.
52823         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52824         comment referencing __ASSUME_LCHOWN_SYSCALL.
52825         * sysdeps/unix/sysv/linux/i386/sigaction.c
52826         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52827         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52828         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52829         Remove conditional code.
52830         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52831         (__protocol_available): Remove #if 0 code.
52832         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52833         conditional code.
52834         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52835         * sysdeps/unix/sysv/linux/kernel-features.h
52836         (__ASSUME_GETCWD_SYSCALL): Don't define.
52837         (__ASSUME_REALTIME_SIGNALS): Likewise.
52838         (__ASSUME_PREAD_SYSCALL): Likewise.
52839         (__ASSUME_PWRITE_SYSCALL): Likewise.
52840         (__ASSUME_POLL_SYSCALL): Likewise.
52841         (__ASSUME_LCHOWN_SYSCALL): Likewise.
52842         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52843         non-SPARC.
52844         (__ASSUME_SIOCGIFNAME): Don't define.
52845         (__ASSUME_MSG_NOSIGNAL): Likewise.
52846         (__ASSUME_SENDFILE): Define unconditionally.
52847         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52848         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52849         conditional code.
52850         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
52851         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
52852         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52853         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52854         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
52855         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
52856         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
52858         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52859         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
52861         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52862         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
52864         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52865         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
52867         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52868         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
52870         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52871         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
52873         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
52874         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
52876         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52877         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
52879         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52880         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52881         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
52882         Remove conditional code.
52883         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52884         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52885         Remove conditional code.
52886         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52887         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
52888         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
52889         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52890         Remove conditional code.
52891         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52892         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
52893         Remove conditional code.
52894         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52895         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
52896         Remove conditional code.
52897         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52898         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
52899         Remove conditional code.
52900         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
52901         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
52902         Remove conditional code.
52903         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52904         * sysdeps/unix/sysv/linux/sh/pwrite64.c
52905         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
52906         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
52907         * sysdeps/unix/sysv/linux/sigaction.c
52908         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52909         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52910         * sysdeps/unix/sysv/linux/sigpending.c
52911         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52912         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52913         * sysdeps/unix/sysv/linux/sigprocmask.c
52914         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52915         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52916         * sysdeps/unix/sysv/linux/sigsuspend.c
52917         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52918         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52919         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
52920         (__libc_missing_rt_sigs): Remove.
52921         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
52922         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
52923         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
52924         Remove conditional code.
52925         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
52926         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
52927         return 1.
52928         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
52929         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
52930         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
52931         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
52933 2012-05-14  Andreas Jaeger  <aj@suse.de>
52935         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
52936         it's not used in glibc.
52937         (__coshm1): Likewise.
52938         (__acosh1p): Likewise.
52939         (__sgn): Likewise.
52941         * manual/string.texi (Copying and Concatenation): Add missing
52942         variable in concat example.
52943         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52945 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52947         [BZ #14103]
52948         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
52949         __builtin_clzl with __builtin_clzll.
52951 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
52953         [BZ #14104]
52954         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
52955         libc_freeres_ptr.
52957 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52959         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
52960         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
52961         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
52962         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
52964 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
52966         * NEWS: Update ia64 info.
52968 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
52970         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
52971         used as bcopy.
52973 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
52975         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
52976         * sysdeps/unix/syscalls.list (dup3): Likewise.
52977         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
52978         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
52980 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
52982         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
52983         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
52985 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
52987         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
52988         thread pointer.
52989         (TLS_IE): Use mov/add instead of movq/addq to load thread
52990         pointer.
52991         (TLS_GD_PREFIX): New.
52992         (TLS_GD): Use it.
52994 2012-05-11  David S. Miller  <davem@davemloft.net>
52996         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
52997         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
52998         (_FPU_SETCW): Likewise.
53000 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53002         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
53003         is 32-byte aligned.
53005 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
53007         [BZ #11837]
53008         * iconvdata/gb18030.c: Update tables.
53009         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
53010         characters specially.
53011         (BODY for TO_LOOP): Add encoding of missing ranges.
53013 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
53015         [BZ #13673]
53016         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
53017         * sysdeps/mach/hurd/dup3.c: Likewise.
53018         * sysdeps/mach/hurd/readlinkat.c: Likewise.
53019         * sysdeps/powerpc/memmove.c:: Likewise.
53021 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53023         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
53024         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
53026 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53028         * elf/elf.h (R_X86_64_RELATIVE64): New.
53029         (R_X86_64_NUM): Updated.
53030         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53031         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
53032         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
53033         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
53034         tst-quad1pie tst-quad2pie
53035         (modules-names): Add tst-quadmod1 tst-quadmod2.
53036         ($(objpfx)tst-quad1): New dependency.
53037         ($(objpfx)tst-quad2): Likewise.
53038         ($(objpfx)tst-quad1pie): Likewise.
53039         ($(objpfx)tst-quad2pie): Likewise.
53040         * sysdeps/x86_64/tst-quad1.c: New file.
53041         * sysdeps/x86_64/tst-quad1pie.c: New file.
53042         * sysdeps/x86_64/tst-quad2.c: Likewise.
53043         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
53044         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
53045         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
53046         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
53047         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
53049 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53051         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
53052         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
53053         * streams/stropts.h (t_scalar_t): Define type.
53055         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
53056         (_PATH_PRESERVE): Set to "/var/lib".
53057         (_PATH_RWHODIR): Set to "/var/spool/rwho".
53059         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
53060         instead of int.
53062         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
53063         if __dir_mkfile succeeded.
53065         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
53066         checking for _hurd_dtablesize.  Unlock it right after having
53067         finished _hurd_dtable allocation.
53069 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53071         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
53072         * sysdeps/mach/hurd/configure: Regenerated.
53073         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
53074         special-casing to...
53075         * sysdeps/gnu/configure.in: ... this new file.
53076         * sysdeps/unix/sysv/linux/configure: Regenerated.
53077         * sysdeps/gnu/configure: New generated file.
53079         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
53080         for Linux: use nsec instead of usec, as well as:
53081         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
53082         members of type struct timespec.
53083         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
53084         New macros.
53085         (struct stat64): Likewise.
53086         (_STATBUF_ST_NSEC): New macro.
53087         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
53089         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53090         __strtoul_internal rather than strtoul.
53092 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53094         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
53095         and reject them.
53097 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53099         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
53100         which preserves existing values.
53101         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
53103 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53105         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
53106         TIMEOUT values.  Return EINVAL for NFDS values either negative or
53107         greater than FD_SETSIZE.
53109 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53111         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
53112         allocated, call __vm_protect to finish enabling the existing space, and
53113         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
53114         allocate the remainder.
53116 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53118         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
53119         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
53121 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53123         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
53124         sysdeps/mach/hurd/readlink.c.
53126         * posix/tst-sysconf.c (posix_options): Only use
53127         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
53128         _POSIX_SYNCHRONIZED_IO when they are defined
53129         * sysdeps/mach/hurd/bits/posix_opt.h:
53130         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
53131         (_XOPEN_REALTIME): Undefine macro.
53132         (_XOPEN_REALTIME_THREADS): Undefine macro.
53133         (_XOPEN_SHM): Undefine macro.
53134         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
53135         macro to -1.
53136         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
53137         macro to -1.
53138         (_POSIX_ASYNC_IO): Undefine macro.
53139         (_POSIX_PRIORITIZED_IO): Undefine macro.
53140         (_POSIX_SPIN_LOCKS): Define macro to -1.
53142         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
53143         SA_NODEFER, SA_RESETHAND.
53144         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
53145         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
53146         F_DUPFD_CLOEXEC.
53148 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53150         * elf/Makefile (pldd-modules): Define unconditionally.
53152 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53154         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
53156 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53158         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
53159         Return ENOENT when name is empty.
53160         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
53162 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53164         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
53166         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
53168 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53170         Fix mlock in all cases except non-readable pages.
53171         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
53172         instead of VM_PROT_ALL as parameter to __vm_wire function.
53174         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
53175         (__mkdir): When path is `/', just fail with EEXIST.
53176         * sysdeps/mach/hurd/mkdirat.c: Likewise.
53178 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53180         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
53181         <sys/uio.h> (for writev).
53182         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
53183         and <sys/param.h> (for MIN).
53185 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53187         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
53188         REQUESTED_TIME.  Properly set the remaining time and return EINTR
53189         if interrupted.
53191 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53193         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
53194         Depend on against $(link-rpcuserlibs).
53196 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53198         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
53199         (__libc_stack_end): Do not use attribute_relro.
53200         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
53201         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
53202         to libthread-provided value.
53203         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
53204         attribute_relro.
53206 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53208         [BZ #3748]
53209         * bits/libc-lock.h (__libc_once_get): New macro.
53210         * sysdeps/mach/bits/libc-lock.h: Likewise.
53211         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
53212         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
53213         instead of using implementation details.
53215         * libio/fileops.c: Unconditionally include <kernel-features.h>.
53216         * libio/freopen.c: Likewise.
53217         * libio/freopen64.c: Likewise.
53218         * misc/syslog.c: Likewise.
53219         * nscd/connections.c: Likewise.
53220         * nscd/netgroupcache.c: Likewise.
53221         * sysdeps/posix/getcwd.c: Likewise.
53223 2012-05-10  Roland McGrath  <roland@hack.frob.com>
53225         * math/w_ilogbf.c: Add #include <limits.h>.
53227 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53229         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
53230         path instead of returning without unlocking.
53232         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
53233         immediate-write ioctls.
53234         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
53236 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53238         * sysdeps/mach/hurd/i386/init-first.c (init): Use
53239         __builtin_frame_address instead of making assumptions about the
53240         location of the return address relative to DATA.  Force early load of
53241         the return address.
53242         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
53243         __builtin_frame_address.
53245         dup3 for GNU Hurd.
53246         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
53247         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
53248         implement dup3 and do some further code clean-ups.
53249         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
53250         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
53252 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53254         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
53256         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
53257         HURD_CRITICAL_END around holding _hurd_dtable_lock.
53258         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
53259         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
53260         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
53261         d->port.lock.
53263         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
53264         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
53265         when handler == SIG_ERR, not when handler != SIG_ERR.
53267 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53269         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
53270         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
53271         definitions.
53273         accept4 for GNU Hurd.
53274         * include/sys/socket.h (__libc_accept4): New prototype.
53275         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
53276         to implement __libc_accept4.
53277         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
53278         __libc_accept4.
53279         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
53281         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
53282         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
53283         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
53284         signal-defines.sym.
53286 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53288         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
53290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
53292         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
53293         assertion on O_CLOEXEC flag.
53294         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
53295         * hurd/intern-fd.c: Likewise.
53296         * hurd/port2fd.c: Likewise.
53298 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53300         [BZ #3906]
53301         * bits/in.h (IPV6_PKTINFO): Define new macro.
53302         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
53304 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53306         [BZ #13954]
53307         [BZ #13955]
53308         [BZ #13956]
53309         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
53310         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53311         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
53312         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53313         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53314         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53315         * math/libm-test.inc (logb_test) : Additional logb tests.
53317 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
53318             Andreas Jaeger  <aj@suse.de>
53320         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
53321         * configure: Regenerated.
53322         * config.h.in (LINK_OBSOLETE_RPC): New macro.
53323         * config.make.in (link-obsolete-rpc): New substituted variable.
53324         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
53325         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
53326         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53327         (shared-only-routines): Don't set it under [link-obsolete-rpc],
53328         so that libc.a contains the symbols.
53329         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53330         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
53331         * sunrpc/auth_none.c: Likewise.
53332         * sunrpc/auth_unix.c: Likewise.
53333         * sunrpc/authdes_prot.c: Likewise.
53334         * sunrpc/authuxprot.c: Likewise.
53335         * sunrpc/clnt_gen.c: Likewise.
53336         * sunrpc/clnt_perr.c: Likewise.
53337         * sunrpc/clnt_raw.c: Likewise.
53338         * sunrpc/clnt_simp.c: Likewise.
53339         * sunrpc/clnt_tcp.c: Likewise.
53340         * sunrpc/clnt_udp.c: Likewise.
53341         * sunrpc/clnt_unix.c: Likewise.
53342         * sunrpc/des_crypt.c: Likewise.
53343         * sunrpc/des_soft.c: Likewise.
53344         * sunrpc/get_myaddr.c: Likewise.
53345         * sunrpc/key_call.c: Likewise.
53346         * sunrpc/key_prot.c: Likewise.
53347         * sunrpc/netname.c: Likewise.
53348         * sunrpc/pm_getmaps.c: Likewise.
53349         * sunrpc/pm_getport.c: Likewise.
53350         * sunrpc/pmap_clnt.c: Likewise.
53351         * sunrpc/pmap_prot.c: Likewise.
53352         * sunrpc/pmap_prot2.c: Likewise.
53353         * sunrpc/pmap_rmt.c: Likewise.
53354         * sunrpc/publickey.c: Likewise.
53355         * sunrpc/rpc_cmsg.c: Likewise.
53356         * sunrpc/rpc_common.c: Likewise.
53357         * sunrpc/rpc_dtable.c: Likewise.
53358         * sunrpc/rpc_prot.c: Likewise.
53359         * sunrpc/rpc_thread.c: Likewise.
53360         * sunrpc/rtime.c: Likewise.
53361         * sunrpc/svc.c: Likewise.
53362         * sunrpc/svc_auth.c: Likewise.
53363         * sunrpc/svc_raw.c: Likewise.
53364         * sunrpc/svc_run.c: Likewise.
53365         * sunrpc/svc_tcp.c: Likewise.
53366         * sunrpc/svc_udp.c: Likewise.
53367         * sunrpc/svc_unix.c: Likewise.
53368         * sunrpc/svcauth_des.c: Likewise.
53369         * sunrpc/xcrypt.c: Likewise.
53370         * sunrpc/xdr.c: Likewise.
53371         * sunrpc/xdr_array.c: Likewise.
53372         * sunrpc/xdr_float.c: Likewise.
53373         * sunrpc/xdr_intXX_t.c: Likewise.
53374         * sunrpc/xdr_mem.c: Likewise.
53375         * sunrpc/xdr_rec.c: Likewise.
53376         * sunrpc/xdr_ref.c: Likewise.
53377         * sunrpc/xdr_sizeof.c: Likewise.
53378         * sunrpc/xdr_stdio.c: Likewise.
53380 2012-05-10  Roland McGrath  <roland@hack.frob.com>
53382         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
53383         change.  Update copyright years.
53385 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53387         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
53389 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
53390             Joseph Myers  <joseph@codesourcery.com>
53391             Paul Pluzhnikov  <ppluzhnikov@google.com>
53393         [BZ #14012]
53394         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
53395         requiring rpcgen.
53396         [cross-compiling] (extra-libs): Likewise.
53397         [cross-compiling] (extra-libs-others): Likewise.
53398         [cross-compiling] (librpcsvc-routines): Likewise.
53399         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
53400         [cross-compiling] (omit-deps): Likewise.
53401         (sunrpc-CPPFLAGS): New variable.
53402         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
53403         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
53404         (cross-rpcgen-objs): New variable.
53405         (extra-objs): Append $(cross-rpcgen-objs).
53406         ($(cross-rpcgen-objs)): New rule.
53407         ($(objpfx)cross-rpcgen): Likewise.
53408         (rpcgen-cmd): Define to use $(built-program-file).  Expand
53409         comment.
53410         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
53411         ($(objpfx)x%.stmp): Likewise.
53412         * sunrpc/proto.h [IS_IN_build] (_): Define.
53413         [IS_IN_build] (_libc_intl_domainname): Likewise.
53415 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
53417         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
53418         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
53419         and R_X86_64_TPOFF64.
53421 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
53423         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
53424         sysdeps/unix/sysv/syscalls.list.
53425         (stime): Likewise.
53426         (utime): Likewise.
53427         * sysdeps/unix/sysv/syscalls.list: Remove file.
53429 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
53431         [BZ #3440]
53432         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
53433         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
53434         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
53435         (__LC_IDENTIFICATION): Make these macros useful in #if
53436         expressions, as required by C99.
53438 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
53440         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53441         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
53442         after this.
53444 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
53446         * stdlib/longlong.h: Updated from GCC.
53448 2012-05-09  Andreas Jaeger  <aj@suse.de>
53450         * nscd/nscd.c (run_modes): Make named enum, reorder so that
53451         default is first entry.
53452         (run_mode): Set type.
53453         (main): Remove informal message about syslog.
53454         (options): Fix typo.
53456         [BZ #14053]
53457         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
53458         to asm.
53459         (lrint): Likewise.
53460         (llrintf): Likewise.
53461         (llrint): Likewise.
53462         (rint): Likewise.
53463         (rintf): Likewise.
53464         (nearbyint): Likewise.
53465         (nearbyintf): Likewise.
53467 2012-05-09  Andreas Jaeger  <aj@suse.de>
53468             Pedro Alves  <palves@redhat.com>
53470         * nscd/nscd.c (run_mode): Use enum.
53471         (main): Cleanup coding style issue.
53473 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
53474             Andreas Jaeger  <aj@suse.de>
53476         * nscd/nscd.c (go_background): Replaced with...
53477         (run_mode): ... this.
53478         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53479         (options): Add -F --foreground.
53480         (main): Implement it.
53481         (parse_opt): Parse it.
53483 2012-05-09  Andreas Jaeger  <aj@suse.de>
53485         [BZ #14083]
53486         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53487         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53488         -Wconversion warning.
53489         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53490         Likewise.
53492 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
53494         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
53495         == 0.
53496         (LC_ALL): Use macro-int-constant.
53497         (LC_COLLATE): Likewise.
53498         (LC_CTYPE): Likewise.
53499         (LC_MESSAGES): Likewise.
53500         (LC_MONETARY): Likewise.
53501         (LC_NUMERIC): Likewise.
53502         (LC_TIME): Likewise.
53503         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53504         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53505         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53506         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53507         Specify type.
53508         [C99-based standards] (float_t): Expect type.
53509         [C99-based standards] (double_t): Expect type.
53510         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
53511         type.
53512         [C99-based standards] (HUGE_VALL): Likewise.
53513         [C99-based standards] (INFINITY): Likewise.
53514         [C99-based standards] (NAN): Likewise.
53515         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53516         [C99-based standards] (FP_NAN): Likewise.
53517         [C99-based standards] (FP_NORMAL): Likewise.
53518         [C99-based standards] (FP_SUBNORMAL): Likewise.
53519         [C99-based standards] (FP_ZERO): Likewise.
53520         [C99-based standards] (FP_FAST_FMA): Use
53521         optional-macro-int-constant.  Specify type.  Require == 1.
53522         [C99-based standards] (FP_FAST_FMAF): Likewise.
53523         [C99-based standards] (FP_FAST_FMAL): Likewise.
53524         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53525         [C99-based standards] (FP_ILOGBNAN): Likewise.
53526         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53527         Specify type.
53528         [C99-based standards] (MATH_ERREXCEPT): Likewise.
53529         [C99-based standards] (math_errhandling): Specify type.
53530         [ISO99 || ISO11] (signgam): Do not allow.
53531         [non-C99-based standards] (copysignf): Do not allow.
53532         [non-C99-based standards] (exp2f): Likewise.
53533         [non-C99-based standards] (log2f): Likewise.
53534         [non-C99-based standards] (modff): Allow.
53535         [non-C99-based standards] (erff): Do not allow.
53536         [non-C99-based standards] (erfcf): Likewise.
53537         [non-C99-based standards] (gammaf): Likewise.
53538         [non-C99-based standards] (hypotf): Likewise.
53539         [non-C99-based standards] (j0f): Likewise.
53540         [non-C99-based standards] (j1f): Likewise.
53541         [non-C99-based standards] (jnf): Likewise.
53542         [non-C99-based standards] (lgammaf): Likewise.
53543         [non-C99-based standards] (tgammaf): Likewise.
53544         [non-C99-based standards] (y0f): Likewise.
53545         [non-C99-based standards] (y1f): Likewise.
53546         [non-C99-based standards] (ynf): Likewise.
53547         [non-C99-based standards] (isnanf): Likewise.
53548         [non-C99-based standards] (acoshf): Likewise.
53549         [non-C99-based standards] (asinhf): Likewise.
53550         [non-C99-based standards] (atanhf): Likewise.
53551         [non-C99-based standards] (cbrtf): Likewise.
53552         [non-C99-based standards] (expm1f): Likewise.
53553         [non-C99-based standards] (ilogbf): Likewise.
53554         [non-C99-based standards] (log1pf): Likewise.
53555         [non-C99-based standards] (logbf): Likewise.
53556         [non-C99-based standards] (nextafterf): Likewise.
53557         [non-C99-based standards] (remainderf): Likewise.
53558         [non-C99-based standards] (rintf): Likewise.
53559         [non-C99-based standards] (scalbf): Likewise.
53560         [non-C99-based standards] (copysignl): Likewise.
53561         [non-C99-based standards] (exp2l): Likewise.
53562         [non-C99-based standards] (log2l): Likewise.
53563         [non-C99-based standards] (modfl): Allow.
53564         [non-C99-based standards] (erfl): Do not allow.
53565         [non-C99-based standards] (erfcl): Likewise.
53566         [non-C99-based standards] (gammal): Likewise.
53567         [non-C99-based standards] (hypotl): Likewise.
53568         [non-C99-based standards] (j0l): Likewise.
53569         [non-C99-based standards] (j1l): Likewise.
53570         [non-C99-based standards] (jnl): Likewise.
53571         [non-C99-based standards] (lgammal): Likewise.
53572         [non-C99-based standards] (tgammal): Likewise.
53573         [non-C99-based standards] (y0l): Likewise.
53574         [non-C99-based standards] (y1l): Likewise.
53575         [non-C99-based standards] (ynl): Likewise.
53576         [non-C99-based standards] (isnanl): Likewise.
53577         [non-C99-based standards] (acoshl): Likewise.
53578         [non-C99-based standards] (asinhl): Likewise.
53579         [non-C99-based standards] (atanhl): Likewise.
53580         [non-C99-based standards] (cbrtl): Likewise.
53581         [non-C99-based standards] (expm1l): Likewise.
53582         [non-C99-based standards] (ilogbl): Likewise.
53583         [non-C99-based standards] (log1pl): Likewise.
53584         [non-C99-based standards] (logbl): Likewise.
53585         [non-C99-based standards] (nextafterl): Likewise.
53586         [non-C99-based standards] (remainderl): Likewise.
53587         [non-C99-based standards] (rintl): Likewise.
53588         [non-C99-based standards] (scalbl): Likewise.
53589         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53590         [non-C99-based standards] (FP_*): Do not allow.
53591         [C99-based standards] (FP_*): Change to
53592         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53593         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53594         allow.
53595         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53596         (SIG_ERR): Likewise.
53597         [X/Open-based standards] (SIG_HOLD): Likewise.
53598         (SIG_IGN): Likewise.
53599         (SIGABRT): Use macro-int-constant.  Specify type.  Require
53600         positive value.
53601         (SIGFPE): Likewise.
53602         (SIGILL): Likewise.
53603         (SIGINT): Likewise.
53604         (SIGSEGV): Likewise.
53605         (SIGTER): Likewise.
53606         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53607         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53608         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53609         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53610         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53611         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53612         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53613         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53614         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53615         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53616         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53617         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53618         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53619         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53620         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53621         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53622         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53623         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53624         [X/Open-based standards] (SIGTRAP): Likewise.
53625         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53626         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53627         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53628         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53629         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53630         allow.
53632 2012-05-08  Ian Wienand  <ianw@vmware.com>
53634         [BZ #14080]
53635         * time/tzset.c (__tzset_parse_tz): Update default rules for
53636         daylight time changes in the Energy Policy Act of 2005.
53638 2012-05-09  Andreas Jaeger  <aj@suse.de>
53640         [BZ #13983]
53641         * elf/ldconfig.c (parse_conf): Change string to make clear that
53642         ldconfig only issued a warning if ld.so.conf does not exist.
53644 2012-05-08  David S. Miller  <davem@davemloft.net>
53646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53647         movxtod instead of popping the value on the stack.
53649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53651 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
53653         * config.h.in: Add HAVE_ARM_PCS_VFP.
53655 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
53657         [BZ #13979]
53658         * include/features.h: Warn if user requests __FORTIFY_SOURCE
53659         checking but the checks are disabled for any reason.
53661 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
53663         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53664         and ELF64_R_TYPE with ELFW(R_TYPE).
53666 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
53668         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53669         (ulimit): Likewise.
53671         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53672         (settimeofday): Likewise.
53674 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
53676         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
53677         a struct th_u2 inside the union, and move tu_block/tu_code into
53678         a new th_u3 union of tu_block/tu_code inside of that.  Move
53679         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
53680         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
53681         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53682         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53683         (th_stuff): Change to th_u1.tu_stuff.
53684         (th_data): Define.
53685         (th_msg): Change to th_u1.th_u2.tu_data.
53687 2012-05-07  David S. Miller  <davem@davemloft.net>
53689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53691         [BZ #14074]
53692         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53693         (SETUP_PIC_REG): Use it.
53694         (SETUP_PIC_REG_LEAF): Use it.
53696 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
53698         [BZ #13885]
53699         [BZ #13923]
53700         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53701         USE_AS_EXPM1L.
53702         (EXPL_FINITE): Likewise.
53703         (FLDLOG): Likewise.
53704         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53705         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53706         e_expl.S.
53707         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53708         USE_AS_EXPM1L.
53709         (EXPL_FINITE): Likewise.
53710         (FLDLOG): Likewise.
53711         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53712         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53713         e_expl.S.
53714         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
53715         test of -max_value argument for long double.
53716         * sysdeps/i386/fpu/libm-test-ulps: Update.
53717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53719 2012-05-06  David S. Miller  <davem@davemloft.net>
53721         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53722         quad soft-float symbols whose references which are compiler
53723         generated.
53724         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53726 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
53728         [BZ #13884]
53729         [BZ #13914]
53730         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53731         USE_AS_EXP10L.
53732         (EXPL_FINITE): Likewise.
53733         (FLDLOG): Likewise.
53734         (c0): Likewise.
53735         (c1): Likewise.
53736         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
53737         Adjust comments for base varying.
53738         (__expl_finite): Change alias to EXPL_FINITE.
53739         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53740         e_expl.S.
53741         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53742         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53743         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53744         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53745         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53746         USE_AS_EXP10L.
53747         (EXPL_FINITE): Likewise.
53748         (FLDLOG): Likewise.
53749         (c0): Likewise.
53750         (c1): Likewise.
53751         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
53752         Adjust comments for base varying.
53753         (__expl_finite): Change alias to EXPL_FINITE.
53754         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
53755         tests for bugs.
53756         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53758         [BZ #14064]
53759         * math/libm-test.inc (check_float_internal): Correct ulp
53760         calculation for subnormal expected results.
53762 2012-05-06  Andreas Jaeger  <aj@suse.de>
53764         * Makeconfig (+math-flags): New, set to -frounding-math.
53765         (+cflags): Add +math-flags so that all of glibc gets compiled with
53766         it.
53768         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53770 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
53772         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53773         Disable one test.
53775         [BZ #13787]
53776         [BZ #13922]
53777         [BZ #14036]
53778         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53779         (__ieee754_expl): Allow for and saturate large arguments.
53780         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53781         (u_threshold): Likewise.
53782         (__exp): Call __ieee754_exp before checking for overflow and
53783         underflow.
53784         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53785         (u_threshold): Likewise.
53786         (__expf): Call __ieee754_expf before checking for overflow and
53787         underflow.
53788         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53789         (u_threshold): Likewise.
53790         (__expl): Call __ieee754_expl before checking for overflow and
53791         underflow.
53792         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53793         (__ieee754_expl): Allow for and saturate large arguments.
53794         * math/libm-test.inc (exp_test): Add another test.  Do not allow
53795         missing overflow exception on overflow.
53796         (expm1_test): Do not allow missing overflow exception on overflow.
53798         * sysdeps/i386/fpu/e_expl.c: Move to ...
53799         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
53800         rather than using inline asm.
53801         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53802         * sysdeps/x86_64/fpu/e_expl.S: Copy from
53803         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53805         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53806         (nice): Likewise.
53807         (poll): Likewise.
53808         (signal): Likewise.
53809         (time): Likewise.
53810         (times): Likewise.
53812 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53814         * sysdeps/unix/syscalls.list (adjtime): Add entry from
53815         sysdeps/unix/common/syscalls.list.
53816         (fchmod): Likewise.
53817         (fchown): Likewise.
53818         (ftruncate): Likewise.
53819         (getrusage): Likewise.
53820         (gettimeofday): Likewise.
53821         (setpgid): Likewise.
53822         (setregid): Likewise.
53823         (setreuid): Likewise.
53824         (sigaction): Likewise.
53825         (truncate): Likewise.
53826         (vhangup): Likewise.
53827         * sysdeps/unix/common/syscalls.list: Remove file.
53828         * sysdeps/unix/bsd/Implies: Don't include unix/common.
53829         * sysdeps/unix/sysv/linux/Implies: Likewise.
53831 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
53833         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53835         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53836         Moved to ...
53837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53838         Here.
53839         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53840         to ...
53841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53842         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53843         to ...
53844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53845         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53846         to ...
53847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53848         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53849         to ...
53850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
53851         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
53852         to ...
53853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
53854         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
53855         to ...
53856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
53857         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
53858         to ...
53859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53860         Here.
53861         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
53862         to ...
53863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
53864         Here.
53865         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
53866         to ...
53867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
53868         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
53869         Moved to ...
53870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
53871         Here.
53872         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
53873         to ...
53874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
53876 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53878         * sysdeps/unix/common/bits/dirent.h: Remove file.
53879         * sysdeps/unix/common/bits/fcntl.h: Likewise.
53881         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
53882         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
53883         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
53884         * sysdeps/unix/bsd/isatty.c: Likewise.
53885         * sysdeps/unix/bsd/tcdrain.c: Likewise.
53886         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
53887         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
53889 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53891         [BZ #13563]
53892         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
53893         long double comparison inaccuracies.
53894         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
53895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53897 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
53899         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
53900         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
53902 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
53904         [BZ #14049]
53905         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
53906         nonzero digits before rounding a hex value.
53907         * stdlib/tst-strtod.c (tests): Add another test.
53909 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53911         * sysdeps/s390/fpu/libm-test-ulps: Update.
53913 2012-05-03  Andreas Jaeger  <aj@suse.de>
53915         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
53916         does not get optimized out.
53917         (malloc_opt_barrier): New.
53919 2012-05-03  Andreas Jaeger  <aj@suse.de>
53920             Roland McGrath  <roland@hack.frob.com>
53922         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
53923         intermediate file deletion.
53924         (generated): Add .symlist files.
53926 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
53928         [BZ #13775]
53929         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
53930         Redirect under this condition.
53931         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53932         [__USE_GNU] (__dprintf_chk): Not under this condition.
53933         [__USE_GNU] (__vdprintf_chk): Likewise.
53934         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
53935         under this condition.
53936         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
53937         [__USE_XOPEN2K8] (dprintf): Define under this condition.
53938         [__USE_XOPEN2K8] (vdprintf): Likewise.
53939         [__USE_GNU] (__dprintf_chk): Not under this condition.
53940         [__USE_GNU] (__vdprintf_chk): Likewise.
53941         [__USE_GNU] (dprintf): Likewise.
53942         [__USE_GNU] (vdprintf): Likewise.
53944 2012-05-03  Roland McGrath  <roland@hack.frob.com>
53946         * elf/Makefile (common-generated): Set this instead of generated for
53947         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
53948         $(all-built-dso)-derived lists.
53950 2012-05-03  Andreas Jaeger  <aj@suse.de>
53952         * sysdeps/i386/fpu/libm-test-ulps: Update.
53954         * FAQ: Removed.
53955         * FAQ.in: Likewise.
53956         * scripts/gen-FAQ.pl: Likewise.
53957         * manual/install.texi (Installation): Point to online location of
53958         FAQ.
53959         * Makefile (files-for-dist): Remove FAQ.
53960         (FAQ): Remove.
53962 2012-05-02  Allan McRae  <allan@archlinux.org>
53964         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
53965         (LDFLAGS-reldepmod5.so): Likewise.
53966         (LDFLAGS-reldep6mod1.so): Likewise.
53967         (LDFLAGS-reldep6mod4.so): Likewise.
53968         (LDFLAGS-reldep8mod3.so): Likewise.
53969         (LDFLAGS-unload4mod1.so): Likewise.
53970         (LDFLAGS-unload4mod2.so): Likewise.
53971         (LDFLAGS-tst-initorder): Likewise.
53972         (LDFLAGS-tst-initordera2.so): Likewise.
53973         (LDFLAGS-tst-initordera3.so): Likewise.
53974         (LDFLAGS-tst-initordera4.so): Likewise.
53975         (LDFLAGS-tst-initorderb2.so): Likewise.
53976         (LDFLAGS-noload): Likewise.
53977         (LDFLAGS-next): Likewise.
53978         (LDFLAGS-order2mod1.so): Likewise.
53979         (LDFLAGS-order2mod2.so): Likewise.
53980         (LDFLAGS-tst-initorder2): Likewise.
53981         (LDFLAGS-tst-initorder2a.so): Likewise.
53982         (LDFLAGS-tst-initorder2b.so): Likewise.
53983         (LDFLAGS-tst-initorder2c.so): Likewise.
53984         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
53986 2012-05-02  David S. Miller  <davem@davemloft.net>
53988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53990 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
53992         [BZ #14055]
53993         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
53995 2012-05-02  Andreas Jaeger  <aj@suse.de>
53997         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
53998         since we manipulate rounding mode.
53999         (CPPFLAGS-test-idouble.c): Likewise.
54000         (CPPFLAGS-test-ifloat.c): Likewise.
54001         (CFLAGS-test-ldouble.c): Likewise.
54002         (CFLAGS-test-double.c): Likewise.
54003         (CFLAGS-test-float.c): Likewise.
54004         (CFLAGS-test-misc.c): Likewise.
54005         (CFLAGS-test-test-fenv.c): Likewise.
54007 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54009         [BZ #2550]
54010         [BZ #2570]
54011         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
54012         comparisons to determine direction to adjust input.
54014 2012-05-01  Roland McGrath  <roland@hack.frob.com>
54016         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
54017         output to the target.
54019         * scripts/localplt.awk: New file.
54020         * elf/Makefile ($(objpfx)check-localplt): Target removed.
54021         (check-localplt-CFLAGS): Variable removed.
54022         ($(all-built-dso:=.jmprel)): New static pattern rule.
54023         (generated): Add those targets.
54024         (localplt-built-dso): New variable.
54025         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
54027         * elf/check-localplt.c: File removed.
54029         * scripts/check-execstack.awk: New file.
54030         * elf/Makefile ($(objpfx)check-execstack): Target removed.
54031         (check-execstack-CFLAGS): Variable removed.
54032         ($(objpfx)check-execstack.h): Target removed.
54033         ($(objpfx)execstack-default): New target.
54034         (generated): Add that instead of check-execstack.h.
54035         ($(all-built-dso:=.phdr)): New static pattern rule.
54036         (generated): Add those targets.
54037         * elf/check-execstack.c: File removed.
54039         * scripts/check-textrel.awk: New file.
54040         * elf/Makefile ($(objpfx)check-textrel): Target removed.
54041         (check-textrel-CFLAGS): Variable removed.
54042         (all-built-dso): Use := to define.o
54043         ($(all-built-dso:=.dyn)): New static pattern rule.
54044         (generated): Add those targets.
54045         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
54046         * config.make.in (READELF): New substituted variable.
54047         * elf/check-textrel.c: File removed.
54049 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
54051         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
54052         allow.
54053         * conform/data/ctype.h-data [C99-based standards] (isblank):
54054         Expect function.
54055         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
54056         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
54057         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54058         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
54059         Specify type.  Require positive value.
54060         (EILSEQ): Likewise.
54061         (ERANGE): Likewise.
54062         [ISO || POSIX] (EILSEQ): Do not expect.
54063         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
54064         Specify type.  Require positive value.
54065         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
54066         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
54067         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
54068         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
54069         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
54070         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
54071         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
54072         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
54073         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
54074         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
54075         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
54076         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
54077         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
54078         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
54079         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
54080         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
54081         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
54082         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
54083         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
54084         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
54085         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
54086         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
54087         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
54088         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
54089         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
54090         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
54091         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
54092         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
54093         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
54094         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
54095         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
54096         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
54097         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
54098         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
54099         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
54100         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
54101         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
54102         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
54103         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
54104         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
54105         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
54106         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
54107         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
54108         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
54109         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
54110         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
54111         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
54112         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
54113         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
54114         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
54115         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
54116         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
54117         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
54118         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
54119         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
54120         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
54121         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
54122         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
54123         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
54124         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
54125         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
54126         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
54127         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
54128         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
54129         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
54130         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
54131         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
54132         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
54133         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
54134         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
54135         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
54136         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
54137         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
54138         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
54139         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
54140         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
54141         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
54142         Require >= 2.
54143         (FLT_ROUNDS): Expect as macro, not constant.
54144         (FLT_MANT_DIG): Use macro-int-constant.
54145         (DBL_MANT_DIG): Likewise.
54146         (LDBL_MANT_DIG): Likewise.
54147         (FLT_DIG): Likewise.
54148         (DBL_DIG): Likewise.
54149         (LDBL_DIG): Likewise.
54150         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
54151         (DBL_MIN_EXP): Likewise.
54152         (LDBL_MIN_EXP): Likewise.
54153         (FLT_MAX_EXP): Use macro-int-constant.
54154         (DBL_MAX_EXP): Likewise.
54155         (LDBL_MAX_EXP): Likewise.
54156         (FLT_MAX_10_EXP): Likewise.
54157         (DBL_MAX_10_EXP): Likewise.
54158         (LDBL_MAX_10_EXP): Likewise.
54159         (FLT_MAX): Use macro-constant.
54160         (DBL_MAX): Likewise.
54161         (LDBL_MAX): Likewise.
54162         (FLT_EPSILON): Use macro-constant.  Give upper bound.
54163         (DBL_EPSILON): Likewise.
54164         (LDBL_EPSILON): Likewise.
54165         (FLT_MIN): Likewise.
54166         (DBL_MIN): Likewise.
54167         (LDBL_MIN): Likewise.
54168         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
54169         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
54170         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
54171         [ISO11] (FLT_HAS_SUBNORM): Likewise.
54172         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
54173         [ISO11] (DBL_DECIMAL_DIG): Likewise.
54174         [ISO11] (FLT_DECIMAL_DIG): Likewise.
54175         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
54176         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
54177         [ISO11] (FLT_TRUE_MIN): Likewise.
54178         [ISO11] (LDBL_TRUE_MIN): Likewise.
54179         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54180         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
54181         (SCHAR_MIN): Use macro-int-constant.  Specify type.
54182         (SCHAR_MAX): Likewise.
54183         (UCHAR_MAX): Likewise.
54184         (CHAR_MIN): Likewise.
54185         (CHAR_MAX): Likewise.
54186         (MB_LEN_MAX): Use macro-int-constant.
54187         (SHRT_MIN): Use macro-int-constant.  Specify type.
54188         (SHRT_MAX): Likewise.
54189         (USHRT_MAX): Likewise.
54190         (INT_MAX): Likewise.
54191         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
54192         bound negative.
54193         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
54194         bound with "U".
54195         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
54196         bound with "L".
54197         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
54198         bound negative.  Suffix upper bound with "L".
54199         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
54200         bound with "UL".
54201         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
54202         Specify type.
54203         [C99-based standards] (LLONG_MAX): Likewise.
54204         [C99-based standards] (ULLONG_MAX): Likewise.
54205         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
54206         == 0.
54207         [ISO11] (max_align_t): Require type.
54208         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54210         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
54211         from $CFLAGS, without defining away __attribute__ calls.
54212         (checknamespace): Use $CFLAGS_namespace.
54214         * conform/conformtest.pl (@keywords): Only include C99 keywords
54215         for standards based on C99 or C11.
54217         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
54218         Disable tests.
54219         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
54220         UNIX98]: Likewise.
54222         * conform/conformtest.pl: Handle "macro-int-constant" and test for
54223         usability of symbols in #if.
54225         * conform/conformtest.pl: If macro or constant types start
54226         "promoted:", expect the symbol to be of the following type
54227         promoted by the integer promotions.
54229         * conform/conformtest.pl: Parse all "constant" and "macro" lines
54230         in one place.  Also handle "macro-constant".
54232         * conform/conformtest.pl: Only accept expected macro values with
54233         "==".  Parse all "macro" lines in one place.
54234         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
54236         * conform/conformtest.pl: Handle braced types on "constant" lines
54237         instead of handling "typed-constant".
54238         * conform/data/signal.h-data: Use "constant" instead of
54239         "typed-constant".
54241         * conform/conformtest.pl: Handle "optional-" at start of lines in
54242         one place rather than duplicating several cases.  Handle each
54243         format of "macro" line with initial "optional-".
54245         * conform/conformtest.pl: Only accept expected constant or
54246         optional-constant values with "==".  Parse all "constant" lines in
54247         one place.  Parse all "optional-constant" lines in one place.
54248         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
54249         * conform/data/fmtmsg.h-data: Likewise.
54250         * conform/data/netinet/in.h-data: Likewise.
54251         * conform/data/tar.h-data: Likewise.
54252         * conform/data/limits.h-data: Use "==" form on "constant" and
54253         "optional-constant" lines.
54255         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
54256         Use -std=c99 for XOPEN2K.
54257         (@knownproblems): Remove.
54258         (newtoken): Don't check %isknown.
54260         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
54261         Do not expect macro.
54262         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
54263         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
54264         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
54265         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
54266         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
54267         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
54268         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
54269         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
54270         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
54271         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
54272         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
54273         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
54274         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
54275         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
54276         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
54277         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
54278         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
54279         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
54280         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
54281         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
54282         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
54283         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
54284         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
54285         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
54286         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
54287         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
54288         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
54289         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
54290         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
54291         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
54292         [XPG3] (acosh): Likewise.
54293         [XPG3] (asinh): Likewise.
54294         [XPG3] (atanh): Likewise.
54295         [XPG3] (cbrt): Likewise.
54296         [XPG3] (expm1): Likewise.
54297         [XPG3] (ilogb): Likewise.
54298         [XPG3] (log1p): Likewise.
54299         [XPG3] (logb): Likewise.
54300         [XPG3] (nextafter): Likewise.
54301         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
54302         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
54303         [XPG3] (remainder): Likewise.
54304         [XPG3] (rint): Likewise.
54305         [XPG3 || XPG4 || UNIX98] (round): Likewise.
54306         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
54307         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
54308         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
54309         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
54310         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
54311         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
54312         [UNIX98 || XOPEN2K] (scalb): Expect.
54313         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
54314         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
54315         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
54316         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
54317         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
54318         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
54319         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
54320         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
54321         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
54322         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
54323         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
54324         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
54325         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
54326         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
54327         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
54328         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
54329         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
54330         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
54331         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
54332         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
54333         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
54334         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
54335         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
54336         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
54337         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
54338         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
54339         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
54340         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
54341         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
54342         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
54343         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
54344         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
54345         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
54346         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
54347         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
54348         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
54349         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
54350         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
54351         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
54352         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
54353         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
54354         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
54355         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
54356         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
54357         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
54358         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
54359         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
54360         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
54361         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
54362         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
54363         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
54364         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
54365         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
54366         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
54367         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
54368         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
54369         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
54370         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
54371         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
54372         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
54373         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
54374         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
54375         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
54376         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
54377         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
54378         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
54379         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
54380         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
54381         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
54382         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
54383         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
54384         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
54385         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
54386         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
54387         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
54388         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
54389         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
54390         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
54391         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
54392         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
54393         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
54394         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
54395         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
54396         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
54397         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
54398         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
54399         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
54400         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
54401         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
54402         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
54403         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
54404         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
54405         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
54406         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
54407         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
54408         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
54409         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
54410         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
54411         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
54412         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
54413         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
54414         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
54415         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
54416         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
54417         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
54418         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
54419         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
54420         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
54421         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
54422         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
54423         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
54424         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
54425         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
54426         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
54427         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
54428         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
54429         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
54430         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
54431         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
54432         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
54433         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
54434         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
54435         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
54436         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
54437         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
54438         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
54439         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
54440         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
54441         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
54442         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
54443         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
54444         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
54445         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
54446         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
54447         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
54448         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
54449         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
54451         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
54452         _XOPEN_SOURCE_EXTENDED for XPG4.
54454         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
54456         * Makeconfig (localtime): Remove variable.
54457         (inst_localtime-file): Likewise.
54459 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
54462         Update.
54463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54464         Update.
54465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
54466         Update.
54467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54468         Update.
54469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
54470         Update.
54471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
54472         Update.
54473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54474         Update.
54475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54476         Update.
54477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54478         Update.
54480 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
54482         [BZ #2550]
54483         [BZ #2570]
54484         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54485         comparisons to determine direction to adjust input.
54486         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54487         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54488         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54489         Likewise.
54490         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54491         Likewise.
54492         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54493         Likewise.
54494         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54495         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54496         Likewise.
54497         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54498         Likewise.
54499         * math/libm-test.inc (nexttoward_test): Add more tests.
54501 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
54503         [BZ #14040]
54504         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54505         in version GLIBC_2.1, not GLIBC_2.0.
54506         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54507         Likewise.
54509 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
54511         [BZ #13942]
54512         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54513         (1 - x) * (1 + x).
54514         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54515         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54516         * math/libm-test.inc (acos_test): Add more tests.
54517         (asin_test): Likewise.
54518         * sysdeps/i386/fpu/libm-test-ulps: Update.
54519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54521         [BZ #14034]
54522         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54523         of square root.
54524         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54525         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54526         * math/libm-test.inc (acos_test_tonearest): New function.
54527         (acos_test_towardzero): Likewise.
54528         (acos_test_downward): Likewise.
54529         (acos_test_upward): Likewise.
54530         (asin_test_tonearest): Likewise.
54531         (asin_test_towardzero): Likewise.
54532         (asin_test_downward): Likewise.
54533         (asin_test_upward): Likewise.
54534         (main): Call the new functions.
54535         * sysdeps/i386/fpu/libm-test-ulps: Update.
54536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54538         [BZ #13884]
54539         [BZ #13924]
54540         * math/e_exp10.c: Include <float.h>.
54541         (__ieee754_exp10): Handle underflow here rather than multiplying
54542         large negative argument by M_LN10.
54543         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54544         of __ieee754_expf.
54545         * math/e_exp10l.c: Include <float.h>.
54546         (__ieee754_exp10l): Handle underflow here rather than multiplying
54547         large negative argument by M_LN10l.
54548         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
54549         spurious overflow exception on underflow.
54551 2012-04-29  Marek Polacek  <polacek@redhat.com>
54553         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54554         (__fortify_function): New macro.
54555         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54556         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54557         __extern_always_inline.
54558         * libio/bits/stdio2.h: Likewise.
54559         * libio/bits/stdio.h: Likewise.
54560         * string/string.h: Likewise.
54561         * string/bits/string3.h: Likewise.
54562         * include/stdio.h: Likewise.
54563         * stdlib/bits/stdlib.h: Likewise.
54564         * stdlib/stdlib.h: Likewise.
54565         * rt/bits/mqueue2.h: Likewise.
54566         * rt/mqueue.h: Likewise.
54567         * posix/bits/unistd.h: Likewise.
54568         * posix/unistd.h: Likewise.
54569         * io/bits/poll2.h: Likewise.
54570         * io/bits/fcntl2.h: Likewise.
54571         * io/fcntl.h: Likewise.
54572         * io/sys/poll.h: Likewise.
54573         * misc/bits/syslog.h: Likewise.
54574         * misc/bits/syslog-ldbl.h: Likewise.
54575         * misc/sys/syslog.h: Likewise.
54576         * socket/bits/socket2.h: Likewise.
54577         * socket/sys/socket.h: Likewise.
54578         * debug/tst-chk1.c: Likewise.
54579         * wcsmbs/bits/wchar2.h: Likewise.
54580         * wcsmbs/bits/wchar-ldbl.h: Likewise.
54581         * wcsmbs/wchar.h: Likewise.
54583 2012-04-29  Andreas Jaeger  <aj@suse.de>
54585         * Makerules (tests): Remove enable-check-abi protection.
54586         (check-abi-warn): Remove.
54587         (check-abi-%): Remove check-abi-warn usage.
54589         * configure.in: Remove check-abi configure option.
54590         * configure: Regenerated.
54591         * config.make.in (enable-check-abi): Remove.
54593 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
54595         [BZ #14033]
54596         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54597         double functions to double *_finite functions.
54599         [BZ #13941]
54600         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54601         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54602         LDBL_MIN_EXP.
54603         * stdio-common/Makefile (tests): Add tst-sprintf3.
54604         * stdio-common/tst-sprintf3.c: New file.
54606         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54607         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54609 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
54611         * conform/conformtest.pl: Remove duplicate typed-constant
54612         handling.
54614 2012-04-28  David S. Miller  <davem@davemloft.net>
54616         * Makerules (%.abilist): Add vpath on sysdep_dirs.
54617         (check-abi-%): Remove AWK script prerequisite and explicit
54618         abilist directory.
54619         (check-abi): Rewrite to just diff the symlist with the abilist.
54620         (config-tls, config-abi-config): Delete, no longer used.
54621         (update-abi-%): Remove AWK script and explicit abilist directory.
54622         (update-abi): Rewrite to simply compare and conditionally copy the
54623         symlist and the sysdep abilist file.  Remove update-abi-config
54624         checks.
54625         * abilist/ld.abilist: Remove.
54626         * abilist/libBrokenLocale.abilist: Remove.
54627         * abilist/libanl.abilist: Remove.
54628         * abilist/libcrypt.abilist: Remove.
54629         * abilist/libdl.abilist: Remove.
54630         * abilist/librt.abilist: Remove.
54631         * abilist/libthread_db.abilist: Remove.
54632         * abilist/libutil.abilist: Remove.
54633         * scripts/extract-abilist.awk: Remove.
54634         * scripts/merge-abilist.awk: Remove.
54635         * sysdeps/generic/libcidn.abilist: New file.
54636         * sysdeps/generic/libnss_compat.abilist: New file.
54637         * sysdeps/generic/libnss_db.abilist: New file.
54638         * sysdeps/generic/libnss_dns.abilist: New file.
54639         * sysdeps/generic/libnss_files.abilist: New file.
54640         * sysdeps/generic/libnss_hesiod.abilist: New file.
54641         * sysdeps/generic/libnss_nis.abilist: New file.
54642         * sysdeps/generic/libnss_nisplus.abilist: New file.
54643         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54644         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54645         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54646         file.
54647         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54648         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54649         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54650         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54651         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54652         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54653         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54654         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54655         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54656         file.
54657         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54658         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54659         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54660         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54661         file.
54662         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54663         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54664         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54665         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54666         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54667         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54668         file.
54669         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54670         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54671         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54672         file.
54673         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54674         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54675         New file.
54676         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54677         New file.
54678         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54679         New file.
54680         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54681         New file.
54682         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54683         New file.
54684         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54685         New file.
54686         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54687         New file.
54688         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54689         New file.
54690         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54691         New file.
54692         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54693         New file.
54694         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54695         New file.
54696         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54697         New file.
54698         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54699         New file.
54700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54701         file.
54702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54703         New file.
54704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54705         New file.
54706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54707         file.
54708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54709         New file.
54710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54711         New file.
54712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54713         file.
54714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54715         New file.
54716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54717         New file.
54718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54719         New file.
54720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54721         New file.
54722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54723         New file.
54724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54725         New file.
54726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54728         file.
54729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54730         New file.
54731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54732         file.
54733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54734         file.
54735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54736         file.
54737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54738         file.
54739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54740         file.
54741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54742         New file.
54743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54744         file.
54745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54746         file.
54747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54748         New file.
54749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54750         file.
54751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54753         file.
54754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54755         New file.
54756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54757         file.
54758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54759         file.
54760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54761         file.
54762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54763         file.
54764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54765         file.
54766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54767         New file.
54768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54769         file.
54770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54771         file.
54772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54773         New file.
54774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54775         file.
54776         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54777         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54778         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54779         file.
54780         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54781         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54782         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54783         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54784         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54785         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54786         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54787         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54788         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54789         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54792         file.
54793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54794         New file.
54795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54796         file.
54797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54798         file.
54799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54800         file.
54801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54802         file.
54803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54804         file.
54805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54806         New file.
54807         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54808         New file.
54809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54810         file.
54811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54812         New file.
54813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54814         file.
54815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54817         file.
54818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54819         New file.
54820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54821         file.
54822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54823         file.
54824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54825         file.
54826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54827         file.
54828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54829         file.
54830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54831         New file.
54832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54833         New file.
54834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54835         file.
54836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54837         New file.
54838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54839         file.
54841 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
54843         * conform/conformtest.pl: Fix typo in handling typed-constant from
54844         allow-header.
54846 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
54848         * README: Cut down references to pre-2.6 Linux kernels and
54849         Linuxthreads.  Update lists of configurations in libc and ports
54850         and sort alphabetically.  Say "or newer" with Linux kernel version
54851         requirements.
54853         * config.h.in [IS_IN_build]: Allow compiling without optimization.
54855 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54857         [BZ #887]
54858         * math/libm-test.inc (logb_test_downward): New test to expose
54859         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
54860         rounding mode.
54862 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
54864         [BZ #14027]
54865         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
54866         to be done.
54867         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
54868         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
54870 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
54872         * sysdeps/unix/i386/brk.S: Remove file.
54873         * sysdeps/unix/i386/dl-brk.S: Likewise.
54874         * sysdeps/unix/i386/pipe.S: Likewise.
54875         * sysdeps/unix/i386/sigreturn.S: Likewise.
54876         * sysdeps/unix/i386/syscall.S: Likewise.
54877         * sysdeps/unix/i386/vfork.S: Likewise.
54878         * sysdeps/unix/i386/wait.S: Likewise.
54880         * sysdeps/unix/common/tcsendbrk.c: Move to ...
54881         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
54883         * configure.in (arm*-none*): Do not allow without
54884         --enable-hacker-mode.
54885         (netbsd*): Remove case setting base_os.
54886         (386bsd*): Likewise.
54887         (freebsd*): Likewise.
54888         (bsdi*): Likewise.
54889         (osf*): Likewise.
54890         (sunos*): Likewise.
54891         (ultrix*): Likewise.
54892         (newsos*): Likewise.
54893         (dynix*): Likewise.
54894         (*bsd*): Likewise.
54895         (sysv*): Likewise.
54896         (isc*): Likewise.
54897         (esix*): Likewise.
54898         (sco*): Likewise.
54899         (minix*): Likewise.
54900         (irix4*): Likewise.
54901         (irix6*): Likewise.
54902         (solaris[2-9]*): Likewise.
54903         (none): Likewise.
54904         * configure: Regenerated.
54906 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54908         [BZ #11521]
54909         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
54910         overflow or cancellation in calculating denominator.
54911         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
54912         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
54913         down expression to avoid unexpected rounding in newer GCCs.
54914         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
54916 2012-04-26  David S. Miller  <davem@davemloft.net>
54918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
54919         long-double compat symbols.
54920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
54922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
54923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
54924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
54925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
54926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
54927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
54928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
54929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
54930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
54931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
54932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
54934 2012-04-25  David S. Miller  <davem@davemloft.net>
54936         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
54937         HWCAP_* values only after the memory barriers have been defined.
54938         (atomic_full_barrier): Define.
54939         (atomic_read_barrier): Define.
54940         (atomic_write_barrier): Define.
54942 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54944         * shlib-versions: Add libgcc_s version information.
54945         * sysdeps/generic/libgcc_s.h: Remove.
54946         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
54947         libgcc_s.h.
54948         * sysdeps/gnu/unwind-resume.c: Likewise.
54949         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
54951 2012-04-25  David S. Miller  <davem@davemloft.net>
54953         * sysdeps/unix/sparc/brk.S: Delete.
54954         * sysdeps/unix/sparc/dl-brk.S: Delete.
54955         * sysdeps/unix/sparc/pipe.S: Delete.
54956         * sysdeps/unix/sparc/sysdep.S: Delete.
54957         * sysdeps/unix/sparc/sysdep.h: Delete.
54958         * sysdeps/unix/sparc/vfork.S: Delete.
54959         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
54960         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
54961         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
54962         (ret_ERRVAL, r0, r1, MOVE): Define.
54963         (JUMPTARGET): Remove.
54964         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
54965         sysdeps/unix/sparc/sysdep.h
54966         (ENTRY, END): Remove.
54967         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54969 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
54971         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
54972         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
54973         -DIS_IN_build.
54975         * timezone/README: Update upstream location and email address for
54976         tzcode and tzdata.
54977         * timezone/zdump.c: Update from tzcode 2012b.
54978         * timezone/zic.c: Likewise.
54980         * configure.in (libc_cv_as_needed): Remove test.
54981         * configure: Regenerated.
54982         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
54983         conditional definition.
54984         [$(have-as-needed) != yes] (no-as-needed): Likewise.
54985         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
54986         * config.make.in (have-as-needed): Remove variable.
54988 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54989             Paul Pluzhnikov  <ppluzhnikov@google.com>
54991         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
54992         strings correctly.
54994 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
54996         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
54997         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
54998         * sysdeps/sh/strlen.S: Likewise.
55000 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
55002         * sysdeps/unix/fork.S: Remove file.
55003         * sysdeps/unix/i386/fork.S: Likewise.
55004         * sysdeps/unix/sparc/fork.S: Likewise.
55006         * sysdeps/unix/system.c: Remove file.
55007         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
55009         * sysdeps/unix/getegid.S: Remove file.
55010         * sysdeps/unix/geteuid.S: Likewise.
55012 2012-04-24  Roland McGrath  <roland@hack.frob.com>
55014         * scripts/check-localplt.awk: New file.
55015         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
55016         of diff.
55017         * scripts/data/localplt-generic.data: Add a comment.
55019         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
55020         NODE when __dir_mkfile failed.
55021         * sysdeps/mach/hurd/symlinkat.c: Likewise.
55022         Reported by Ludovic Courtès <ludo@gnu.org>.
55024 2012-04-24  Andreas Jaeger  <aj@suse.de>
55026         * Makerules (common-clean): Also remove gen-as-const-headers
55027         files.
55029 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
55031         * Makerules (native-compile): Do not change working directory for
55032         build.  Use $(OUTPUT_OPTION) in command.
55033         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
55035 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55037         [BZ #13886]
55038         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
55039         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
55040         * math/libm-test.inc (floor_test): Add more tests.
55041         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
55043 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
55045         * sysdeps/unix/getdents.c: Remove file.
55046         * sysdeps/unix/sysv/getdents.c: Likewise.
55047         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
55049         * sysdeps/unix/syscalls.list (madvise): Add syscall from
55050         sysdeps/unix/mman/syscalls.list.
55051         (mmap): Likewise.
55052         (mprotect): Likewise.
55053         (msync): Likewise.
55054         (munmap): Likewise.
55055         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
55056         * sysdeps/unix/mman/syscalls.list: Remove.
55057         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
55059         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
55060         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
55061         * configure: Regenerated.
55062         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
55063         $(libgcc_s_suffix).
55064         * config.make.in (libgcc_s_suffix): Remove variable.
55066 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
55068         * sysdeps/unix/sysv/gethostname.c: Move to ...
55069         * sysdeps/posix/gethostname.c: ... here.
55071         * sysdeps/unix/execve.S: Remove file.
55073         * sysdeps/unix/_exit.S: Remove file.
55075 2012-04-23  Andreas Jaeger  <aj@suse.de>
55077         [BZ #13739]
55078         * manual/Makefile: Remove make dist support, there's no
55079         need for a stand-alone documentation tar ball.
55080         (TEXI2DVI): Define always, it's not in Makeconfig.
55081         (dist): Removed.
55082         (tar-it): Removed.
55083         (edition): Removed.
55084         (glibc-doc-$(edition).tar): Removed
55085         (%.Z): Removed.
55086         (%.gz): Removed.
55087         (%.uu): Removed.
55088         (ETAGS): Remove, it's in Makeconfig.
55089         (move-if-change): Remove, it's in Makeconfig.
55091 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
55093         [BZ #13970]
55094         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
55095         (strtod, strtof, strtold, strtol, strtoul, strtoq)
55096         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
55097         (strtod_l, strtof_l, strtold_l): Remove __wur.
55098         It is not necessarily an error to ignore strtol's return value.
55099         One can reliably look at the stored endptr to decide whether
55100         the number had valid syntax.
55102 2012-04-21  Andreas Jaeger  <aj@suse.de>
55104         [BZ #13739]
55105         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
55107 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
55109         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
55110         * sysdeps/unix/sysv/Versions: Remove file.
55112 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
55114         [BZ #13927]
55115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55117 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
55119         [BZ #7064]
55120         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
55121         version from __vm86.
55123 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
55125         * sysdeps/unix/common/lxstat.c: Remove file.
55126         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
55128         * sysdeps/unix/sysv/Makefile: Remove file.
55130         * sysdeps/unix/sysv/direct.h: Remove file.
55132         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
55133         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
55134         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
55135         * sysdeps/unix/sysv/bits/signum.h: Likewise.
55136         * sysdeps/unix/sysv/bits/stat.h: Likewise.
55137         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
55138         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
55140         * sysdeps/unix/sysv/setrlimit.c: Remove file.
55142         * sysdeps/unix/xmknod.c: Remove file.
55143         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
55145         * sysdeps/unix/sysv/settimeofday.c: Remove file.
55147         * sysdeps/unix/sysv/i386/time.S: Remove file.
55149         * sysdeps/unix/fxstat.c: Remove file.
55150         * sysdeps/unix/xstat.c: Likewise.
55151         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
55153         * sysdeps/unix/sysv/sigaction.c: Remove file.
55155         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
55156         (sysdep_headers): Remove variable.
55157         [termio.h not in sysdep_headers] (generated): Likewise.
55158         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
55159         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
55160         * sysdeps/unix/sysv/tcdrain.c: Likewise.
55161         * sysdeps/unix/sysv/tcflow.c: Likewise.
55162         * sysdeps/unix/sysv/tcflush.c: Likewise.
55163         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
55164         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
55165         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
55166         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
55167         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
55169         * sysdeps/unix/siglist.c: Remove file.
55171         * sysdeps/unix/getppid.S: Remove file.
55173         * sysdeps/unix/mkdir.c: Remove file.
55174         * sysdeps/unix/rmdir.c: Likewise.
55176 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
55178         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
55179         ERR_MAX value.
55180         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
55181         errlist-compat value.
55183 2012-04-18  David S. Miller  <davem@davemloft.net>
55185         * sysdeps/generic/memcopy.h (reg_char): Delete.
55186         * debug/strcat_chk.c: Use char, not reg_char.
55187         * debug/strcpy_chk.c: Likewise.
55188         * debug/strncat_chk.c: Likewise.
55189         * debug/strncpy_chk.c: Likewise.
55190         * string/memchr.c: Likewise.
55191         * string/memrchr.c: Likewise.
55192         * string/rawmemchr.c: Likewise.
55193         * string/strcat.c: Likewise.
55194         * string/strchr.c: Likewise.
55195         * string/strchrnul.c: Likewise.
55196         * string/strcmp.c: Likewise.
55197         * string/strcpy.c: Likewise.
55198         * string/strncat.c: Likewise.
55199         * string/strncmp.c: Likewise.
55200         * string/strncpy.c: Likewise.
55202 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
55204         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
55205         __builtin_memcopy is called when src and dest ranges are known to not
55206         overlap.
55208 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
55210         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
55211         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
55212         fwd_align_merge macro call.
55213         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
55214         bwd_align_merge macro call.
55215         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55217 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
55219         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
55220         bwd_align_merge macros.
55221         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
55222         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
55223         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55225 2012-04-18  David S. Miller  <davem@davemloft.net>
55227         * sysdeps/sparc/sparc64/memcopy.h: Delete.
55229 2012-04-18  Andreas Jaeger  <aj@suse.de>
55231         [BZ# 6794]
55232         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
55233         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
55234         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55236         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
55237         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
55238         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55240         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
55241         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
55242         Adjust for changed ldbl-128 files.
55244         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
55245         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
55246         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55248 2012-04-17  David S. Miller  <davem@davemloft.net>
55250         * sysdeps/sparc/sparc32/memcopy.h: Delete.
55252 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
55254         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
55255         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
55256         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
55257         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
55258         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55259         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
55261 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55263         [BZ #6794]
55264         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
55265         * math/libm-test.inc: Add ilogb errno and exception tests.
55266         * math/w_ilogb.c: New file: ilogb wrapper.
55267         * math/w_ilogbf.c: New file: ilogbf wrapper.
55268         * math/w_ilogbl.c: New file: ilogbl wrapper.
55269         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
55270         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
55271         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
55272         exception being thrown with 0.0 as argument.
55273         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
55274         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
55275         exception being thrown with 0.0 as argument.
55276         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
55277         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55278         exception being thrown with 0.0 as argument.
55279         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
55280         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55281         exception being thrown with 0.0 as argument.
55282         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
55283         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
55284         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
55285         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
55286         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
55287         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
55288         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
55289         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
55290         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
55292 2012-04-17  Petr Baudis  <pasky@ucw.cz>
55294         * include/sys/uio.h: Change __vector to __iovec to avoid clash
55295         with altivec.
55297 2012-04-16  Marek Polacek  <polacek@redhat.com>
55299         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
55301 2012-04-16  Marek Polacek  <polacek@redhat.com>
55303         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
55304         operands of fdivp instruction.
55306 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
55308         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
55309         * elf/tst-auditmod3b.c: Likewise.
55310         * elf/tst-auditmod4b.c: Likewise.
55311         * elf/tst-auditmod5b.c: Likewise.
55312         * elf/tst-auditmod6b.c: Likewise.
55313         * elf/tst-auditmod6c.c: Likewise.
55314         * elf/tst-auditmod7b.c: Likewise.
55315         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
55316         * sysdeps/x86_64/preconfigure.in: Likewise.
55317         * sysdeps/x86_64/preconfigure: Regenerated.
55319 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
55321         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
55322         __ILP32__.
55324 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
55326         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55327         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
55329 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
55331         [BZ #13973]
55332         * locale/iso-639.def: Fix gl language name. Spotted by
55333         Yaron Shahrabani.
55335 2012-04-12  Roland McGrath  <roland@hack.frob.com>
55337         [BZ #2074]
55338         * libio/libio.h (__io_write_fn): Update comment.
55340 2012-04-12  Petr Baudis  <pasky@ucw.cz>
55342         [BZ #2074]
55343         * stdio.texi (Hook Functions): The user provided writer function
55344         is not allowed to return -1.
55346 2012-04-11  David S. Miller  <davem@davemloft.net>
55348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55350 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
55352         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
55353         Add a leading slash to rtkaio.
55355 2012-04-11  Jim Meyering  <meyering@redhat.com>
55357         [BZ #11959]
55358         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
55359         It is not necessarily an error to ignore fwrite's return
55360         value.  One can reliably use ferror to test for errors after
55361         the fact.
55363 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55365         * bits/types.h (__snseconds_t): New type.
55366         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
55368         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
55369         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55370         (__SNSECONDS_T_TYPE): Likewise.
55371         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55372         (__SNSECONDS_T_TYPE): Likewise.
55373         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55374         (__SNSECONDS_T_TYPE): Likewise.
55376 2012-04-10  Andreas Jaeger  <aj@suse.de>
55378         [BZ #2636]
55379         * manual/time.texi (Processor Time): Return type of times is
55380         elapsed real time since an arbitrary point in the past.
55381         (CPU Time): Move CLK_TCK from here...
55382         (Processor Time): ...to here.  Correct description.
55383         * manual/conf.texi (Constants for Sysconf): Correct description of
55384         _SC_CLK_TCK.
55386 2012-04-10  David S. Miller  <davem@davemloft.net>
55388         [BZ #13967]
55389         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
55390         where the is a gap between DT_REL(A) and DT_JMPREL.
55392 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
55394         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
55395         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55396         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55398 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55400         * elf/dl-support.c (_dl_inhibit_cache): New variable.
55401         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
55402         (dl_main): Handle --inhibit-cache.
55403         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
55404         _dl_inhibit_cache.
55405         * elf/dl-load.c (_dl_map_object): Use it.
55406         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
55408 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55410         [BZ #13872]
55411         * sysdeps/i386/fpu/e_powl.S (p78): New object.
55412         (__ieee754_powl): Saturate large exponents rather than testing for
55413         overflow of y*log2(x).
55414         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55415         * math/libm-test.inc (pow_test): Do not permit spurious overflow
55416         exceptions.
55418         [BZ #11521]
55419         * math/s_ctan.c: Include <float.h>.
55420         (__ctan): Avoid internal overflow or cancellation in calculating
55421         denominator.
55422         * math/s_ctanf.c: Likewise.
55423         * math/s_ctanl.c: Likewise.
55424         * math/s_ctanh.c: Likewise.
55425         * math/s_ctanhf.c: Likewise.
55426         * math/s_ctanhl.c: Likewise.
55427         * math/libm-test.inc (ctan_test): Add more tests.
55428         (ctanh_test): Likewise.
55429         * sysdeps/i386/fpu/libm-test-ulps: Update.
55430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55432 2012-04-09  Andreas Jaeger  <aj@suse.de>
55434         [BZ #6894]
55435         * manual/filesys.texi (Directory Entries): Mention that d_namlen
55436         is an optional BSD extension.
55438         [BZ #10254]
55439         * manual/stdio.texi (Opening Streams): Document additional fopen
55440         parameters.
55442 2012-04-09  Roland McGrath  <roland@hack.frob.com>
55444         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
55445         %eax without telling the compiler.
55447 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
55449         [BZ # 13963]
55450         * manual/install.texi: Use sourceware.org.
55452 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
55454         [BZ #13873]
55455         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
55456         (__ieee754_pow): Generate overflow and underflow using huge*huge
55457         and tiny*tiny rather than just returning constant infinity or zero
55458         for large exponents.
55459         * math/libm-test.inc (pow_test): Require overflow exceptions for
55460         applicable cases of large exponents.
55462         [BZ #706]
55463         * sysdeps/i386/fpu/e_pow.S (p10): New object.
55464         (__ieee754_pow): Use iterative multiplication algorithm only for
55465         integer exponents with absolute value below 1024.  Check for odd
55466         integer exponents when using algorithm for real exponents.
55467         * math/libm-test.inc (pow_test): Add more tests.
55468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55470 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
55472         [BZ #13705]
55473         * math/libm-test.inc (exp_test): Do not allow overflow exception
55474         on underflow test.
55476 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
55478         [BZ #13705]
55479         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55480         instead of __kernel_standard_f.
55482 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
55484         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55485         * sysdeps/x86_64/memset_chk.S: Likewise.
55487 2012-04-08  Andreas Jaeger  <aj@suse.de>
55489         [BZ #10153]
55490         * manual/startup.texi (Environment Access): Describe return value
55491         for putenv and setenv.
55493         [BZ #6895]
55494         * manual/filesys.texi (Directory Entries): Add description for
55495         DT_LNK.
55497         [BZ #6890]
55498         * manual/filesys.texi (Directory Entries): Clarify that it's file
55499         system not operating system in the description of DT_UNKNOWN.
55501         [BZ #6578]
55502         * manual/syslog.texi (closelog): Fix reference, it's openlog.
55504 2012-04-08  Stephen Compall  <s11@member.fsf.org>
55506         [BZ #6649]
55507         * manual/llio.texi (Opening and Closing Files): Add cross
55508         reference to explain mode argument.
55510 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
55512         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55513         * sysdeps/x86_64/memset_chk.S: Likewise.
55515 2012-04-07  David S. Miller  <davem@davemloft.net>
55517         * elf/elf.h (R_SPARC_WDISP10): Define.
55518         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55519         R_SPARC_SIZE32.
55520         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55521         R_SPARC_SIZE64 and R_SPARC_H34.
55523 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
55525         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55526         conditions and remove no longer applicable assertion.
55528 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55530         * bits/byteswap.h: Include <features.h>.
55531         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55532         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55534 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
55536         * bits/byteswap.h (__bswap_16): Removed.
55537         Include <bits/byteswap-16.h> to get __bswap_16.
55538         * sysdeps/i386/bits/byteswap.h: Likewise.
55539         * sysdeps/s390/bits/byteswap.h: Likewise.
55540         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55541         * bits/byteswap-16.h: New file.
55542         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55543         * sysdeps/s390/bits/byteswap-16.h: Likewise.
55544         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55545         * string/Makefile (headers): Add bits/byteswap-16.h.
55547 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55549         [BZ #13895]
55550         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55551         extra indirection.
55552         * nss/Makefile (tests-static, tests): Add tst-nss-static.
55553         * nss/tst-nss-static.c: New.
55555 2012-04-06  Robert Millan  <rmh@gnu.org>
55557         [BZ #6486]
55558         * manual/llio.texi (File Position Primitive): lseek
55559         refers to WHENCE when it really means OFFSET.
55561 2012-04-06  Andreas Jaeger  <aj@suse.de>
55563         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55564         strncmp declarations.
55566         * abilist/libc.abilist: Add __poll and __ppoll.
55568 2012-04-05  David S. Miller  <davem@davemloft.net>
55570         * scripts/check-local-headers.sh: Accept a host triplet in the
55571         path matched by the exclude regexp.
55573         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55574         definition.
55575         * sysdeps/powerpc/powerpc32/dl-machine.h
55576         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55577         * sysdeps/s390/s390-32/dl-machine.h
55578         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55579         * sysdeps/sparc/sparc32/dl-machine.h
55580         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55581         * sysdeps/sparc/sparc64/dl-machine.h
55582         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55584         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55585         lazy binding.
55586         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55587         undefined symbol errors.
55589         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55590         DT_NEEDED entries.
55592 2012-04-05  Michael Matz  <matz@suse.de>
55594         [BZ #13592]
55595         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55597 2012-04-05  Andreas Jaeger  <aj@suse.de>
55599         [BZ #13908]
55600         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55601         comment.
55603 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55605         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55606         which ROUND is no valid rounding mode.
55608 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55610         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55611         read again.
55612         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55614 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55616         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55617         an exception using FPU order intentionally.
55619 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55621         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55622         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55623         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55624         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55626 2012-04-05  Simon Josefsson  <simon@josefsson.org>
55628         [BZ #12340]
55629         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55630         EINVAL when BUFLEN is too smal.
55632 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55634         [BZ #13553]
55635         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55636         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55638 2012-04-03  Andreas Jaeger  <aj@suse.de>
55640         [BZ #13938]
55641         * manual/setjmp.texi (System V contexts): Fix sentence.
55643         [BZ #13926]
55644         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55645         New macro for this case.
55646         [!__GNUC__] (__bswap_64): New inline function for this case.
55647         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55648         * bits/byteswap.h: Likewise.
55649         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55650         ull, guard with __GLIBC_HAVE_LONG_LONG.
55652         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55653         __GLIBC_HAVE_LONG_LONG.
55655         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55656         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55658 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55660         [BZ #13691]
55661         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55662         inptr and inend, rather than using last_ch.
55664 2012-04-02  David S. Miller  <davem@davemloft.net>
55666         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55667         * stdio-common/printf-parse.h (read_int): Change return type to
55668         'int', return -1 on INT_MAX overflow.
55669         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55670         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
55671         overflows INT_MAX.  Check for overflow of in-format-string precision
55672         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
55673         SIZE_MAX not INT_MAX for integer overflow test.
55674         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55675         skip the construct in the format string but do not record anything.
55676         * stdio-common/bug22.c: Adjust to test both width/prevision
55677         INT_MAX overflow as well as total length INT_MAX overflow.  Check
55678         explicitly for proper errno values.
55680 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55682         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55683         CHAR_MAX.
55684         * string/test-strcmp.c [! WIDE]: Likewise.
55685         * time/tst-mktime2.c: Likewise for INT_MAX.
55686         * string/test-string.h: #include <sys/param.h> for MIN.
55688         * csu/init-first.c (__libc_init_first): Call __ctype_init.
55689         * sysdeps/i386/init-first.c (init): Likewise.
55690         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55691         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55692         * sysdeps/sh/init-first.c (init): Likewise.
55694 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
55696         * po/ru.po: Update from translation team.
55697         * po/vi.po: Likewise.
55699 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55701         * resolv/nss_dns/dns-host.c: Merge copyright years.
55703 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55705         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55706         Optimize memcpy with prefetch if
55707         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
55708         src, dst pointers have unequal 16 byte alignments.
55710 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55712         [BZ #13928]
55713         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55714         from a CNAME entry and return the minimum ttl for the query.
55715         (gaih_getanswer_slice): Likewise.
55717 2012-03-30  Jeff Law  <law@redhat.com>
55719         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55720         due to long keys.
55721         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55722         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55724         * resolv/nss_dns/dns-host.c: Update copyright year.
55726 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
55728         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55729         requests to save a system call.  Fix check that all bytes are sent.
55731         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55732         comments for sendmmsg.
55734 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55736         [BZ #13691]
55737         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55738         with only 1 character between 0x0041 and 0x01b0.
55739         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55740         * wcsmbs/tst-mbsnrtowcs.c: New file.
55742 2012-03-29  David S. Miller  <davem@davemloft.net>
55744         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55745         small copies by hand.
55747 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55749         [BZ #13761]
55750         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55751         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55752         group memberships.
55754 2012-03-28  David S. Miller  <davem@davemloft.net>
55756         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55757         that branches into memcpy.
55758         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55759         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55760         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55761         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55762         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55763         bits.
55764         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55765         implementation too.
55766         * sysdeps/sparc/mempcpy.S: New file.
55768         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55769         the IFUNC routine in the libc case.
55770         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55772         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55773         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55774         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55775         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55776         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55777         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55778         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55779         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55781         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55782         loop to 256 bytes instead of 64 bytes and fix test signedness.
55784         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55785         * sysdeps/sparc/sparc32/Makefile: rather than here...
55786         * sysdeps/sparc/sparc64/Makefile: and here.
55788 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
55790         * malloc/mallocbug.c: Avoid warnings about unused variables.
55792 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55794         [BZ #13760]
55795         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55796         in the right place. Discard and retry query if response is
55797         larger than input buffer size.
55799 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
55801         [BZ #369]
55802         [BZ #2678]
55803         [BZ #3866]
55804         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55805         x for large integer exponent.
55806         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55807         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
55808         sign of result as needed afterwards.
55809         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55810         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55811         result for underflowing pow the same as for overflow.
55812         (__kernel_standard_l): Handle powl overflow and underflow here
55813         rather than calling __kernel_standard.
55814         * math/libm-test.inc (pow_test): Add more tests.
55816         [BZ #3868]
55817         [BZ #13879]
55818         [BZ #13910]
55819         [BZ #13911]
55820         [BZ #13912]
55821         [BZ #13913]
55822         [BZ #13915]
55823         [BZ #13916]
55824         [BZ #13917]
55825         [BZ #13918]
55826         [BZ #13919]
55827         [BZ #13920]
55828         [BZ #13921]
55829         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55830         * sysdeps/ieee754/k_standard.c: Include <float.h>.
55831         (__kernel_standard_l): New function.
55832         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55833         __kernel_standard.
55834         * math/w_acosl.c (__acosl): Likewise.
55835         * math/w_asinl.c (__asinl): Likewise.
55836         * math/w_atan2l.c (__atan2l): Likewise.
55837         * math/w_atanhl.c (__atanhl): Likewise.
55838         * math/w_coshl.c (__coshl): Likewise.
55839         * math/w_exp10l.c (__exp10l): Likewise.
55840         * math/w_exp2l.c (__exp2l): Likewise.
55841         * math/w_fmodl.c (__fmodl): Likewise.
55842         * math/w_hypotl.c (__hypotl): Likewise.
55843         * math/w_j0l.c (__j0l, __y0l): Likewise.
55844         * math/w_j1l.c (__j1l, __y1l): Likewise.
55845         * math/w_jnl.c (__jnl, __ynl): Likewise.
55846         * math/w_lgammal.c (__lgammal): Likewise.
55847         * math/w_log10l.c (__log10l): Likewise.
55848         * math/w_log2l.c (__log2l): Likewise.
55849         * math/w_logl.c (__logl): Likewise.
55850         * math/w_powl.c (__powl): Likewise.
55851         * math/w_remainderl.c (__remainderl): Likewise.
55852         * math/w_scalbl.c (sysv_scalbl): Likewise.
55853         * math/w_sinhl.c (__sinhl): Likewise.
55854         * math/w_sqrtl.c (__sqrtl): Likewise.
55855         * math/w_tgammal.c (__tgammal): Likewise.
55856         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
55857         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
55858         * math/libm-test.inc (acos_test): Add more tests.
55859         (acosh_test): Likewise.
55860         (asin_test): Likewise.
55861         (atanh_test): Likewise.
55862         (exp_test): Likewise.
55863         (exp10_test): Likewise.
55864         (exp2_test): Likewise.
55865         (expm1_test): Likewise.
55866         (lgamma_test): Likewise.
55867         (log_test): Likewise.
55868         (log10_test): Likewise.
55869         (log1p_test): Likewise.
55870         (log2_test): Likewise.
55871         (pow_test): Do not allow some spurious overflow exceptions.
55872         (sqrt_test): Add more tests.
55873         (tgamma_test): Likewise.
55874         (y0_test): Likewise.
55875         (y1_test): Likewise.
55876         (yn_test): Likewise.
55878 2012-03-27  Anton Blanchard  <anton@samba.org>
55880         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
55881         MAP_HUGETLB.
55882         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55883         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55884         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55886 2012-03-27  David S. Miller  <davem@davemloft.net>
55888         * conform/Makefile: Run run-conformtest.sh using $(BASH).
55890         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
55891         have-as-vis3 check.
55893 2012-03-27  Andreas Jaeger  <aj@suse.de>
55895         * sysdeps/x86_64/elf/configure.in: Moved to ...
55896         * sysdeps/x86_64/configure.in: ... here.
55897         * sysdeps/x86_64/elf/start.S: Moved to ...
55898         * sysdeps/x86_64/start.S: ... here.
55899         * sysdeps/x86_64/elf/configure: Delete.
55901         * sysdeps/x86_64/configure.in: Merge contents from
55902         sysdeps/i386/configure.in (without i686 check).
55904         * sysdeps/i386/elf/Versions: Merge into ...
55905         * sysdeps/i386/Versions: ... this.
55906         * sysdeps/i386/elf/Versions: Delete file.
55907         * sysdeps/i386/elf/start.S: Moved to ...
55908         * sysdeps/i386/start.S: ...here.
55909         * sysdeps/i386/elf/configure.in: Merge into...
55910         * sysdeps/i386/configure.in: ...here.
55911         * sysdeps/i386/elf/configure.in: Delete file.
55912         * sysdeps/i386/elf/configure: Delete file.
55914         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
55915         * debug/backtracesyms.c: ... here.
55916         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
55917         * debug/backtracesymsfd.c: ... here.
55918         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
55919         * sysdeps/generic/ifunc-sel.h: ... here.
55921         * sysdeps/unix/i386/start.c: Delete file.
55922         * sysdeps/unix/sparc/start.c: Delete file.
55923         * sysdeps/unix/start.c: Delete file.
55925         * sysdeps/sh/elf/configure.in: Moved to ...
55926         * sysdeps/sh/configure.in: ... here.
55927         * sysdeps/sh/elf/start.S: Moved to ...
55928         * sysdeps/sh/start.S: ... here.
55929         * sysdeps/sh/elf/configure: Delete file.
55931         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
55932         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
55933         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
55934         * sysdeps/powerpc/powerpc64/entry.h: ... here.
55935         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
55936         * sysdeps/powerpc/powerpc64/start.S: here.
55937         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
55938         * sysdeps/powerpc/powerpc64/Makefile: ... this.
55939         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
55940         * sysdeps/powerpc/powerpc64/configure.in: ... this.
55941         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
55943         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
55944         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
55945         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
55946         * sysdeps/powerpc/powerpc32/start.S: ... here.
55947         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
55948         * sysdeps/powerpc/powerpc32/configure.in: ... this.
55949         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
55951         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
55952         * sysdeps/powerpc/ifunc-sel.h: ... here.
55953         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
55954         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
55956         * sysdeps/sparc/elf/configure.in: Moved to ...
55957         * sysdeps/sparc/configure.in: ... here.
55958         * sysdeps/sparc/elf/configure: Delete file.
55959         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
55960         * sysdeps/sparc/sparc32/start.S: ... here.
55961         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
55962         * sysdeps/sparc/sparc64/start.S: ... here.
55963         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
55964         * sysdeps/sparc/sparc32/Makefile: ... this.
55965         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
55966         * sysdeps/sparc/sparc64/Makefile: ... this.
55968         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
55969         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
55970         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
55971         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
55972         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
55973         * sysdeps/s390/s390-32/setjmp.S: ... here.
55974         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
55975         * sysdeps/s390/s390-32/configure.in: ... here.
55976         * sysdeps/s390/s390-32/elf/configure: Delete file.
55977         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
55978         * sysdeps/s390/s390-32/start.S: ... here.
55980         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
55981         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
55982         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
55983         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
55984         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
55985         * sysdeps/s390/s390-64/setjmp.S: ... here.
55986         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
55987         * sysdeps/s390/s390-64/configure.in: ... here
55988         * sysdeps/s390/s390-64/elf/configure: Delete file.
55989         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
55990         * sysdeps/s390/s390-64/start.S: ... here.
55991         * sysdeps/s390/s390-64/elf/configure: Delete.
55993         * configure.in: Remove support for elf directories in sysdeps.
55995         * configure: Regenerated.
55996         * sysdeps/i386/configure: Regenerated.
55997         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55998         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55999         * sysdeps/s390/s390-32/configure: Regenerated.
56000         * sysdeps/s390/s390-64/configure: Regenerated.
56001         * sysdeps/sh/configure: Regenerated.
56002         * sysdeps/sparc/configure: Regenerated.
56003         * sysdeps/x86_64/configure: Regenerated.
56005 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
56007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56009         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
56010         denormal result into account.
56012 2012-03-25  Roland McGrath  <roland@hack.frob.com>
56014         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
56015         Reported by Allan McRae <allan@archlinux.org>.
56017 2012-03-23  Jeff Law  <law@redhat.com>
56019         * nss/getnssent.c (__nss_getent): Fix typo.
56021 2012-03-23  David S. Miller  <davem@davemloft.net>
56023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56025 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
56027         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
56028         to pad to uint64_t for each field.
56029         (dl_tls_index): Replace unsigned long with uint64_t.
56031 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
56032         Paul Pluzhnikov  <ppluzhnikov@google.com>
56034         [BZ #6528]
56035         * grp/Makefile (otherlibs): Don't set it.
56036         * inet/Makefile (otherlibs): Likewise.
56037         * login/Makefile (otherlibs): Likewise.
56038         * nscd/Makefile (otherlibs): Likewise.
56039         * posix/Makefile (otherlibs): Likewise.
56040         * pwd/Makefile (otherlibs): Likewise.
56041         * rt/Makefile (otherlibs): Likewise.
56042         * sunrpc/Makefile (otherlibs): Likewise.
56043         * nss/Makefile (otherlibs): Likewise.
56044         Add libnss_files to routines and static-only-routines.
56045         ($(objpfx)getent): Remove rule.
56046         * resolv/Makefile: Add libnss_dns and libresolv to routines and
56047         static-only-routines.
56049 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
56051         [BZ #13892]
56052         * math/s_cexp.c: Include <float.h>.
56053         (__cexp): Handle exp result overflowing not necessarily
56054         overflowing both real and imaginary parts of result.
56055         * math/s_cexpf.c: Likewise.
56056         * math/s_cexpl.c: Likewise.
56057         * math/libm-test.inc (cexp_test): Add more tests.
56058         * sysdeps/i386/fpu/libm-test-ulps: Update.
56059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56061 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
56063         * include/link.h (ELFW): New macro.
56064         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
56065         Replace ELF64_R_TYPE with ELFW(R_TYPE).
56067 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
56069         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
56070         with uint64_t.
56072 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
56074         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
56075         declaration.
56076         (struct La_x32_retval): Likewise.
56078 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
56080         * sysdeps/x86_64/preconfigure.in: New file.
56081         * sysdeps/x86_64/preconfigure: New generated file.
56083 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
56085         [BZ #13824]
56086         * math/e_exp2l.c: Include <float.h>.
56087         (__ieee754_exp2l): Handle overflow and underflow cases
56088         separately.  Only pass fractional part of argument to
56089         __ieee754_expl.
56090         * math/libm-test.inc (exp2_test): Add more tests.
56092         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
56093         negating x to take absolute value.
56094         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
56095         Likewise.
56096         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56097         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
56098         Likewise.
56099         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
56100         computing low part if x was negated.
56101         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56103 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
56105         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
56106         la_x32_gnu_pltexit.
56107         (pltexit): Cast int_retval to ptrdiff_t.
56108         * elf/tst-auditmod3b.c: Likewise.
56109         * elf/tst-auditmod4b.c: Likewise.
56110         * elf/tst-auditmod5b.c: Likewise.
56111         * elf/tst-auditmod6b.c: Likewise.
56112         * elf/tst-auditmod6c.c: Likewise.
56113         * elf/tst-auditmod7b.c: Likewise.
56115         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
56116         and x32_gnu_pltexit.
56118         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
56119         __ELF_NATIVE_CLASS.
56120         (La_x32_regs): New macro.
56121         (La_x32_retval): Likewise.
56122         (la_x32_gnu_pltenter): New function prototype.
56123         (la_x32_gnu_pltexit): Likewise.
56125 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
56127         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
56128         exponent.
56130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56132         * configure.in (libc_cv_cc_nofma): Check for option to disable
56133         generation of FMA instructions.
56134         * configure: Regenerate.
56135         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
56136         * sysdeps/ieee754/dbl-64/Makefile: New file.
56137         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
56138         Remove brandred-fma4.
56139         (CFLAGS-brandred-fma4.c): Remove.
56140         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
56141         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
56142         define.
56143         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
56144         define.
56146 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
56148         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56149         LLONG_MAX != LONG_MAX.
56150         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56151         (_fitoa_word): Likewise.
56152         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
56153         LLONG_MAX != LONG_MAX.
56154         * stdio-common/_itowa.h: Include <_itoa.h>.
56155         (_itowa_word): Use _ITOA_WORD_TYPE on value.
56156         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
56157         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
56158         only if not defined.
56159         (_ITOA_WORD_TYPE): Likewise.
56160         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56161         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
56163 2012-03-21  David S. Miller  <davem@davemloft.net>
56165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56167 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
56169         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
56170         of x86_64 when setting libc_cv_slibdir, libdir and
56171         libc_cv_localedir.
56172         * sysdeps/unix/sysv/linux/configure: Regenerated.
56174 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56176         * manual/lang.texi (Old Varargs): Remove section.
56177         (How Variadic): Update menu.
56178         (va_start): Do not mention varargs.h.
56180 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56181             Joseph Myers  <joseph@codesourcery.com>
56183         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
56184         link test.
56185         * configure: Regenerated.
56187 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56189         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
56190         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
56191         conformtest.pl
56193 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56195         * NOTES: Remove.
56196         * Makefile (files-for-dist): Remove NOTES.
56197         (NOTES): Remove rule.
56198         * README: Don't refer to NOTES.
56199         * manual/creature.texi: Don't include macros.texi.
56200         * manual/intro.texi (creature.texi): Remove comment referring to
56201         NOTES.
56203         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
56204         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
56205         * configure: Regenerated.
56206         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
56207         LIBC_TRY_CC_OPTION.
56208         (libc_cv_as_i686): Likewise.
56209         (libc_cv_cc_avx): Likewise.
56210         (libc_cv_cc_sse2avx): Likewise.
56211         (libc_cv_cc_fma4): Likewise.
56212         (libc_cv_cc_novzeroupper): Likewise.
56213         * sysdeps/i386/configure: Regenerated.
56215         [BZ #13883]
56216         * sysdeps/i386/fpu/s_cexp.S: Remove.
56217         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56218         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56219         * math/libm-test.inc (cexp_test): Add more tests.
56220         * sysdeps/i386/fpu/libm-test-ulps: Update.
56221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56223 2012-03-21  Allan McRae  <allan@archlinux.org>
56225         * timezone/Makefile: Do not install iso3166.tab and zone.tab
56227 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
56229         [BZ #13871]
56230         * math/w_exp2.c: Do not include <float.h>.
56231         (o_threshold, u_threshold): Remove.
56232         (__exp2): Calculate result before checking finiteness and calling
56233         __kernel_standard.
56234         * math/w_exp2f.c: Likewise.
56235         * math/w_exp2l.c: Likewise.
56236         * math/libm-test.inc (exp2_test): Require overflow exception for
56237         1e6 input.
56239         [BZ #3866]
56240         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
56241         range of signed 64-bit integers before using fistpll.  Remove
56242         checks for whether integers fit in mantissa bits.
56243         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
56244         the range of signed 32-bit integers before using fistpl.  Remove
56245         checks for whether integers fit in mantissa bits.
56246         * sysdeps/i386/fpu/e_powl.S (p64): New object.
56247         (__ieee754_powl): Test for y outside the range of signed 64-bit
56248         integers before using fistpll.  Reduce 64-bit values to 63-bit
56249         ones as needed.
56250         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
56251         divide-by-zero is raised for zero to large negative powers.
56252         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
56253         (__ieee754_powl): Test for y outside the range of signed 64-bit
56254         integers before using fistpll.  Reduce 64-bit values to 63-bit
56255         ones as needed.
56256         * math/libm-test.inc (pow_test): Add more tests.
56258 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56260         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
56261         <stdio-common/_itoa.h>.
56262         * debug/segfault.c: Likewise.
56263         * elf/dl-cache.c: Likewise.
56264         * elf/dl-minimal.c: Likewise.
56265         * elf/dl-misc.c: Likewise.
56266         * elf/dl-sysdep.c: Likewise.
56267         * elf/dl-version.c: Likewise.
56268         * elf/rtld.c: Likewise.
56269         * hurd/hurdsock.c: Likewise.
56270         * hurd/lookup-retry.c: Likewise.
56271         * malloc/malloc.c: Likewise.
56272         * malloc/mtrace.c: Likewise.
56273         * nscd/nscd_getgr_r.c: Likewise.
56274         * nscd/nscd_getpw_r.c: Likewise.
56275         * nscd/nscd_getserv_r.c: Likewise.
56276         * posix/getopt_init.c: Likewise.
56277         * posix/wordexp.c: Likewise.
56278         * stdio-common/_itoa.c: Likewise.
56279         * stdio-common/printf_fphex.c: Likewise.
56280         * stdio-common/vfprintf.c: Likewise.
56281         * string/_strerror.c: Likewise.
56282         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
56283         * sysdeps/i386/i686/hp-timing.h: Likewise.
56284         * sysdeps/mach/_strerror.c: Likewise.
56285         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
56286         * sysdeps/mach/hurd/sethostid.c: Likewise.
56287         * sysdeps/mach/hurd/xmknodat.c: Likewise.
56288         * sysdeps/mach/xpg-strerror.c: Likewise.
56289         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56290         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56291         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
56292         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
56293         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56294         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
56295         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
56296         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
56297         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
56298         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
56299         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
56300         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56301         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
56302         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56303         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56304         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
56305         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
56306         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
56307         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
56308         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
56309         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
56311         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
56313         * stdio-common/_itoa.h: Moved to ...
56314         * sysdeps/generic/_itoa.h: Here.
56316         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
56318         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
56319         instead of "_itoa.h" and "_itowa.h".
56320         * stdio-common/vfprintf.: Likewise.
56322 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56324         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
56325         <bits/wordsize.h>.
56326         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
56327         (__signbit): Likwise.
56328         (llrintf): Likwise.
56329         (llrint): Likwise.
56331 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56333         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
56334         __WORDSIZE != 64.
56336 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
56338         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
56339         OVERFLOW_EXCEPTION_OK.
56340         * math/libm-test.inc ("Philosophy"): Update comment about
56341         exception testing.
56342         (OVERFLOW_EXCEPTION): Define.
56343         (OVERFLOW_EXCEPTION_OK): Likewise.
56344         (INVALID_EXCEPTION_OK): Renumber.
56345         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56346         (IGNORE_ZERO_INF_SIGN): Likewise.
56347         (test_exceptions): Handle FE_OVERFLOW.
56348         (exp10_test): Expect overflow exceptions.
56349         (exp2_test): Likewise.
56350         (expm1_test): Likewise.
56351         (nextafter_test): Likewise.
56352         (pow_test): Likewise.
56353         (scalbn_test): Likewise.
56354         (scalbln_test): Likewise.
56356 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56358         * sysdeps/x86_64/bits/atomic.h
56359         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
56360         64bit integer.
56361         (atomic_exchange_acq): Likewise.
56362         (__arch_exchange_and_add_body): Likewise.
56363         (__arch_add_body): Likewise.
56364         (atomic_add_negative): Likewise.
56365         (atomic_add_zero): Likewise.
56367 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56369         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
56370         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
56372 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56374         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
56375         Check __x86_64__ instead of __WORDSIZE.
56377 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56379         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
56381 2012-03-19  David S. Miller  <davem@davemloft.net>
56383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56385         * sysdeps/sparc/fpu/fenv_private.h: New file.
56386         * sysdeps/sparc/fpu/math_private.h: Use it.
56387         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
56388         Remove.
56389         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
56390         (libc_feholdexcept_setroundl): Remove.
56391         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
56392         Remove.
56393         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
56394         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
56396 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56398         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
56399         int64_t instead of long int.
56400         (INSERT_WORDS64): Likwise.
56402 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
56404         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
56405         _Unwind_GetCFA return to _Unwind_Ptr first.
56407 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
56409         [BZ #13629]
56410         * math/s_clog.c: Include <float.h>.
56411         (__clog): Scale large or subnormal inputs.
56412         * math/s_clogf.c: Likewise.
56413         * math/s_clogl.c: Likewise.
56414         * math/s_clog10.c: Include <float.h>.
56415         (M_LOG10_2): Define.
56416         (__clog10): Scale large or subnormal inputs.
56417         * math/s_clog10f.c: Likewise.
56418         * math/s_clog10l.c: Likewise.
56419         * math/libm-test.inc (clog_test): Add more tests.
56420         (clog10_test): Likewise.
56421         * sysdeps/i386/fpu/libm-test-ulps: Update.
56422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56424         [BZ #11451]
56425         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
56426         x and y.
56427         * math/libm-test.inc (atan2_test): Add another test.
56429         * Makerules (common-objdir-compile): Remove.
56430         * sysdeps/unix/Makefile (config-generated): Do not add
56431         $(unix-generated) to variable.
56432         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
56433         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56434         Remove rule.
56435         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
56436         Likewise.
56437         [generic bits/local_lim.h] (before-compile): Do not append to
56438         variable.
56439         [generic bits/local_lim.h] (common-generated): Likewise.
56440         [generic sys/param.h] (before-compile): Do not append to variable.
56441         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
56442         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
56443         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
56444         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
56445         include.
56446         [generic sys/param.h] (sys/param.h-includes): Remove variable.
56447         [generic sys/param.h] (sys/param.h-includes): Remove rule.
56448         [generic sys/param.h] ($(addprefix
56449         $(common-objpfx),$(sys/param.h-includes))): Likewise.
56450         [generic sys/param.h] (common-generated): Do not append to
56451         variable.
56452         [generic sys/param.h] (sysdep_headers): Likewise.
56453         [generic bits/errno.h] (before-compile): Do not append to
56454         variable.
56455         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
56456         rule.
56457         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
56458         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
56459         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
56460         [generic bits/errno.h] (common-generated): Do not append to
56461         variable.
56462         [generic bits/ioctls.h] (before-compile): Do not append to
56463         variable.
56464         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
56465         rule.
56466         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
56467         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
56468         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
56469         rule.
56470         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
56471         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
56472         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
56473         [generic bits/ioctls.h] (common-generated): Do not append to
56474         variable.
56475         [generic sys/syscall.h] (syscall.h): Remove variable.
56476         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56477         rule.
56478         [generic sys/syscall.h] (before-compile): Do not append to
56479         variable.
56480         [generic sys/syscall.h] (common-generated): Likewise.
56481         * sysdeps/unix/errnos-tmpl.c: Remove file.
56482         * sysdeps/unix/errnos.awk: Likewise.
56483         * sysdeps/unix/ioctls-tmpl.c: Likewise.
56484         * sysdeps/unix/ioctls.awk: Likewise.
56485         * sysdeps/unix/mk-local_lim.c: Likewise.
56486         * sysdeps/unix/snarf-ioctls: Likewise.
56488 2012-03-19  Richard Henderson  <rth@twiddle.net>
56490         * sysdeps/i386/fpu/fenv_private.h: New file.
56491         * sysdeps/i386/fpu/math_private.h: Use it.
56492         (math_opt_barrier, math_force_eval): Remove.
56493         (libc_feholdexcept_setround_53bit): Remove.
56494         (libc_feupdateenv_53bit): Remove.
56495         * sysdeps/x86_64/fpu/math_private.h: Likewise.
56496         (math_opt_barrier, math_force_eval): Remove.
56497         (libc_feholdexcept): Remove.
56498         (libc_feholdexcept_setround): Remove.
56499         (libc_fetestexcept, libc_fesetenv): Remove.
56500         (libc_feupdateenv_test): Remove.
56501         (libc_feupdateenv, libc_feholdsetround): Remove.
56502         (libc_feresetround): Remove.
56504         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56505         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56507         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56508         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56509         (libc_feupdateenv_testl): New.
56510         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56511         (libc_feupdateenv_testf): New.
56512         (libc_feupdateenv): Use libc_feupdateenv_test.
56513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56514         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56516         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56517         (libc_feholdsetroundf, libc_feholdsetroundl): New.
56518         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56519         (libc_feresetround_noex): New.
56520         (libc_feresetround_noexf): New.
56521         (libc_feresetround_noexl): New.
56522         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56523         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56524         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56525         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56526         SET_RESTORE_ROUND.
56527         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56528         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56529         (__cos): Likewise.
56530         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56531         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56532         SET_RESTORE_ROUND_NOEX.
56533         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56534         SET_RESTORE_ROUND_NOEXF.
56535         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56536         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56537         (libc_feholdsetroundf): New.
56538         (libc_feresetround, libc_feresetroundf): New.
56540         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56541         (libc_feholdexcept_setround_53bit): Convert from macro to function.
56542         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
56544         * sysdeps/generic/math_private.h: Include <fenv.h>.
56545         (default_libc_feholdexcept): New.
56546         (default_libc_feholdexcept_setround): New.
56547         (default_libc_fesetenv, default_libc_feupdateenv): New.
56548         (libc_feholdexcept): Only define if undefined.
56549         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56550         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56551         (libc_feholdexcept_setroundl): Likewise.
56552         (libc_feholdexcept_setround_53bit): Likewise.
56553         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56554         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56555         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56556         (libc_feupdateenv_53bit): Likewise.
56557         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56558         (libc_feholdexcept): Convert from macro to inline function.
56559         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56560         (libc_fesetenv, libc_feupdateenv): Likewise.
56562         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56563         not previously defined.
56564         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56565         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56566         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56567         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56568         * sysdeps/ieee754/flt-32/math_private.h: New file.
56569         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56570         math_private.h below SET_FLOAT_WORD.
56571         (__isnan, __isinf_ns, __finite): Remove.
56572         (__isnanf, __isinf_nsf, __finitef): Remove.
56574 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
56576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56578 2012-03-17  David S. Miller  <davem@davemloft.net>
56580         [BZ #6471]
56581         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56582         for 2.16.
56584 2012-03-16  David S. Miller  <davem@davemloft.net>
56586         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56587         warnings.
56589         [BZ #6471]
56590         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56591         properly.
56592         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56593         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56594         sysdep_routines when subdir is sysvipc.
56595         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56596         __getshmlba helper.
56598         * sysdeps/sparc/fpu/libm-test/ulps: Update.
56600 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56602         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56603         [__LP64__].
56605 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56607         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56608         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56609         (__lround): Renamed to ...
56610         (__llround): This.  Replace long int with long long int.
56611         Define lround functions as aliases of llround functions.
56612         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56614 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56616         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56617         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
56618         adresses to uintptr_t.  Replace "long int" and "unsigned long
56619         int" with "greg_t" on va_arg.
56621 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56623         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56624         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56626         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56627         Move e_machine check before EI_CLASS check.  Handle x32
56628         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56629         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56630         SKIP_EM_IA_64 and include
56631         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56633         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56634         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56635         (add_system_dir): New macro.
56637         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56638         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56640 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
56642         [BZ #2551]
56643         [BZ #2552]
56644         [BZ #2553]
56645         [BZ #2554]
56646         [BZ #2562]
56647         [BZ #2563]
56648         [BZ #2565]
56649         [BZ #2566]
56650         [BZ #2576]
56651         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56652         (y0): Likewise.
56653         * math/w_j0f.c (j0f): Likewise.
56654         (y0f): Likewise.
56655         * math/w_j0l.c (__j0l): Likewise.
56656         (__y0l): Likewise.
56657         * math/w_j1.c (j1): Likewise.
56658         (y1): Likewise.
56659         * math/w_j1f.c (j1f): Likewise.
56660         (y1f): Likewise.
56661         * math/w_j1l.c (__j1l): Likewise.
56662         (__y1l): Likewise.
56663         * math/w_jn.c (jn): Likewise.
56664         (yn): Likewise.
56665         * math/w_jnf.c (jnf): Likewise.
56666         (ynf): Likewise.
56667         * math/w_jnl.c (__jnl): Likewise.
56668         (__ynl): Likewise.
56669         * math/libm-test.inc (j0_test): Add more tests.
56670         (j1_test): Likewise.
56671         (jn_test): Likewise.  Add trailing semicolon to existing test.
56672         (y0_test): Likewise.
56673         (y1_test): Likewise.
56674         * sysdeps/i386/fpu/libm-test-ulps: Update.
56675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56677         [BZ #13851]
56678         [BZ #13854]
56679         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56680         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56681         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56682         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56683         (__tanl): Set errno for infinite argument.
56684         * sysdeps/i386/fpu/mptan.c: Remove.
56685         * sysdeps/i386/fpu/s_tan.S: Likewise.
56686         * sysdeps/i386/fpu/s_tanl.S: Likewise.
56687         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56688         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56689         * math/libm-test.inc (tan_test): Add more tests and enable more
56690         tests for double and long double.
56691         * sysdeps/i386/fpu/libm-test-ulps: Update.
56692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56694 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
56696         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56697         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56699 2012-03-16  Roland McGrath  <roland@hack.frob.com>
56701         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56702         * configure.in: Use it for both main tree and add-ons.
56703         * configure: Regenerated.
56705 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
56707         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56709 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
56711         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56712         in comment.
56714         [BZ #13851]
56715         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56716         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56717         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56718         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56719         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56720         infinite argument.
56721         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56722         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56723         != 0 for prec == 2.
56724         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56725         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56726         * sysdeps/i386/fpu/s_cosl.S: Likewise.
56727         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56728         * sysdeps/i386/fpu/s_sinl.S: Likewise.
56729         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56730         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56731         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56732         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56733         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56734         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56735         * math/libm-test.inc (cos_test): Add more tests and enable more
56736         tests for long double.
56737         (sin_test): Likewise.
56738         (sincos_test): Likewise.
56739         * sysdeps/i386/fpu/libm-test-ulps: Update.
56740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56742 2012-03-16  David S. Miller  <davem@davemloft.net>
56744         * sysdeps/sparc/fpu/math_private.h: New file.
56746 2012-03-15  David S. Miller  <davem@davemloft.net>
56748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56749         file.
56750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56752         file.
56753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56754         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56755         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56756         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56757         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56758         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56759         sysdep routines.
56760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56762         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56763         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56765         * sysdeps/sparc/sparc-ifunc.h: New file.
56766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56767         sparc-ifunc.h
56768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56770         Likewise.
56771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56772         Likewise.
56773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56777         Likewise.
56778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56783         Likewise.
56784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56785         Likewise.
56786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56790         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56791         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56792         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56793         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56794         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56795         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56797         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56798         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56799         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56800         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56801         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56802         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56803         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56804         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56805         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56806         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56807         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56808         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56809         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56811 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
56813         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56814         scaling.
56815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56817 2012-03-15  Andreas Jaeger  <aj@suse.de>
56819         [BZ #13852]
56820         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56821         ieee754/flt-32 implementation for sin, cos and sincos.
56822         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56823         * sysdeps/i386/fpu/s_cosf.S: Likewise.
56824         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56825         * sysdeps/i386/fpu/s_sinf.S: Likewise.
56826         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56827         ieee754/flt-32 implementation for tan.
56829         * math/libm-test.inc (cos_test): Enable some large input tests for
56830         float as well
56831         (sin_test): Likewise.
56832         (sincos_test): Likewise.
56833         (tan_test): Add tests for large input.
56835         * sysdeps/i386/fpu/libm-test-ulps: Update.
56837 2012-03-15  Andreas Jaeger  <aj@suse.de>
56839         [BZ #13658]
56840         * math/libm-test.inc (cos_test): Add more test cases.
56841         (sin_test): Likewise.
56842         (sincos_test): Likewise.
56844 2012-03-15  Andreas Jaeger  <aj@suse.de>
56846         [BZ #13837]
56847         * math/libm-test.inc (cos_test): Add a test case for large input
56848         value.
56849         (sin_test): Likewise.
56850         (sincos_test): Likewise.
56852 2012-03-15  Andreas Jaeger  <aj@suse.de>
56853             Joseph Myers  <joseph@codesourcery.com>
56855         [BZ #13658]
56856         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
56857         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
56858         * sysdeps/i386/fpu/branred.c: Likewise.
56859         * sysdeps/i386/fpu/dosincos.c: Likewise.
56860         * sysdeps/i386/fpu/mpa.c: Likewise.
56861         * sysdeps/i386/fpu/s_cos.S: Likewise.
56862         * sysdeps/i386/fpu/s_sin.S: Likewise.
56863         * sysdeps/i386/fpu/s_sincos.S: Likewise.
56864         * sysdeps/i386/fpu/sincos32.c: Likewise.
56866         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
56867         Define.
56868         (libc_feupdateenv_53bit): Define.
56869         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
56870         Define.
56871         (libc_feupdateenv_53bit): Define.
56873         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
56874         53 bit (without extend i386 double precision).
56876         * math/libm-test.inc (sincos_test): Add tests for large input.
56877         (sin): Likewise.
56878         (cos): Likewise.
56880         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
56882 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
56884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56886 2012-03-15  David S. Miller  <davem@davemloft.net>
56888         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
56889         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
56890         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
56891         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
56892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
56893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
56894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
56895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
56896         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
56897         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
56898         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
56899         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
56900         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
56901         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
56902         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
56903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
56904         file.
56905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
56906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
56907         file.
56908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
56909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
56910         file.
56911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
56912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
56913         file.
56914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
56915         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
56916         fmin/fmax sysdep routines.
56917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56919 2012-03-14  David S. Miller  <davem@davemloft.net>
56921         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
56922         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
56923         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
56924         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
56925         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
56926         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
56927         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
56928         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
56929         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
56930         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
56931         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
56932         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
56933         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
56934         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
56935         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
56936         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
56937         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
56938         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
56939         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
56940         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
56941         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
56942         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
56943         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
56944         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
56945         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
56946         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
56947         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
56948         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
56949         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
56950         routines.
56951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
56952         file.
56953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
56954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
56955         file.
56956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
56957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
56958         file.
56959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
56960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
56961         file.
56962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
56963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
56964         file.
56965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
56966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
56967         file.
56968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
56969         file.
56970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
56971         file.
56972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
56973         file.
56974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
56975         New file.
56976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
56977         file.
56978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
56979         file.
56980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
56981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
56982         file.
56983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
56984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
56985         file.
56986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
56987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
56988         file.
56989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
56990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
56991         VIS3 routines.
56993         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56994         New file.
56996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56998         * sysdeps/sparc/configure.in: New file.
56999         * sysdeps/sparc/configure: Generate.
57000         * configure.in (libc_cv_sparc_as_vis3): Substitute.
57001         * configure: Regenerate.
57002         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
57003         * config.make.in (have-as-vis3): New.
57004         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
57005         available use -Av9d instead of -Av9a.
57006         * sysdeps/sparc/sparc64/Makefile: Likewise.
57007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
57008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
57009         New file.
57010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
57011         file.
57012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
57013         New file.
57014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
57015         file.
57016         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
57017         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
57018         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
57019         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
57020         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
57022         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
57023         fzeros/fnegs to load 0x80000000 into a float register instead of
57024         using the stack.
57025         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
57027 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
57029         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57030         bits/syscall.h.
57031         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
57032         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
57033         ($(inst_includedir)/bits/syscall.h): Remove rule.
57034         ($(objpfx)bits/syscall.d): Include instead of
57035         $(objpfx)syscall-list.d.
57036         (generated): Change syscall-list.h and syscall-list.d to
57037         bits/syscall.h and bits/syscall.d.
57039 2012-03-14  Roland McGrath  <roland@hack.frob.com>
57041         [BZ #13846]
57042         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
57044 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
57046         [BZ #13841]
57047         * math/s_csqrt.c: Include <float.h>.
57048         (__csqrt): Scale large or subnormal inputs.
57049         * math/s_csqrtf.c: Likewise.
57050         * math/s_csqrtl.c: Likewise.
57051         * math/libm-test.inc (csqrt_test): Add more tests.
57052         * sysdeps/i386/fpu/libm-test-ulps: Update.
57053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57055         [BZ #13840]
57056         * math/libm-test.inc (hypot_test): Add more tests.
57058 2012-03-13  David S. Miller  <davem@davemloft.net>
57060         [BZ #13840]
57061         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
57062         double-precision for the calculation instead of scaling.
57064 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
57066         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
57067         manipulate bits before adding and subtracting TWO52[sx].
57068         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
57069         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
57070         Likewise.
57071         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
57073 2012-03-13  David S. Miller  <davem@davemloft.net>
57075         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
57076         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
57077         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
57078         rtld-global-offsets.h
57079         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57081         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
57082         large parameters.
57084         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
57086         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
57087         'err' in the ifdef scope in which it is actually used.
57089         * nss/nss_db/db-init.c: Include string.h
57091 2012-03-12  David S. Miller  <davem@davemloft.net>
57093         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57094         masking out of the most significant byte of random value used.
57095         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57096         Fix coding style in previous change.
57098         * sysdeps/unix/sysv/linux/kernel-features.h
57099         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
57100         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
57101         expression.
57102         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
57103         later.
57105 2012-03-11  David S. Miller  <davem@davemloft.net>
57107         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57108         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
57109         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
57110         for 'resultvar' otherwise things get truncated on 64-bit.
57112         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57113         Fix masking out of the most significant byte of random value used.
57115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57117 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
57119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57121 2012-03-09  David S. Miller  <davem@davemloft.net>
57123         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
57124         variables with appropriate CPP guards.
57125         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
57126         from the frame pointer, not the stack pointer.  Correct layout
57127         comments.  Fix test on resulting framesize and the management of
57128         the outregs buffer for pltexit.  Preserve floating point return
57129         values across _dl_call_pltexit call.
57130         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
57131         framesize and the management of the outregs buffer for pltexit.
57132         Preserve floating point return values across _dl_call_pltexit
57133         call.
57134         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
57135         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
57136         (la_sparc64_gnu_pltexit): New functions.
57137         (print_exit): Fix format string for return register value.
57139 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
57141         * sunrpc/Makefile (others): Add rpcgen.
57142         ($(objpfx)rpcgen): Remove special build rule and dependency on
57143         libc.
57144         * sunrpc/rpcgen.c: New file.
57146 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
57148         [BZ #13673]
57149         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
57150         * stdio-common/bug-vfprintf-nargs.c: Likewise.
57151         * sysdeps/i386/crti.S: Likewise.
57152         * sysdeps/i386/crtn.S: Likewise.
57153         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
57154         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
57155         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
57156         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
57157         * sysdeps/sh/crti.S: Likewise.
57158         * sysdeps/sh/crtn.S: Likewise.
57159         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57161         [BZ #13673]
57162         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
57163         with URL.
57164         * locale/programs/locfile-kw.gperf: Likewise.
57165         * locale/programs/charmap-kw.h: Regenerated.
57166         * locale/programs/locfile-kw.h: Likewise.
57168         [BZ #13673]
57169         * intl/plural.y: Replace FSF snail mail address with URL.
57170         * intl/plural.c: Regenerated.
57172 2012-03-09  Richard Henderson  <rth@twiddle.net>
57174         * include/math_private.h: Remove file.
57175         * math/math_private.h: Move file ...
57176         * sysdeps/generic/math_private.h: ... here.
57178         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
57179         * sysdeps/powerpc/fpu/math_private.h: Likewise.
57180         * sysdeps/x86_64/fpu/math_private.h: Likewise.
57182         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
57183         and <math_private.h>.
57184         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57185         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57186         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57187         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57188         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57189         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
57190         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57191         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57192         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57193         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57194         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57195         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57196         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57197         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57198         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57199         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57200         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57201         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57202         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57203         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57204         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57205         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57206         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57207         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57208         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
57209         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57210         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57211         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57212         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57213         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57214         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57215         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57216         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
57217         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57218         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57219         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57220         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57221         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57222         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57223         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57224         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
57225         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57226         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57227         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57228         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57229         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57230         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
57231         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57232         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57233         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57234         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57235         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
57236         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57237         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57238         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57239         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57240         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57241         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57242         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57243         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
57244         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57245         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57246         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57247         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57248         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
57249         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57250         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57251         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57252         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
57253         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
57254         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57255         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57256         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57257         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57258         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
57259         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
57260         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
57261         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57262         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
57263         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
57264         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57265         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
57266         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57267         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57268         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57269         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
57270         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
57271         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
57272         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57273         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57274         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57275         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57276         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57277         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57278         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57279         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57280         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57281         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57282         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57283         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57284         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57285         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57286         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57287         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57288         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57289         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57290         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57291         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57292         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57293         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57294         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57295         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57296         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57297         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57298         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
57299         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57300         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57301         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57302         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57303         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57304         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57305         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57306         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57307         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
57308         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57309         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57310         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57311         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
57312         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57313         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
57314         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
57315         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57316         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57317         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
57318         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
57319         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57320         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57321         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57322         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
57323         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57324         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57325         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57326         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57327         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
57328         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
57329         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57330         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57331         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57332         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
57333         * sysdeps/ieee754/k_standard.c: Likewise.
57334         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57335         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57336         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57337         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57338         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57339         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57340         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57341         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57342         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57343         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57344         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57345         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57346         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57347         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57348         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57349         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57350         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57351         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57352         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57353         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
57354         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
57355         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
57356         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57357         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57358         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57359         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
57360         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57361         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57362         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57363         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57364         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57365         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57366         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57367         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57368         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57369         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57370         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57371         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
57372         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
57373         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57374         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57375         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57376         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57377         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57378         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57379         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57380         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57381         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57382         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57383         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57384         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57385         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57386         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57387         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
57388         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57389         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57390         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
57391         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
57392         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57393         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57394         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57395         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57396         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57397         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57398         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57399         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57400         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57401         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57402         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57403         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57404         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57405         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57406         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57407         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57408         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57409         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57410         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
57411         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57412         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57413         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57414         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57415         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57416         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57417         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57418         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
57419         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57420         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57421         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
57422         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57423         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57424         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
57425         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57426         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
57427         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57428         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57429         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57430         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
57431         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
57432         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
57433         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
57434         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57435         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57436         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57437         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57438         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
57439         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57440         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57441         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
57442         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
57443         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57444         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57445         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57446         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57447         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57448         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57449         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57450         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57451         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57452         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57453         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57454         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57455         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57456         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57457         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57458         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57459         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
57460         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57461         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57462         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57463         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57464         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57465         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57466         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57467         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57468         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57469         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57470         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
57471         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57472         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57473         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
57474         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57475         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57476         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57477         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57478         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57479         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57480         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57481         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57482         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57483         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57484         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57485         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57486         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57487         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57488         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57489         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57490         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57491         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57492         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57493         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57494         * sysdeps/ieee754/s_lib_version.c: Likewise.
57495         * sysdeps/ieee754/s_matherr.c: Likewise.
57496         * sysdeps/ieee754/s_signgam.c: Likewise.
57497         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57498         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57499         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57500         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57501         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57502         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57503         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57504         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57505         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57506         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57507         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57508         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57509         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57510         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57511         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57512         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57513         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57514         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57515         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57516         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57517         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57519 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57521         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57522         * sunrpc/rpc_main.c: Likewise.
57523         * sunrpc/rpc_svcout.c: Likewise.
57525 2012-03-09  David S. Miller  <davem@davemloft.net>
57527         * include/math_private.h: New file.
57529 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
57531         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57532         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57533         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57534         from <bits/socket_type.h>.
57535         (enum __socket_type): Don't define here.
57536         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57537         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57538         bits/socket_type.h.
57540         [BZ #13566]
57541         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57542         checking __USE_GNU.
57544         * Makerules ($(inst_includedir)/%.h): New rule.
57545         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57546         (install-others): Remove variable setting.
57547         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57549 2012-03-08  Richard Henderson  <rth@twiddle.net>
57551         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57552         from macro to inline function; merge with the
57553         !__LIBC_INTERNAL_MATH_INLINES version.
57554         (__ieee754_sqrtf): Likewise.
57556         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57557         to inline function.
57558         (__rintf, __floor, __floorf): Likewise.
57560         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57561         macro to inline function.
57562         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57564         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57565         not <math/math_private.h>.
57567 2012-03-08  David S. Miller  <davem@davemloft.net>
57569         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57570         copyright year.
57571         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57573 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
57575         * resolv/gai_misc.c (handle_requests): Fix struct timespec
57576         normalization.
57577         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57578         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57580 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
57582         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
57583         be defined individually, they must be defined as a block.  Define
57584         S for printing a string instead of hidint the different by using a
57585         macro for adding the 'l'.
57586         * stdio-common/tst-fphex-wide.c: Adjust.
57588 2012-03-07  Marek Polacek  <polacek@redhat.com>
57590         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57592 2012-03-08  Marek Polacek  <polacek@redhat.com>
57594         [BZ #13806]
57595         * stdio-common/Makefile (tests): Add tst-fphex-wide.
57596         * stdio-common/tst-fphex.c: Define a few macros to make the
57597         test reusable.  Use them.
57598         * stdio-common/tst-fphex-wide.c: New file.
57600 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
57602         [BZ #6911]
57603         * manual/macros.texi (gnusystems): New macro.
57604         (nongnusystems): Likewise.
57605         (gnulinuxhurdsystems): Likewise.
57606         (gnuhurdsystems): Likewise..
57607         (gnulinuxsystems): Likewise.
57608         * manual/charset.texi: Use new macros or @theglibc{} to refer to
57609         variants of the GNU system, not "GNU system".
57610         * manual/conf.texi: Likewise.
57611         * manual/errno.texi: Likewise.  Update example of errno macro
57612         expansion.
57613         * manual/filesys.texi: Likewise.
57614         (getumask): Document as specific to GNU/Hurd.
57615         * manual/install.texi: Likewise.  Reword some references to
57616         GNU/Linux.
57617         * manual/intro.texi: Likewise.
57618         * manual/io.texi: Likewise.
57619         (File Name Portability): Detail which constraints are inapplicable
57620         to all GNU systems and which are only inapplicable to GNU/Hurd.
57621         * manual/job.texi: Likewise.
57622         * manual/llio.texi: Likewise.
57623         (O_NOCTTY): Document as present on GNU/Linux.
57624         * manual/maint.texi: Likewise.
57625         * manual/memory.texi: Likewise.
57626         * manual/pattern.texi: Likewise.
57627         * manual/pipe.texi: Likewise.
57628         * manual/process.texi: Likewise.
57629         * manual/resource.texi: Likewise.
57630         (RUSAGE_CHILDREN): Remove statement about specifying a particular
57631         child on GNU/Hurd.
57632         * manual/setjmp.texi: Likewise.
57633         * manual/signal.texi: Likewise.
57634         * manual/startup.texi: Likewise.
57635         * manual/stdio.texi: Likewise.
57636         * manual/terminal.texi: Likewise.
57637         (ONLCR): Document as POSIX.
57638         (OXTABS): Document availability on GNU/Linux as XTABS.
57639         (ONOEOT): Document availability separately from other bits.
57640         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57641         * manual/time.texi: Likewise.
57642         * manual/users.texi: Likewise.
57643         * INSTALL: Regenerated.
57644         * sysdeps/gnu/errlist.c: Regenerated.
57646         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57647         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57648         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
57649         puts.
57650         * configure: Regenerated.
57652 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
57654         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57655         default includes instead of AC_HEADER_CHECK.
57656         * sysdeps/i386/configure: Regenerated.
57658         [BZ #10716]
57659         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57660         * math/s_cacoshf.c (__cacoshf): Likewise.
57661         * math/s_cacoshl.c (__cacoshl): Likewise.
57662         * math/s_casinh.c (__casinh): Set signs of result from argument.
57663         * math/s_casinhf.c (__casinhf): Likewise.
57664         * math/s_casinhl.c (__casinhl): Likewise.
57665         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57666         (casinh_test): Add more tests.
57667         * sysdeps/i386/fpu/libm-test-ulps: Update.
57668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57670 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
57672         * po/zh_TW.po: Update from translation team.
57674         * login/Makefile (distribute): Remove variable.
57675         * catgets/Makefile: Likewise.
57676         * mach/Makefile: Likewise.
57677         * malloc/Makefile: Likewise.
57678         * misc/Makefile: Likewise.
57679         * iconv/Makefile: Likewise.
57680         * nscd/Makefile: Likewise.
57681         * hurd/Makefile: Likewise.
57682         * manual/Makefile: Likewise.
57683         * locale/Makefile: Likewise.
57684         * intl/Makefile: Likewise.
57685         * conform/Makefile: Likewise.
57686         * nss/Makefile: Likewise.
57687         * time/Makefile: Likewise.
57688         * soft-fp/Makefile: Likewise.
57689         * dirent/Makefile: Likewise.
57690         * gmon/Makefile: Likewise.
57691         * po/Makefile: Likewise.
57692         * rt/Makefile: Likewise.
57693         * socket/Makefile: Likewise.
57694         * math/Makefile: Likewise.
57695         * signal/Makefile: Likewise.
57696         * debug/Makefile: Likewise.
57697         * elf/Makefile: Likewise.
57698         * timezone/Makefile: Likewise.
57699         * stdlib/Makefile: Likewise.
57700         * iconvdata/Makefile: Likewise.
57701         * sunrpc/Makefile: Likewise.
57702         * io/Makefile: Likewise.
57703         * argp/Makefile: Likewise.
57704         * inet/Makefile: Likewise.
57705         * hesiod/Makefile: Likewise.
57706         * grp/Makefile: Likewise.
57707         * csu/Makefile: Likewise.
57708         * wctype/Makefile: Likewise.
57709         * crypt/Makefile: Likewise.
57710         * libio/Makefile: Likewise.
57711         * string/Makefile: Likewise.
57712         * nis/Makefile: Likewise.
57713         * resolv/Makefile: Likewise.
57714         * stdio-common/Makefile: Likewise.
57715         * wcsmbs/Makefile: Likewise.
57716         * dlfcn/Makefile: Likewise.
57717         * posix/Makefile: Likewise.
57719         [BZ #6959]
57720         * timezone/Makefile: Don't install timezone files, just the programs
57721         and scripts.
57723 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
57725         * nss/databases.def: Add missing gshadow entry.
57727         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
57729 2012-03-06  Marek Polacek  <polacek@redhat.com>
57731         [BZ #13726]
57732         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57733         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57734         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57735         * stdio-common/tst-long-dbl-fphex.c: New file.
57737 2012-03-06  David S. Miller  <davem@davemloft.net>
57739         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57740         (set_obp_int): New function.
57741         (get_obp_int): New function.
57742         (__get_clockfreq_via_dev_openprom): Likewise.
57743         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57744         Avoid unused variable warnings on 'val' and use builtin_expect.
57745         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57746         __builtin_expect.
57747         (INLINE_CLONE_SYSCALL): Likewise.
57749 2012-03-05  David S. Miller  <davem@davemloft.net>
57751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57753 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
57755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57757         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57758         only for |x| >= 40.
57759         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57761 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
57763         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57764         Replace gettimeofday with __vdso_gettimeofday.
57766         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57767         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57768         __vdso_clock_gettime and __vdso_getcpu.
57770         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57771         time with __vdso_time.
57773 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
57775         * manual/lang.texi (size_t): Note types to which size_t may be
57776         equivalent with the GNU C Library, but do not describe when
57777         differences between them are significant.
57779 2012-03-05  Andreas Jaeger  <aj@suse.de>
57781         * sysdeps/i386/fpu/libm-test-ulps: Update.
57783 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
57785         [BZ #3976]
57786         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57787         (__ieee754_pow): Save and restore rounding mode and use
57788         round-to-nearest for main computations.
57789         * math/libm-test.inc (pow_test_tonearest): New function.
57790         (pow_test_towardzero): Likewise.
57791         (pow_test_downward): Likewise.
57792         (pow_test_upward): Likewise.
57793         (main): Call the new functions.
57794         * sysdeps/i386/fpu/libm-test-ulps: Update.
57795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57797         [BZ #3976]
57798         * math/libm-test.inc (cosh_test_tonearest): New function.
57799         (cosh_test_towardzero): Likewise.
57800         (cosh_test_downward): Likewise.
57801         (cosh_test_upward): Likewise.
57802         (sinh_test_tonearest): Likewise.
57803         (sinh_test_towardzero): Likewise.
57804         (sinh_test_downward): Likewise.
57805         (sinh_test_upward): Likewise.
57806         (main): Call the new functions.
57807         * sysdeps/i386/fpu/libm-test-ulps: Update.
57808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57810 2012-03-05  Tom de Vries  <tom@codesourcery.com>
57812         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57813         default stack guard is set in last bytes.
57814         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57816 2012-03-05  Kees Cook  <keescook@chromium.org>
57818         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57820         [BZ #13656]
57821         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57822         possibly allocate from heap instead of stack.
57823         * stdio-common/bug-vfprintf-nargs.c: New file.
57824         * stdio-common/Makefile (tests): Add nargs overflow test.
57826 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
57828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57830 2012-03-03  Marek Polacek  <polacek@redhat.com>
57832         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57833         * math/math_private.h: Likewise.
57834         * stdlib/tst-strtod.c: Likewise.
57835         * sysdeps/i386/i486/bits/atomic.h: Likewise.
57836         * sysdeps/x86_64/bits/atomic.h: Likewise.
57838 2012-03-02  David S. Miller  <davem@davemloft.net>
57840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57844         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57845         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57846         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57847         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57849 2012-03-02  Roland McGrath  <roland@hack.frob.com>
57851         [BZ #13792]
57852         * manual/examples/README: New file, says the example source files
57853         can be used under GPL>=2.
57854         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
57855         line containing just "*/".
57856         * manual/examples/add.c: Add copyright header (GPL>=2).
57857         * manual/examples/argp-ex1.c: Likewise.
57858         * manual/examples/argp-ex2.c: Likewise.
57859         * manual/examples/argp-ex3.c: Likewise.
57860         * manual/examples/argp-ex4.c: Likewise.
57861         * manual/examples/atexit.c: Likewise.
57862         * manual/examples/db.c: Likewise.
57863         * manual/examples/dir.c: Likewise.
57864         * manual/examples/dir2.c: Likewise.
57865         * manual/examples/execinfo.c: Likewise.
57866         * manual/examples/filecli.c: Likewise.
57867         * manual/examples/filesrv.c: Likewise.
57868         * manual/examples/fmtmsgexpl.c: Likewise.
57869         * manual/examples/genpass.c: Likewise.
57870         * manual/examples/inetcli.c: Likewise.
57871         * manual/examples/inetsrv.c: Likewise.
57872         * manual/examples/isockad.c: Likewise.
57873         * manual/examples/longopt.c: Likewise.
57874         * manual/examples/memopen.c: Likewise.
57875         * manual/examples/memstrm.c: Likewise.
57876         * manual/examples/mkfsock.c: Likewise.
57877         * manual/examples/mkisock.c: Likewise.
57878         * manual/examples/mygetpass.c: Likewise.
57879         * manual/examples/pipe.c: Likewise.
57880         * manual/examples/popen.c: Likewise.
57881         * manual/examples/rprintf.c: Likewise.
57882         * manual/examples/search.c: Likewise.
57883         * manual/examples/select.c: Likewise.
57884         * manual/examples/setjmp.c: Likewise.
57885         * manual/examples/sigh1.c: Likewise.
57886         * manual/examples/sigusr.c: Likewise.
57887         * manual/examples/stpcpy.c: Likewise.
57888         * manual/examples/strdupa.c: Likewise.
57889         * manual/examples/strftim.c: Likewise.
57890         * manual/examples/strncat.c: Likewise.
57891         * manual/examples/subopt.c: Likewise.
57892         * manual/examples/swapcontext.c: Likewise.
57893         * manual/examples/termios.c: Likewise.
57894         * manual/examples/testopt.c: Likewise.
57895         * manual/examples/testpass.c: Likewise.
57896         * manual/examples/timeval_subtract.c: Likewise.
57898         [BZ #13792]
57899         * manual/time.texi (Elapsed Time): Move timeval_subtract example
57900         function to ...
57901         * manual/timeval_subtract.c.texi: ... here, new file.
57903 2012-03-02  David S. Miller  <davem@davemloft.net>
57905         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
57907 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
57909         [BZ #3976]
57910         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
57911         (__sin): Save and restore rounding mode and use round-to-nearest
57912         for all computations.
57913         (__cos): Save and restore rounding mode and use round-to-nearest
57914         for all computations.
57915         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
57916         <fenv.h>.
57917         (tan): Save and restore rounding mode and use round-to-nearest for
57918         all computations.
57919         * math/libm-test.inc (cos_test_tonearest): New function.
57920         (cos_test_towardzero): Likewise.
57921         (cos_test_downward): Likewise.
57922         (cos_test_upward): Likewise.
57923         (sin_test_tonearest): Likewise.
57924         (sin_test_towardzero): Likewise.
57925         (sin_test_downward): Likewise.
57926         (sin_test_upward): Likewise.
57927         (tan_test_tonearest): Likewise.
57928         (tan_test_towardzero): Likewise.
57929         (tan_test_downward): Likewise.
57930         (tan_test_upward): Likewise.
57931         (main): Call the new functions.
57932         * sysdeps/i386/fpu/libm-test-ulps: Update.
57933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57935         [BZ #10135]
57936         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
57937         small n, then large n, before computing and testing k+n.
57938         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57939         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
57940         Likewise.
57941         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
57942         Likewise.
57943         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
57944         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
57945         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
57946         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
57947         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57948         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57949         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
57950         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
57951         * math/libm-test.inc (scalbn_test): Add more tests.
57952         (scalbln_test): Likewise.
57954         * manual/filesys.texi (mode_t): Describe constraints on size and
57955         signedness, not exact equivalence to a particular type.
57956         (ino_t): Likewise.
57957         (ino64_t): Likewise.
57958         (dev_t): Likewise.
57959         (nlink_t): Likewise.
57960         (blkcnt_t): Likewise.
57961         (blkcnt64_t): Likewise.
57962         * manual/llio.texi (off_t): Likewise.
57964         [BZ #3976]
57965         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
57966         (__ieee754_exp): Save and restore rounding mode and use
57967         round-to-nearest for all computations.
57968         * math/libm-test.inc (exp_test_tonearest): New function.
57969         (exp_test_towardzero): Likewise.
57970         (exp_test_downward): Likewise.
57971         (exp_test_upward): Likewise.
57972         (main): Call the new functions.
57973         * sysdeps/i386/fpu/libm-test-ulps: Update.
57974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57976 2012-03-01  Chris Demetriou  <cgd@google.com>
57978         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
57979         have predictable order.
57981 2012-03-01  David S. Miller  <davem@davemloft.net>
57983         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
57985         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
57986         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
57987         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
57988         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
57990         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
57991         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
57992         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
57993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
57994         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
57995         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
57996         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
57997         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
57998         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
58000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58002         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
58003         * sysdeps/sparc/fpu/libm-test-ulps: to here.
58004         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
58006         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
58007         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58008         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58009         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
58010         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
58011         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
58012         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
58013         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58014         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58015         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
58016         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
58017         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58018         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58019         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58020         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58021         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58022         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
58023         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
58024         * sysdeps/sparc/elf/configure: Regenerated.
58026 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
58028         * configure.in (AS, LD): Require binutils 2.20 or later.
58029         * configure: Regenerated.
58030         * manual/install.texi (Tools for Compilation): Give binutils 2.20
58031         as required minimum version.
58032         * INSTALL: Regenerated.
58034         [BZ #2541]
58035         [BZ #4108]
58036         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
58037         before squaring exponent.
58038         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
58039         bottom long double and 27 bits of top long double before squaring
58040         exponent.
58041         * math/libm-test.inc (erfc_test): Add more tests.
58042         * sysdeps/i386/fpu/libm-test-ulps: Update.
58043         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58046 2012-03-01  Kai Tietz  <ktietz@redhat.com>
58048         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
58049         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
58050         containing bit-fields.
58051         * soft-fp/extended.h (_FP_UNION_E): Likewise.
58052         * soft-fp/single.h (_FP_UNION_S): Likewise.
58053         * soft-fp/double.h (_FP_UNION_D): Likewise.
58055 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
58057         [BZ #13786]
58058         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
58059         not include ../strcmp.S.
58060         [USE_AS_STRNCASECMP_L]: Likewise.
58061         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
58062         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
58063         * sysdeps/i386/i686/multiarch/strncase_l-c.c
58064         (__strncasecmp_l_ia32): Define as alias to
58065         __strncasecmp_l_nonascii.
58067         [BZ #5794]
58068         * math/libm-test.inc (expm1_test): Add test for bug 5794.
58069         * sysdeps/i386/fpu/libm-test-ulps: Update.
58070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58072         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
58073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58075 2012-02-29  Jeff Law  <law@redhat.com>
58077         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
58078         out of bounds read.
58080 2012-02-29  Marek Polacek  <polacek@redhat.com>
58082         [BZ #13706]
58083         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
58084         * elf/Makefile: Add rules to run tst-unused-dep.out.
58086 2012-02-28  David S. Miller  <davem@davemloft.net>
58088         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
58089         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
58090         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
58091         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
58092         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
58093         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
58095 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
58097         * math/libm-test.inc (llround_test): Move one test from
58098         lround_test.  Use TEST_f_L in moved test.
58099         (lround_test): Move misplaced test to llround_test.  Add testcase
58100         from bug 2561.
58102 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
58104         * sysdeps/x86_64/fpu/e_expf.S: New file.
58105         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
58107 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
58109         [BZ #13637]
58110         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
58111         of remain_len that may cause incomplete multi-byte character and
58112         false match.
58113         * posix/bug-regex33.c: New file.
58114         * posix/Makefile (tests): Add bug-regex33.
58116 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
58118         * manual/macros.texi: New file.
58119         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
58120         * manual/libc.texinfo: Include macros.texi.
58121         * manual/creatute.texi: Likewise.
58122         * manual/install.texi: Likewise.
58123         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
58124         @glibcadj{} in references to the GNU C Library.
58125         * manual/charset.texi: Likewise.
58126         * manual/conf.texi: Likewise.
58127         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
58128         when not using those macros.
58129         * manual/creature.texi: Likewise.
58130         * manual/crypt.texi: Likewise.
58131         * manual/errno.texi: Likewise.
58132         * manual/filesys.texi: Likewise.
58133         * manual/header.texi: Likewise.
58134         * manual/install.texi: Likewise.
58135         * manual/intro.texi: Likewise.
58136         * manual/io.texi: Likewise.
58137         * manual/job.texi: Likewise.
58138         * manual/lang.texi: Likewise.
58139         * manual/libc.texiinfo: Likewise.
58140         * manual/llio.texi: Likewise.
58141         * manual/locale.texi: Likewise.
58142         * manual/maint.texi: Likewise.
58143         * manual/math.texi: Likewise.
58144         * manual/memory.texi: Likewise.
58145         * manual/message.texi: Likewise.
58146         * manual/nss.texi: Likewise.
58147         * manual/pattern.texi: Likewise.
58148         * manual/process.texi: Likewise.
58149         * manual/resource.texi: Likewise.
58150         * manual/search.texi: Likewise.
58151         * manual/setjmp.texi: Likewise.
58152         * manual/signal.texi: Likewise.
58153         * manual/socket.texi: Likewise.
58154         * manual/startup.texi: Likewise.
58155         * manual/stdio.texi: Likewise.
58156         * manual/string.texi: Likewise.
58157         * manual/sysinfo.texi: Likewise.
58158         * manual/syslog.texi: Likewise.
58159         * manual/terminal.texi: Likewise.
58160         * manual/time.texi: Likewise.
58161         * manual/users.texi: Likewise.
58162         * INSTALL: Regenerated.
58163         * NOTES: Regenerated.
58164         * sysdeps/gnu/errlist.c: Regenerated.
58166 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
58168         * include/dirent.h: Include <dirstream.h> before
58169         <dirent/dirent.h>.
58171 2012-02-28  David S. Miller  <davem@davemloft.net>
58173         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
58174         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
58175         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
58176         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
58178 2012-02-27  David S. Miller  <davem@davemloft.net>
58180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
58181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
58182         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
58183         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
58185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
58186         frame pointer instead of stack pointer relative arg slot.
58187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
58188         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
58189         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
58191 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
58193         [BZ #3992]
58194         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
58196 2012-02-27  David S. Miller  <davem@davemloft.net>
58198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
58199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
58200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
58202         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
58203         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
58204         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
58205         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
58207 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
58209         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
58210         later.  Allow versions 5-9.
58211         * configure: Regenerated.
58212         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
58213         required minimum version and 4.6 as recommended version.  Do not
58214         mention bugs in GCC 2.7 and 2.8.
58215         * INSTALL: Regenerated.
58217 2012-02-27  David S. Miller  <davem@davemloft.net>
58219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
58220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
58221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
58222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
58223         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
58224         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
58225         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
58226         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
58228         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
58229         manipulate bits before adding and subtracting TWO112[sx].
58230         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58232 2012-02-27  Roland McGrath  <roland@hack.frob.com>
58234         [BZ #13775]
58235         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
58236         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
58237         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
58238         being in POSIX, because they are in 1003.1-2008.
58240         * rt/tst-aio.c: Include <fcntl.h>.
58241         * rt/tst-aio7.c: Likewise.
58242         * rt/tst-aio64.c: Likewise.
58244         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
58246 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
58248         * manual/install.texi (--with-headers): Describe headers as
58249         interface headers, not private headers.
58250         (Specific advice for GNU/Linux systems): Describe use of headers
58251         from "make headers_install", not private headers from older
58252         kernels.
58253         * INSTALL: Regenerated.
58254         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
58255         Change to 2.6.19.
58256         * sysdeps/unix/sysv/linux/configure: Regenerated.
58258         * manual/llio.texi (fclean): Remove documentation.
58260         * manual/Makefile (libc-texi-generated): New variable.  Include
58261         version.texi.
58262         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
58263         $(libc-texi-generated), not duplicated list of files.
58264         (version.texi, stamp-version): New rules.
58265         (realclean): Remove $(libc-texi-generated), not individual files
58266         from that list.  Do not remove dir-add.texinfo.
58267         * manual/libc.texinfo: Comment out uses of edition numbers and
58268         references to printed manual.  Remove last-updated dates.
58269         (EDITION): Comment out.
58270         (ISBN): Likewise.
58271         (VERSION, UPDATED): Remove.
58272         (version.texi): Include.
58274 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
58276         * sysdeps/posix/spawni.c: Include <signal.h>.
58277         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
58278         * sysdeps/pthread/aio_fsync.c: Likewise.
58280 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
58282         * conform/Makefile (tests): Run only when not cross-compiling and
58283         when fast-check is not defined.
58285         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
58286         * conform/data/limits.h-data: Fixes for POSIX2008.
58287         * conform/run-conformtest.sh: Run all tests.
58288         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
58289         headers.
58290         * include/bits/dlfcn.h: Likewise.
58291         * include/langinfo.h: Likewise.
58292         * include/monetary.h: Likewise.
58293         * include/sys/poll.h: Likewise.
58295         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
58296         for __USE_GNU.
58297         * posix/spawn.h: Define __need_sigset_t.
58298         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
58299         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
58300         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
58301         to get sigevent_t only.
58302         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
58303         only for __USE_GNU.
58304         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58305         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58306         process_vm_writev only for __USE_GNU.
58307         * termios/termios.h: Declare tcgetsid also for POSIX2008.
58309         * conform/Makefile: For now ignore errors from run-conformtest.
58310         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
58311         POSIX to avoid namespace pollution.  Don't prepend headers.
58312         * conform/data/aio.h-data: Fixes for POSIX testing.
58313         * conform/data/fcntl.h-data: Likewise.
58314         * conform/data/glob.h-data: Likewise.
58315         * conform/data/grp.h-data: Likewise.
58316         * conform/data/pthread.h-data: Likewise.
58317         * conform/data/pwd.h-data: Likewise.
58318         * conform/data/signal.h-data: Likewise.
58319         * conform/data/spawn.h-data: Likewise.
58320         * conform/data/stdio.h-data: Likewise.
58321         * conform/data/stdlib.h-data: Likewise.
58322         * conform/data/stropts.h-data: Likewise.
58323         * conform/data/sys/mman.h-data: Likewise.
58324         * conform/data/sys/stat.h-data: Likewise.
58325         * conform/data/sys/types.h-data: Likewise.
58326         * conform/data/sys/wait.h-data: Likewise.
58327         * conform/data/time.h-data: Likewise.
58328         * conform/data/unistd.h-data: Likewise.
58329         * conform/data/utime.h-data: Likewise.
58331         * io/sys/stat.h: fchmod was always in POSIX.
58332         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
58333         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
58334         * rt/aio.h: Define __need_timespec before including <time.h>.
58335         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
58336         struct.  Add forward declaration of pthread_attr_t and use it in
58337         sigevent.
58338         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58339         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58340         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
58341         always remove CLK_TCK definition.
58343 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
58345         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
58347 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
58349         * conform/run-conformtest.sh: New file.
58350         * conform/Makefile: Run run-conformtest for tests.
58351         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
58352         support.
58354         * conform/data/uchar.h-data: New file.
58355         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
58356         * conform/data/arpa/inet.h-data: Likewise.
58357         * conform/data/assert.h-data: Likewise.
58358         * conform/data/complex.h-data: Likewise.
58359         * conform/data/cpio.h-data: Likewise.
58360         * conform/data/ctype.h-data: Likewise.
58361         * conform/data/dirent.h-data: Likewise.
58362         * conform/data/dlfcn.h-data: Likewise.
58363         * conform/data/errno.h-data: Likewise.
58364         * conform/data/fcntl.h-data: Likewise.
58365         * conform/data/float.h-data: Likewise.
58366         * conform/data/fmtmsg.h-data: Likewise.
58367         * conform/data/fnmatch.h-data: Likewise.
58368         * conform/data/ftw.h-data: Likewise.
58369         * conform/data/glob.h-data: Likewise.
58370         * conform/data/grp.h-data: Likewise.
58371         * conform/data/iconv.h-data: Likewise.
58372         * conform/data/inttypes.h-data: Likewise.
58373         * conform/data/langinfo.h-data: Likewise.
58374         * conform/data/libgen.h-data: Likewise.
58375         * conform/data/limits.h-data: Likewise.
58376         * conform/data/locale.h-data: Likewise.
58377         * conform/data/math.h-data: Likewise.
58378         * conform/data/monetary.h-data: Likewise.
58379         * conform/data/mqueue.h-data: Likewise.
58380         * conform/data/ndbm.h-data: Likewise.
58381         * conform/data/net/if.h-data: Likewise.
58382         * conform/data/netdb.h-data: Likewise.
58383         * conform/data/netinet/in.h-data: Likewise.
58384         * conform/data/nl_types.h-data: Likewise.
58385         * conform/data/poll.h-data: Likewise.
58386         * conform/data/pthread.h-data: Likewise.
58387         * conform/data/pwd.h-data: Likewise.
58388         * conform/data/regex.h-data: Likewise.
58389         * conform/data/sched.h-data: Likewise.
58390         * conform/data/search.h-data: Likewise.
58391         * conform/data/semaphore.h-data: Likewise.
58392         * conform/data/setjmp.h-data: Likewise.
58393         * conform/data/signal.h-data: Likewise.
58394         * conform/data/spawn.h-data: Likewise.
58395         * conform/data/stdarg.h-data: Likewise.
58396         * conform/data/stdio.h-data: Likewise.
58397         * conform/data/stdlib.h-data: Likewise.
58398         * conform/data/string.h-data: Likewise.
58399         * conform/data/strings.h-data: Likewise.
58400         * conform/data/stropts.h-data: Likewise.
58401         * conform/data/sys/ipc.h-data: Likewise.
58402         * conform/data/sys/mman.h-data: Likewise.
58403         * conform/data/sys/msg.h-data: Likewise.
58404         * conform/data/sys/resource.h-data: Likewise.
58405         * conform/data/sys/select.h-data: Likewise.
58406         * conform/data/sys/sem.h-data: Likewise.
58407         * conform/data/sys/shm.h-data: Likewise.
58408         * conform/data/sys/socket.h-data: Likewise.
58409         * conform/data/sys/stat.h-data: Likewise.
58410         * conform/data/sys/statvfs.h-data: Likewise.
58411         * conform/data/sys/time.h-data: Likewise.
58412         * conform/data/sys/timeb.h-data: Likewise.
58413         * conform/data/sys/times.h-data: Likewise.
58414         * conform/data/sys/types.h-data: Likewise.
58415         * conform/data/sys/uio.h-data: Likewise.
58416         * conform/data/sys/un.h-data: Likewise.
58417         * conform/data/sys/utsname.h-data: Likewise.
58418         * conform/data/sys/wait.h-data: Likewise.
58419         * conform/data/syslog.h-data: Likewise.
58420         * conform/data/tar.h-data: Likewise.
58421         * conform/data/termios.h-data: Likewise.
58422         * conform/data/utime.h-data: Likewise.
58423         * conform/data/utmpx.h-data: Likewise.
58424         * conform/data/varargs.h-data: Likewise.
58425         * conform/data/wchar.h-data: Likewise.
58426         * conform/data/wctype.h-data: Likewise.
58427         * conform/data/wordexp.h-data: Likewise.
58429         * include/stropts.h: New file.
58430         * include/uchar.h: New file.
58431         * include/aio.h: Changes to allow conformtest.pl to use the headers.
58432         * include/assert.h: Likewise.
58433         * include/ctype.h: Likewise.
58434         * include/dirent.h: Likewise.
58435         * include/dlfcn.h: Likewise.
58436         * include/fcntl.h: Likewise.
58437         * include/fnmatch.h: Likewise.
58438         * include/glob.h: Likewise.
58439         * include/grp.h: Likewise.
58440         * include/libio.h: Likewise.
58441         * include/locale.h: Likewise.
58442         * include/math.h: Likewise.
58443         * include/net/if.h: Likewise.
58444         * include/netdb.h: Likewise.
58445         * include/netinet/in.h: Likewise.
58446         * include/pthread.h: Likewise.
58447         * include/pwd.h: Likewise.
58448         * include/regex.h: Likewise.
58449         * include/sched.h: Likewise.
58450         * include/search.h: Likewise.
58451         * include/setjmp.h: Likewise.
58452         * include/signal.h: Likewise.
58453         * include/stdio.h: Likewise.
58454         * include/stdlib.h: Likewise.
58455         * include/string.h: Likewise.
58456         * include/sys/cdefs.h: Likewise.
58457         * include/sys/mman.h: Likewise.
58458         * include/sys/msg.h: Likewise.
58459         * include/sys/resource.h: Likewise.
58460         * include/sys/select.h: Likewise.
58461         * include/sys/socket.h: Likewise.
58462         * include/sys/stat.h: Likewise.
58463         * include/sys/statvfs.h: Likewise.
58464         * include/sys/time.h: Likewise.
58465         * include/sys/times.h: Likewise.
58466         * include/sys/uio.h: Likewise.
58467         * include/sys/utsname.h: Likewise.
58468         * include/sys/wait.h: Likewise.
58469         * include/termios.h: Likewise.
58470         * include/time.h: Likewise.
58471         * include/ulimit.h: Likewise.
58472         * include/unistd.h: Likewise.
58473         * include/utime.h: Likewise.
58474         * include/wchar.h: Likewise.
58475         * include/wctype.h: Likewise.
58476         * include/wordexp.h: Likewise.
58478         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58480         * time/time.h: TIME_UTC must be a macro.
58481         Make timespec_get available for ISO C11 only as well.
58483 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
58485         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58486         Reported by Peng Haitao <penght@cn.fujitsu.com>.
58488 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58490         * configure.in: Use -o not -a in test for unsupported multi-arch.
58492 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58494         * manual/texinfo.tex: Update to version 2012-01-19.16.
58496 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
58498         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58500 2012-02-24  Roland McGrath  <roland@hack.frob.com>
58502         [BZ #13738]
58503         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58504         * manual/fdl-1.3.texi: New file.
58505         * manual/fdl-1.1.texi: File removed.
58507         [BZ #13738]
58508         * manual/libc.texinfo (FDL_VERSION): New @set.
58509         Use it for mention of FDL in cover text.
58510         (Documentation License): Use it in @include file name.
58512 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58513             Roland McGrath  <roland@hack.frob.com>
58515         [BZ #5461]
58516         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58517         (not LONG_LONG_MAX and LONG_LONG_MIN.
58518         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58519         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
58520         name.
58521         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58523 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58525         [BZ #2547]
58526         [BZ #11365]
58527         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58528         manipulate bits before adding and subtracting TWO23[sx].
58529         * math/libm-test.inc (nearbyint_test): Add more tests.
58531 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58533         [BZ #2548]
58534         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58535         bits before adding and subtracting TWO23[sx].
58536         * math/libm-test.inc (rint_test): Add more tests.
58537         (rint_test_tonearest): Likewise.
58538         (rint_test_towardzero): Likewise.
58539         (rint_test_downward): Likewise.
58540         (rint_test_upward: Likewise.
58542 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58544         [BZ #10110]
58545         * include/stdc-predef.h: New file.  Extracted from features.h.
58546         * include/features.h: Include stdc-predef.h.
58547         * Makefile (headers): Add stdc-predef.h.
58548         * CONFORMANCE (Compiler limitations): Update.
58550 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
58552         * manual/libc.texinfo (VERSION, UPDATED): Revert.
58554 2012-02-21  David S. Miller  <davem@davemloft.net>
58556         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58557         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58559 2012-02-20  David S. Miller  <davem@davemloft.net>
58561         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58562         using a normal save/restore sequence, rather than allocating a
58563         dummy stack frame just to store a frame pointer and restore.
58564         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58566 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58568         * manual/install.texi: Fix stray word in line-wrapped comment.
58570 2012-02-20  David S. Miller  <davem@davemloft.net>
58572         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58573         both binutils and gcc support GOTDATA.
58575         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58576         "rd %pc" in the PIC register setup sequences.
58578         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58579         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58580         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58581         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58582         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58583         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58584         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58585         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58586         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58587         (SYSCALL_ERROR_HANDLER): Likewise.
58588         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58589         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58590         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58591         (SYSCALL_ERROR_HANDLER): Likewise.
58593         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58594         (HAVE_GCC_GOTDATA): New.
58595         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58596         relocation support in both binutils and gcc.
58597         * sysdeps/sparc/elf/configure: Regenerate.
58599         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58600         * sysdeps/sparc/sparc32/elf/configure: Delete.
58601         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58602         * sysdeps/sparc/sparc64/elf/configure: Delete.
58603         * sysdeps/sparc/elf/configure.in: New file.
58604         * sysdeps/sparc/elf/configure: Generate.
58606         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58607         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58608         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58609         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58610         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58612 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58614         * manual/install.texi: Do not mention specific glibc version
58615         numbers.
58616         * manual/libc.texinfo (VERSION, UPDATED): Update.
58617         (@copying): Use @copyright{} and range of years.
58619 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
58621         [BZ #13695]
58622         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58623         [crti.S not in sysdirs] (generated): Do not append.
58624         [crti.S not in sysdirs] (omit-deps): Likewise.
58625         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58626         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58627         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58628         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58629         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58630         Likewise.
58631         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58632         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58633         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58634         * csu/defs.awk: Remove file.
58635         * sysdeps/generic/initfini.c: Likewise.
58636         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58637         variable.
58638         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58639         Likewise.
58641 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58643         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58644         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58645         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58646         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58647         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58648         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58649         <bits/epoll.h>.
58650         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58651         (__EPOLL_PACKED): Define to empty if not defined by
58652         <bits/epoll.h>.
58653         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58654         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58655         bits/epoll.h.
58657 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58659         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58660         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58661         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58662         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58663         <bits/timerfd.h>.
58664         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58665         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58666         bits/timerfd.h.
58668 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
58670         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58671         in C locale.
58672         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58673         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58674         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58677 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
58679         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58680         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58682 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
58684         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58685         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58686         defined.
58687         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58688         Likewise.
58689         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58690         entry for 2.16.
58692 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
58694         * math/w_acos.c: Use non-signaling floating-point comparisons.
58695         * math/w_acosf.c: Likewise.
58696         * math/w_acosh.c: Likewise.
58697         * math/w_acoshf.c: Likewise.
58698         * math/w_acoshl.c: Likewise.
58699         * math/w_acosl.c: Likewise.
58700         * math/w_asin.c: Likewise.
58701         * math/w_asinf.c: Likewise.
58702         * math/w_asinl.c: Likewise.
58703         * math/w_atanh.c: Likewise.
58704         * math/w_atanhf.c: Likewise.
58705         * math/w_atanhl.c: Likewise.
58706         * math/w_exp2.c: Likewise.
58707         * math/w_exp2f.c: Likewise.
58708         * math/w_exp2l.c: Likewise.
58709         * math/w_j0.c: Likewise.
58710         * math/w_j0f.c: Likewise.
58711         * math/w_j0l.c: Likewise.
58712         * math/w_j1.c: Likewise.
58713         * math/w_j1f.c: Likewise.
58714         * math/w_j1l.c: Likewise.
58715         * math/w_jn.c: Likewise.
58716         * math/w_jnf.c: Likewise.
58717         * math/w_log.c: Likewise.
58718         * math/w_log10.c: Likewise.
58719         * math/w_log10f.c: Likewise.
58720         * math/w_log10l.c: Likewise.
58721         * math/w_log2.c: Likewise.
58722         * math/w_log2f.c: Likewise.
58723         * math/w_log2l.c: Likewise.
58724         * math/w_logf.c: Likewise.
58725         * math/w_logl.c: Likewise.
58726         * math/w_sqrt.c: Likewise.
58727         * math/w_sqrtf.c: Likewise.
58728         * math/w_sqrtl.c: Likewise.
58729         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58730         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58731         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58732         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58733         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58735 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58737         [BZ #9739]
58738         * manual/string.texi (strnlen): Use correct parameter name in
58739         equivalent expression.
58741 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58743         [BZ #11174]
58744         * manual/users.texi (seteuid): Consistently use neweuid for
58745         argument name.
58747 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
58749         [BZ #13704]
58750         * manual/nss.texi (Services in the NSS configuration): Correct
58751         list of services in example configuration file.
58753 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
58755         [BZ #11322]
58756         * manual/arith.texi: Remove statements about negative zero
58757         behaving identically to zero.
58759 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
58761         [BZ #5993]
58762         * manual/install.texi: Do not document upgrading from libc5.
58764 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
58766         [BZ #4596]
58767         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58769 2012-02-18  David S. Miller  <davem@davemloft.net>
58771         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58772         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58773         %o7 across the call.
58774         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58775         instead.
58776         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58777         SETUP_PIC_REG_LEAF.
58778         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58779         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58780         * sysdeps/sparc/crtn.S: Likewise.
58782 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
58784         * aout/Makefile: Remove.
58786 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
58788         [BZ #13058]
58789         * manual/examples/argp-ex1.c (main): Format definition in GNU
58790         style.
58791         * manual/examples/argp-ex2.c (main): Likewise.
58792         * manual/examples/argp-ex3.c (main): Likewise.
58793         * manual/examples/argp-ex4.c (main): Likewise.
58794         * manual/examples/longopt.c (main): Use new-style prototype
58795         definition.
58796         * manual/examples/strncat.c (main): Specify return type and use
58797         (void) for arguments.
58798         * manual/examples/subopt.c (main): Use char **argv argument.
58800 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58802         [BZ #5077]
58803         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58804         rounding modes.
58806 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
58808         [BZ #6907]
58809         * manual/string.texi (strchr): Change when strchrnul is
58810         recommended.
58812 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
58814         [BZ #174]
58815         * manual/locale.texi (setlocale): Document LOCPATH.
58817 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58819         [BZ #10210]
58820         * manual/process.texi (execle): Move @dots{} before last argument.
58822 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
58824         [BZ #12047]
58825         * manual/charset.texi (Generic Charset Conversion): Fix typo
58826         (LC_TYPE -> LC_CTYPE).
58828 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
58830         [BZ #5805]
58831         * manual/arith.texi (scalbn): Use @var{} on parameter names.
58832         (scalbnf): Likewise.
58833         (scalbnl): Likewise.
58834         (scalbln): Likewise.
58835         (scalblnf): Likewise.
58836         (scalblnl): Likewise.
58837         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58838         (vwarnx): Likewise.
58839         (verr): Likewise.
58840         (verrx): Likewise.
58841         * manual/filesys.texi (telldir): Use braces around return type.
58842         * manual/llio.texi (mmap): Add space after comma.
58843         (mmap64): Likewise.
58844         * manual/math.texi (jn): Use @var{} on parameter names.
58845         (jnf): Likewise.
58846         (jnl): Likewise.
58847         (yn): Likewise.
58848         (ynf): Likewise.
58849         (ynl): Likewise.
58850         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
58851         line.
58852         * manual/resource.texi (ulimit): Use @dots{} instead of literal
58853         "...".
58854         (sched_get_priority_min): Remove semicolon on @deftypefun line.
58855         (sched_get_priority_max): Likewise.
58856         * manual/signal.texi (sigvec): Add space after comma.
58857         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
58858         names.
58859         (if_indextoname): Likewise.
58860         (if_freenameindex): Likewise.
58861         (sendto): Use ',' instead of '.' in prototype.
58862         * manual/startup.texi (syscall): Use @dots{} instead of literal
58863         "...".
58864         * manual/stdio.texi (__fpending): Separate initial words of
58865         paragraph from @deftypefun line.
58866         * manual/syslog.texi (syslog): Use @dots{} instead of literal
58867         "...".
58868         (vsyslog): Use @var{} on parameter names.
58869         * manual/terminal.texi (stty): Use @var{} on parameter names.
58870         * manual/users.texi (getutmp): Use @var{} on parameter names.
58871         (getutmpx): Likewise.
58873 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58875         [BZ #6884]
58876         * manual/stdio.texi (fopen): Fix typos in description of
58877         ",ccs=STRING".
58879 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
58881         [BZ #4026]
58882         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
58883         get clock_id definition.
58885 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
58887         [BZ #4822]
58888         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
58889         (madvise): Cast every argument to void on its own.
58891 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58893         [BZ #9902]
58894         * manual/startup.texi (Exit Status): Fix typo.
58896 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
58898         [BZ #10140]
58899         * manual/examples/argp-ex1.c: Include <stdlib.h>.
58900         * manual/examples/argp-ex2.c: Likewise.
58901         * manual/examples/argp-ex3.c: Likewise.
58903 2012-02-16  Richard Henderson  <rth@redhat.com>
58905         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
58906         * sysdeps/s390/s390-32/initfini.c: Remove.
58907         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
58908         * sysdeps/s390/s390-64/initfini.c: Remove.
58910 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58912         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
58913         compiler output for sysdeps/generic/initfini.c.
58914         * sysdeps/sh/elf/initfini.c: Remove file.
58916 2012-02-16  David S. Miller  <davem@davemloft.net>
58918         [BZ #11494]
58919         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
58921         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
58922         * sysdeps/sparc/crti.S: New file.
58923         * sysdeps/sparc/crtn.S: New file.
58924         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
58925         * sysdeps/sparc/sparc64/Makefile: Likewise.
58927 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
58929         [BZ #3335]
58930         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
58932 2012-02-15  Roland McGrath  <roland@hack.frob.com>
58934         [BZ #4822]
58935         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
58937         * mach/devstream.c (cookie_io_functions_t): Macro removed.
58938         (write, read, close): Likewise.
58939         Patch by Aurelien Jarno <aurelien@aurel32.net>.
58941 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
58943         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
58944         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
58945         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
58946         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
58947         <bits/signalfd.h>.
58948         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
58949         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58950         bits/signalfd.h.
58952 2012-02-14  Marek Polacek  <polacek@redhat.com>
58954         * sysdeps/x86_64/crti.S: New file.
58955         * sysdeps/x86_64/crtn.S: New file.
58956         * sysdeps/x86_64/elf/initfini.c: Remove file.
58958 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
58960         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
58961         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
58962         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
58963         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
58964         <bits/inotify.h>.
58965         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
58966         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58967         bits/inotify.h.
58969 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
58971         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
58972         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
58973         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
58974         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
58975         <bits/eventfd.h>.
58976         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
58977         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58978         bits/eventfd.h.
58980 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
58982         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
58983         __feraiseexcept instead of feraiseexcept.
58985         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
58986         nanosleep invocations.
58987         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
58988         strings, and add error checking for a nanosleep invocations.
58990 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
58992         Replace FSF snail mail address with URLs, as per GNU coding standards.
58993         Most of the snail mail addresses were wrong anyway, and omitting
58994         them makes the source code easier to maintain.  Almost all of the
58995         changes are to license notices and to locale LC_IDENTIFICATION
58996         addresses, except for this one:
58997         * manual/libc.texinfo: In "Published by", give the FSF's URL,
58998         not its snail mail address.
59000 2012-02-09  Richard Henderson  <rth@twiddle.net>
59002         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
59003         of kernel-features.h.
59005         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
59007 2012-02-08  Marek Polacek  <polacek@redhat.com>
59009         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
59010         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
59011         * sysdeps/gnu/_G_config.h: Likewise.
59012         * sysdeps/generic/_G_config.h: Likewise.
59014 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
59016         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
59017         tests.
59018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59020         * sysdeps/powerpc/powerpc32/crti.S: New file.
59021         * sysdeps/powerpc/powerpc32/crtn.S: New file.
59022         * sysdeps/powerpc/powerpc64/crti.S: New file.
59023         * sysdeps/powerpc/powerpc64/crtn.S: New file.
59025         * Makeconfig (have-initfini): Don't set.
59026         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
59027         * configure.in (nopic_initfini): Don't substitute.
59028         * config.h.in (HAVE_INITFINI): Don't #undef.
59029         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
59030         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
59032 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
59034         Support crti.S and crtn.S provided directly by architectures.
59035         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
59036         [crti.S in sysdirs] (omit-deps): Likewise.
59037         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
59038         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
59039         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
59040         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
59041         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
59042         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
59043         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
59044         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
59045         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
59046         compiler output for sysdeps/generic/initfini.c.
59047         * sysdeps/i386/elf/Makefile: Remove file.
59048         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
59050 2012-02-07  Marek Polacek  <polacek@redhat.com>
59052         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
59053         * sysdeps/gnu/_G_config.h: Likewise.
59054         * sysdeps/mach/hurd/_G_config.h: Likewise.
59056 2012-02-07  Marek Polacek  <polacek@redhat.com>
59058         * math/Makefile (tests): Add tst-CMPLX2.
59059         * math/tst-CMPLX2.c: New file.
59061 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
59063         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59065         * math/libm-test.inc (jn_test): Add missing L suffix.
59067 2012-02-06  Marek Polacek  <polacek@redhat.com>
59069         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
59070         * sysdeps/i386/fpu/e_powf.S: Likewise.
59071         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59072         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59073         * sysdeps/i386/fpu/e_acosh.S: Likewise.
59074         * sysdeps/i386/fpu/e_pow.S: Likewise.
59075         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59076         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59077         * sysdeps/i386/fpu/s_expm1.S: Likewise.
59078         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59079         * sysdeps/i386/fpu/e_log2.S: Likewise.
59080         * sysdeps/i386/fpu/e_log2l.S: Likewise.
59081         * sysdeps/i386/fpu/e_scalb.S: Likewise.
59082         * sysdeps/i386/fpu/e_powl.S: Likewise.
59083         * sysdeps/i386/fpu/s_log1p.S: Likewise.
59084         * sysdeps/i386/fpu/e_log10f.S: Likewise.
59085         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59086         * sysdeps/i386/fpu/e_logl.S: Likewise.
59087         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59088         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
59089         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59090         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59091         * sysdeps/i386/fpu/e_log2f.S: Likewise.
59092         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59093         * sysdeps/i386/fpu/e_log.S: Likewise.
59094         * sysdeps/i386/fpu/s_cexp.S: Likewise.
59095         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59096         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
59097         * sysdeps/i386/fpu/e_logf.S: Likewise.
59098         * sysdeps/i386/fpu/e_log10l.S: Likewise.
59099         * sysdeps/i386/fpu/e_atanh.S: Likewise.
59100         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
59101         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59102         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59103         * sysdeps/i386/fpu/e_log10.S: Likewise.
59104         * sysdeps/i386/fpu/s_frexp.S: Likewise.
59105         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59106         * sysdeps/i386/fpu/s_asinh.S: Likewise.
59107         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59108         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59109         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59110         * sysdeps/i386/asm-syntax.h: Likewise.
59111         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59112         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59113         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59114         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
59115         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
59116         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59117         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59118         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59119         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59120         * sysdeps/powerpc/sysdep.h: Likewise.
59121         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
59122         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59124 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
59126         [BZ #411]
59127         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
59129 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
59131         * sysdeps/i386/sysdep.h: Include <features.h>.
59132         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
59133         version.
59135 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
59137         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
59138         Define.
59139         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
59140         LOAD_PIC_REG_STR.
59142 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
59144         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
59145         (SETUP_PIC_REG): Use GET_PC_THUNK.
59146         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
59147         macro.
59149 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
59151         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
59152         for non-PIC compilation.
59153         (SETUP_PIC_REG): Add .p2align directive.
59154         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
59155         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
59156         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59157         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59158         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
59159         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59160         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
59161         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59162         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59163         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59164         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59165         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59166         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59167         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59168         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59169         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
59170         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
59171         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59172         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59173         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59174         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59175         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
59176         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59177         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59178         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
59179         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
59180         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59181         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
59182         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59183         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59184         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59185         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59186         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59187         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59188         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59189         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59190         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59191         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59192         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59193         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59194         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59196 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
59198         * math/tst-CMPLX.c: Include <stdio.h>.
59200 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
59202         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
59203         float.
59204         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59205         * sysdeps/sparc/bits/mathdef.h: Likewise.
59207 2012-01-31  Marek Polacek  <polacek@redhat.com>
59209         * libio/libio.h: Don't define _PARAMS.
59210         * locale/programs/config.h: Don't define PARAMS.
59211         * stdlib/strtol_l.c: Likewise.
59212         (__strtol_l): Remove PARAMS from the prototype.
59214 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
59216         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
59217         names.  Just use the correct names.  Remove unnecessary wrapper
59218         functions.
59219         * malloc/arena.c: Likewise.
59220         * malloc/hooks.c: Likewise.
59222         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
59223         ARENA_TEST says not to.  Simplify test for creation of a new arena.
59224         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
59226 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
59228         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
59229         into tail calls.
59230         (update_get_addr): New function.
59231         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
59232         GET_ADDR_MODULE parameter.
59234 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
59236         * crypt/cert.c: Remove __STDC__ conditionals.
59237         * crypt/crypt-entry.c: Likewise.
59238         * crypt/crypt_util.c: Likewise.
59239         * libio/filedoalloc.c: Likewise.
59240         * libio/fileops.c: Likewise.
59241         * libio/genops.c: Likewise.
59242         * libio/iofclose.c: Likewise.
59243         * libio/iofdopen.c: Likewise.
59244         * libio/iofopen.c: Likewise.
59245         * libio/iofopen64.c: Likewise.
59246         * libio/iogetdelim.c: Likewise.
59247         * libio/iopopen.c: Likewise.
59248         * libio/obprintf.c: Likewise.
59249         * libio/oldfileops.c: Likewise.
59250         * libio/oldiofclose.c: Likewise.
59251         * libio/oldiofdopen.c: Likewise.
59252         * libio/oldiofopen.c: Likewise.
59253         * libio/oldiopopen.c: Likewise.
59254         * libio/wfiledoalloc.c: Likewise.
59255         * libio/wgenops.c: Likewise.
59256         * locale/programs/xmalloc.c: Likewise.
59257         * misc/syslog.c: Likewise.
59258         * stdio-common/xbug.c: Likewise.
59259         * string/memchr.c: Likewise.
59260         * string/memcmp.c: Likewise.
59261         * string/memrchr.c: Likewise.
59262         * string/rawmemchr.c: Likewise.
59263         * sysdeps/posix/getcwd.c: Likewise.
59264         * time/strftime_l.c: Likewise.
59266 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
59268         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
59269         * config.make.in (config-cflags-sse2avx): Define.
59270         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
59271         Fix typo.
59273 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
59275         * scripts/config.guess: Update from upstream config git repository.
59276         * scripts/config.sub: Likewise.
59278 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
59280         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
59281         (EM_NUM): Update.
59282         (R_TILEPRO_*, R_TILEGX_*): New macros.
59284         * scripts/firstversions.awk: Fix bug in version range handling.
59286         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
59288         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
59290         * include/sys/epoll.h: New file.
59291         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
59292         libc_hidden_def.
59294 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
59296         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
59297         Avoid unnecessary __WORDSIZE == 64 test.
59298         (fmaxf): Use VEX format if possible.
59299         (fmax): Likewise.
59300         (fminf): Likewise.
59301         (fmin): Likewise.
59303         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
59304         * math/math_private.h: Remove libc_fegetround* and
59305         libc_fesetround*.
59306         * sysdeps/i386/configure.in: Check for -msse2avx.
59307         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
59308         also if SSE2AVX is defined.
59309         Remove libc_fegetround* and libc_fesetround*.
59310         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
59311         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
59312         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
59313         of HAS_YMM_USABLE.
59314         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59315         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59316         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59317         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59318         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59320         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
59322 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59324         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
59325         size is not set.
59326         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59328 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
59330         [BZ #13618]
59331         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
59332         relocation.
59333         * Makeconfig (libm): Define.
59334         * elf/Makefile: Add rules to build and run tst-relsort1.
59335         * elf/tst-relsort1.c: New file.
59336         * elf/tst-relsort1mod1.c: New file.
59337         * elf/tst-relsort1mod2.c: New file.
59339 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
59341         * math/s_ldexp.c: Remove __STDC__ conditionals.
59342         * math/s_ldexpf.c: Likewise.
59343         * math/s_ldexpl.c: Likewise.
59344         * math/s_nextafter.c: Likewise.
59345         * math/s_nexttowardf.c: Likewise.
59346         * math/s_significand.c: Likewise.
59347         * math/s_significandf.c: Likewise.
59348         * math/s_significandl.c: Likewise.
59349         * math/w_jnl.c: Likewise.
59350         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59351         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59352         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59353         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59354         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59355         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59356         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
59357         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59358         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59359         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59360         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59361         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59362         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59363         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59364         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59365         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59366         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59367         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59368         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59369         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59370         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59371         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59372         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59373         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59374         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59375         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59376         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59377         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59378         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59379         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59380         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59381         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59382         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59383         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59384         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59385         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59386         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59387         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59388         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59389         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59390         * sysdeps/ieee754/k_standard.c: Likewise.
59391         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59392         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59393         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59394         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59395         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59396         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59397         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59398         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59399         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59400         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59401         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59402         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59403         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59404         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59405         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59406         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59407         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59408         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59409         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59410         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59411         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59412         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59413         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59414         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59415         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59416         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59417         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59418         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59419         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59420         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59421         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59422         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
59423         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59424         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59425         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59426         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59427         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
59428         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59429         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59430         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
59431         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
59432         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59433         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
59434         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
59435         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59436         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59437         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59438         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59439         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59440         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
59441         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
59442         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59443         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59444         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59445         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59446         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59447         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
59448         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59449         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59450         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59451         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59452         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59453         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59454         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59455         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59456         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59457         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59458         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59459         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59460         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59461         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59462         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59463         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59464         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59465         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59466         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59467         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59468         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59469         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59470         * sysdeps/ieee754/s_matherr.c: Likewise.
59471         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59472         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59473         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59474         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59476 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59478         * crypt/md5.h: Remove __STDC__ conditionals.
59479         * libio/libioP.h: Likewise.
59480         * locale/programs/config.h: Likewise.
59481         * sysdeps/generic/sysdep.h: Likewise.
59482         * sysdeps/i386/asm-syntax.h: Likewise.
59483         * sysdeps/s390/asm-syntax.h: Likewise.
59484         * sysdeps/unix/sysdep.h: Likewise.
59485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59488 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
59490         * libio/libio.h: Remove __STDC__ conditionals.
59491         * malloc/obstack.h: Likewise.
59492         * math/complex.h: Likewise.
59493         * math/math.h: Likewise.
59494         * sysdeps/generic/_G_config.h: Likewise.
59495         * sysdeps/gnu/_G_config.h: Likewise.
59496         * sysdeps/mach/hurd/_G_config.h: Likewise.
59497         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59498         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59499         * sysdeps/sparc/bits/mathdef.h: Likewise.
59501 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
59503         [BZ #13583]
59504         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59505         Clean up HAS_* macros.
59506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59507         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59508         possible.
59509         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59510         HAS_AVX.
59511         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59512         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59513         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59514         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59515         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59517 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
59519         * elf/tst-unique3.cc (gets): Remove declaration.
59520         * elf/tst-unique3lib.cc (gets): Likewise.
59521         * elf/tst-unique3lib2.cc (gets): Likewise.
59522         * elf/tst-unique4.cc (gets): Likewise.
59524 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
59526         * include/stdio.h: Add C++ protection.  Add gets declarations and
59527         definitions.
59528         * debug/tst-chk1.c: Don't declare gets here.
59529         * stdio-common/tst-gets.c: Likewise.
59531 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59533         * posix/glob: Remove directory.
59535 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
59537         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59539 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
59541         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59542         of the non-standard EPFNOSUPPORT.
59544 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59546         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59547         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59548         ANYWHERE set to 1 only on KERN_NO_SPACE error.
59550 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
59552         * wcsmbs/uchar.h: Test __STDC_VERSION__.
59554 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
59556         * nscd/aicache.c (addhstaiX): Do not cache negative results of
59557         transient errors.
59558         * nscd/grpcache.c (cache_addgr): Likewise.
59559         * nscd/hstcache.c (cache_addhst): Likewise.
59560         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59561         * nscd/pwdcache.c (cache_addpw): Likewise.
59562         * nscd/servicescache.c (cache_addserv): Likewise.
59564 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
59566         * malloc/malloc.c: Various cleanups.
59567         * malloc/hooks.c: Likewise.
59569         * stdlib/Makefile (tests): Add bug-fmtmsg1.
59570         * stdlib/bug-fmtmsg1.c: New file.
59572         * stdlib/fmtmsg.c (init): Add missing unlock.
59573         Patch by Peng Haitao <penght@cn.fujitsu.com>.
59575 2012-01-12  Marek Polacek  <polacek@redhat.com>
59577         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59578         and _GNU_SOURCE.
59580 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59582         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59583         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59584         macro to ensure uniqueness of label name.
59585         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59586         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59588 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
59590         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59592         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59593         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59594         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59595         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59597 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
59599         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59601         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59602         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59603         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59605         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59607         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59608         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59609         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59610         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59612         * math/bits/math-finite.h: Add ldexp support.
59614 2012-01-10  Marek Polacek  <polacek@redhat.com>
59616         * locale/programs/localedef.h (show_archive_content): Add noreturn
59617         attribute.
59619 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
59621         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59623 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59625         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59627         * io/Makefile (headers): Add bits/poll2.h.
59629 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
59631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59632         typo #include statement.
59634 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59636         * include/sys/cdefs.h: Define __attribute_alloc_size.
59637         * catgets/gencat.c: Add alloc_size attribute and apply consistently
59638         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59639         * elf/pldd.c: Likewise.
59640         * iconv/iconv_charmap.c: Likewise.
59641         * iconv/iconvconfig.c: Likewise.
59642         * iconv/strtab.c: Likewise.
59643         * locale/programs/locale.c: Likewise.
59644         * locale/programs/localedef.h: Likewise.
59645         * locale/programs/simple-hash.c: Likewise.
59646         * nscd/nscd.h: Likewise.
59647         * nss/makedb.c: Likewise.
59648         * sysdeps/generic/ldconfig.h: Likewise.
59649         * locale/programs/localedef.c: Remove xmalloc prototype.
59650         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59652 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59654         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59655         appropriate.
59657 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
59659         * math/Makefile (tests): Add tst-CMPLX.
59660         * math/tst-CMPLX.c: New file.
59662         * math/complex.h (CMPLXL): Fix typo.
59664         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59665         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59666         GLIBC_2.16.
59667         * debug/tst-chk1.c: Add poll and ppoll tests.
59668         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59669         * include/sys/poll.h: Add hidden proto for ppoll.
59670         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59671         * sysdeps/mach/hurd/ppoll.c: Likewise.
59672         * io/ppoll.c: Likewise.
59673         * debug/poll_chk.c: New file.
59674         * debug/ppoll_chk.c: New file.
59675         * include/bits/poll2.h: New file.
59676         * io/bits/poll2.h: New file.
59678         [BZ #1350]
59679         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59681         * configure.in: static is always set to yes.  Remove.
59682         * config.make.in: Don't set build-static.
59683         * Makeconfig: Remove use of build-static.
59684         * dlfcn/Makefile: Likewise.
59685         * elf/Makefile: Likewise.
59686         * math/Makefile: Likewise.
59687         * misc/Makefile: Likewise.
59688         * nptl/Makefile: Likewise.
59689         * sysdeps/mach/hurd/Makefile: Likewise.
59691         * configure.in: PWD_P is not used anymore.
59692         * config.make.in: Remove PWD_P entry.
59694         * configure.in: Remove last remnants of RANLIB.
59695         No need to check for signed size_t anymore.
59696         Don't set libc_commonpagesize and libc_relro_required here for Alpha
59697         and IA-64.
59698         Remove __builtin_expect test because we require at least gcc 3.4.
59699         * aclocal.m4: Likewise.
59701         * wcsmbs/mbrtoc16.c: Implement using towc function.
59702         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59703         * wcsmbs/wcsmbsload.c: Likewise.
59704         * iconv/gconv_simple.c: Likewise.
59705         * iconv/gconv_int.h: Likewise.
59706         * iconv/gconv_builtin.h: Likewise.
59707         * iconv/iconv_prog.c: Remove CHAR16 handling.
59709         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59711         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59713         * configure.in: Remove --with-elf and --enable-bounded options.
59714         Dont set base_machine for ia64.  More non-ELF conditions removed.
59715         Remove testing and setting of leading underscore information.
59716         * config.make.in (build-bounded): Set to no.
59717         * config.h.in: Remove NO_UNDERSCORES entry.
59718         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
59719         them.
59720         * csu/start.c: Remove !NO_UNDERSCORE code.
59721         * locale/localeinfo.h: Likewise.
59722         * sysdeps/generic/machine-gmon.h: Likewise.
59723         * sysdeps/generic/sysdep.h: Likewise.
59724         * sysdeps/i386/sysdep.h: Likewise.
59725         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59726         * sysdeps/mach/sysdep.h: Likewise.
59727         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59728         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59729         * sysdeps/sh/sysdep.h: Likewise.
59730         * sysdeps/sparc/sparc32/alloca.S: Likewise.
59731         * sysdeps/unix/i386/sysdep.S: Likewise.
59732         * sysdeps/unix/sparc/start.c: Likewise.
59733         * sysdeps/unix/sparc/sysdep.S: Likewise.
59734         * sysdeps/unix/sparc/sysdep.h: Likewise.
59735         * sysdeps/unix/start.c: Likewise.
59736         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59737         * sysdeps/x86_64/sysdep.h: Likewise.
59739 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
59741         [BZ #13553]
59742         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59743         for non-gcc.
59744         * argp/argp-fmtstream.h: Use const instead __const.
59745         * argp/argp.h: Likewise.
59746         * assert/assert.h: Likewise.
59747         * bits/fenv.h: Likewise.
59748         * bits/sched.h: Likewise.
59749         * bits/sigset.h: Likewise.
59750         * bits/sigthread.h: Likewise.
59751         * catgets/nl_types.h: Likewise.
59752         * conform/data/pthread.h-data: Likewise.
59753         * crypt/crypt-private.h: Likewise.
59754         * crypt/crypt.h: Likewise.
59755         * crypt/crypt_util.c: Likewise.
59756         * ctype/ctype.h: Likewise.
59757         * debug/execinfo.h: Likewise.
59758         * debug/mbsnrtowcs_chk.c: Likewise.
59759         * debug/mbsrtowcs_chk.c: Likewise.
59760         * debug/wcsnrtombs_chk.c: Likewise.
59761         * debug/wcsrtombs_chk.c: Likewise.
59762         * debug/wcstombs_chk.c: Likewise.
59763         * dirent/dirent.h: Likewise.
59764         * dlfcn/dlfcn.h: Likewise.
59765         * elf/neededtest4.c: Likewise.
59766         * grp/grp.h: Likewise.
59767         * gshadow/gshadow.h: Likewise.
59768         * iconv/gconv.h: Likewise.
59769         * iconv/gconv_int.h: Likewise.
59770         * iconv/gconv_simple.c: Likewise.
59771         * iconv/iconv.h: Likewise.
59772         * iconv/loop.c: Likewise.
59773         * iconv/skeleton.c: Likewise.
59774         * include/aio.h: Likewise.
59775         * include/aliases.h: Likewise.
59776         * include/argz.h: Likewise.
59777         * include/arpa/inet.h: Likewise.
59778         * include/assert.h: Likewise.
59779         * include/dirent.h: Likewise.
59780         * include/dlfcn.h: Likewise.
59781         * include/execinfo.h: Likewise.
59782         * include/fcntl.h: Likewise.
59783         * include/fenv.h: Likewise.
59784         * include/glob.h: Likewise.
59785         * include/grp.h: Likewise.
59786         * include/libintl.h: Likewise.
59787         * include/mntent.h: Likewise.
59788         * include/netdb.h: Likewise.
59789         * include/pwd.h: Likewise.
59790         * include/rpc/netdb.h: Likewise.
59791         * include/sched.h: Likewise.
59792         * include/search.h: Likewise.
59793         * include/shadow.h: Likewise.
59794         * include/signal.h: Likewise.
59795         * include/stdio.h: Likewise.
59796         * include/stdlib.h: Likewise.
59797         * include/string.h: Likewise.
59798         * include/sys/socket.h: Likewise.
59799         * include/sys/stat.h: Likewise.
59800         * include/sys/statfs.h: Likewise.
59801         * include/sys/statvfs.h: Likewise.
59802         * include/sys/syslog.h: Likewise.
59803         * include/sys/time.h: Likewise.
59804         * include/sys/uio.h: Likewise.
59805         * include/time.h: Likewise.
59806         * include/unistd.h: Likewise.
59807         * include/utmp.h: Likewise.
59808         * include/wchar.h: Likewise.
59809         * include/wctype.h: Likewise.
59810         * inet/aliases.h: Likewise.
59811         * inet/arpa/inet.h: Likewise.
59812         * inet/netinet/ether.h: Likewise.
59813         * inet/netinet/in.h: Likewise.
59814         * intl/libintl.h: Likewise.
59815         * io/bits/fcntl2.h: Likewise.
59816         * io/fcntl.h: Likewise.
59817         * io/ftw.h: Likewise.
59818         * io/sys/poll.h: Likewise.
59819         * io/sys/stat.h: Likewise.
59820         * io/sys/statfs.h: Likewise.
59821         * io/sys/statvfs.h: Likewise.
59822         * io/utime.h: Likewise.
59823         * libio/bits/stdio.h: Likewise.
59824         * libio/bits/stdio2.h: Likewise.
59825         * libio/libio.h: Likewise.
59826         * libio/libioP.h: Likewise.
59827         * libio/stdio.h: Likewise.
59828         * locale/lc-ctype.c: Likewise.
59829         * locale/locale.h: Likewise.
59830         * login/utmp.h: Likewise.
59831         * malloc/arena.c: Likewise.
59832         * malloc/malloc.c: Likewise.
59833         * malloc/malloc.h: Likewise.
59834         * malloc/mcheck.c: Likewise.
59835         * malloc/mtrace.c: Likewise.
59836         * math/bits/mathcalls.h: Likewise.
59837         * math/fenv.h: Likewise.
59838         * math/math_private.h: Likewise.
59839         * misc/bits/error.h: Likewise.
59840         * misc/bits/syslog.h: Likewise.
59841         * misc/err.h: Likewise.
59842         * misc/error.h: Likewise.
59843         * misc/fstab.h: Likewise.
59844         * misc/mntent.h: Likewise.
59845         * misc/regexp.h: Likewise.
59846         * misc/search.h: Likewise.
59847         * misc/sgtty.h: Likewise.
59848         * misc/sys/mman.h: Likewise.
59849         * misc/sys/syslog.h: Likewise.
59850         * misc/sys/uio.h: Likewise.
59851         * misc/sys/xattr.h: Likewise.
59852         * misc/ttyent.h: Likewise.
59853         * nis/rpcsvc/ypclnt.h: Likewise.
59854         * nss/nss.h: Likewise.
59855         * posix/bits/unistd.h: Likewise.
59856         * posix/fnmatch.h: Likewise.
59857         * posix/glob.h: Likewise.
59858         * posix/sched.h: Likewise.
59859         * posix/spawn.h: Likewise.
59860         * posix/sys/wait.h: Likewise.
59861         * posix/unistd.h: Likewise.
59862         * posix/wordexp.h: Likewise.
59863         * pwd/pwd.h: Likewise.
59864         * resolv/netdb.h: Likewise.
59865         * resource/sys/resource.h: Likewise.
59866         * rt/aio.h: Likewise.
59867         * rt/bits/mqueue2.h: Likewise.
59868         * rt/mqueue.h: Likewise.
59869         * shadow/shadow.h: Likewise.
59870         * signal/signal.h: Likewise.
59871         * socket/send.c: Likewise.
59872         * socket/sendto.c: Likewise.
59873         * socket/sys/socket.h: Likewise.
59874         * stdio-common/printf.h: Likewise.
59875         * stdlib/bits/stdlib.h: Likewise.
59876         * stdlib/fmtmsg.h: Likewise.
59877         * stdlib/monetary.h: Likewise.
59878         * stdlib/stdlib.h: Likewise.
59879         * stdlib/ucontext.h: Likewise.
59880         * streams/stropts.h: Likewise.
59881         * string/argz.h: Likewise.
59882         * string/bits/string2.h: Likewise.
59883         * string/string.h: Likewise.
59884         * string/strings.h: Likewise.
59885         * sunrpc/rpc/auth.h: Likewise.
59886         * sunrpc/rpc/auth_des.h: Likewise.
59887         * sunrpc/rpc/clnt.h: Likewise.
59888         * sunrpc/rpc/netdb.h: Likewise.
59889         * sunrpc/rpc/pmap_clnt.h: Likewise.
59890         * sunrpc/rpc/xdr.h: Likewise.
59891         * sysdeps/generic/inttypes.h: Likewise.
59892         * sysdeps/generic/net/if.h: Likewise.
59893         * sysdeps/generic/sys/swap.h: Likewise.
59894         * sysdeps/gnu/net/if.h: Likewise.
59895         * sysdeps/gnu/utmpx.h: Likewise.
59896         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
59897         * sysdeps/i386/i486/bits/string.h: Likewise.
59898         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
59899         * sysdeps/s390/bits/string.h: Likewise.
59900         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
59901         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
59902         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
59903         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
59904         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
59905         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
59906         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
59907         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
59908         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
59909         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
59910         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
59911         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59912         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
59913         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59914         * sysdeps/unix/sysv/linux/readv.c: Likewise.
59915         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
59916         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59917         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59918         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
59919         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
59920         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
59921         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
59922         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
59923         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
59924         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
59925         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
59926         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
59927         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
59928         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
59929         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
59930         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
59931         * sysvipc/sys/ipc.h: Likewise.
59932         * sysvipc/sys/msg.h: Likewise.
59933         * sysvipc/sys/sem.h: Likewise.
59934         * sysvipc/sys/shm.h: Likewise.
59935         * termios/termios.h: Likewise.
59936         * time/sys/time.h: Likewise.
59937         * time/time.h: Likewise.
59938         * wcsmbs/bits/wchar2.h: Likewise.
59939         * wcsmbs/uchar.h: Likewise.
59940         * wcsmbs/wchar.h: Likewise.
59941         * wctype/wctype.h: Likewise.
59943         [BZ #13551]
59944         * Makeconfig: Remove all but ELF support including AIX support.
59945         * Makerules: Likewise.
59946         * config.h.in: Likewise.
59947         * config.make.in: Likewise.
59948         * configure: Likewise.
59949         * configure.in: Likewise.
59950         * csu/Makefile: Likewise.
59951         * csu/version.c: Likewise.
59952         * debug/Makefile: Likewise.
59953         * dlfcn/Makefile: Likewise.
59954         * elf/Makefile: Likewise.
59955         * extra-lib.mk: Likewise.
59956         * iconv/Makefile: Likewise.
59957         * include/libc-symbols.h: Likewise.
59958         * include/shlib-compat.h: Likewise.
59959         * resolv/Makefile: Likewise.
59960         * resolv/res_libc.c: Likewise.
59961         * rt/Makefile: Likewise.
59962         * sysdeps/i386/asm-syntax.h: Likewise.
59963         * sysdeps/i386/sysdep.h: Likewise.
59964         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59965         * sysdeps/mach/sysdep.h: Likewise.
59966         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
59967         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
59968         * sysdeps/s390/asm-syntax.h: Likewise.
59969         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59970         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59971         * sysdeps/sh/sysdep.h: Likewise.
59972         * sysdeps/unix/sparc/sysdep.h: Likewise.
59973         * sysdeps/wordsize-32/divdi3.c: Likewise.
59974         * sysdeps/x86_64/sysdep.h: Likewise.
59976         * argp/Versions: Remove _argp_unlock_xxx.
59978         [BZ #13559]
59979         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
59980         * abilist/libBrokenLocale.abilist: Likewise.
59981         * abilist/libanl.abilist: Likewise.
59982         * abilist/libc.abilist: Likewise.
59983         * abilist/libcrypt.abilist: Likewise.
59984         * abilist/libdl.abilist: Likewise.
59985         * abilist/libm.abilist: Likewise.
59986         * abilist/libnsl.abilist: Likewise.
59987         * abilist/libpthread.abilist: Likewise.
59988         * abilist/libresolv.abilist: Likewise.
59989         * abilist/librt.abilist: Likewise.
59990         * abilist/libthread_db.abilist: Likewise.
59991         * abilist/libutil.abilist: Likewise.
59992         * abilist/libnss_db.abilist: New file.
59994         * scripts/abilist.awk: Add support for indirect functions.
59996         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
59998         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
60000         * shlib-versions: Remove entries for ports architectures.
60002         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
60003         files in ports.
60004         * elf/stackguard-macros.h: Remove support for IA-64.
60005         * elf/tst-auditmod1.c: Likewise.
60006         * sysdeps/generic/ldsodefs.h: Likewise.
60008         * sysdeps/unix/sysv/linux/configure.in: Ports should define
60009         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
60010         configure files.
60012         [BZ #13552]
60013         * configure.in: Remove --enable-omitfp support.
60014         * FAQ.in: Adjust.
60015         * config.make.in: Likewise.
60016         * Makeconfig: Likewise.
60017         * manual/install.texi: Likewise.
60019         In case anyone cares, the IA-64 architecture could move to ports.
60020         * sysdeps/ia64/*: Removed.
60021         * sysdeps/unix/sysv/linux/ia64/*: Removed.
60022         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
60024         [BZ #13555]
60025         * configure.in: Remove entries for unsupported architectures.
60027         [BZ #13533]
60028         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
60029         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
60030         routines.
60031         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
60032         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
60033         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
60034         fall back to using wcrtomb.
60035         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
60036         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
60037         renaming.
60038         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
60039         * wcsmbs/tst-c16c32-1.c: New file.
60041         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
60042         local variable.
60044         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
60046         * elf/tst-unique3.cc: Add explicit declaration of gets.
60047         * elf/tst-unique3lib.cc: Likewise.
60048         * elf/tst-unique3lib2.cc: Likewise.
60049         * elf/tst-unique4.cc: Likewise.
60051         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
60053 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
60055         [BZ #13566]
60056         * assert/assert.h (static_assert): Don't define for C++.
60057         * libio/stdio.h (gets): Do declare for C++ <= C++11.
60058         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
60060 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
60062         * iconv/loop.c (single loop): Fix assertion in storing of
60063         remaining bytes.
60065         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
60067 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
60069         * posix/getconf.c: Update copyright year.
60070         * nss/getent.c: Likewise.
60071         * nss/makedb.c: Likewise.
60072         * iconv/iconvconfig.c: Likewise.
60073         * iconv/iconv_prog.c: Likewise.
60074         * elf/ldconfig.c: Likewise.
60075         * elf/pldd.c: Likewise.
60076         * elf/sotruss.ksh: Likewise.
60077         * catgets/gencat.c: Likewise.
60078         * csu/version.c: Likewise.
60079         * elf/ldd.bash.in: Likewise.
60080         * elf/sprof.c (print_version): Likewise.
60081         * locale/programs/locale.c: Likewise.
60082         * locale/programs/localedef.c: Likewise.
60083         * login/programs/pt_chown.c: Likewise.
60084         * nscd/nscd.c (print_version): Likewise.
60085         * debug/xtrace.sh: Likewise.
60086         * malloc/memusage.sh: Likewise.
60087         * malloc/mtrace.pl: Likewise.
60088         * debug/catchsegv.sh: Likewise.
60090 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
60092         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
60093         pure attribute.
60095 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
60097         [BZ #13533]
60098         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
60099         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
60100         transformations.
60101         * iconv/gconv_int.h: Likewise.
60102         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
60103         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
60104         from libc for GLIBC_2.16.
60105         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
60106         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
60107         * wcsmbs/uchar.h: Really define mbstate_t.
60108         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
60109         * wcsmbs/c16rtomb.c: New file.
60110         * wcsmbs/mbrtoc16.c: New file.
60111         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
60112         for C/POSIX locale.
60113         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
60114         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
60116         * wcsmbs/wchar.h: Add missing __restrict.
60118 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
60120         [BZ #13532]
60121         * time/Makefile (routines): Add timespec_get.
60122         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
60123         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
60124         timespec for ISO C11.
60125         * time/timespec_get.c: New file.
60126         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
60127         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
60129         [BZ #13531]
60130         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
60131         * stdlib/stdlib.h: Declare aligned_alloc.
60132         * Versions.def: Add GLIBC_2.16 for libc.
60133         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
60135         [BZ 13527]
60136         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
60137         ISO C11.
60139         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
60140         code.
60142         [BZ #13528]
60143         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
60145         [BZ #13529]
60146         * assert/assert.h (static_assert): Define.
60148         * version.h: Update for 2.16 development version.
60150         [BZ #13526]
60151         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
60152         _ISOC11_SOURCE.
60154         * version.h (RELEASE): Bump for 2.15 release.
60155         * include/features.h (__GLIBC_MINOR__): Bump to 15.
60157         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
60158         Patch by Marek Polacek <mpolacek@redhat.com>.
60160         * bits/byteswap.h: Protect long long constants with __extension__.
60161         * sysdeps/i386/bits/byteswap.h: Likewise.
60162         * sysdeps/ia64/bits/byteswap.h: Likewise.
60163         * sysdeps/s390/bits/byteswap.h: Likewise.
60164         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60166 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60168         [BZ #13540]
60169         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
60170         destination buffer.
60171         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
60173 2011-12-23  Marek Polacek  <polacek@redhat.com>
60175         * elf/dl-addr.c (determine_info): Add inline keyword.
60176         * elf/tst-auditmod4b.c (check_avx): Likewise.
60177         * elf/tst-auditmod6b.c (check_avx): Likewise.
60178         * elf/tst-auditmod6c.c (check_avx): Likewise.
60179         * elf/tst-auditmod7b.c (check_avx): Likewise.
60181 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
60183         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
60184         !__SSE_MATH__.
60186 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60188         [BZ #13540]
60189         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
60190         processing for last bytes.
60192 2011-08-06  Bruno Haible  <bruno@clisp.org>
60194         [BZ #13061]
60195         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
60196         U+0385, not to U+1FEE.
60198         [BZ #13062]
60199         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
60200         entry for U+00A5 U+0301.
60202 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
60204         [BZ #13166]
60205         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
60206         buffer for the output is too small.
60208         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
60209         optimization.
60211         [BZ #13185]
60212         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
60213         SSE flags if possible.
60215 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60217         [BZ #13540]
60218         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
60219         processing for last bytes.
60221 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
60223         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
60224         (syscall-list-default-options, syscall-list-default-condition)
60225         (syscall-list-includes): Define.
60226         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
60227         list of ABIs and options and #if conditions for each ABI.  Do not
60228         handle common syscalls between ABIs specially.
60229         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
60230         Remove.
60231         (syscall-list-variants, syscall-list-32bit-options)
60232         (syscall-list-32bit-condition, syscall-list-64bit-options)
60233         (syscall-list-64bit-condition): Define.
60234         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
60235         (syscall-list-variants, syscall-list-32bit-options)
60236         (syscall-list-32bit-condition, syscall-list-64bit-options)
60237         (syscall-list-64bit-condition): Define.
60238         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
60239         Remove.
60240         (syscall-list-variants, syscall-list-32bit-options)
60241         (syscall-list-32bit-condition, syscall-list-64bit-options)
60242         (syscall-list-64bit-condition): Define.
60243         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
60244         Remove.
60245         (syscall-list-variants, syscall-list-32bit-options)
60246         (syscall-list-32bit-condition, syscall-list-64bit-options)
60247         (syscall-list-64bit-condition): Define.
60249 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
60251         * locale/iso-639.def: Add brx entry.
60253         [BZ #13328]
60254         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
60255         Proposed by Mariusz_Cukr <marcukr@op.pl>.
60257         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
60258         __feraiseexcept_renamed.
60260 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
60262         [BZ #13538]
60263         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
60264         EPOLLET with unsigned values.
60265         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60266         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
60268         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
60269         to large cancellation.
60270         * math/s_cacoshf.c: Likewise.
60271         * math/s_cacoshl.c: Likewise.
60273 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
60275         [BZ #13305]
60276         [BZ #12786]
60277         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
60278         * math/s_cacoshf.c: Likewise.
60279         * math/s_cacoshl.c: Likewise.
60281 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
60283         [BZ #13439]
60284         * iconv/gconv.h: Define __GCONV_SWAP.
60285         * iconvdata/unicode.c: The swap bit must be stored in __flags.
60286         * iconvdata/utf-16.c: Likewise.
60287         * iconvdata/utf-32.c: Likewise.
60289 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
60291         [BZ #13524]
60292         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
60293         numerator after shifting it by one limb.
60295 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
60297         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
60298         under [__USE_EXTERN_INLINES].
60300 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
60302         [BZ #13446]
60303         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
60305 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60307         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
60308         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
60309         optimized code.
60310         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
60311         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
60312         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
60313         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
60314         for strncasecmp/strncasecmp_l compilation.
60315         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
60316         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
60318 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
60320         [BZ #13484]
60321         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
60322         of __asm__.
60324 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
60326         [BZ #13506]
60327         * time/tzfile.c (__tzfile_read): Check values from file header.
60329 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60331         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
60332         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
60333         * powerpc/powerpc32/dl-start.S: Likewise.
60334         * powerpc/powerpc32/elf/start.S: Likewise.
60335         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60336         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
60337         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
60338         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
60339         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60340         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
60341         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
60342         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60343         * powerpc/powerpc32/fpu/s_round.S: Likewise.
60344         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60345         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60346         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60347         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
60348         * powerpc/powerpc32/memset.S: Likewise.
60349         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60350         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60351         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60352         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60353         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60354         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60355         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60356         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60357         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
60358         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
60359         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
60360         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
60361         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
60363 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60365         * math/libm-test.inc: Added more nearbyint tests.
60366         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
60367         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
60368         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
60369         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
60371 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
60373         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
60374         FD_CLOEXEC.
60376 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60378         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
60379         Add wcscpy-ssse3 wcscpy-c.
60380         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
60381         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
60382         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
60383         * sysdeps/x86_64/wcschr.S: New file.
60384         * sysdeps/x86_64/wcsrchr.S: New file.
60385         * string/test-strcmp.c: Remove checking of wcscmp function for
60386         wrong alignments.
60387         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
60388         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
60389         wcsrchr-sse2 wcsrchr-c.
60390         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
60391         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
60392         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
60393         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
60394         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
60395         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
60396         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
60397         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
60398         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
60399         * wcsmbc/wcschr.c (WCSCHR): New macro.
60401 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60403         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
60404         * wcsmbs/test-wcsrchr.c: New file.
60405         * string/test-strrchr.c: Add wcsrchr support.
60406         (WIDE): New macro.
60407         * wcsmbs/test-wcscpy.c: New file.
60408         * string/test-strcpy.c: Add wcscpy support.
60409         (WIDE): New macro.
60411 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
60413         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
60414         the inner loop.
60416 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
60418         [BZ #13472]
60419         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
60421 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
60423         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
60424         Minor optimizations.
60426         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
60427         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
60428         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
60430 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
60432         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
60433         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
60434         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
60435         for gcc to avoid warnings.
60436         * inet/Makefile (tests): Add tst-checks.
60437         * inet/tst-checks.c: New file.
60439         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
60440         warning.
60442         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
60443         __wmemcmp_sse2.
60445         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
60446         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
60448         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
60450 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
60452         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
60453         problem.
60455         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
60457 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
60459         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
60460         conditional on GCC version.
60461         (__arch_compare_and_exchange_val_8_acq)
60462         (__arch_compare_and_exchange_val_16_acq)
60463         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
60464         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
60465         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
60467 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
60469         * sysdeps/sh/backtrace.c: New file.
60471 2011-12-02  Andreas Schwab  <schwab@redhat.com>
60473         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
60474         parenthesis.
60476 2011-12-01  Andreas Schwab  <schwab@redhat.com>
60478         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60479         falling back to utime.
60481 2011-11-30  Andreas Schwab  <schwab@redhat.com>
60483         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60484         expectations for float.
60486 2011-11-29  Andreas Schwab  <schwab@redhat.com>
60488         * locale/weight.h (findidx): Add parameter len.
60489         * locale/weightwc.h (findidx): Likewise.
60490         * posix/fnmatch_loop.c (FCT): Adjust caller.
60491         * posix/regcomp.c (build_equiv_class): Likewise.
60492         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60493         * posix/regexec.c (check_node_accept_bytes): Likewise.
60494         * string/strcoll_l.c (STRCOLL): Likewise.
60495         * string/strxfrm_l.c (STRXFRM): Likewise.
60497 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
60499         * Makefile.in: Remove CVSOPT handling.
60500         * configure.in: Remove use of AC_REVISION.
60501         * iconvdata/Makefile (distribute): No need to filter out CVS.
60502         * scripts/list-sources.sh: Remove CVS, subversion and monotone
60503         handling.
60505 2011-11-16  Andreas Schwab  <schwab@redhat.com>
60507         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60508         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60509         [USE_AS_STRNCASECMP_L]: Likewise.
60510         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60511         NO_TLS_DIRECT_SEG_REFS.
60512         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60513         Fix argument offsets for non-PIC.
60514         [USE_AS_STRNCASECMP_L]: Likewise.
60515         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60516         NO_TLS_DIRECT_SEG_REFS.
60518 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60520         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60521         O_CLOEXEC.
60522         * locale/loadlocale.c (_nl_load_locale): Likewise.
60524 2011-11-15  Andreas Schwab  <schwab@redhat.com>
60526         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60527         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60528         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60529         (SYSCALL_GETTIME): Set errno on error.
60531         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60532         count references to noai6ai_cached.
60534 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
60536         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60538         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60539         FD_CLOEXEC for /proc/self/maps.
60541         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60542         FD_CLOEXEC for /proc/meminfo.
60544         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60545         gai.conf.
60547         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
60548         FD_CLOEXEC for given file.
60550         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60552         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60553         FD_CLOEXEC for /etc/hosts.
60554         (_gethtent): Likewise.
60556         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60558         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60559         cancellation and set FD_CLOEXEC for /etc/netgroup.
60561         * nss/nss_files/files-key.c (search): Don't allow cancellation when
60562         reading /etc/publickey.
60564         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60565         allow cancellation when reading /etc/group.
60567         * nss/nss_files/files-alias.c (internal_setent): Don't allow
60568         cancellation.
60569         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
60571         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60572         when using data file.
60574         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60576         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60577         (write_nis_obj): Use "c" and "e" in fopen.
60579         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60581         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60583         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60585         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60587         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60588         locale.alias.
60590         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60592         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60594         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60596         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60597         file parsing and set FD_CLOEXEC.
60599 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60601         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60603 2011-11-14  Andreas Schwab  <schwab@redhat.com>
60605         * malloc/arena.c (arena_get2): Don't call reused_arena when
60606         _int_new_arena failed.
60608 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
60610         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60611         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60612         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60613         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60614         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60615         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60616         to compile strcasecmp and strncasecmp.
60617         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60618         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60620         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60622 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
60624         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60625         locale-defines.sym to gen-as-const-headers.
60626         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60627         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60628         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60629         to compile strcasecmp and strncasecmp.
60630         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60631         strcasecmp_l and strncasecmp_l.
60632         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60633         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60634         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60635         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60636         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60637         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60638         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60639         * sysdeps/i386/i686/multiarch/strncase.S: New file.
60640         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60641         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60642         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60644 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
60646         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60647         result of SYSDEP_GETTIME_CPU to retval.
60648         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60649         parameter list to macro.  Remove trailing semicolon.  Adjust users.
60651         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60652         variable.
60654         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60655         mantissa words.
60656         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60658         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60659         from unused variable.
60661         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60662         DWARF definitions.
60663         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60664         for assembling.
60666         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60667         over namespaces.
60669         * sunrpc/rpc_prot.c (rejected): Fix case value.
60671         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60672         unsigned long long int to avoid warnings in shift.
60674         * posix/regex_internal.c (re_string_reconstruct): Actually use result
60675         of use of trans.
60676         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60677         variable tmp.
60679         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60680         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60681         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60683         * nis/nis_table.c (nis_list): Use variable of correct type for
60684         result of __follow_path call.
60686 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60688         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60689         of math functions ceil, trunc, floor, round, and sqrt, when
60690         avaliable on the platform.
60691         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60692         name clash.
60693         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60694         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60695         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60697 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
60699         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60700         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60702 2011-11-11  Roland McGrath  <roland@hack.frob.com>
60704         * include/unistd.h: Fix __readlink return type.
60705         Reported by Chris Metcalf <cmetcalf@tilera.com>.
60707 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
60709         * stdlib/ucontext.h: Undo last change for makecontext.
60711 2011-11-11  Andreas Schwab  <schwab@redhat.com>
60713         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60715         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60716         * setjmp/setjmp.h: Mark functions as non-leaf.
60717         * setjmp/bits/setjmp2.h: Likewise.
60718         * stdlib/ucontext.h: Likewise.
60720 2011-11-10  Andreas Schwab  <schwab@redhat.com>
60722         * malloc/arena.c (_int_new_arena): Don't increment narenas.
60723         (reused_arena): Don't check arena limit.
60724         (arena_get2): Atomically check arena limit.
60726 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
60728         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60729         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60731         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60732         instructions.
60734 2011-11-07  Andreas Schwab  <schwab@redhat.com>
60736         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60737         handler when locking.
60739         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60740         Fix size of allocated buffer.
60742 2011-11-04  Andreas Schwab  <schwab@redhat.com>
60744         [BZ #10103]
60745         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60746         declarations for long double functions.
60747         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60749         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60751 2011-11-03  Andreas Schwab  <schwab@redhat.com>
60753         * nscd/nscd.c (main): Don't start AVC thread until credentials are
60754         installed.
60756         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60757         is disabled.
60759 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60761         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60763 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60765         * include/alloca.h (stackinfo_alloca_round): Define.
60766         (extend_alloca): Use it.
60767         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60768         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60769         here.
60771         * scripts/check-local-headers.sh: Ignore libaudit.h.
60773         * nscd/Makefile (extra-objs): Make recursively expanded.
60775 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
60777         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60778         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60780         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60781         * posix/tst-rfc3484-2.c: Likewise.
60782         * posix/tst-rfc3484-3.c: Likewise.
60784         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60785         process_vm_writev.
60786         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60787         process_vm_writev.
60788         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60789         process_vm_writev from libc using GLIBC_2.15 version.
60791         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60793 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
60795         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60796         stack usage.
60798 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
60800         [BZ #13367]
60801         * nss/getent.c (initgroups_keys): Show error message in case no group
60802         names are given.
60804         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60805         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60806         __bump_nl_timestamp.
60807         * nscd/connections (nscd_init): When host database is served open
60808         netlink socket and request notification about configuration changes.
60809         (main_loop_poll): Track netlink file descriptor and bump timestamp
60810         in case data becomes available.
60811         (main_loop_epoll): Likewise.
60812         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60813         (database_pers_head): Add extra_data fileds.
60814         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60815         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60816         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60817         Adjust caller.
60818         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60819         in6ai data, call __free_in6ai.
60820         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60821         Add -DHAVE_NETLINK.
60822         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
60823         interface information.  Reuse previous data if netlink timestamp
60824         is not changed.
60825         (__bump_nl_timestamp): New function.
60826         (__free_in6ai): New function.
60828 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
60830         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60831         close_not_cancel_no_status here.
60832         (__check_pf): Reorganize code a bit to not call close twice if OOM.
60834 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
60836         [BZ #13276]
60837         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60838         return value.
60840         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60841         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60842         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60844 2011-07-03  Andreas Jaeger  <aj@suse.de>
60846         [BZ #10709]
60847         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60848         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60849         * math/libm-test.inc (sin_test): Add test case.
60851 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
60853         [BZ #13337]
60854         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
60855         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60857         * elf/chroot_canon.c (chroot_canon): Cleanups.
60859         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
60861         [BZ #13335]
60862         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
60863         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
60865         * string/test-strchr.c: Make usable for strchrnul testing.
60866         * string/test-strchrnul.c: New file.
60867         * string/Makefile (strop-tests): Add strchrnul.
60869         * po/it.po: Update from translation team.
60870         * po/es.po: Likewise.
60872 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
60874         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
60875         the three constants needed as parameters.  Drop the others.
60876         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
60877         __m128i_strloadu_tolower.
60878         Create and initialize variable zero and use it in all the places
60879         where _mm_setzero_si128 was used.
60881         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
60882         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
60883         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
60884         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
60885         anymore.
60886         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
60887         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
60888         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
60889         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
60890         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
60891         __mpranred, __mptan.
60892         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
60893         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
60894         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
60895         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
60896         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
60897         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
60898         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
60899         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
60900         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
60902 2011-10-28  Andreas Schwab  <schwab@redhat.com>
60904         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
60905         redefine if SHARED.
60906         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
60908         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
60909         wide char related routines to wcsmbs subdir.
60911 2011-10-27  Andreas Schwab  <schwab@redhat.com>
60913         [BZ #13344]
60914         * misc/sys/cdefs.h (__THROWNL): Define.
60915         * posix/unistd.h: Use __THREADNL instead of __THREAD
60916         for memory synchronization functions.
60918 2011-10-26  Roland McGrath  <roland@hack.frob.com>
60920         [BZ #13349]
60921         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
60922         doesn't exist.
60923         * manual/stdio.texi (Obstack Streams): Node removed.
60925 2011-10-26  Andreas Schwab  <schwab@redhat.com>
60927         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
60928         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60929         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60931         * math/math_private.h (math_force_eval): Allow non-addressable
60932         arguments.
60933         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
60935 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60937         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
60938         file is not needed.
60940         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
60941         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
60942         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
60943         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
60944         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
60945         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
60946         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
60947         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
60948         Add AVX variants.
60949         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
60950         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
60951         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
60952         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
60953         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
60954         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
60955         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
60956         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
60957         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
60958         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
60959         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
60960         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
60961         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
60962         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
60963         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
60964         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
60965         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
60966         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
60967         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
60969         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
60970         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
60972         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
60973         place.  Use VEX encoding when compiling for AVX.
60975 2011-10-25  Andreas Schwab  <schwab@redhat.com>
60977         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
60978         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
60980         * string/test-strchr.c (do_test): Don't generate NUL bytes.
60982 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
60984         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
60985         useless if() expression.
60986         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60987         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60988         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60989         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60990         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60991         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60992         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60993         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60994         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60995         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60996         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60997         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60998         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60999         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61000         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61001         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61002         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61003         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61004         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61006         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
61008 2011-10-25  Andreas Schwab  <schwab@redhat.com>
61010         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
61011         condition.
61012         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61014 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
61016         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
61017         .text section.  Avoid duplicate constants.
61018         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61019         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61020         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61021         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61022         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61023         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61024         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61025         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61026         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61027         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
61028         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61029         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61030         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61031         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61032         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61033         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61034         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61035         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61036         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61037         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61038         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61039         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61040         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61041         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
61042         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
61043         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
61044         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
61045         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
61046         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
61047         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
61048         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
61049         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
61050         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61051         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
61052         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
61053         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
61054         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
61055         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
61056         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
61057         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
61058         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
61059         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
61060         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
61061         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
61062         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
61064 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
61066         * sysdeps/x86_64/dla.h: Move to ...
61067         * sysdeps/x86_64/fpu/dla.h: ...here.
61068         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
61069         situations.  Use __builtin_fma only for gcc 4.6 and up.
61071         * config.make.in: Add have-mfma4 entry.
61072         * configure.in: Substitute libc_cv_cc_fma4.
61073         * math/Makefile (dbl-only-routines): Add sincostab.
61074         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
61075         Use __sincostab not sincos.
61076         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
61077         name is a macro.
61078         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61079         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61080         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61081         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
61082         using __copysign.
61083         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
61084         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
61085         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
61086         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
61087         and __inv.
61088         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
61089         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
61090         __copysign.
61091         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
61092         define aliases when function name is a macro.
61093         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
61094         sysdeps/ieee754/dbl-64/sincos.tbl.
61095         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
61096         fma4-enabled routines.
61097         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
61098         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
61099         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
61100         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
61101         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
61102         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
61103         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
61104         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
61105         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
61106         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
61107         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
61108         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
61109         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
61110         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
61111         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
61112         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
61113         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
61114         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
61115         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
61116         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
61117         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
61118         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
61119         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
61120         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
61121         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
61122         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
61123         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
61124         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
61125         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
61126         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
61128         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
61129         rename.
61130         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61131         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61132         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61133         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61134         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61135         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61136         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61137         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61139 2011-10-24  Andreas Schwab  <schwab@redhat.com>
61141         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
61143 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
61145         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
61147         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
61148         prediction.
61149         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
61151         * string/strnlen.c: Don't define STRNLEN, reverse logic.
61152         Remove unused variable magic_bits.
61153         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
61155         * string/strnlen.c: Define and use STRNLEN macro.
61156         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
61157         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
61158         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
61159         * wcsmbs/wcslen.c: Define and use WCSLEN.
61160         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
61161         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
61162         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
61163         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
61164         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
61165         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
61166         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61168 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61170         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61171         strnlen-sse2-no-bsf.
61172         Rename strlen-no-bsf to strlen-sse2-no-bsf.
61173         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
61174         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
61175         Add strnlen support.
61176         (USE_AS_STRNLEN): New macro.
61177         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
61178         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
61179         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
61180         * sysdeps/x86_64/wcslen.S: New file.
61182 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
61184         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61185         XMM-moves are used for copying on small sizes.
61187 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61189         * wcsmbs/Makefile (strop-tests): Add wcschr.
61190         * wcsmbs/test-wcschr.c: New file.
61191         * string/test-strchr.c: Update.
61192         Add wcschr support.
61193         (WIDE): New macro.
61195 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61197         * wcsmbs/Makefile (strop-tests): Add wcslen.
61198         * wcsmbs/test-wcslen.c: New file.
61199         * string/test-strlen.c: Update.
61200         Add wcslen support.
61201         (WIDE): New macro.
61203 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
61205         * po/it.po: Update from translation team.
61207 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61209         * sysdeps/x86_64/wcscmp.S: Update.
61210         Fix wrong comparison semantics.
61211         wcscmp shall use signed comparison not unsigned.
61212         Don't use substraction to avoid overflow bug.
61213         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
61214         * wcsmbc/wcscmp.c: Likewise.
61215         * string/test-strcmp.c: Likewise.
61216         Add new tests to check cases with negative values.
61218 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
61220         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
61221         * sysdeps/x86_64/dla.h: ...here.  New file.
61222         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
61223         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61224         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61225         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61226         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61227         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61228         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61229         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61230         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61232 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
61234         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
61235         __ynl_finite aliases.
61237 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
61239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61241         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
61242         define DLA_FMA.
61243         [DLA_FMA] (EMULV): Use DLA_FMA.
61244         [DLA_FMA] (MUL12): Use EMULV.
61245         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
61246         that are not needed.
61247         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61248         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61249         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61250         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61251         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61252         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61253         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61255 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
61257         * math/s_nan.c: Undef __nan.
61258         * math/s_nanf.c: Undef __nanf.
61259         * math/s_nanl.c: Undef __nanl.
61260         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
61261         "math_private.h".
61263 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
61265         * math/s_catan.c: Add branch predictions.
61266         * math/s_catanf.c: Likewise.
61267         * math/s_catanh.c: Likewise.
61268         * math/s_catanhf.c: Likewise.
61269         * math/s_catanhl.c: Likewise.
61270         * math/s_catanl.c: Likewise.
61271         * math/s_cexp.c: Likewise.
61272         * math/s_cexpf.c: Likewise.
61273         * math/s_cexpl.c: Likewise.
61274         * math/s_clog.c: Likewise.
61275         * math/s_clog10.c: Likewise.
61276         * math/s_clog10f.c: Likewise.
61277         * math/s_clog10l.c: Likewise.
61278         * math/s_clogf.c: Likewise.
61279         * math/s_clogl.c: Likewise.
61280         * math/s_csqrt.c: Likewise.
61281         * math/s_csqrtf.c: Likewise.
61282         * math/s_csqrtl.c: Likewise.
61283         * math/s_ctanf.c: Likewise.
61284         * math/s_ctanh.c: Likewise.
61285         * math/s_ctanhf.c: Likewise.
61286         * math/s_ctanhl.c: Likewise.
61287         * math/s_ctanl.c: Likewise.
61289         * math/math_private.h: Define __nan, __nanf, __nanl.
61290         * math/s_cacosh.c: Include <math_private.h>.
61291         * math/s_cacoshl.c: Likewise.
61292         * math/s_casinh.c: Likewise.
61293         * math/s_casinhf.c: Likewise.
61294         * math/s_casinhl.c: Likewise.
61295         * math/s_ccos.c: Rely entire on ccosh.
61296         * math/s_ccosf.c: Rely entire on ccoshf.
61297         * math/s_ccosl.c: Rely entirely on ccoshl.
61298         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
61299         Remove tests for FE_INVALID.
61300         * math/s_ccoshf.c: Likewise.
61301         * math/s_ccoshl.c: Likewise.
61302         * math/s_csin.c: Likewise.
61303         * math/s_csinf.c: Likewise.
61304         * math/s_csinh.c Likewise.
61305         * math/s_csinhf.c: Likewise.
61306         * math/s_csinhl.c: Likewise.
61307         * math/s_csinl.c: Likewise.
61308         * math/s_ctan.c: Likewise.
61309         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
61310         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
61311         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
61313 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
61315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
61316         compilation problems.
61318         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
61319         __builtin_expect.
61321 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
61323         * sysdeps/i386/configure.in: Test for -mfma4 option.
61324         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
61325         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
61326         COMMON_CPUID_INDEX_80000001.
61327         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
61328         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
61329         use it if FMA3 is not supported.
61330         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
61332         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
61333         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61335 2011-10-20  Andreas Schwab  <schwab@redhat.com>
61337         [BZ #12892]
61338         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
61339         it would create a cycle with a link time dependency.
61341 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
61343         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
61344         instruction.
61345         * string/Makefile (strop-tests): Add rawmemchr.
61346         * string/test-rawmemchr.c: New file.
61348         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
61349         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
61350         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
61351         when compiling str{,n}casecmp and when AVX is available.  Hook up
61352         new optimized code in initializers.
61354 2011-10-19  Andreas Schwab  <schwab@redhat.com>
61356         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
61357         __feraiseexcept instead of feraiseexcept.
61359 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
61361         * math/math_private.h: Define defaults for libc_fetestexcept and
61362         libc_feupdateenv.
61363         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
61364         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
61365         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61366         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61367         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61368         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61369         libc_fetestexcept and libc_feupdateenv.
61371         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
61372         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
61373         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
61374         * sysdeps/x86_64/fpu/math_private.h: Define special version of
61375         libc_feholdexcept_setround.
61377         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
61378         Add s_nearbyint-c and s_nearbyintf-c.
61379         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
61380         nearbyintf inlines.
61381         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
61382         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
61383         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
61384         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
61386         * math/math_private.h: Define defaults for libc_fegetround,
61387         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
61388         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
61389         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
61390         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
61391         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
61392         standard functions.
61393         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61394         Remove comments and hacks for old compiler versions.
61395         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61396         libc_fegetround, libc_fesetround, libc_feholdexcept, and
61397         libc_feholdexceptl.
61399 2011-10-18  Andreas Schwab  <schwab@redhat.com>
61401         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
61402         (__feraiseexcept_renamed): Add __NTH.
61403         (feraiseexcept): Add __NTH.  Rename local variables to fix
61404         namespace violations.
61406 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
61408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
61410         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
61412         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
61413         recently added interfaces.
61414         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
61416         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
61417         about macro parameter expansion.
61419         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
61420         __NO_MATH_INLINES is defined.  Cleanups.
61422         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
61423         and __floorf is target has SSE4.1.
61424         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
61425         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
61426         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
61427         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
61429         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
61430         name.
61431         (floorf): Likewise.
61433         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
61435 2011-10-17  Andreas Schwab  <schwab@redhat.com>
61437         * misc/sys/cdefs.h: Fix last change.
61439         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
61440         database lookup.
61442 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
61444         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
61446         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
61447         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61448         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61449         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61450         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61451         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61452         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61453         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61454         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61455         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
61456         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
61457         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
61458         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
61459         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
61460         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
61461         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
61462         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
61463         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
61464         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
61465         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
61466         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
61467         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
61469         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
61470         ceil, ceilf, floor, floorf.
61472         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
61473         Perform IRELATIVE relocations last.
61475         * elf/do-rel.h: Add another parameter nrelative, replacing the
61476         local variable with the same name.  Change name of the function
61477         to end in Rel or Rela (uppercase).
61478         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61479         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
61480         elf_dynamic_do_##reloc function.
61482 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61484         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61485         is sufficient, at least on modern CPUs.
61487         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61489         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61490         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61492         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61493         __expl_finite.
61494         * math/bits/math-finite.h: Add entries for exp.
61495         * math/e_expl.c: Add __*_finite alias.
61496         * sysdeps/i386/fpu/e_exp.S: Likewise.
61497         * sysdeps/i386/fpu/e_expf.S: Likewise.
61498         * sysdeps/i386/fpu/e_expl.c: Likewise.
61499         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61500         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61501         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61502         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61503         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61504         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61505         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61507         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61508         is sufficient, at least on modern CPUs.
61510         * ctype/ctype-info.c (__ctype_init): Define.
61511         * include/ctype.h (__ctype_init): Declare.
61512         (__ctype_b_loc): The variable is always initialized.
61513         (__ctype_toupper_loc): Likewise.
61514         (__ctype_tolower_loc): Likewise.
61515         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61516         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61518 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
61520         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61522         * configure.in: Also look in $cxxmachine/include for C++ system
61523         headers.
61525 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61527         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61528         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61529         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61530         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
61531         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61532         (USE_AS_WMEMCMP): New macro.
61533         Fixing indents.
61534         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61535         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61536         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61537         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61539         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61540         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61541         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61542         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61543         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61544         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61545         (USE_AS_WMEMCMP): New macro.
61546         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61547         * sysdeps/string/test-memcmp.c: Update.
61548         Fix simple_wmemcmp.
61549         Add new tests.
61550         * wcsmbs/wmemcmp.c: Update.
61551         (WMEMCMP): New macro.
61552         Fix overflow bug.
61554 2011-10-12  Andreas Jaeger  <aj@suse.de>
61556         [BZ #13268]
61557         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61559 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
61561         * libio/iofwide.c (do_length): Avoid warning.
61563         * ctype/ctype.h (__isctype_f): Add missing __THROW.
61565 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
61567         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61569         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61570         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61571         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61572         * sysdeps/i386/i686/fpu/e_log.S: New file.
61573         * sysdeps/i386/i686/fpu/e_logf.S: New file.
61574         * sysdeps/i386/i686/fpu/e_logl.S: New file.
61576         * ctype/ctype.h: Add support for inlined isXXX functions when
61577         compiling C++ code.
61579 2011-10-14  Andreas Schwab  <schwab@redhat.com>
61581         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61583         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61585 2011-10-13  Roland McGrath  <roland@hack.frob.com>
61587         [BZ #13291]
61588         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61590 2011-10-13  Andreas Schwab  <schwab@redhat.com>
61592         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61593         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61594         feraiseexcept.
61596         * sysdeps/x86_64/memrchr.S: Check for zero size.
61598         * string/stratcliff.c: Add memrchr tests.
61600 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61602         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61603         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61604         rawmemchr-sse2 rawmemchr-sse2-bsf.
61605         * sysdeps/i386/i686/multiarch/memchr.S: New file.
61606         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61607         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61608         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61609         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61610         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61611         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61612         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61613         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61614         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61615         * string/memrchr.c (MEMRCHR): New macro.
61617 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
61619         Add integration with gcc's -ffinite-math-only and optimize wrapper
61620         functions in libm.
61621         * Versions.def: Define GLIBC_2.15 version for libm.
61622         * math/Makefile (headers): Add bits/math-finite.h.
61623         * math/bits/math-finite.h: New file.
61624         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61625         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61626         * math/e_acoshl.c: Add __*_finite alias.
61627         * math/e_acosl.c: Likewise.
61628         * math/e_asinl.c: Likewise.
61629         * math/e_atan2l.c: Likewise.
61630         * math/e_atanhl.c: Likewise.
61631         * math/e_coshl.c: Likewise.
61632         * math/e_exp10.c: Likewise.
61633         * math/e_exp10f.c: Likewise.
61634         * math/e_exp10l.c: Likewise.
61635         * math/e_exp2l.c: Likewise.
61636         * math/e_fmodl.c: Likewise.
61637         * math/e_gammal_r.c: Likewise.
61638         * math/e_hypotl.c: Likewise.
61639         * math/e_j0l.c: Likewise.
61640         * math/e_j1l.c: Likewise.
61641         * math/e_jnl.c: Likewise.
61642         * math/e_lgammal_r.c: Likewise.
61643         * math/e_log10l.c: Likewise.
61644         * math/e_log2l.c: Likewise.
61645         * math/e_logl.c: Likewise.
61646         * math/e_powl.c: Likewise.
61647         * math/e_sinhl.c: Likewise.
61648         * math/e_sqrtl.c: Likewise.
61649         * math/e_scalb.c: Completely rewritten and optimized.
61650         * math/e_scalbf.c: Likewise.
61651         * math/e_scalbl.c: Likewise.
61652         * math/w_acos.c: Likewise.
61653         * math/w_acosf.c: Likewise.
61654         * math/w_acosl.c: Likewise.
61655         * math/w_acosh.c: Likewise.
61656         * math/w_acoshf.c: Likewise.
61657         * math/w_acoshl.c: Likewise.
61658         * math/w_asin.c: Likewise.
61659         * math/w_asinf.c: Likewise.
61660         * math/w_asinl.c: Likewise.
61661         * math/w_atan2.c: Likewise.
61662         * math/w_atan2f.c: Likewise.
61663         * math/w_atan2l.c: Likewise.
61664         * math/w_atanh.c: Likewise.
61665         * math/w_atanhf.c: Likewise.
61666         * math/w_atanhl.c: Likewise.
61667         * math/w_exp10.c: Likewise.
61668         * math/w_exp10f.c: Likewise.
61669         * math/w_exp10l.c: Likewise.
61670         * math/w_fmod.c: Likewise.
61671         * math/w_fmodf.c: Likewise.
61672         * math/w_fmodl.c: Likewise.
61673         * math/w_j0.c: Likewise.
61674         * math/w_j0f.c: Likewise.
61675         * math/w_j0l.c: Likewise.
61676         * math/w_j1.c: Likewise.
61677         * math/w_j1f.c: Likewise.
61678         * math/w_j1l.c: Likewise.
61679         * math/w_jn.c: Likewise.
61680         * math/w_jnf.c: Likewise.
61681         * math/w_log.c: Likewise.
61682         * math/w_logf.c: Likewise.
61683         * math/w_logl.c: Likewise.
61684         * math/w_log10.c: Likewise.
61685         * math/w_log10f.c: Likewise.
61686         * math/w_log10l.c: Likewise.
61687         * math/w_log2.c: Likewise.
61688         * math/w_log2f.c: Likewise.
61689         * math/w_log2l.c: Likewise.
61690         * math/w_pow.c: Likewise.
61691         * math/w_powf.c: Likewise.
61692         * math/w_powl.c: Likewise.
61693         * math/w_remainder.c: Likewise.
61694         * math/w_remainderf.c: Likewise.
61695         * math/w_remainderl.c: Likewise.
61696         * math/w_scalb.c: Likewise.
61697         * math/w_scalbf.c: Likewise.
61698         * math/w_scalbl.c: Likewise.
61699         * math/w_sqrt.c: Likewise.
61700         * math/w_sqrtf.c: Likewise.
61701         * math/w_sqrtl.c: Likewise.
61702         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61703         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
61704         used.
61705         * math/math_private.h: Declare __kernel_standard_f.
61706         * math/w_cosh.c: Remove cruft and optimize a bit.
61707         * math/w_coshf.c: Likewise.
61708         * math/w_coshl.c: Likewise.
61709         * math/w_exp2.c: Likewise.
61710         * math/w_exp2f.c: Likewise.
61711         * math/w_exp2l.c: Likewise.
61712         * math/w_hypot.c: Likewise.
61713         * math/w_hypotf.c: Likewise.
61714         * math/w_hypotl.c: Likewise.
61715         * math/w_lgamma.c: Likewise.
61716         * math/w_lgamma_r.c: Likewise.
61717         * math/w_lgammaf.c: Likewise.
61718         * math/w_lgammaf_r.c: Likewise.
61719         * math/w_lgammal.c: Likewise.
61720         * math/w_lgammal_r.c: Likewise.
61721         * math/w_sinh.c: Likewise.
61722         * math/w_sinhf.c: Likewise.
61723         * math/w_sinhl.c: Likewise.
61724         * math/w_tgamma.c: Likewise.
61725         * math/w_tgammaf.c: Likewise.
61726         * math/w_tgammal.c: Likewise.
61727         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61728         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61729         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61730         Minor optimizations.  Pretty printing.  Remove cruft.
61731         * sysdeps/i386/fpu/e_acosf.S: Likewise.
61732         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61733         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61734         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61735         * sysdeps/i386/fpu/e_acosl.c: Likewise.
61736         * sysdeps/i386/fpu/e_asin.S: Likewise.
61737         * sysdeps/i386/fpu/e_asinf.S: Likewise.
61738         * sysdeps/i386/fpu/e_atan2.S: Likewise.
61739         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61740         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61741         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61742         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61743         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61744         * sysdeps/i386/fpu/e_exp10.S: Likewise.
61745         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61746         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61747         * sysdeps/i386/fpu/e_exp2.S: Likewise.
61748         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61749         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61750         * sysdeps/i386/fpu/e_fmod.S: Likewise.
61751         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61752         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61753         * sysdeps/i386/fpu/e_hypot.S: Likewise.
61754         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61755         * sysdeps/i386/fpu/e_log.S: Likewise.
61756         * sysdeps/i386/fpu/e_log10.S: Likewise.
61757         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61758         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61759         * sysdeps/i386/fpu/e_log2.S: Likewise.
61760         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61761         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61762         * sysdeps/i386/fpu/e_logf.S: Likewise.
61763         * sysdeps/i386/fpu/e_logl.S: Likewise.
61764         * sysdeps/i386/fpu/e_pow.S: Likewise.
61765         * sysdeps/i386/fpu/e_powf.S: Likewise.
61766         * sysdeps/i386/fpu/e_powl.S: Likewise.
61767         * sysdeps/i386/fpu/e_remainder.S: Likewise.
61768         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61769         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61770         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61771         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61772         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61773         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61774         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61775         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61776         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61777         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61778         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61779         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61780         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61781         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61782         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61783         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61784         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61785         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61786         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61787         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61788         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61789         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61790         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61791         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61792         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61793         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61794         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61795         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61796         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61797         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61798         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61799         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61800         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61801         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61802         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61803         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61804         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61805         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61806         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61807         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61808         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61809         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61810         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61811         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61812         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61813         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61814         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61815         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61816         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61817         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61818         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61819         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61820         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61821         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61822         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61823         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61824         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61825         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61826         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61827         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61828         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61829         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61830         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61831         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61832         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61833         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61834         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61835         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61836         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61837         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61838         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61839         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61840         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61841         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61842         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61843         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61844         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61845         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61846         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61847         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61848         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61849         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61850         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61851         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61852         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61853         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61854         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61855         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61856         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61857         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61858         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
61859         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61860         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61861         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61862         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61863         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61864         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61865         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61866         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61867         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61868         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61869         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61870         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61871         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
61872         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
61873         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
61874         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
61875         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
61876         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
61877         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
61878         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
61879         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
61880         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61881         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61882         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61883         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61884         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
61885         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61886         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
61887         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
61888         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
61889         (__isnanf): Likewise.
61890         (__isinf_ns): Likewise.
61891         (__isinf_nsf): Likewise.
61892         (__finite): Likewise.
61893         (__finitef): Likewise.
61894         (__ieee754_sqrt): Define as macro.
61895         (__ieee754_sqrtf): Define as macro.
61896         (__ieee754_sqrtl): Define as macro.
61897         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
61898         inlined copy.
61899         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
61900         __FINITE_MATH_ONLY__ consistent.
61901         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
61903 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
61905         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
61906         of rawmemchr.
61908         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
61910 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
61912         * po/ja.po: Update from translation team.
61914 2011-10-08  Roland McGrath  <roland@hack.frob.com>
61916         * locale/programs/locarchive.c (prepare_address_space): New function.
61917         (create_archive, enlarge_archive, open_archive): Use it.
61919         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
61920         inside [SHARED], where it is used.
61922         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
61924         * nss/getent.c (netgroup_keys): Remove unused variable.
61925         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61927 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
61929         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
61930         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
61931         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
61932         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
61933         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
61934         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
61935         * math/Makefile (libm-calls): Add s_isinf_ns.
61936         * math/divtc3.c: Use __isinf_nsl instead of isinf.
61937         * math/multc3.c: Likewise.
61938         * math/s_casin.c: Likewise.
61939         * math/s_casinf.c: Likewise.
61940         * math/s_casinl.c: Likewise.
61941         * math/s_ccos.c: Likewise.
61942         * math/s_ccosf.c: Likewise.
61943         * math/s_ccosl.c: Likewise.
61944         * math/s_ctan.c: Likewise.
61945         * math/s_ctanf.c: Likewise.
61946         * math/s_ctanh.c: Likewise.
61947         * math/s_ctanhf.c: Likewise.
61948         * math/s_ctanhl.c: Likewise.
61949         * math/s_ctanl.c: Likewise.
61950         * math/w_fmod.c: Likewise.
61951         * math/w_fmodf.c: Likewise.
61952         * math/w_fmodl.c: Likewise.
61953         * math/w_remainder.c: Likewise.
61954         * math/w_remainderf.c: Likewise.
61955         * math/w_remainderl.c: Likewise.
61956         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
61957         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
61958         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
61959         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
61960         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
61961         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
61962         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
61963         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
61965         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
61966         of the number.
61967         * stdio-common/printf_fphex.c: Likewise.
61968         * stdio-common/printf_size.c: Likewise.
61970         * math/e_exp10.c: Include math_private.h using <...> not "...".
61971         * math/e_exp10f.c: Likewise.
61972         * math/e_exp10l.c: Likewise.
61973         * math/e_exp2l.c: Likewise.
61974         * math/e_j0l.c: Likewise.
61975         * math/e_j1l.c: Likewise.
61976         * math/e_jnl.c: Likewise.
61977         * math/e_lgammal_r.c: Likewise.
61978         * math/e_rem_pio2l.c: Likewise.
61979         * math/e_scalb.c: Likewise.
61980         * math/e_scalbf.c: Likewise.
61981         * math/e_scalbl.c: Likewise.
61982         * math/k_cosl.c: Likewise.
61983         * math/k_sinl.c: Likewise.
61984         * math/k_tanl.c: Likewise.
61985         * math/s_cacoshf.c: Likewise.
61986         * math/s_catan.c: Likewise.
61987         * math/s_catanf.c: Likewise.
61988         * math/s_catanh.c: Likewise.
61989         * math/s_catanhf.c: Likewise.
61990         * math/s_catanhl.c: Likewise.
61991         * math/s_catanl.c: Likewise.
61992         * math/s_ccosh.c: Likewise.
61993         * math/s_ccoshf.c: Likewise.
61994         * math/s_ccoshl.c: Likewise.
61995         * math/s_cexp.c: Likewise.
61996         * math/s_cexpf.c: Likewise.
61997         * math/s_cexpl.c: Likewise.
61998         * math/s_clog.c: Likewise.
61999         * math/s_clog10.c: Likewise.
62000         * math/s_clog10f.c: Likewise.
62001         * math/s_clog10l.c: Likewise.
62002         * math/s_clogf.c: Likewise.
62003         * math/s_clogl.c: Likewise.
62004         * math/s_csin.c: Likewise.
62005         * math/s_csinf.c: Likewise.
62006         * math/s_csinh.c: Likewise.
62007         * math/s_csinhf.c: Likewise.
62008         * math/s_csinhl.c: Likewise.
62009         * math/s_csinl.c: Likewise.
62010         * math/s_csqrt.c: Likewise.
62011         * math/s_csqrtf.c: Likewise.
62012         * math/s_csqrtl.c: Likewise.
62013         * math/s_ctan.c: Likewise.
62014         * math/s_ctanf.c: Likewise.
62015         * math/s_ctanh.c: Likewise.
62016         * math/s_ctanhf.c: Likewise.
62017         * math/s_ctanhl.c: Likewise.
62018         * math/s_ctanl.c: Likewise.
62019         * math/s_ldexp.c: Likewise.
62020         * math/s_ldexpf.c: Likewise.
62021         * math/s_ldexpl.c: Likewise.
62022         * math/s_significand.c: Likewise.
62023         * math/s_significandf.c: Likewise.
62024         * math/s_significandl.c: Likewise.
62025         * math/w_acos.c: Likewise.
62026         * math/w_acosf.c: Likewise.
62027         * math/w_acosh.c: Likewise.
62028         * math/w_acoshf.c: Likewise.
62029         * math/w_acoshl.c: Likewise.
62030         * math/w_acosl.c: Likewise.
62031         * math/w_asin.c: Likewise.
62032         * math/w_asinf.c: Likewise.
62033         * math/w_asinl.c: Likewise.
62034         * math/w_atan2.c: Likewise.
62035         * math/w_atan2f.c: Likewise.
62036         * math/w_atan2l.c: Likewise.
62037         * math/w_atanh.c: Likewise.
62038         * math/w_atanhf.c: Likewise.
62039         * math/w_atanhl.c: Likewise.
62040         * math/w_cosh.c: Likewise.
62041         * math/w_coshf.c: Likewise.
62042         * math/w_coshl.c: Likewise.
62043         * math/w_dremf.c: Likewise.
62044         * math/w_exp10.c: Likewise.
62045         * math/w_exp10f.c: Likewise.
62046         * math/w_exp10l.c: Likewise.
62047         * math/w_exp2.c: Likewise.
62048         * math/w_exp2f.c: Likewise.
62049         * math/w_fmod.c: Likewise.
62050         * math/w_fmodf.c: Likewise.
62051         * math/w_fmodl.c: Likewise.
62052         * math/w_hypot.c: Likewise.
62053         * math/w_hypotf.c: Likewise.
62054         * math/w_hypotl.c: Likewise.
62055         * math/w_j0.c: Likewise.
62056         * math/w_j0f.c: Likewise.
62057         * math/w_j0l.c: Likewise.
62058         * math/w_j1.c: Likewise.
62059         * math/w_j1f.c: Likewise.
62060         * math/w_j1l.c: Likewise.
62061         * math/w_jn.c: Likewise.
62062         * math/w_jnf.c: Likewise.
62063         * math/w_jnl.c: Likewise.
62064         * math/w_lgamma.c: Likewise.
62065         * math/w_lgamma_r.c: Likewise.
62066         * math/w_lgammaf.c: Likewise.
62067         * math/w_lgammaf_r.c: Likewise.
62068         * math/w_lgammal.c: Likewise.
62069         * math/w_lgammal_r.c: Likewise.
62070         * math/w_log.c: Likewise.
62071         * math/w_log10.c: Likewise.
62072         * math/w_log10f.c: Likewise.
62073         * math/w_log10l.c: Likewise.
62074         * math/w_log2.c: Likewise.
62075         * math/w_log2f.c: Likewise.
62076         * math/w_log2l.c: Likewise.
62077         * math/w_logf.c: Likewise.
62078         * math/w_logl.c: Likewise.
62079         * math/w_pow.c: Likewise.
62080         * math/w_powf.c: Likewise.
62081         * math/w_powl.c: Likewise.
62082         * math/w_remainder.c: Likewise.
62083         * math/w_remainderf.c: Likewise.
62084         * math/w_remainderl.c: Likewise.
62085         * math/w_scalb.c: Likewise.
62086         * math/w_scalbf.c: Likewise.
62087         * math/w_scalbl.c: Likewise.
62088         * math/w_sinh.c: Likewise.
62089         * math/w_sinhf.c: Likewise.
62090         * math/w_sinhl.c: Likewise.
62091         * math/w_sqrt.c: Likewise.
62092         * math/w_sqrtf.c: Likewise.
62093         * math/w_sqrtl.c: Likewise.
62094         * math/w_tgamma.c: Likewise.
62095         * math/w_tgammaf.c: Likewise.
62096         * math/w_tgammal.c: Likewise.
62098         * po/ja.po: Update from translation team.
62100 2011-09-29  Andreas Jaeger  <aj@suse.de>
62102         [BZ #13179]
62103         * sunrpc/netname.c (netname2host): Fix logic.
62105         [BZ #6779]
62106         [BZ #6783]
62107         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
62108         correctly.
62109         * math/w_remainder.c (__remainder): Likewise.
62110         * math/w_remainderf.c (__remainderf): Likewise.
62111         * math/libm-test.inc (remainder_test): Add test cases.
62113 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62115         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
62116         sdiv_qrnnd.
62118 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
62120         * string/test-memcmp.c: Avoid unncessary #defines.
62121         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
62123 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62125         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
62126         Use new sse2 version for core i3 - i7 as it's faster
62127         than sse42 version.
62128         (bit_Prefer_PMINUB_for_stringop): New.
62129         * sysdeps/x86_64/rawmemchr.S: Update.
62130         Replace with faster SSE2 version.
62131         * sysdeps/x86_64/memrchr.S: New file.
62132         * sysdeps/x86_64/memchr.S: Update.
62133         Replace with faster SSE2 version.
62135 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
62137         * elf/dl-load.c (lose): Add cast to avoid warning.
62139 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
62141         * po/ca.po: Update from translation team.
62143         * inet/getnetgrent_r.c: Hook up nscd.
62144         * nscd/Makefile (routines): Add nscd_netgroup.
62145         (nscd-modules): Add netgroupcache.
62146         (CFLAGS-netgroupcache.c): Define.
62147         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
62148         (cache_search): Add const to second parameter.
62149         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
62150         INNETGR.
62151         (dbs): Add netgrdb entry.
62152         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
62153         (verify_persistent_db): Handle netgrdb.
62154         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
62155         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
62156         GETFDNETGR.
62157         (netgroup_response_header): Define.
62158         (innetgroup_response_header): Define.
62159         (datahead): Add netgroup_response_header and innetgroup_response_header
62160         elements.
62161         * nscd/nscd.conf: Add entries for netgroup cache.
62162         * nscd/nscd.h (dbtype): Add netgrdb.
62163         (_PATH_NSCD_NETGROUP_DB): Define.
62164         (netgroup_iov_disabled): Declare.
62165         (xmalloc, xcalloc, xrealloc): Move declarations here.
62166         (cache_search): Adjust prototype.
62167         Add netgroup-related prototypes.
62168         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
62169         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
62170         (__nscd_innetgr): Declare.
62171         * nscd/selinux.c (perms): Use access_vector_t as element type and
62172         add netgroup-related initializers.
62173         * nscd/netgroupcache.c: New file.
62174         * nscd/nscd_netgroup.c: New file.
62175         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
62176         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
62177         For four parameters use innetgr.
62178         * nss/nss_files/files-init.c: Add definition and callback for netgr.
62179         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
62180         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
62181         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
62183         * nscd/connections.c (register_traced_file): Don't register file
62184         for disabled databases.
62186 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
62188         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
62190         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
62191         from tree and freeing node.
62193 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
62195         * nss/nsswitch.c (__nss_database_lookup): Handle
62196         nss_parse_service_list out of memory case.
62198 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
62200         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
62201         out of memory case.
62203 2011-10-04  Andreas Schwab  <schwab@redhat.com>
62205         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
62206         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
62207         pass it down.
62208         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
62209         elf_machine_rela, elf_machine_lazy_rel.
62210         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
62211         (ELF_DYNAMIC_DO_REL): Likewise.
62212         (ELF_DYNAMIC_DO_RELA): Likewise.
62213         (ELF_DYNAMIC_RELOCATE): Likewise.
62214         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
62215         to ELF_DYNAMIC_DO_REL.
62216         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
62217         (dl_main): In trace mode always set __RTLD_NOIFUNC.
62218         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
62219         elf_machine_rela.
62220         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
62221         skip_ifunc, don't call ifunc function if non-zero.
62222         (elf_machine_rela): Likewise.
62223         (elf_machine_lazy_rel): Likewise.
62224         (elf_machine_lazy_rela): Likewise.
62225         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
62226         (elf_machine_lazy_rel): Likewise.
62227         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
62228         Likewise.
62229         (elf_machine_lazy_rel): Likewise.
62230         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62231         Likewise.
62232         (elf_machine_lazy_rel): Likewise.
62233         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
62234         (elf_machine_lazy_rel): Likewise.
62235         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
62236         (elf_machine_lazy_rel): Likewise.
62237         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62238         (elf_machine_lazy_rel): Likewise.
62239         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
62240         (elf_machine_lazy_rel): Likewise.
62241         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
62242         (elf_machine_lazy_rel): Likewise.
62243         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62244         (elf_machine_lazy_rel): Likewise.
62246 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
62248         * nss/nss_files/files-init.c (_nss_files_init): Use static
62249         initialization for all the *_traced_file variables.
62251 2011-09-28  Andreas Schwab  <schwab@redhat.com>
62253         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62255 2011-09-27  Roland McGrath  <roland@hack.frob.com>
62257         [BZ #13226]
62258         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
62260 2011-09-27  Andreas Schwab  <schwab@redhat.com>
62262         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62263         Reread the line before reparsing it.
62265 2011-09-26  Andreas Schwab  <schwab@redhat.com>
62267         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
62269 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
62270             Maxim Kuvyrkov  <maxim@codesourcery.com>
62271             Joseph Myers  <joseph@codesourcery.com>
62273         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
62274         if needed for __stack_chk_guard.
62276 2011-09-19  Roland McGrath  <roland@hack.frob.com>
62278         * sysdeps/posix/spawni.c (script_execute): Always define it.
62279         It will be optimized away if unused.
62280         (maybe_script_execute): New function.
62281         (__spawni): Call it.
62283         * Makerules: Don't include tls.make.
62284         (config-tls): Always set to thread.
62285         * tls.make.c: File removed.
62287 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
62289         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
62290         * config.make.in (CPPFLAGS-config): New substituted variable.
62292 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
62294         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
62296         [BZ #13192]
62297         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
62298         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
62300 2011-09-15  Roland McGrath  <roland@hack.frob.com>
62302         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
62303         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
62304         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62305         (CALL_FAIL): Likewise.
62306         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
62307         (CALL_FAIL): Macro removed.
62308         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
62310 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
62312         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
62313         for __FINITE_MATH_ONLY__ == 1.
62315 2011-09-15  Andreas Schwab  <schwab@redhat.com>
62317         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
62318         __ieee754_sqrt instead of sqrt.
62319         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
62320         __ieee754_sqrtf instead of sqrtf.
62321         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
62322         __floorf instead of floorf.
62323         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
62324         __floorf, __truncf instead of floorf, truncf.
62326 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
62328         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
62330         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
62331         __extern_always_inline.
62332         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
62333         32-bit.
62335 2011-09-14  Andreas Schwab  <schwab@redhat.com>
62337         * elf/rtld.c (dl_main): Also relocate in dependency order when
62338         doing symbol dependency testing.
62340 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
62342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62343         Always define `refsym'.
62345 2011-09-13  Andreas Schwab  <schwab@redhat.com>
62347         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
62348         (__FD_ELT): Renamed from __FDELT.
62349         * misc/bits/select2.h (__FD_ELT): Likewise.
62350         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
62351         __FD_MASK instead of __FDELT, __FDMASK.
62352         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62353         Likewise.
62354         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62355         Likewise.
62357         * elf/Makefile (gen-ldd): Fix pattern.
62359         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
62360         (init_tls): Likewise.
62362 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
62364         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
62366 2011-09-12  Andreas Schwab  <schwab@redhat.com>
62368         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
62369         `struct cmsghdr *' instead of `void *'.
62370         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
62371         Likewise.
62373 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
62375         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
62376         if non-absolute.
62377         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
62378         ldd_rewrite_script.
62380 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
62382         * configure.in: Remove --with-tls option.
62383         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
62384         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
62385         out in case it is missing.
62386         * sysdeps/ia64/elf/configure.in: Likewise.
62387         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
62388         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
62389         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
62390         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
62391         * sysdeps/sh/elf/configure.in: Likewise.
62392         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
62393         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62394         * sysdeps/x86_64/elf/configure.in: Likewise.
62395         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
62396         * sysdeps/mach/hurd/tls.h: Likewise.
62398         [BZ #13067]
62399         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
62401         [BZ #13090]
62402         * configure.in: Fix use of AC_INIT.
62404         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
62406 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
62408         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
62409         __set_errno.
62410         * malloc/hooks.c: Likewise.
62412         [BZ #11929]
62413         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
62414         variables statically.
62415         (narenas): Initialize.
62416         (list_lock): Initialize.
62417         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
62418         initializtion of main_arena and list_lock.  Small cleanups.
62419         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
62420         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
62421         Add initializers to main_arena and mp_.
62422         (malloc_state): Remove pagesize member.  Change all users to use
62423         GLRO(dl_pagesize).
62425         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
62426         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
62427         is always initialized.
62429         * malloc/malloc.c: Removed unused configurations and dead code.
62430         * malloc/arena.c: Likewise.
62431         * malloc/hooks.c: Likewise.
62432         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
62434         * include/tls.h: Removed.  USE___THREAD must always be defined.
62435         * bits/libc-tsd.h: Don't handle !USE___THREAD.
62436         * elf/dl-libc.c: Likewise.
62437         * elf/dl-tsd.c: Likewise.
62438         * include/errno.h: Likewise.
62439         * include/netdb.h: Likewise.
62440         * include/resolv.h: Likewise.
62441         * inet/herrno-loc.c: Likewise.
62442         * inet/herrno.c: Likewise.
62443         * malloc/arena.c: Likewise.
62444         * malloc/hooks.c: Likewise.
62445         * malloc/malloc.c: Likewise.
62446         * resolv/res-state.c: Likewise.
62447         * resolv/res_libc.c: Likewise.
62448         * sysdeps/i386/dl-machine.h: Likewise.
62449         * sysdeps/ia64/dl-machine.h: Likewise.
62450         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
62451         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62452         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
62453         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
62454         * sysdeps/sh/dl-machine.h: Likewise.
62455         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62456         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62457         * sysdeps/unix/i386/sysdep.S: Likewise.
62458         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
62459         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
62460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
62461         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
62462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
62463         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
62464         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
62465         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62466         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
62468         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62469         * sysdeps/x86_64/dl-machine.h: Likewise.
62470         * tls.make.c: Likewise.
62472         * configure.in: Remove --with-__thread option.  Make tests for
62473         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
62474         tls_model attribute fail if no support is available.  Remove
62475         USE_IN_LIBIO.
62476         * Makeconfig: Adjust for dropped configure option.  All features are
62477         now mandatory.
62478         * Makerules: Likewise.
62479         * Versions.def: Likewise.
62480         * argp/argp-fmtstream.c: Likewise.
62481         * argp/argp-fmtstream.h: Likewise.
62482         * argp/argp-help.c: Likewise.
62483         * assert/assert.c: Likewise.
62484         * config.h.in: Likewise.
62485         * config.make.in: Likewise.
62486         * configure: Likewise.
62487         * configure.in: Likewise.
62488         * csu/Versions: Likewise.
62489         * csu/init.c: Likewise.
62490         * elf/tst-audit2.c: Likewise.
62491         * elf/tst-tls10.c: Likewise.
62492         * elf/tst-tls10.h: Likewise.
62493         * elf/tst-tls11.c: Likewise.
62494         * elf/tst-tls12.c: Likewise.
62495         * elf/tst-tls14.c: Likewise.
62496         * elf/tst-tlsmod11.c: Likewise.
62497         * elf/tst-tlsmod12.c: Likewise.
62498         * elf/tst-tlsmod13.c: Likewise.
62499         * elf/tst-tlsmod13a.c: Likewise.
62500         * elf/tst-tlsmod14a.c: Likewise.
62501         * elf/tst-tlsmod15b.c: Likewise.
62502         * elf/tst-tlsmod16a.c: Likewise.
62503         * elf/tst-tlsmod16b.c: Likewise.
62504         * elf/tst-tlsmod7.c: Likewise.
62505         * elf/tst-tlsmod8.c: Likewise.
62506         * elf/tst-tlsmod9.c: Likewise.
62507         * gmon/gmon.c: Likewise.
62508         * grp/fgetgrent_r.c: Likewise.
62509         * grp/putgrent.c: Likewise.
62510         * hurd/fopenport.c: Likewise.
62511         * include/libc-symbols.h: Likewise.
62512         * include/tls.h: Likewise.
62513         * intl/gettextP.h: Likewise.
62514         * intl/loadinfo.h: Likewise.
62515         * locale/global-locale.c: Likewise.
62516         * locale/localeinfo.h: Likewise.
62517         * mach/devstream.c: Likewise.
62518         * malloc/arena.c: Likewise.
62519         * malloc/set-freeres.c: Likewise.
62520         * misc/err.c: Likewise.
62521         * misc/getttyent.c: Likewise.
62522         * misc/mntent_r.c: Likewise.
62523         * posix/getopt.c: Likewise.
62524         * posix/wordexp.c: Likewise.
62525         * pwd/fgetpwent_r.c: Likewise.
62526         * resolv/Versions: Likewise.
62527         * resolv/res_hconf.c: Likewise.
62528         * shadow/fgetspent_r.c: Likewise.
62529         * shadow/putspent.c: Likewise.
62530         * stdio-common/printf_fphex.c: Likewise.
62531         * stdio-common/tmpfile.c: Likewise.
62532         * stdlib/abort.c: Likewise.
62533         * stdlib/fmtmsg.c: Likewise.
62534         * sunrpc/auth_unix.c: Likewise.
62535         * sunrpc/clnt_perr.c: Likewise.
62536         * sunrpc/clnt_tcp.c: Likewise.
62537         * sunrpc/clnt_udp.c: Likewise.
62538         * sunrpc/clnt_unix.c: Likewise.
62539         * sunrpc/openchild.c: Likewise.
62540         * sunrpc/svc_simple.c: Likewise.
62541         * sunrpc/svc_tcp.c: Likewise.
62542         * sunrpc/svc_udp.c: Likewise.
62543         * sunrpc/svc_unix.c: Likewise.
62544         * sunrpc/xdr.c: Likewise.
62545         * sunrpc/xdr_array.c: Likewise.
62546         * sunrpc/xdr_rec.c: Likewise.
62547         * sunrpc/xdr_ref.c: Likewise.
62548         * sunrpc/xdr_stdio.c: Likewise.
62550 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62552         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62554 2011-07-03  Andreas Jaeger  <aj@suse.de>
62556         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62557         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62558         regenerate with gen-libm-tests.pl.
62560 2010-05-12  Petr Baudis  <pasky@suse.cz>
62562         [BZ #11589]
62563         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62564         around j0() zero points by switching to j1().
62565         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62566         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62567         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62568         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62570 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62572         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62573         instead of 0.
62574         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62575         instead of 0.
62576         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62577         Patch in part by Pavel Roskin <proski@gnu.org>.
62579         [BZ #13138]
62580         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62581         realloc.
62582         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
62583         Free memory block if necessary.
62585         [BZ #12847]
62586         * libio/genops.c (INTDEF): For string streams the _lock pointer can
62587         be NULL.  Don't lock in this case.
62589 2011-09-09  Roland McGrath  <roland@hack.frob.com>
62591         * elf/elf.h (ELFOSABI_GNU): New macro.
62592         (ELFOSABI_LINUX): Define to that.
62594 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
62596         * string/strncat.c (strncat): Undef the symbol in case it has been
62597         defined in bits/string.h.
62599 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
62601         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62603         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62604         link map.
62606 2011-08-17  Andreas Jaeger  <aj@suse.de>
62608         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62610 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
62611             Ian Lance Taylor  <iant@google.com>
62613         * math/libm-test.inc (lround_test): New testcase.
62614         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62616 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
62618         * Makefile: Remove support for automatic cvs check-ins.
62619         * Makerules: Likewise.
62620         * config.make.in: Likewise.
62621         * configure.in: Likewise.
62622         * intl/Makefile: Likewise.
62623         * locale/Makefile: Likewise.
62624         * po/Makefile: Likewise.
62625         * posix/Makefile: Likewise.
62626         * sysdeps/gnu/Makefile: Likewise.
62627         * sysdeps/mach/hurd/Makefile: Likewise.
62628         * sysdeps/sparc/sparc32/Makefile: Likewise.
62630         [BZ #13118]
62631         * posix/Makefile (bug-regex32-ENV): Define.
62632         Patch by John Stanley <jpsinthemix@verizon.net>.
62634         * misc/Makefile (headers): Add bits/select2.h.
62635         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62636         * misc/bits/select2.h: New file.
62637         * include/bits/select2.h: New file.
62638         * debug/Makefile (routines): Add fdelt_chk.
62639         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62640         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62641         FD_ISSET.
62642         * debug/fdelt_chk.c: New file.
62644         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
62645         * wcsmbs/test-wmemcmp.c: Likewise.
62646         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62647         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62649 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62651         * string/Makefile (strop-tests): Add memcmp.
62652         * string/test-wmemcmp.c: New file.
62653         * string/test-memcmp.c: Add wmemcmp support.
62655 2011-09-08  Roland McGrath  <roland@hack.frob.com>
62657         [BZ #13153]
62658         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62659         2011-07-19 change.
62661         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62662         garbage value in a __mach_port_mod_refs call in the cases of the
62663         task-self and thread-self ports.
62665 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62667         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62669 2011-09-08  Andreas Schwab  <schwab@redhat.com>
62671         * elf/dl-load.c (lose): Check for non-null L.
62673 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
62675         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62677         * elf/dl-libc.c (dlerror_run): Pass back error code from
62678         dl_catch_error.
62680         [BZ #13123]
62681         * elf/dl-load.c (lose): Free l_origin if it is valid.
62683         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62684         names.
62685         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62686         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62687         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62688         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62689         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62690         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62692 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62694         * sysdeps/powerpc/fpu/e_hypot.c: New file.
62695         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62696         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62697         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62698         * sysdeps/powerpc/fpu/k_cosf.c: New file.
62699         * sysdeps/powerpc/fpu/k_sinf.c: New file.
62700         * sysdeps/powerpc/fpu/s_cosf.c: New file.
62701         * sysdeps/powerpc/fpu/s_sinf.c: New file.
62702         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62703         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62705 2011-08-15  Alan Modra  <amodra@gmail.com>
62707         [BZ #13092]
62708         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62709         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62710         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
62711         ppc_mcount to static-only-routines.
62712         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62713         __mcount_internal.
62714         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62715         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
62717 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
62719         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62720         for finite and infinity parameters.
62722 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
62724         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62725         and add nop instructions for throughput optimization.
62726         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62728 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
62730         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62731         aligned copy for power7 with vector-scalar instructions.
62732         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62734 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
62736         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62737         AVX check.
62739 2011-09-07  Andreas Schwab  <schwab@redhat.com>
62741         [BZ #13144]
62742         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62743         last change.
62745 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
62747         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62748         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62749         syscall wrapper around clock_gettime in __vdso_clock_gettime.
62750         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62751         clock_gettime.
62753 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
62755         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62756         Forgot to demangle the pointer.
62758         * sysdeps/i386/sysdep.h: Define atom_text_section.
62759         * sysdeps/x86_64/sysdep.h: Likewise.
62760         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62761         section with atom_text_section.
62762         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62763         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62764         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62765         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62766         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62768         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62769         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62770         already be defined.  Change to take two parameters and don't assign
62771         result to variable.  Adjust all users.
62772         Define INTERNAL_GETTIME if not already defined.
62773         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62774         call.
62775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62776         HAVE_CLOCK_GETTIME_VSYSCALL.
62777         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62779         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62780         gettimeofday vsyscall, just use time.
62782 2011-09-06  Andreas Schwab  <schwab@redhat.com>
62784         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62785         <errno.h>.
62787 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
62789         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62790         syscall on x86-64.
62791         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62792         syscall.
62793         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62794         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62795         syscall if possible.
62797 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62799         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62800         e_ident.  Don't pass to find_mapsXX.
62801         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62803 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62805         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62806         strchr-sse2-no-bsf strrchr-sse2-no-bsf
62807         * sysdeps/x86_64/multiarch/strchr.S: Update.
62808         Check bit_slow_BSF bit.
62809         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62810         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62811         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62813 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62815         [BZ #13134]
62816         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62817         before glibc 2.15.
62818         (tryshell): Define.
62819         (__spawni): Change last parameter to be flag.  Test
62820         SPAWN_XFLAGS_USE_PATH flag to use path or not.
62821         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62822         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62823         * posix/spawni.c: Likewise.
62824         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62825         * posix/spawnp.c: Likewise.  Change normal version to use
62826         SPAWN_XFLAGS_USE_PATH.
62827         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62828         SPAWN_XFLAGS_TRY_SHELL.
62830         [BZ #13150]
62831         * posix/glob.h: Remove gcc 1.x support.
62833         [BZ #13068]
62834         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62836 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62838         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62839         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62840         strrchr-sse2-bsf
62841         * sysdeps/i386/i686/multiarch/strchr.S: New file.
62842         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62843         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62844         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62845         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62846         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62848 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62850         * sysdeps/x86_64/wcscmp.S: New file.
62852         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
62853         wcscmp-c wcscmp-sse2
62854         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
62855         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
62856         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
62857         * wcsmbs/wcscmp.c: Allow renaming.
62859 2011-09-05  David S. Miller  <davem@davemloft.net>
62861         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
62862         stack slot, rather than the struct return pointer slot.
62863         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
62864         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
62865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
62866         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
62868 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
62870         * po/ja.po: Update from translation team.
62872         [BZ #13144]
62873         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
62874         kernel in 64-bit binaries.
62876 2011-09-01  David S. Miller  <davem@davemloft.net>
62878         * elf/elf.h (HWCAP_SPARC_*): Move to..
62879         * sysdeps/sparc/sysdep.h: this new file and add new values.
62880         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
62881         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
62882         _DL_HWCAP_COUNT to 24.
62883         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62884         entries.
62885         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
62886         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
62887         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
62888         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
62889         instead of magic constants.
62890         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62892 2011-08-31  David S. Miller  <davem@davemloft.net>
62894         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
62895         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
62896         Reimplement to do errno handling inline.
62897         (SYSCALL_ERROR_HANDLER): New macro.
62898         (__SYSCALL_STRING): Do not do errno handling in asm.
62899         (__CLONE_SYSCALL_STRING): Delete.
62900         (__INTERNAL_SYSCALL_STRING): Delete.
62901         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
62902         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
62903         (PSEUDO): Reimplement to do errno handling inline.
62904         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
62905         (SYSCALL_ERROR_HANDLER): New macro.
62906         (__SYSCALL_STRING): Do not do errno handling in asm.
62907         (__CLONE_SYSCALL_STRING): Delete.
62908         (__INTERNAL_SYSCALL_STRING): Delete.
62909         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
62910         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
62911         i386.
62912         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
62913         (inline_syscall*): Add 'err' argument.
62914         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
62915         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
62916         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
62917         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
62919         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
62920         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62922 2011-08-30  Andreas Schwab  <schwab@redhat.com>
62924         * elf/rtld.c (dl_main): Relocate objects in dependency order.
62926 2011-08-29  Jiri Olsa <jolsa@redhat.com>
62928         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
62929         directive.
62931 2011-08-24  David S. Miller  <davem@davemloft.net>
62933         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
62935 2011-08-24  Andreas Schwab  <schwab@redhat.com>
62937         * elf/Makefile: Add rules to build and run unload8 test.
62938         * elf/unload8.c: New file.
62939         * elf/unload8mod1.c: New file.
62940         * elf/unload8mod1x.c: New file.
62941         * elf/unload8mod2.c: New file.
62942         * elf/unload8mod3.c: New file.
62944         * elf/dl-close.c (_dl_close_worker): Reset private search list if
62945         it wasn't used.
62947 2011-08-23  David S. Miller  <davem@davemloft.net>
62949         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
62950         subtract stack bias.
62951         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
62952         %sp not %fp in calculations.
62953         (_JMPBUF_UNWINDS_ADJ): Likewise.
62955         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
62956         (aio_suspend): Call it to force an exception region around the
62957         AIO_MISC_WAIT() invocation.
62959 2011-08-23  Andreas Schwab  <schwab@redhat.com>
62961         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
62962         backslash.
62964 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
62966         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
62967         protection macro.
62968         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
62969         and <dl-machine.h>.
62970         (Elf64_FuncDesc): Remove.
62972 2011-08-22  David S. Miller  <davem@davemloft.net>
62974         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
62975         sigaltstack check, add missing cfi directives.
62976         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
62977         missing cfi directives, and sigaltstack handling.
62979 2011-08-16  Andreas Schwab  <schwab@redhat.com>
62981         [BZ #11724]
62982         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
62983         object is seen twice.
62984         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62986         * elf/Makefile (distribute): Add tst-initorder2.c.
62987         (tests): Add tst-initorder2.
62988         (modules-names): Add tst-initorder2a tst-initorder2b
62989         tst-initorder2c tst-initorder2d.  Add rules to build them.
62990         ($(objpfx)tst-initorder2.out): New rule.
62991         * elf/tst-initorder2.c: New file.
62992         * elf/tst-initorder2.exp: New file.
62994 2011-08-22  Andreas Schwab  <schwab@redhat.com>
62996         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
62998         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
62999         dependencies back to end of function.
63001         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63002         $(elfobjdir)/ld.so.
63004 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
63006         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
63007         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
63008         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
63009         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
63010         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
63011         of __vdso_gettimeofday.
63012         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
63013         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
63014         attribute_hidden.
63015         (_libc_vdso_platform_setup): Remove initialization of
63016         __vdso_gettimeofday and __vdso_time.
63018 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
63020         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
63021         and fgetc_unlocked.
63022         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
63023         getc_unlocked.
63025         * elf/dl-open.c (add_to_global): Report additions to the global scope
63026         for LD_DEBUG=scopes.
63027         (dl_open_worker): Also print scope of newly loaded dependencies.
63028         (_dl_show_scope): Indicate if there is no scope.
63030         [BZ #13114]
63031         * stdio-common/Makefile (tests): Add bug24.
63032         * stdio-common/bug24.c: New file.
63034 2011-08-19  Andreas Jaeger  <aj@suse.de>
63036         [BZ #13114]
63037         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
63038         non-existant file when using close-on-exec mode.
63040 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
63042         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
63043         the very first instruction.
63045         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
63046         the CFI state in the end.
63047         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
63048         inclusion of dl-trampoline.h.
63049         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
63051 2011-08-19  Andreas Schwab  <schwab@redhat.com>
63053         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
63054         expectations for long double.
63056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
63057         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
63059 2011-08-14  David S. Miller  <davem@davemloft.net>
63061         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
63062         artificual limit depends upon the system page size.
63064 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
63066         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
63067         * resolv/Makefile: Define CFLAGS-libresolv.
63069 2011-08-17  Andreas Schwab  <schwab@redhat.com>
63071         * nss/makedb.c (compute_tables): Make variables used in nested
63072         function static.
63074 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
63076         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
63077         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
63078         if buffer was too small.
63080         * elf/pldd.c (main): Attach to all threads in the process.
63081         Rewrite /proc handling to use *at functions.
63083 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
63085         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
63086         specifies first scope to show.
63087         (dl_open_worker): Update callers.  Move printing scope of new
63088         object to before the relocation.
63089         * elf/rtld.c (dl_main): Update _dl_show_scope call.
63090         * sysdeps/generic/ldsodefs.h: Update declaration.
63092         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
63093         string for the scope number.
63095 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
63097         * nscd/servicescache.c (cache_addserv): Make sure written is always
63098         initialized.
63100 2011-08-14  Roland McGrath  <roland@hack.frob.com>
63102         * sysdeps/i386/i486/bits/atomic.h
63103         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
63104         statement expression, so as to suppress "set but not used" warning.
63105         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
63107         * string/strncat.c (STRNCAT): Use prototype definition.
63109         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
63110         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
63111         -Iprograms here.
63112         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
63113         (localedef-modules): Add localedef.
63114         (locale-modules): Add locale.
63116         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
63117         * elf/rtld.c (dl_main): Invert order of assignment in last change,
63118         to avoid a warning.
63120 2011-08-14  David S. Miller  <davem@davemloft.net>
63122         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
63123         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
63125 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
63127         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
63128         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
63129         * elf/rtld.c (dl_main): Set l_name of vDSO.
63130         Call _dl_show_scope when DL_DEBUG_SCOPES.
63131         (process_dl_debug): Recognize scopes flag and also set it for all.
63132         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
63133         Declare _dl_show_scope.
63135         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
63136         (do_dlopen): Pass caller_dlopen to dl_open.
63137         (__libc_dlopen_mode): Initialize caller_dlopen.
63139         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
63140         of libc.  Make tolower call locale-independent.  Optimize a bit by
63141         using isdigit instead of isalnum.
63142         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
63144 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
63146         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
63147         was a dependency or dynamically loaded.
63149 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
63151         * intl/l10nflist.c: Allow architecture-specific pop function.
63152         * sysdeps/x86_64/l10nflist.c: New file.
63154         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
63155         classification.
63157 2011-08-10  Andreas Schwab  <schwab@redhat.com>
63159         * include/dirent.h: Add libc_hidden_proto for scandirat and
63160         scandirat64.  Don't declare __scandirat64.
63161         * dirent/scandirat.c: Add libc_hidden_def.
63162         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
63163         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
63165 2011-08-10  David S. Miller  <davem@davemloft.net>
63167         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
63168         enum.
63169         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63170         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63171         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63173 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
63175         * Versions.def [libc]: Add GLIBC_2.15.
63176         * dirent/Makefile (routines): Add scandirat and scandirat64.
63177         * dirent/Versions [libc]: Export scandirat and scandirat64 for
63178         GLIBC_2.15.
63179         * dirent/dirent.h: Declare scandirat and scandirat64.
63180         * dirent/scandirat.c: New file.
63181         * dirent/scandirat64.c: New file.
63182         * sysdeps/wordsize-64/scandirat.c: New file.
63183         * sysdeps/wordsize-64/scandirat64.c: New file.
63184         * dirent/opendir.c: Define opendirat.
63185         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
63186         using scandirat.
63187         * dirent/scandir64.c: Adjust for scandir.c change.
63188         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
63189         __scandirat64, and __scandir_cancel_handler.
63190         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
63191         additional parameter and use openat instead of open (outside of ld.so).
63192         Add new __opendir as wrapper around __opendirat.
63193         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
63194         here without requiring old scandirat implementation.
63196 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
63198         * dirent/scandir.c (cancel_handler): Renamed to
63199         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
63200         defined.  Adjust users.
63201         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
63202         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
63204 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
63206         * string/test-string.h (IMPL): Use __STRING to expand name and then
63207         stringify it.
63209         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
63210         of cleanups.
63212 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63214         * string/Makefile: Update.
63215         (strop-tests): Append strncat.
63216         * string/test-wcscmp.c: New file.
63217         New comprehensive test for wcscmp.
63218         * string/test-strcmp.c: Update.
63219         (WIDE): New define.
63221 2011-07-22  Andreas Schwab  <schwab@redhat.com>
63223         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
63224         line.
63226 2011-07-26  Andreas Schwab  <schwab@redhat.com>
63228         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63229         encoding to ACE if AI_IDN.
63231 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
63233         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
63234         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
63236 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63238         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
63239         Fix overflow bug in strncat.
63240         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
63242         * string/test-strncat.c: Update.
63243         Add new tests for checking overflow bugs.
63245 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63247         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63248         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
63249         * sysdeps/i386/i686/multiarch/strcat.S: New file.
63250         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
63251         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
63252         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
63253         * sysdeps/i386/i686/multiarch/strncat.S: New file.
63254         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
63255         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
63257         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
63258         (USE_AS_STRCAT): Define.
63259         Add strcat and strncat support.
63260         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
63262 2011-07-25  Andreas Schwab  <schwab@redhat.com>
63264         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
63265         __n bigger than INT_MAX+1.
63266         (__strncmp_g): Likewise.
63268 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
63270         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
63271         * libio/stido.h: Likewise.
63273         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
63274         (AF_NFC): Define.
63275         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
63276         (AF_NFC): Define.
63278         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
63279         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63280         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63281         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
63282         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63284         [BZ #13021]
63285         * scripts/test-installation.pl: Don't expect libnss_test1 to be
63286         installed.
63288         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
63289         typo.
63290         (_dl_x86_64_save_sse): Likewise.
63292 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
63294         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
63295         OSXSAVE.
63296         (_dl_x86_64_save_sse): Likewise.
63298         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
63300         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
63302 2011-07-21  Andreas Schwab  <schwab@redhat.com>
63304         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
63305         change.
63306         (_dl_x86_64_save_sse): Use correct AVX check.
63308 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63310         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
63311         bug in strncpy/strncat.
63312         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
63314 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
63316         * string/tester.c (test_strcat): Add tests for different alignments
63317         of source and destination.
63318         (test_strncat): Likewise.
63320 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
63322         [BZ #12852]
63323         * posix/glob.c (glob): Check passed in values before using them in
63324         expressions to avoid some overflows.
63325         (glob_in_dir): Likewise.
63327         [BZ #13007]
63328         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
63329         check for AVX enablement so that we don't crash with old kernels and
63330         new hardware.
63331         * elf/tst-audit4.c: Add same checks here.
63332         * elf/tst-audit6.c: Likewise.
63334         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
63336 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
63338         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
63340 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
63342         * po/cs.po: Update from translation team.
63343         * po/bg.po: Likewise.
63345 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
63347         * misc/sys/cdefs.h: Add support for const attribute.
63348         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
63349         to gnu_dev_{major,minor,makedev} functions.
63351 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
63353         * intl/dcigettext.c (get_output_charset): Add missing bracket.
63355 2011-07-20  Andreas Schwab  <schwab@redhat.com>
63357         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
63358         strlen results.
63360 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63362         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
63363         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
63364         register in order to avoid conflicts with the soft frame pointer
63365         being held in r11 when necessary.
63366         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
63367         (INTERNAL_VSYSCALL_NCS): Likewise.
63369 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
63371         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
63372         * elf/dl-fini.c (_dl_fini): Adjust caller.
63373         * elf/dl-close.c (_dl_close_worker): Likewise.
63374         * sysdeps/generic/ldsodefs.h: Adjust declaration.
63376 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63378         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
63379         "aux_cache->nlibs < 0".
63381         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
63382         in the reload-count case.
63384 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63387         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
63388         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
63389         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
63390         * sysdeps/x86_64/multiarch/strcat.S: New file.
63391         * sysdeps/x86_64/multiarch/strncat.S: New file.
63392         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
63393         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
63394         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
63395         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
63396         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
63397         (USE_AS_STRCAT): Define.
63398         Add strcat and strncat support.
63399         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
63400         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63401         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
63402         * string/strncat.c: Update.
63403         (USE_AS_STRNCAT): Define.
63404         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63405         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
63406         and i7.
63407         * sysdeps/x86_64/multiarch/init-arch.h
63408         (bit_Prefer_PMINUB_for_stringop): New.
63409         (index_Prefer_PMINUB_for_stringop): Likewise.
63410         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
63411         bit_Prefer_PMINUB_for_stringop.
63413 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63415         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
63416         buffer64.
63417         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
63418         of casting of buffer.
63419         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
63420         buffer32 and buffer64.
63421         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
63422         writes instead of casting of buffer.
63423         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
63424         buffer32.
63425         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
63426         casting of buffer.
63428 2011-07-19  Andreas Schwab  <schwab@redhat.com>
63430         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
63432 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
63434         * nscd/nscd.c (termination_handler): Don't do anything for a database
63435         if it has not yet been initialized.
63437 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63439         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63441 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
63443         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63445 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
63447         * po/nl.po: Update from translation team.
63448         * po/sv.po: Likewise.
63450 2011-07-16  Roland McGrath  <roland@hack.frob.com>
63452         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
63453         now disallowed by GCC.
63455         * configure.in (use-default-link): Default to yes if a test -shared
63456         link meets our qualifications.
63457         * configure: Regenerated.
63459         * config.make.in (output-format): New variable.
63460         * configure.in: Check for ld --print-output-format support.
63461         * configure: Regenerated.
63462         * Makerules ($(common-objpfx)format.lds)
63463         [$(output-format) != unknown]: Just use $(output-format),
63464         instead of the linker-script munging.
63466 2011-07-14  Roland McGrath  <roland@hack.frob.com>
63468         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
63469         of $(common-objpfx)shlib.lds.
63470         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
63472         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
63473         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
63475         * configure.in (-z relro check): Adjust test code to add a large
63476         writable data section after it.
63477         * configure: Regenerated.
63479 2011-07-11  Roland McGrath  <roland@hack.frob.com>
63481         * configure.in (-z relro check): Fix test code to make the variable
63482         truly const.
63483         * configure: Regenerated.
63485 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
63487         * nscd/nscd.h (struct traced_file): Define.
63488         (struct database_dyn): Remove inotify_descr, reset_res, and filename
63489         elements.  Add traced_files.
63490         (inotify_fd): Declare.
63491         (register_traced_file): Declare.
63492         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63493         (inotify_fd): Export.
63494         (resolv_conf_descr): Remove.
63495         (nscd_init): Move inotify descriptor creation to main.
63496         Don't register files for notification here.
63497         (register_traced_file): New function.
63498         (invalidate_cache): Don't use reset_res to determine whether to call
63499         res_init, go through the list of registered files.
63500         (main_loop_poll): The inotify descriptors are now stored in the
63501         structures for the traced files.
63502         (main_loop_epoll): Likewise
63503         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
63504         to __nss_disable_nscd.
63505         * nscd/cache.c (prune_cache): There is no single inotify descriptor
63506         for a database anymore.  Check the records for all the registered
63507         files instead.
63508         * nss/Makefile (libnss_files-routines): Add files-init.
63509         (libnss_db-routines): Add db-init.
63510         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63511         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63512         * nss/nss_db/db-init.c: New file.
63513         * nss/nss_files/files-init.c: New file.
63514         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
63515         __nss_lookup_function.
63516         (__nss_lookup_function): Call nss_load_library.
63517         (nss_load_all_libraries): New function.
63518         (__nss_disable_nscd): Take parameter with callback function for files
63519         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
63520         used for the cached services.
63521         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63522         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63523         options for features to all the files in nscd.
63525         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63527 2011-07-10  Roland McGrath  <roland@hack.frob.com>
63529         * csu/elf-init.c (__libc_csu_init): Comment typo.
63531 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
63533         * po/pl.po: Update from translation team.
63534         * po/ja.po: Likewise.
63535         * po/ru.po: Likewise.
63536         * po/ko.po: Likewise.
63537         * po/fr.po: Likewise.
63539 2011-07-09  Roland McGrath  <roland@hack.frob.com>
63541         * configure.in (.ctors/.dtors header and trailer check):
63542         Use an empirical test on a built program.
63543         * configure: Regenerated.
63545         * configure.in (-z relro check): Use an empirical test on a built DSO.
63546         Detect, but do not require, on ia64.
63547         * configure: Regenerated.
63549         * configure.in (READELF): Find it with AC_CHECK_TOOL.
63550         Update tests that use readelf to use $READELF instead.
63551         * configure: Regenerated.
63553 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
63555         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63556         if the result is not used.
63558 2011-07-05  Andreas Jaeger  <aj@suse.de>
63560         [BZ#9696]
63561         * stdlib/tst-strtod.c: Add testcase.
63563 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
63565         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63566         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63567         The latter has a higher limit.  Take additional parameter to pass to
63568         the new function.
63569         (__pathconf): Pass file to __statfs_link_max.
63570         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63571         __statfs_link_max.
63572         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63573         __statfs_link_max.
63575         [BZ #12868]
63576         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63577         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63578         Handle Lustre.
63579         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63580         (__statfs_filesize_max): Likewise.
63581         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63583 2011-07-05  Andreas Jaeger  <aj@suse.de>
63585         * resolv/res_comp.c (dn_skipname): Remove unused variable.
63587 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
63589         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63590         `status' variable.
63591         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63592         Likewise.
63594 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
63596         * Makefile (strop-tests): Add strncat.
63597         * string/test-strncat.c: New file.
63599 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
63601         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63603 2011-06-21  Andreas Jaeger  <aj@suse.de>
63605         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63606         Copy rule from iconvdata/Makefile.
63608 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63610         [BZ #12922]
63611         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63612         but no long options are defined, just return 'W'.
63614 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
63616         [BZ #9696]
63617         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63619 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
63621         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63622         netgroups to read.
63623         (innetgr): Likewise.
63625 2011-07-05  Roland McGrath  <roland@hack.frob.com>
63627         * config.make.in (install_root): Default to $(DESTDIR).
63629 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
63631         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63633 2011-07-02  Roland McGrath  <roland@hack.frob.com>
63635         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63637         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63638         containing directory rather than embedding absolute directory names.
63640         * scripts/check-local-headers.sh: Rewritten using awk.
63641         Match by word, not by line.  Print error messages for matches.
63642         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63644         * Makerules [shlib-lds-flags empty]:
63645         ($(common-objpfx)libc_pic.opts): New target.
63646         ($(common-objpfx)libc_pic.os.clean): New target.
63647         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63649         * config.make.in (OBJCOPY): New variable.
63650         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63651         * configure: Regenerated.
63653         * config.make.in (use-default-link): New variable.
63654         * configure.in (use_default_link): Grok --with-default-link to set it.
63655         * configure: Regenerated.
63656         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63657         (shlib-lds, shlib-lds-flags): Define to empty.
63659         * Makerules (shlib-lds): New variable.
63660         (shlib-lds-flags): New variable.
63661         (build-shlib, build-moduile, build-module-asneeded): Use it.
63662         ($(common-objpfx)libc.so): Use $(shlib-lds).
63663         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63664         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63666         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63667         DT_FLAGS/DT_FLAGS_1 with zero flags.
63669         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63670         linker script munging.
63672 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
63674         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63675         as 128-bit value.
63676         * crypt/sha512.c (sha512_process_block): Perform total addition using
63677         128-bit if possible.
63678         (__sha512_finish_ctx): Likewise.
63679         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63680         as 64-bit value.
63681         * crypt/sha256.c (SWAP64): Define.
63682         (sha256_process_block): Perform total addition using 64-bit if
63683         possible.
63684         (__sha256_finish_ctx): Likewise.
63686 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
63688         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
63689         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63690         * nscd/hstcache.c (cache_addhst): Likewise.
63691         * nscd/grpcache.c (cache_addgr): Likewise.
63692         * nscd/aicache.c (addhstaiX): Likewise
63693         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63695 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
63697         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63698         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63699         * nscd/hstcache.c (cache_addhst): Likewise.
63700         * nscd/grpcache.c (cache_addgr): Likewise.
63701         * nscd/aicache.c (addhstaiX): Likewise
63703 2011-07-01  Andreas Schwab  <schwab@redhat.com>
63705         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63706         domain only when needed.
63708 2011-06-30  Andreas Schwab  <schwab@redhat.com>
63710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63711         is always restored.
63713 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
63715         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63716         are re-adding the entry.
63717         * nscd/servicescache.c (cache_addserv): Likewise.
63719 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
63721         * sysdeps/generic/dl-irel.h: fix protection against multiple
63722         inclusions.
63723         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63725 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
63727         [BZ #12935]
63728         * malloc/memusage.sh: Fix quoting in message.
63729         * debug/xtrace.sh: Likewise.
63731         * configure.in: Remove support for --experimental-malloc option, make
63732         it the default.
63733         * config.make.in: Likewise.
63734         * malloc/Makefile: Likewise.
63736 2011-06-27  Andreas Schwab  <schwab@redhat.com>
63738         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63739         two-byte characters.
63741 2011-06-27  Roland McGrath  <roland@hack.frob.com>
63743         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63744         AC_CACHE_CHECK invocation.
63745         * configure: Regenerated.
63747         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63749 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
63751         [BZ #12350]
63752         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
63753         bit from old_res_options.
63755         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63757         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63758         value type for setfct.
63760 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
63762         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63763         __gettimeofday instead of gettimeofday.
63765 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
63767         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63769 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
63771         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63773         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63774         info.
63776 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
63778         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63779         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63780         strcpy-sse2-unaligned strncpy-sse2-unaligned
63781         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63782         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63783         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63784         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63785         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63786         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63787         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63788         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63789         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63790         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63791         (STRCPY): Support SSE2 and SSSE3 versions.
63793 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
63795         [BZ #12874]
63796         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63797         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63798         kernels which artificially limit size of requests.
63800 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
63802         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63803         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63804         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63805         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63806         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63807         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63808         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63809         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63810         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63811         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63812         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63813         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63814         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63815         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63816         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63818         Enable unaligned load optimization for Intel Core i3, i5 and i7
63819         processors.
63820         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63821         Define.
63822         (index_Fast_Unaligned_Load): Define.
63823         (HAS_FAST_UNALIGNED_LOAD): Define.
63825 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
63827         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63829 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
63831         [BZ #12907]
63832         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63833         until it is clear that the information is realy needed.
63834         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63836 2011-06-22  Andreas Schwab  <schwab@redhat.com>
63838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63840 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
63842         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63843         /sys/devices/system/cpu/online if it is usable.
63845         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63846         reading the information from the /proc filesystem to once a second.
63848 2011-06-21  Andreas Jaeger  <aj@suse.de>
63850         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
63851         NULL after inclusion of kernel headers.
63853 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
63855         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
63856         calls to internal_setent.
63858         [BZ #12885]
63859         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
63860         addresses using gethostbyname4_r ignore IPv4 addresses.
63862         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
63863         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
63865         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
63867 2011-06-20  David S. Miller  <davem@davemloft.net>
63869         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
63870         inclusions.
63871         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
63873         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
63874         (elf_irel): Use it.
63875         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
63876         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
63877         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
63878         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
63879         * sysdeps/x86_64/dl-irel.h: Likewise.
63881         * elf/dl-runtime.c: Use elf_ifunc_invoke.
63882         * elf/dl-sym.c: Likewise.
63884 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
63886         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
63887         need to dereference resplen2.
63889 2011-06-14  Andreas Schwab  <schwab@redhat.com>
63891         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
63893 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
63895         * Makeconfig: Define vardbdir and inst_vardbdir.
63896         * nss/Makefile: Add rules to install db-Makefile.
63898         * nss/nss_db/db-XXX.c: Cleanup.
63900         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
63901         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
63902         GLIBC_PRIVATE.
63903         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
63904         * nss/makedb.c: Implement -g option to specify that value strings
63905         are generated and should not be added to table iterated over for
63906         get*ent calls.
63907         * nss/nss_db/db-initgroups.c: New file.
63909         * nss/getent.c: Add support for initgroups lookups through getgrouplist
63910         interface.
63912         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
63913         (internal_getgrouplist): Adjust to name change.
63914         Update use_initgroups_entry if this is not the first call.
63915         * nss/databases.def: Add initgroups entry.
63917         * nss/makedb.c (compute_tables): Check result of multiple hash table
63918         sizes to minimize maximum chain length.
63920 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
63922         * Versions.def: Add entry for libnss_db.
63923         * shlib-versions: Likewise.
63924         * nss/Makefile: Add rules to build libnss_db.
63925         * nss/Versions: Add libnss_db information.  Organize libnss_files
63926         entries better.
63927         * nss/db-Makefile: Add gshadow support.  Change rules for the new
63928         makedb progra.  Some minor improvements to generate smaller files.
63929         * nss/nss_db/nss_db.h: Move NSS database header data structures to
63930         here from...
63931         * nss/makedb.c: ...here.
63932         Improve database format to be smaller and require less memory at
63933         runtime.
63934         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
63935         db anymore.
63936         * nss/nss_db/db-netgrp.c: Likewise.
63937         * nss/nss_db/db-open.c: Likewise.
63938         * nss/nss_files/flies-XXX.x: Adjust comments.
63939         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
63940         * nss/nss_files/files-grp.c: Likewise.
63941         * nss/nss_files/files-hosts.c: Likewise.
63942         * nss/nss_files/files-network.c: Likewise.
63943         * nss/nss_files/files-proto.c: Likewise.
63944         * nss/nss_files/files-pwd.c: Likewise.
63945         * nss/nss_files/files-rpc.c: Likewise.
63946         * nss/nss_files/files-service.c: Likewise.
63947         * nss/nss_files/files-sgrp.c: Likewise.
63948         * nss/nss_files/files-spwd.c: Likewise.
63949         * nss/nss_db/db-alias.c: Removed.
63950         * nss/nss_db/dummy-db.h: Removed.
63952 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
63954         * nss/makedb.c: Rewritten to not use database library.
63955         * nss/Makefile: Update to build new makedb program.
63957 2011-06-14  Andreas Jaeger  <aj@suse.de>
63959         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
63960         memset declaration.
63962 2011-06-10  Andreas Schwab  <schwab@redhat.com>
63964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
63965         tmpbuf.
63967 2011-06-10  Roland McGrath  <roland@hack.frob.com>
63969         * Makerules (shlib.lds): Fail if the linker script comes out empty.
63970         * elf/Makefile ($(objpfx)ld.so): Likewise.
63972         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
63973         Don't list ld.so twice in dependencies.
63975         * posix/bug-regex31.c: Include <stdlib.h>.
63977         * nscd/hstcache.c (cache_addhst): Remove unused variable.
63979         * nis/nss_compat/compat-spwd.c
63980         (getspent_next_nss_netgr): Remove unused variable.
63981         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
63983         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
63984         nonmembers" output to use the right array.
63986         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
63988         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
63990         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
63991         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
63992         * catgets/gencat.c (read_input_file): Likewise.
63993         * locale/programs/locarchive.c (enlarge_archive): Likewise.
63995         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
63996         variable definition inside #if's controlling its use.
63998         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
64000         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
64002         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
64004         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
64005         unreachable code.
64007         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
64009         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
64010         * configure: Regenerated.
64012         * Makerules: Revert last change.
64013         * elf/Makefile: Likewise.
64015 2011-06-09  Roland McGrath  <roland@hack.frob.com>
64017         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
64018         * elf/Makefile ($(objpfx)librtld.os): Likewise.
64019         (reloc-link): Likewise.
64021 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
64023         * elf/Makefile: Add rules to build pldd.
64024         * elf/pldd.c: New file.
64025         * elf/pldd-xx.c: New file.
64027 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
64029         * version.h: Update for 2.15 development version.
64031 2011-06-07  David S. Miller  <davem@davemloft.net>
64033         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
64034         ifuncs.
64035         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
64036         elf_machine_lazy_rel): Likewise.
64037         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
64038         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
64039         elf_machine_lazy_rel): Likewise.
64040         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
64041         dl_hwcap via passed in argument.
64042         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
64043         Likewise.
64045 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64047         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
64049 2011-06-06  Roland McGrath  <roland@hack.frob.com>
64051         [BZ #12849]
64052         * manual/fdl-1.1.texi: New file, verbatim from:
64053         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
64054         * manual/lgpl-2.1.texi: New file, verbatim from:
64055         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
64056         * manual/Makefile (licenses): New variable, list those new file names.
64057         (texis): Use it.
64058         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
64060         * manual/fdl.texi: File removed.
64061         * manual/lesser.texi: File removed.
64062         * manual/libc.texinfo (Copying, Documentation License):
64063         Use new @include file names, put @appendix directive before @include.
64065 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
64067         [BZ #12841]
64068         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
64069         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
64070         (mq_open): Add __NTH.
64072 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
64074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64075         Assume Intel Core i3/i5/i7 processor if AVX is available.
64077 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
64079         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
64080         typo.
64082 2011-05-31  Andreas Schwab  <schwab@redhat.com>
64084         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
64085         memory.  Use alloca_account.  Fix memory leak when retrying.
64087 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
64089         * version.h (RELEASE): Bump for 2.14 release.
64090         * include/features.h (__GLIBC_MINOR__): Bump to 14.
64092         * config.make.in (RANLIB): Remove entry.
64094 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
64096         * po/Makefile (po-sed-cmd): Add ksh to extensions.
64097         (libc.pot): Work around missing support for .ksh extension in xgettext.
64099         [BZ #12684]
64100         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
64101         if both request failed.
64102         (send_dg): In case of server errors clear resplen or *resplen2.
64104         [BZ #12454]
64105         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
64106         when there are multiple maps.
64107         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
64108         (_dl_fini): Remove test here.
64110         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
64112 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
64114         [BZ #12350]
64115         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
64116         bit from old_res_options.
64117         (gaih_inet): Likewise.
64119         [BZ #11099]
64120         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
64121         as signed.
64123         * resolv/res_init.c (res_setoptions): Make the code more compact.
64125         [BZ #11558]
64126         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
64127         set RES_USEVC.
64129         [BZ #11634]
64130         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
64132         * malloc/malloc.h: Mark malloc hook variables as deprecated.
64134         [BZ #11781]
64135         * malloc/malloc.h: Declare malloc hook variables as volatile.
64137         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
64138         in last patch.
64140         [BZ #11799]
64141         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
64142         raise in the comment.
64143         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64144         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64145         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
64147 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
64149         [BZ #12811]
64150         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
64151         grow the buffers more if it already has to be sufficient.
64152         (build_wcs_upper_buffer): Likewise.
64153         * posix/regexec.c (check_matching): Likewise.
64154         (clean_state_log_if_needed): Likewise.
64155         (extend_buffers): Don't enlarge buffers beyond size of the input
64156         buffer.
64157         Patches mostly by Emil Wojak <emil@wojak.eu>.
64158         * posix/bug-regex32.c: New file.
64159         * posix/Makefile (tests): Add bug-regex32.
64161         * locale/findlocale.c (_nl_find_locale): Return right away if
64162         _nl_explode_name failed.
64163         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
64165         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
64167         * debug/xtrace.sh: Unify messages.
64168         * malloc/memusage.sh: Likewise.
64170         [BZ #12813]
64171         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
64172         time symbol from vDSO.  Substitute with vsyscall if not available.
64173         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
64174         __vdso_time.
64176         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
64177         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
64178         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
64179         Add sendmmsg and internal_sendmmsg.
64180         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
64181         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
64182         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
64184         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
64185         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
64186         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
64188 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
64190         [BZ #12813]
64191         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
64192         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
64193         available.
64194         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
64195         __vdso_getcpu.
64197         [BZ #12814]
64198         * iconvdata/Makefile (tests): Add bug-iconv9.
64199         * iconvdata/bug-iconv9.c: New file.
64201 2011-05-27  Andreas Schwab  <schwab@redhat.com>
64203         [BZ #12814]
64204         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
64206 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
64208         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64209         (struct user_regs_struct): Change intcs field back to cs.
64211 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
64213         * po/ja.po: Update from translation team.
64215 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
64217         [BZ #12795]
64218         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
64219         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
64221 2011-05-20  Andreas Schwab  <schwab@redhat.com>
64223         * stdlib/longlong.h: Update from GCC.
64225 2011-05-23  Andreas Schwab  <schwab@redhat.com>
64227         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
64228         parameter name.
64229         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
64230         Add parameter name.
64231         (__sysconf): Pass it down.
64233 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
64235         [BZ #12671]
64236         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
64237         some situations.
64238         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
64239         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
64240         add in in __libc_use_alloca calls.  Adjust callers.
64241         (glob): Use malloc in some situations.
64243         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
64244         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
64245         pltexit.
64247 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
64249         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
64250         and CLOCK_BOOTTIME_ALARM.
64252         [BZ #12782]
64253         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
64254         is returned.
64256         * string/_strerror.c (__strerror_r): Print negative errors as signed
64257         numbers.
64259         [BZ #12777]
64260         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
64261         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
64262         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
64264         * configure.in: Fix typo in redirection and correct removal of test
64265         files in two cases.
64267         [BZ #12788]
64268         * locale/setlocale.c (new_composite_name): Fix test to check for
64269         identical name of all categories.
64271         [BZ #12792]
64272         * libio/filedoalloc.c (local_isatty): New function.
64273         (_IO_file_doallocate): Use local_isatty.
64274         * stdio-common/perror.c (perror): In case a new stream is used
64275         forward the stream error.
64276         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
64277         error flag.
64279 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
64281         [BZ #11869]
64282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
64283         alloca.
64284         * include/alloca.h (extend_alloca_account): Define.
64286         [BZ #11857]
64287         * posix/regex.h: Fix comments with documentation of user-accessible
64288         fields after compilation and describe correct free'ing of pattern
64289         after re_compile_pattern.
64290         Patch by Reuben Thomas <rrt@sc3d.org>.
64292 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
64294         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
64295         and -mno-altivec to prevent the compiler from using Altivec and/or
64296         VSX instructions when the corresponding registers are not available.
64298 2011-05-19  Andreas Schwab  <schwab@redhat.com>
64300         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
64302 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
64304         * libio/freopen.c (freopen): Use __dup2, not dup2.
64305         * libio/freopen64.c (freopen64): Likewise.
64307 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64309         [BZ #12775]
64310         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
64311         * math/Makefile (tests): Add test-powl.
64312         (CFLAGS-test-powl.c): Define.
64313         * math/test-powl.c: New file.
64315 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64317         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
64319 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
64321         [BZ #11837]
64322         * iconvdata/gb18030.c: Update to GB18020-2005.
64324 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
64326         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
64327         RE_SYNTAX_POSIX_AWK): Update to match recent development.
64328         Patch by Aharon Robbins <arnold@skeeve.com>.
64330         [BZ #11892]
64331         * stdlib/putenv.c (putenv): Don't always create copy of the variable
64332         on the stack.
64334         [BZ #11895]
64335         * misc/pselect.c (__pselect): Handle timeout value errors hidden
64336         through underflows.
64338         [BZ #12766]
64339         * misc/error.c (error_at_line): Ensure file_name and old_file_name
64340         point to strings before performing equality test for error_one_per_line
64341         mode.
64343         [BZ #11697]
64344         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
64346         [BZ #11820]
64347         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64348         (struct user_fpregs_struct): Avoid __uint*_t types.
64350         [BZ #6420]
64351         * malloc/mtrace.c (tr_where): Add additional parameter to point to
64352         symbol info.  Use it instead of calling _dl_addr locally.
64353         (lock_and_info): New function.
64354         (tr_freehook): Call lock_and_info and pass symbol info as additional
64355         parameter to tr_where.
64356         (tr_mallochook): Likewise.
64357         (tr_reallochook): Likewise.
64358         (tr_memalignhook): Likewise.
64360         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
64361         used and couldn't be at all thread-safe.
64363 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
64365         * libio/freopen.c (freopen): Don't close old file descriptor
64366         before the new one is opened.  Instead dup the new file descriptor
64367         to the old one after the new stream is created.
64368         * libio/freopen64.c (freopen64): Likewise.
64369         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
64370         * libio/fileops.c (_IO_new_file_close_it): Handle new
64371         _IO_FLAGS2_NOCLOSE flag.
64372         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
64373         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
64374         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
64375         _IO_FLAGS2_NOCLOSE flag.
64376         * include/unistd.h: Add hidden_proto for dup3.
64377         Define __have_dup3.
64378         * io/dup3.c: Define hidden symbol.
64379         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
64381         [BZ #7101]
64382         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
64383         when an incomplete long option is used.
64384         * posix/tst-getopt_long1.c: New file.
64385         * posix/Makefile (tests): Add tst-getopt_long1.
64387         [BZ #10138]
64388         * scripts/config.guess: Update from autoconf-2.68.
64389         * scripts/config.sub: Likewise.
64391         [BZ #10157]
64392         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
64393         tests into ...
64394         (has_cpuclock): ...this.  New function.
64395         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
64396         macro here based on has_cpuclock code.
64398         [BZ #10149]
64399         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64400         First byte (not low byte) is now always NUL.
64401         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
64403         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64404         Use non-cancelable interfaces.
64406         [BZ #9809]
64407         * locale/iso-639.def: Add entry for Sorani.
64409         [BZ #11901]
64410         * include/stdlib.h: Move include protection to the right place.
64411         Define abort_msg_s.  Declare __abort_msg with it.
64412         * stdlib/abort.c (__abort_msg): Adjust type.
64413         * assert/assert.c (__assert_fail_base): New function.  Majority
64414         of code from __assert_fail.  Allocate memory for __abort_msg with
64415         mmap.
64416         (__assert_fail): Now call __assert_fail_base.
64417         * assert/assert-perr.c: Remove bulk of implementation.  Use
64418         __assert_fail_base.
64419         * include/assert.hL Declare __assert_fail_base.
64420         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
64421         mmap.
64422         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
64424 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
64426         [BZ #11952]
64427         [BZ #12453]
64428         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
64429         until all modules are registered in the DTV.
64430         * elf/Makefile: Add rules to build and run tst-tls19.
64431         * elf/tst-tls19.c: New file.
64432         * elf/tst-tls19mod1.c: New file.
64433         * elf/tst-tls19mod2.c: New file.
64434         * elf/tst-tls19mod3.c: New file.
64435         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
64437         [BZ #12083]
64438         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
64439         correctly.
64441         [BZ #12601]
64442         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
64443         two-byte sequence errors.
64444         * iconvdata/Makefile (tests): Add bug-iconv8.
64445         * iconvdata/bug-iconv8.c: New file.
64447         [BZ #12626]
64448         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
64449         buf2 definition.
64451         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
64453         [BZ #12432]
64454         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
64455         (dummy_getcfa): New function.
64456         (init): Get _Unwind_GetCFA address, use dummy if not found.
64457         (backtrace_helper): In recursion check, also check whether CFA changes.
64458         (__backtrace): Completely initialize arg.
64460         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
64461         storing incomplete byte sequence in state object.  Avoid testing for
64462         guaranteed too small input if we know there is enough data available.
64464 2011-05-11  Andreas Schwab  <schwab@redhat.com>
64466         * Makeconfig (+link-pie): Indent.
64467         * Rules (binaries-pie): Define if $(have-fpie) and
64468         $(build-shared).
64469         (binaries-shared): Also filter out $(binaries-pie).
64470         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
64471         * nscd/Makefile (others-pie): Add nscd.
64472         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
64473         ($(objpfx)nscd): Remove command override.
64474         * login/Makefile (others-pie): Add pt_chown.
64475         ($(objpfx)pt_chown): Remove command override.
64476         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64477         remove command overrides.
64479 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
64481         * libio/tst_putwc.c: Fix error messages.
64483         [BZ #12724]
64484         * libio/fileops.c (_IO_new_file_close_it): Always flush when
64485         currently writing and seek to current position when not.
64486         * libio/Makefile (tests): Add bug-fclose1.
64487         * libio/bug-fclose1.c: New file.
64489 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
64491         [BZ #12511]
64492         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64493         don't set DF_1_NODELETE here.
64494         (do_lookup_x): When entering new entry test for copy relocation
64495         and if necessary set DF_1_NODELETE flag.
64496         * elf/tst-unique4.cc: New file.
64497         * elf/tst-unique4.h: New file.
64498         * elf/tst-unique4lib.cc: New file.
64499         * elf/Makefile: Add rules to build and run tst-unique4.
64500         Patch by Piotr Bury <pbury@goahead.com>.
64502 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
64504         [BZ #12052]
64505         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64507         [BZ #12625]
64508         * misc/mntent_r.c (addmntent): Flush the stream after the output
64510         [BZ #12393]
64511         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64512         (is_trusted_path_normalize): Skip initial colon.  Append slash
64513         to empty buffer.  Duplicate is_trusted_path code but allow
64514         constructed patch to be prefix.
64515         (is_dst): Allow $ORIGIN followed by /.
64516         (_dl_dst_substitute): Correct clearing of check_for_trusted.
64517         Correct testing of result of is_trusted_path_normalize
64518         (decompose_rpath): Fix warning.
64520 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
64522         [BZ #11257]
64523         * grp/initgroups.c (internal_getgrouplist): When we found the service
64524         list through the initgroups entry in nsswitch.conf do not always
64525         continue on a successful lookup.  Don't always use the
64526         __nss_group_database value if it is set.
64527         * nss/nsswitch.conf (initgroups): Change action for successful db
64528         lookup to continue for compatibility.
64530 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
64532         [BZ #11532]
64533         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64534         and CP774 modules.
64535         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64536         and CP774 modules.
64537         * iconvdata/tst-tables.sh: Likewise.
64538         * iconvdata/cp770.c: New file.
64539         * iconvdata/cp771.c: New file.
64540         * iconvdata/cp772.c: New file.
64541         * iconvdata/cp773.c: New file.
64542         * iconvdata/cp774.c: New file.
64543         * iconvdata/testdata/CP770: New file.
64544         * iconvdata/testdata/CP770..UTF8: New file.
64545         * iconvdata/testdata/CP771: New file.
64546         * iconvdata/testdata/CP771..UTF8: New file.
64547         * iconvdata/testdata/CP772: New file.
64548         * iconvdata/testdata/CP772..UTF8: New file.
64549         * iconvdata/testdata/CP773: New file.
64550         * iconvdata/testdata/CP773..UTF8: New file.
64551         * iconvdata/testdata/CP774: New file.
64552         * iconvdata/testdata/CP774..UTF8: New file.
64554         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64555         END CHARMAP line.
64556         * iconvdata/gen-8bit-gap.sh: Likewise.
64557         * iconvdata/gen-8bit.sh: Likewise.
64559         * locale/iso-639.def: Add ary entry.
64561         [BZ #11258]
64562         * locale/C-translit.h.in: Add U20A1 transliteration.
64564         [BZ #12178]
64565         * locale/iso-639.def: Add wae entry.
64566         Patch by Kevin Bortis <bortis@translate-wae.ch>.
64568         [BZ #12545]
64569         * locale/programs/localedef.c (construct_output_path): Use ssize_t
64570         for n.
64572         [BZ #12711]
64573         * locale/C-translit.h.in: Add entry for U20B9.
64574         Patch by pravin.d.s@gmail.com.
64576 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
64578         [BZ #12713]
64579         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64580         ENAMETOOLONG use generic getcwd.
64581         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
64582         in rtld.  Use *stat64.
64583         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64584         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64585         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64586         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64587         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64588         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64589         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64590         __fstatat64 macros.
64591         * include/dirent.h: Add libc_hidden_proto for rewinddir.
64592         * dirent/rewinddir.c: Add libc_hidden_def.
64593         * sysdeps/mach/hurd/rewinddir.c: Likewise.
64594         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
64596         * include/dirent.h (__alloc_dir): Add flags parameter.
64597         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64598         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64599         __alloc_dir.
64600         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
64601         from fdopendir if O_CLOEXEC is already set.
64603 2011-03-15  Alan Modra  <amodra@gmail.com>
64605         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64606         l_tls_firstbyte_offset non-zero.  Save padding offset in
64607         l_tls_firstbyte_offset for later use.
64608         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64609         freeing static tls block.
64611 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
64613         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64614         where #ifdef was intended.  The intent is to prevent ARG_MAX from
64615         being defined by the kernel headers.
64617 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
64619         [BZ #12734]
64620         * resolv/resolv.h: Define RES_NOTLDQUERY.
64621         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64622         no-tld-query and set RES_NOTLDQUERY.
64623         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64624         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64625         modern BIND to search name as TLD unless forbidden.
64627 2011-05-07  Petr Baudis  <pasky@suse.cz>
64628             Ulrich Drepper  <drepper@gmail.com>
64630         [BZ #12393]
64631         * elf/dl-load.c (fillin_rpath): Move trusted path check...
64632         (is_trusted_path): ...to here.
64633         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64634         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64635         using is_trusted_path_normalize() in setuid scripts.
64637 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64639         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64640         __BEGIN/__END_DECLS.
64642 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
64644         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64645         NSS_STATUS_NOTFOUND if no record was found.
64647 2011-05-05  Andreas Schwab  <schwab@redhat.com>
64649         * sunrpc/Makefile (headers): Add rpc/netdb.h.
64650         (headers-not-in-tirpc): Remove rpc/netdb.h
64651         * resolv/netdb.h: Revert last change.
64653 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64655         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64656         circular dependency between libgcc.a and libc.a.
64658 2011-05-05  Andreas Schwab  <schwab@redhat.com>
64660         * resolv/netdb.h: Don't include <rpc/netdb.h>.
64661         * nis/Makefile: Don't install rpcsvc/*.
64662         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64663         instead of <rpc/types.h>.
64664         (MAXHOSTNAMELEN): Define.
64666 2011-05-03  Andreas Schwab  <schwab@redhat.com>
64668         * elf/ldconfig.c (add_dir): Don't crash on empty path.
64670 2011-04-28  Maciej Babinski  <mbabinski@google.com>
64672         [BZ #12714]
64673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64674         gethostbyname4_r when IPv6 results are possible.
64676 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
64678         [BZ #12723]
64679         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64680         _PC_PIPE_BUF handling.
64682 2011-04-30  Bruno Haible  <bruno@clisp.org>
64684         [BZ #12717]
64685         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64686         * resolv/netdb.h (getnameinfo): Change type of flags parameter
64687         to 'int'.
64688         * inet/getnameinfo.c (getnameinfo): Likewise.
64690 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
64692         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64693         to groups setting in database lookup.
64694         * nss/nsswitch.conf: Add initgroups entry.
64696 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
64698         [BZ #12685]
64699         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64700         mode string.
64701         Patch by Eric Blake <eblake@redhat.com>.
64703 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
64705         * sunrpc/Makefile (need-export-routines): Add svc_run.
64706         (routines): Remove svc_run.
64707         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64708         * sunrpc/clnt_perr.c (clnt_perrno): Export.
64709         * sunrpc/svc_run.c (svc_run): Likewise.
64710         * sunrpc/svc_udp.c (svcudp_create): Likewise.
64712 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
64714         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64715         problem in reallocation in last patch.
64717 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
64719         * sunrpc/Makefile: Move inclusion of Rules.
64721 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
64723         * nss/nss_files/files-initgroups.c: New file.
64724         * nss/Makefile (libnss_files-routines): Add files-initgroups.
64725         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64726         _nss_files_initgroups_dyn.
64728 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
64730         * elf/elf.h (R_ARM_IRELATIVE): Define.
64732 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
64734         * po/ru.po: Update from translation team.
64736 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
64738         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64739         dependencies.
64741 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
64743         [BZ #12653]
64744         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64745         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64746         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64747         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64748         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64750 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
64752         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64753         differing bytes.
64754         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64755         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64756         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64758 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
64760         [BZ #12420]
64761         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64762         storing it.
64763         * stdlib/bug-getcontext.c: New file.
64764         * stdlib/Makefile: Add rules to build and run bug-getcontext.
64766 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64768         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64769         instructions into .machine "z9-109".
64770         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64771         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64773 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64775         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64776         between environment variables and auxiliary vector.
64778 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
64780         * Makefile: Add rules to build linkobj/libc.so.
64781         * include/libc-symbols.h: Define libc_hidden_nolink.
64782         * include/rpc/auth.h: Mark functions which are to be hidden.
64783         * include/rpc/auth_des.h: Likewise.
64784         * include/rpc/auth_unix.h: Likewise.
64785         * include/rpc/clnt.h: Likewise.
64786         * include/rpc/des_crypt.h: Likewise.
64787         * include/rpc/key_prot.h: Likewise.
64788         * include/rpc/pmap_clnt.h: Likewise.
64789         * include/rpc/pmap_prot.h: Likewise.
64790         * include/rpc/pmap_rmt.h: Likewise.
64791         * include/rpc/rpc_msg.h: Likewise.
64792         * include/rpc/svc.h: Likewise.
64793         * include/rpc/svc_auth.h: Likewise.
64794         * include/rpc/xdr.h: Likewise.
64795         * nis/Makefile: Link all DSOs against linkobj/libc.so.
64796         * nss/Makefile: Likewise.
64797         * sunrpc/Makefile: Don't install headers.  Build library with normal
64798         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
64799         * sunrpc/auth_des.c: Hide exported symbols by default, export some
64800         for the compat linking library.  Remove use of INTDEF/INTUSE.
64801         * sunrpc/auth_none.c: Likewise.
64802         * sunrpc/auth_unix.c: Likewise.
64803         * sunrpc/authdes_prot.c: Likewise.
64804         * sunrpc/authuxprot.c: Likewise.
64805         * sunrpc/clnt_gen.c: Likewise.
64806         * sunrpc/clnt_perr.c: Likewise.
64807         * sunrpc/clnt_raw.c: Likewise.
64808         * sunrpc/clnt_simp.c: Likewise.
64809         * sunrpc/clnt_tcp.c: Likewise.
64810         * sunrpc/clnt_udp.c: Likewise.
64811         * sunrpc/clnt_unix.c: Likewise.
64812         * sunrpc/des_crypt.c: Likewise.
64813         * sunrpc/des_soft.c: Likewise.
64814         * sunrpc/get_myaddr.c: Likewise.
64815         * sunrpc/key_call.c: Likewise.
64816         * sunrpc/key_prot.c: Likewise.
64817         * sunrpc/netname.c: Likewise.
64818         * sunrpc/pm_getmaps.c: Likewise.
64819         * sunrpc/pm_getport.c: Likewise.
64820         * sunrpc/pmap_clnt.c: Likewise.
64821         * sunrpc/pmap_prot.c: Likewise.
64822         * sunrpc/pmap_prot2.c: Likewise.
64823         * sunrpc/pmap_rmt.c: Likewise.
64824         * sunrpc/publickey.c: Likewise.
64825         * sunrpc/rpc_cmsg.c: Likewise.
64826         * sunrpc/rpc_common.c: Likewise.
64827         * sunrpc/rpc_dtable.c: Likewise.
64828         * sunrpc/rpc_prot.c: Likewise.
64829         * sunrpc/rpc_thread.c: Likewise.
64830         * sunrpc/rtime.c: Likewise.
64831         * sunrpc/svc.c: Likewise.
64832         * sunrpc/svc_auth.c: Likewise.
64833         * sunrpc/svc_authux.c: Likewise.
64834         * sunrpc/svc_raw.c: Likewise.
64835         * sunrpc/svc_run.c: Likewise.
64836         * sunrpc/svc_simple.c: Likewise.
64837         * sunrpc/svc_tcp.c: Likewise.
64838         * sunrpc/svc_udp.c: Likewise.
64839         * sunrpc/svc_unix.c: Likewise.
64840         * sunrpc/svcauth_des.c: Likewise.
64841         * sunrpc/xcrypt.c: Likewise.
64842         * sunrpc/xdr.c: Likewise.
64843         * sunrpc/xdr_array.c: Likewise.
64844         * sunrpc/xdr_float.c: Likewise.
64845         * sunrpc/xdr_intXX_t.c: Likewise.
64846         * sunrpc/xdr_mem.c: Likewise.
64847         * sunrpc/xdr_rec.c: Likewise.
64848         * sunrpc/xdr_ref.c: Likewise.
64849         * sunrpc/xdr_sizeof.c: Likewise.
64850         * sunrpc/xdr_stdio.c: Likewise.
64852 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
64854         [BZ #12650]
64855         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
64856         * sysdeps/ia64/dl-tls.h: Likewise.
64857         * sysdeps/powerpc/dl-tls.h: Likewise.
64858         * sysdeps/s390/dl-tls.h: Likewise.
64859         * sysdeps/sh/dl-tls.h: Likewise.
64860         * sysdeps/sparc/dl-tls.h: Likewise.
64861         * sysdeps/x86_64/dl-tls.h: Likewise.
64862         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
64864 2011-03-14  Andreas Schwab  <schwab@redhat.com>
64866         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
64867         rpath element also skip the following colon.
64868         (expand_dynamic_string_token): Add is_path parameter and pass
64869         down to DL_DST_REQUIRED and _dl_dst_substitute.
64870         (decompose_rpath): Call expand_dynamic_string_token with
64871         non-zero is_path.  Ignore empty rpaths.
64872         (_dl_map_object_from_fd): Call expand_dynamic_string_token
64873         with zero is_path.
64875 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
64877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64878         Make cancelable.
64880 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
64882         [BZ #12655]
64883         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
64884         Patch by Filipe David Manana <fdmanana@apache.org>.
64886 2011-04-07  Andreas Schwab  <schwab@redhat.com>
64888         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
64889         Maintain aligned stack.
64890         (CHECK_RSP): Remove unused macro.
64892 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
64894         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
64895         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
64897 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
64899         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
64901         * include/features.h: Mention __USE_XOPEN2K8 in comment.
64903 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
64905         [BZ #12518]
64906         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
64907         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
64908         * sysdeps/x86_64/memmove.c: New file.
64909         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
64910         (memcpy): Renamed to ...
64911         (__new_memcpy): This.
64912         (memcpy): Provide GLIBC_2_14 memcpy.
64913         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
64914         (memcpy): Provide GLIBC_2_2_5 memcpy.
64916 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64918         [BZ #12631]
64919         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
64921 2011-03-30  Andreas Schwab  <schwab@redhat.com>
64923         * misc/syncfs.c: New file.
64924         * misc/Makefile (routines): Add syncfs.
64925         * posix/unistd.h: Declare syncfs.
64926         * sysdeps/unix/syscalls.list: Add syncfs.
64928 2011-04-01  Andreas Schwab  <schwab@redhat.com>
64930         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
64931         open_by_handle_at.
64932         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
64933         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64934         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64935         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64936         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64937         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
64938         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64940 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64942         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
64943         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64944         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
64945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64946         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64948         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64950         * io/Makefile: Compile fallocate.c, fallocate64.c, and
64951         sync_file_range.c with -fexceptions.
64952         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
64953         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
64954         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
64955         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
64956         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
64957         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64958         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
64959         sync_file_range as cancellation point
64960         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
64961         now a wrapper around __call_sync_file_range with cancellation handling.
64962         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
64963         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
64964         function name to __call_sync_file_range.
64965         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
64966         Add call_sync_file_range.
64968 2011-04-01  Andreas Schwab  <schwab@redhat.com>
64970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64971         bits/timex.h.
64973 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
64975         * iconv/iconv.h: Fix typo in comment.
64976         * io/fcntl.h: Likewise.
64977         * libio/stdio.h: Likewise.
64978         * posix/spawn.h: Likewise.
64979         * posix/unistd.h: Likewise.
64980         * stdlib/stdlib.h: Likewise.
64981         * time/time.h: Likewise.
64982         * wcsmbs/wchar.h: Likewise.
64984         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
64985         open_by_handle): Add.
64986         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
64987         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
64988         Augment a few comments.
64989         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
64990         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64991         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
64992         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64993         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
64994         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
64995         open_by_handle.
64997         * io/fcntl.h (AT_EMPTY_PATH): Define.
64999 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
65001         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
65002         * sysdeps/unix/sysv/linux/bits/time.h: New file.
65003         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
65004         to...
65005         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
65006         * Versions.def: Add GLIBC_2.14.
65007         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
65008         Export.
65010 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
65012         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
65013         round counter.
65014         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
65016 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65018         [BZ #12597]
65019         * string/test-strncmp.c (do_page_test): New function.
65020         (check2): Likewise.
65021         (test_main): Call check2.
65022         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
65024 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
65026         [BZ #12587]
65027         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
65028         Handle cache information in CPU leaf 4.
65029         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
65031 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
65033         [BZ #12583]
65034         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
65035         character representation.
65036         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
65038 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
65040         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
65041         END(__isnan) to END(__isnanf) to match function entry point/label
65042         EALIGN(__isnanf,...).
65044 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
65046         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
65048 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
65050         [BZ #12510]
65051         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
65052         copy from the symbol referenced in the relocation to initialize the
65053         used variable.
65054         Patch by Piotr Bury <pbury@goahead.com>.
65055         * elf/Makefile: Add rules to build and tst-unique3.
65056         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
65057         * elf/tst-unique3.cc: New file.
65058         * elf/tst-unique3.h: New file.
65059         * elf/tst-unique3lib.cc: New file.
65060         * elf/tst-unique3lib2.cc: New file.
65062         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
65064 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
65066         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
65067         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
65068         to _start.
65070 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
65072         * elf/dl-load.c (_dl_map_object): If we are looking for the first
65073         to-be-loaded object along a path to loader is ld.so.
65075 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
65076             Ulrich Drepper  <drepper@gmail.com>
65078         * sysdeps/x86_64/memset.S: After aligning destination, code
65079         branches to different locations depending on the value of
65080         misalignment, when multiarch is enabled. Fix this.
65082 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
65084         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
65085         Set _x86_64_preferred_memory_instruction for AMD processsors.
65086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65087         Set bit_Prefer_SSE_for_memop for AMD processors.
65089 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
65091         * libio/fmemopen.c (fmemopen): Optimize a bit.
65093 2011-03-03  Andreas Schwab  <schwab@redhat.com>
65095         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
65097 2011-03-03  Roland McGrath  <roland@redhat.com>
65099         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
65101 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
65103         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
65104         __bzero_ultra1 instead of __memset_ultra1.
65106 2011-02-23  Andreas Schwab  <schwab@redhat.com>
65107             Ulrich Drepper  <drepper@gmail.com>
65109         [BZ #12509]
65110         * include/link.h (struct link_map): Add l_orig_initfini.
65111         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
65112         returning unsuccessfully.
65113         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
65114         close of a file loaded at startup, restore the original l_initfini
65115         list.
65116         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
65117         list, store the pointer.
65118         * elf/Makefile ($(objpfx)noload-mem): New rule.
65119         (noload-ENV): Define.
65120         (tests): Add $(objpfx)noload-mem.
65121         * elf/noload.c: Include <memcheck.h>.
65122         (main): Call mtrace.  Close all opened handles.
65124 2011-02-17  Andreas Schwab  <schwab@redhat.com>
65126         [BZ #12454]
65127         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
65128         dependencies are missing.
65130 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65132         Fix __if_freereq crash: Unlike the generic version which uses free,
65133         Hurd needs munmap.
65134         * sysdeps/mach/hurd/ifreq.h: New file.
65136 2011-01-27  Petr Baudis  <pasky@suse.cz>
65137             Ulrich Drepper  <drepper@gmail.com>
65139         [BZ 12445]#
65140         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
65141         to extend_alloca().
65142         * stdio-common/bug23.c: New file.
65143         * stdio-common/Makefile (tests): Add bug23.
65145 2010-09-28  Andreas Schwab  <schwab@redhat.com>
65146             Ulrich Drepper  <drepper@gmail.com>
65148         [BZ #12489]
65149         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
65150         before performing relro protection.  At old place add assertion
65151         to make sure nothing changed.
65153 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
65154             Glauber de Oliveira Costa  <glommer@gmail.com>
65156         * elf/elf.h: Add new ARM TLS relocs.
65158 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
65160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65161         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
65162         cast from r3.
65163         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
65164         'tests' variable.
65165         * sysdeps/wordsize-64/tst-writev.c: New file.
65167 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
65169         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
65170         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
65171         insns in _dl_start to prevent a TOC reference before relocs are
65172         resolved.
65174 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
65176         [BZ #12469]
65177         * Makeconfig: Remove RANLIB definition.
65178         * Makerules: Don't use RANLIB.
65179         * aclocal.m4: Remove ranlib test.
65180         * configure.in: No need to check for ranlib.
65181         * elf/rtld-Rules: Don't use RANLIB.
65183 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65185         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
65186         protection macro.
65187         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
65188         inclusion protection macro.
65190         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
65191         SIGRTMIN and SIGRTMAX and print information in that case only when
65192         SIGRTMIN is defined.
65194 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
65196         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
65197         arginfo fn returning -1.
65199         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
65200         and thousands string is zero terminated.
65202 2011-02-03  Andreas Schwab  <schwab@redhat.com>
65204         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
65205         sysdeps/unix/sysv/linux/bits/socket.h.
65207 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65209         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
65210         (__CPU_COUNT): Remove old macros.
65211         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
65212         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
65213         (__CPU_ALLOC, __CPU_FREE): Add macros.
65214         (__sched_cpualloc, __sched_cpufree): Add declarations.
65216 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
65218         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
65219         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
65220         * nscd/aicache.c (addhstaiX): Return timeout of added value.
65221         (readdhstai): Return value of addhstaiX call.
65222         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
65223         (addgrbyX): Return value returned by cache_addgr.
65224         (readdgrbyname): Return value returned by addgrbyX.
65225         (readdgrbygid): Likewise.
65226         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
65227         (addpwbyX): Return value returned by cache_addpw.
65228         (readdpwbyname): Return value returned by addhstbyX.
65229         (readdpwbyuid): Likewise.
65230         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
65231         (addservbyX): Return value returned by cache_addserv.
65232         (readdservbyname): Return value returned by addservbyX:
65233         (readdservbyport): Likewise.
65234         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
65235         (addhstbyX): Return value returned by cache_addhst.
65236         (readdhstbyname): Return value returned by addhstbyX.
65237         (readdhstbyaddr): Likewise.
65238         (readdhstbynamev6): Likewise.
65239         (readdhstbyaddrv6): Likewise.
65240         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
65241         (readdinitgroups): Return value returned by addinitgroupsX.
65242         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
65243         (prune_cache): Keep track of timeout value of re-added entries.
65244         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
65245         * nscd/nscd.h: Adjust prototypes of readd* functions.
65247 2011-02-04  Roland McGrath  <roland@redhat.com>
65249         * nis/nis_server.c (nis_servstate): Use the right name for 0.
65250         (nis_stats): Likewise.
65251         * nis/nis_modify.c (nis_modify): Likewise.
65252         * nis/nis_remove.c (nis_remove): Likewise.
65253         * nis/nis_add.c (nis_add): Likewise.
65255         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
65257         * posix/fnmatch_loop.c: Add some consts.
65259         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
65261 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
65263         [BZ #12460]
65264         * config.make.in (config-cflags-novzeroupper): Define.
65265         * configure.in: Substitute libc_cv_cc_novzeroupper.
65266         * elf/Makefile (AVX-CFLAGS): Define.
65267         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
65268         (CFLAGS-tst-auditmod4a.c): Likewise.
65269         (CFLAGS-tst-auditmod4b.c): Likewise.
65270         (CFLAGS-tst-auditmod6b.c): Likewise.
65271         (CFLAGS-tst-auditmod6c.c): Likewise.
65272         (CFLAGS-tst-auditmod7b.c): Likewise.
65273         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
65275 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
65277         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
65278         function to the callback.
65279         Patch partly by Jiri Olsa <jolsa@redhat.com>.
65281 2011-02-02  Andreas Schwab  <schwab@redhat.com>
65283         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
65284         of errno.
65286 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
65288         [BZ #11724]
65289         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
65290         of constructors.
65291         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
65292         of destructors.
65293         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
65295         [BZ #11724]
65296         * elf/Makefile: Add rules to build and run new test.
65297         * elf/tst-initorder.c: New file.
65298         * elf/tst-initorder.exp: New file.
65299         * elf/tst-initordera1.c: New file.
65300         * elf/tst-initordera2.c: New file.
65301         * elf/tst-initordera3.c: New file.
65302         * elf/tst-initordera4.c: New file.
65303         * elf/tst-initorderb1.c: New file.
65304         * elf/tst-initorderb2.c: New file.
65305         * elf/tst-order-a1.c: New file.
65306         * elf/tst-order-a2.c: New file.
65307         * elf/tst-order-a3.c: New file.
65308         * elf/tst-order-a4.c: New file.
65309         * elf/tst-order-b1.c: New file.
65310         * elf/tst-order-b2.c: New file.
65311         * elf/tst-order-main.c: New file.
65312         New test case by George Gensure <werkt0@gmail.com>.
65314 2010-10-01  Andreas Schwab  <schwab@redhat.com>
65316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65317         decoding ACE if AI_CANONIDN.
65319 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
65321         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
65323 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
65325         * version.h (RELEASE): Bump for 2.13 release.
65326         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
65328         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
65330         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
65331         MADV_NOHUGEPAGE.
65332         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
65333         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65334         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65335         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65336         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65337         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65339         * posix/getconf.c: Update copyright year.
65340         * catgets/gencat.c: Likewise.
65341         * csu/version.c: Likewise.
65342         * debug/catchsegv.sh: Likewise.
65343         * debug/xtrace.sh: Likewise.
65344         * elf/ldconfig.c: Likewise.
65345         * elf/ldd.bash.in: Likewise.
65346         * elf/sprof.c (print_version): Likewise.
65347         * iconv/iconv_prog.c: Likewise.
65348         * iconv/iconvconfig.c: Likewise.
65349         * locale/programs/locale.c: Likewise.
65350         * locale/programs/localedef.c: Likewise.
65351         * malloc/memusage.sh: Likewise.
65352         * malloc/mtrace.pl: Likewise.
65353         * nscd/nscd.c (print_version): Likewise.
65354         * nss/getent.c: Likewise.
65356         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
65357         PF_CAIF, and PF_ALG.
65358         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65360 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
65362         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
65363         (modules-names): Use them.
65364         (ifunc-test-modules, ifunc-pie-tests): Define.
65365         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
65366         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
65367         (test-extras): Likewise.
65368         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
65369         $(compile-command.c).
65370         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
65371         (all-built-dso): Define.
65372         (check-textrel.out, check-execstack.out): Depend on it.
65374         * configure.in: Don't override --enable-multi-arch.
65376 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
65378         [BZ #6812]
65379         * nscd/hstcache.c (tryagain): Define.
65380         (cache_addhst): Return tryagain not notfound for temporary errors.
65381         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
65382         failed.
65384 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
65386         [BZ #10563]
65387         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
65388         to make the syscall.
65389         * sysdeps/unix/sysv/linux/setgroups.c: New file.
65391         [BZ #12378]
65392         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
65393         and fall back to matching as normal character if the string ends before
65394         the matching ']' is found.  This is what POSIX requires.
65395         * posix/testfnm.c: Adjust test result.
65396         * posix/globtest.sh: Adjust test result.  Add new test.
65397         * posix/tst-fnmatch.input: Likewise.
65398         * posix/tst-fnmatch2.c: Add new test.
65400 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
65402         * elf/Makefile (check-execstack): Revert last change.  Depend on
65403         check-execstack.h.
65404         (check-execstack.h): New target.
65405         (generated): Add check-execstack.h.
65406         * elf/check-execstack.c: Include "check-execstack.h".
65407         (main): Revert last change.
65408         (handle_file): Return zero if GNU_STACK is absent and
65409         DEFAULT_STACK_PERMS doesn't include PF_X.
65411 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
65413         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
65414         in child fails because the descriptor is already closed.
65415         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
65416         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
65417         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
65419         [BZ #12397]
65420         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
65421         syscall.
65423         [BZ #10484]
65424         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
65425         temporary buffer used to handle multi lookups locally.
65426         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
65428 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65430         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
65431         loader is ld.so.
65433 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
65435         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
65436         alignment for SSE2.
65438 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
65440         [BZ #12394]
65441         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
65442         characters.  When rounding increased number of integer digits recompute
65443         number of groups.
65444         * stdio-common/tst-grouping.c: New file.
65445         * stdio-common/Makefile: Add rules to build and run tst-grouping.
65447 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
65449         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
65450         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
65452         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65453         void.
65454         * bits/select.h: Likewise.
65456 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
65458         * po/ja.po: Update from translation team.
65460 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
65462         [BZ #11155]
65463         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
65464         implementation just like for lxstat, fxstatat, et al.
65466 2010-12-27  Jim Meyering  <meyering@redhat.com>
65468         [BZ #12348]
65469         * posix/regexec.c (build_trtable): Return failure indication upon
65470         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
65472 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
65474         [BZ #12201]
65475         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65476         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65477         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65478         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65480         [BZ #12207]
65481         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65483         [BZ #12204]
65484         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65485         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65487 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
65489         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65490         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65491         script has SORT_BY_INIT_PRIORITY.
65492         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65493         NO_CTORS_DTORS_SECTIONS is defined.
65494         * elf/soinit.c: Likewise.
65495         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65496         NO_CTORS_DTORS_SECTIONS is defined.
65497         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65498         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65499         * sysdeps/sh/init-first.c: Likewise.
65500         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65502 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
65504         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65505         always use the slow path.
65507 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
65509         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65510         similar rule which adds the sysdep directories to the header search in
65511         order to pick up the correct platform stackinfo.h.
65512         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65513         perform test if it is, otherwise return successfully without testing.
65514         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65515         DEFAULT_STACK_PERMS define in stackinfo.h.
65516         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65517         defined in stackinfo.h.
65518         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65519         DEFAULT_STACK_PERMS defined in stackinfo.h.
65520         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65521         * sysdeps/ia64/stackinfo.h: Likewise.
65522         * sysdeps/s390/stackinfo.h: Likewise.
65523         * sysdeps/sh/stackinfo.h: Likewise.
65524         * sysdeps/sparc/stackinfo.h: Likewise.
65525         * sysdeps/x86_64/stackinfo.h: Likewise.
65526         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65527         PF_X for powerpc64.  Retain PF_X for powerpc32.
65529 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
65531         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65532         accurately.
65533         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65534         GETDENTS_64BIT_ALIGNED.
65536 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
65538         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65540 2010-12-10  Andreas Schwab  <schwab@redhat.com>
65542         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65543         _GNU_SOURCE.
65545         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65546         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65547         Remove __restrict.
65548         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65549         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65551 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
65553         [BZ #11655]
65554         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65555         are initialized.
65557 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
65559         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65561 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
65563         * po/it.po: Update from translation team.
65565 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
65567         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65568         unused codes.
65570 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
65572         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65574 2010-11-24  Andreas Schwab  <schwab@redhat.com>
65576         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65577         specially.
65578         (gaih_getanswer_slice): Likewise.
65580 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
65582         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65584 2010-05-31  Petr Baudis  <pasky@suse.cz>
65586         [BZ #11149]
65587         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65588         silently even in the chroot mode.
65590 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
65592         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65593         last patch a bit.  Pretty printing
65595 2010-05-31  Petr Baudis <pasky@suse.cz>
65597         [BZ #10085]
65598         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65599         initialization of skip_initgroups_dyn.
65601 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
65603         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65604         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65606 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
65608         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65610 2010-11-11  Andreas Schwab  <schwab@redhat.com>
65612         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65613         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65614         (tst-fnmatch-ENV): Set MALLOC_TRACE.
65615         ($(objpfx)tst-fnmatch-mem): New rule.
65616         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65617         * posix/tst-fnmatch.c (main): Call mtrace.
65619 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
65621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65622         Support Intel processor model 6 and model 0x2c.
65624 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
65626         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65627           signed comparison.
65629 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
65631         [BZ #12205]
65632         * string/test-strncasecmp.c (check_result): New function.
65633         (do_one_test): Use it.
65634         (check1): New function.
65635         (test_main): Use it.
65636         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65637         Support strcasecmp and strncasecmp.
65639 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
65641         [BZ #12194]
65642         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65643         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65645 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
65647         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65648         IFUNC support.
65649         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65650         memset-x86-64.
65651         * sysdeps/x86_64/multiarch/bzero.S: New file.
65652         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65653         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65654         * sysdeps/x86_64/multiarch/memset.S: New file.
65655         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65656         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65657         Set bit_Prefer_SSE_for_memop for Intel processors.
65658         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65659         Define.
65660         (index_Prefer_SSE_for_memop): Define.
65661         (HAS_PREFER_SSE_FOR_MEMOP): Define.
65663 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
65665         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65666         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65668 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
65670         [BZ #12191]
65671         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65672         (__x86_64_raw_data_cache_size_half): Likewise.
65673         (__x86_64_raw_shared_cache_size): Likewise.
65674         (__x86_64_raw_shared_cache_size_half): Likewise.
65676         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65677         (__x86_64_raw_data_cache_size_half): Likewise.
65678         (__x86_64_raw_shared_cache_size): Likewise.
65679         (__x86_64_raw_shared_cache_size_half): Likewise.
65680         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65681         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65682         and __x86_64_raw_shared_cache_size_half.  Round
65683         __x86_64_data_cache_size_half, __x86_64_data_cache_size
65684         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65685         to multiple of 256 bytes.
65687 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
65689         [BZ #12167]
65690         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65691         of inacessible symlinks.  Verify result of symlink before returning it.
65692         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65693         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65695 2010-10-28  Erich Ritz  <erichritz@gmail.com>
65697         * math/math.h (isinf): Fix typo in comment.
65699 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
65701         * po/da.po: Update from translation team.
65703 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
65705         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65706         is added to the list.
65708 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65709             Ulrich Drepper  <drepper@gmail.com>
65711         * elf/dl-object.c (_dl_new_object): Don't append the new object to
65712         the global list here.  Move code to...
65713         (_dl_add_to_namespace_list): ...here.  New function.
65714         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65715         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65716         * elf/dl-load.c (lose): Don't remove the element from the list.
65717         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65718         (_dl_map_object): Likewise.
65720 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
65722         [BZ #12159]
65723         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65724         into all bytes of SSE register.
65725         Patch by Richard Li <richardpku@gmail.com>.
65727 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
65729         [BZ #12140]
65730         * malloc/malloc.c (_int_free): Fill correct number of bytes when
65731         perturbing.
65733 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
65735         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65736         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65737         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65738         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65740         submachine.
65741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65743 2010-10-22  Andreas Schwab  <schwab@redhat.com>
65745         * include/dlfcn.h (__RTLD_SECURE): Define.
65746         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
65747         mode & __RTLD_SECURE instead.
65748         (open_path): Rename preloaded parameter to secure.
65749         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65750         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65751         * elf/dl-deps.c (openaux): Likewise.
65752         * elf/rtld.c (struct map_args): Remove is_preloaded.
65753         (map_doit): Don't use it.
65754         (dl_main): Likewise.
65755         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65756         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65758 2010-09-09  Andreas Schwab  <schwab@redhat.com>
65760         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65761         (sysd-rules-targets): Remove duplicates.
65762         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65763         rtld-%.$o dependency.
65765 2010-10-18  Andreas Schwab  <schwab@redhat.com>
65767         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65768         _dl_map_object do it.
65770 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
65772         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65773         fast fma builtins, define the macros in the C99 standard.
65774         (FP_FAST_FMAF): Likewise.
65775         (FP_FAST_FMAL): Likewise.
65776         * sysdeps/x86_64/bits/mathdef.h: Likewise.
65778         * bits/mathdef.h: Update copyright year.
65779         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65781 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
65783         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65784         builtins, define the macros in the C99 standard.
65785         (FP_FAST_FMAF): Likewise.
65786         (FP_FAST_FMAL): Likewise.
65787         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65788         multiply/add.
65789         (FP_FAST_FMAF): Likewise.
65791 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
65793         [BZ #3268]
65794         * math/libm-test.inc (fma_test): Some new testcases.
65795         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65796         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65797         y and infinite z.  Do multiplication by C already in long double.
65798         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65800         y and infinite z.  Do bitwise or of inexact bit into u.d.
65801         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65802         * sysdeps/i386/fpu/s_fmaf.S: Removed.
65803         * sysdeps/i386/fpu/s_fma.S: Removed.
65804         * sysdeps/i386/fpu/s_fmal.S: Removed.
65806 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
65808         [BZ #3268]
65809         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65810         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65811         computation is not scheduled after fetestexcept.  Fix value
65812         of minimum denormal long double.
65814 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
65816         [BZ #3268]
65817         * math/libm-test.inc (fma_test): Add some more tests.
65818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65819         correctly.
65821 2010-10-15  Andreas Schwab  <schwab@redhat.com>
65823         * scripts/data/localplt-s390-linux-gnu.data: New file.
65824         * scripts/data/localplt-s390x-linux-gnu.data: New file.
65826 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
65828         [BZ #3268]
65829         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65830         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65831         instead of dbl-64.
65832         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65833         inlines.
65834         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65836         if one of x and y is very large and the other is subnormal.
65837         * sysdeps/s390/fpu/s_fmaf.c: New file.
65838         * sysdeps/s390/fpu/s_fma.c: New file.
65839         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65840         * sysdeps/powerpc/fpu/s_fma.S: New file.
65841         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65842         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65843         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65845 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
65847         [BZ #3268]
65848         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65849         fma tests.
65850         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
65851         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
65852         * sysdeps/i386/i686/multiarch/s_fma.c: Include
65853         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
65854         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
65855         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
65856         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
65858 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
65860         [BZ #12078]
65861         * posix/regcomp.c (parse_branch): One more memory leak plugged.
65862         * posix/bug-regex31.input: Add test case.
65864 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
65866         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
65867         * posix/bug-regex31.input: New file.
65869         [BZ #12078]
65870         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
65871         (parse_sub_exp): Fix last change, use postorder.
65873         * posix/bug-regex31.c: New file.
65874         * posix/Makefile: Add rules to build and run bug-regex31.
65876         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
65878         [BZ #12078]
65879         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
65881         [BZ #12108]
65882         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
65883         to have entries in sys_siglist.
65885         [BZ #12093]
65886         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
65887         be NULL.
65889 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
65891         [BZ #3268]
65892         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
65893         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
65894         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
65895         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
65896         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65897         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
65898         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
65899         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
65900         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
65901         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
65902         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
65903         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
65904         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65905         * math/ftestexcept.c (fetestexcept): Likewise.
65906         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
65907         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
65908         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65909         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
65910         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
65911         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
65912         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65914 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
65916         [BZ #12107]
65917         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
65918         newline.
65920 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
65922         * string/bug-strstr1.c: New file.
65923         * string/Makefile: Add rules to build and run bug-strstr1.
65925 2010-10-05  Eric Blake  <eblake@redhat.com>
65927         [BZ #12092]
65928         * string/str-two-way.h (two_way_long_needle): Always clear memory
65929         when skipping input due to the shift table.
65931 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
65933         [BZ #12005]
65934         * malloc/mcheck.c: Handle large requests.
65936         [BZ #12077]
65937         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
65938         for strncmp and strncasecmp.
65939         * string/stratcliff.c: Add tests for strcmp and strncmp.
65940         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
65942 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65944         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
65945         __set_fpscr.
65947 2010-09-30  Andreas Jaeger  <aj@suse.de>
65949         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
65950         (CGROUP_SUPER_MAGIC): Define.
65951         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65952         Handle btrfs and cgroup file systems.
65953         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
65954         Likewise.
65956 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
65958         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
65959         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
65961 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65963         [BZ #12067]
65964         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
65965         trying to locate the ELF header.
65967 2010-09-27  Andreas Schwab  <schwab@redhat.com>
65969         [BZ #11611]
65970         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
65971         Mask out sign-bit copies when constructing f_fsid.
65973 2010-09-24  Petr Baudis <pasky@suse.cz>
65975         * debug/stack_chk_fail_local.c: Add missing licence exception.
65976         * debug/warning-nop.c: Likewise.
65978 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
65980         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
65981         implementing getdents64 using getdents syscall, set d_type if
65982         __ASSUME_GETDENTS32_D_TYPE.
65984 2010-09-16  Andreas Schwab  <schwab@redhat.com>
65986         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
65987         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
65989 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
65991         [BZ #12037]
65992         * posix/unistd.h: Undo change of feature selection for ftruncate from
65993         2010-01-11.
65995 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
65997         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
65998         detection.
66000 2010-09-20  Andreas Schwab  <schwab@redhat.com>
66002         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
66003         fanotify_mark.
66004         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66006 2010-09-14  Andreas Schwab  <schwab@redhat.com>
66008         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
66009         variables after CHECK_SP call.
66010         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
66012 2010-09-13  Andreas Schwab  <schwab@redhat.com>
66013             Ulrich Drepper  <drepper@redhat.com>
66015         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
66016         re-relocationg ld.so.
66017         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
66018         _dl_init_paths call.
66019         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
66020         here anymore.
66022 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
66024         * resolv/res_init.c (__res_vinit): Count the default server we added.
66026 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
66027             Ulrich Drepper  <drepper@redhat.com>
66029         [BZ #11968]
66030         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66031         (____longjmp_chk): Use %ebx for saving value across system call.
66032         Add unwind info.
66034 2010-09-06  Andreas Schwab  <schwab@redhat.com>
66036         * manual/Makefile: Don't mix pattern rules with normal rules.
66038 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66040         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
66041         operation.
66042         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
66043         * libio/iofopncook.c (_IO_cookie_init): Likewise.
66044         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
66045         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
66046         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66047         Likewise.
66049 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
66051         [BZ #11979]
66052         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
66053         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
66055 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
66057         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
66058         * sysdeps/x86_64/addmul_1.S: Likewise.
66059         * sysdeps/x86_64/lshift.S: Likewise.
66060         * sysdeps/x86_64/mul_1.S: Likewise.
66061         * sysdeps/x86_64/rshift.S: Likewise.
66062         * sysdeps/x86_64/sub_n.S: Likewise.
66063         * sysdeps/x86_64/submul_1.S: Likewise.
66065 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66067         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
66068         Define __sched_param instead of SCHED_* and sched_param when
66069         <bits/sched.h> is included with __need_schedparam defined.
66070         * bits/sched.h [__need_schedparam]
66071         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
66072         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
66073         (__defined_schedparam): Define to 1.
66074         (__sched_param): New structure, identical to sched_param.
66075         (__need_schedparam): Undefine.
66077 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
66079         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
66080         (epoll_create1): Declare.
66082         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
66084 2010-08-31  Andreas Schwab  <schwab@redhat.com>
66086         [BZ #7066]
66087         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
66088         shifting retval into place.
66090 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
66092         * nis/rpcsvc/nis.h: Update copyright notice.
66093         * nis/rpcsvc/nis.x: Likewise.
66094         * nis/rpcsvc/nis_callback.h: Likewise.
66095         * nis/rpcsvc/nis_callback.x: Likewise.
66096         * nis/rpcsvc/nis_object.x: Likewise.
66097         * nis/rpcsvc/nis_tags.h: Likewise.
66098         * nis/rpcsvc/yp.h: Likewise.
66099         * nis/rpcsvc/yp.x: Likewise.
66100         * nis/rpcsvc/ypupd.h: Likewise.
66101         * nis/yp_xdr.c: Likewise.
66102         * nis/ypupdate_xdr.c: Likewise.
66104         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
66105         mainly the body of pmap_getport.  Add parameters to specify timeouts.
66106         (pmap_getport): Use __libc_rpc_getport.
66107         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
66108         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
66109         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
66111 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
66113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
66114         fanotify_mark.
66116 2010-08-27  Roland McGrath  <roland@redhat.com>
66118         * sysdeps/i386/i686/multiarch/Makefile
66119         (CFLAGS-varshift.c): New variable.
66121 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
66123         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
66124         * sysdeps/i386/i686/multiarch/varshift.c: New file.
66126         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
66128         * sysdeps/x86_64/strlen.S: Minimal code improvement.
66130 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
66132         * sysdeps/x86_64/strlen.S: Unroll the loop.
66133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66134         strlen-sse2 strlen-sse2-bsf.
66135         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
66136         __strlen_no_bsf if bit_Slow_BSF is set.
66137         (__strlen_sse42): Removed.
66138         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
66139         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
66141 2010-08-25  Roland McGrath  <roland@redhat.com>
66143         * sysdeps/x86_64/multiarch/varshift.S: File removed.
66144         * sysdeps/x86_64/multiarch/varshift.c: New file.
66145         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
66146         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
66147         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
66148         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
66150 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
66152         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66153         strlen-sse2 strlen-sse2-bsf.
66154         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
66155         __strlen_sse2_bsf if bit_Slow_BSF is unset.
66156         (__strlen_sse2): Removed.
66157         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
66158         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
66159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
66160         bit_Slow_BSF for Atom.
66161         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
66162         (index_Slow_BSF): Define.
66163         (HAS_SLOW_BSF): Define.
66165 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
66167         [BZ #10851]
66168         * resolv/res_init.c (__res_vinit): When no server address at all
66169         is given default to loopback.
66171 2010-08-24  Roland McGrath  <roland@redhat.com>
66173         * configure.in: Remove config-name.h generation.
66174         * configure: Regenerated.
66175         * config-name.in: File removed.
66176         * scripts/config-uname.sh: New file.
66177         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
66178         ($(objdir)config-name.h): New target.
66180         * sunrpc/rpc_parse.h: Avoid nested comment.
66182 2010-08-24  Richard Henderson  <rth@redhat.com>
66183             Ulrich Drepper  <drepper@redhat.com>
66184             H.J. Lu  <hongjiu.lu@intel.com>
66186         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
66187         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
66188         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
66189         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
66190         _mm_alignr_epi8 with _mm_loadu_si128.
66191         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
66192         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
66193         (__m128i_shift_right): Removed.
66194         * sysdeps/i386/i686/multiarch/varshift.h: New file.
66195         * sysdeps/i386/i686/multiarch/varshift.S: New file.
66196         * sysdeps/x86_64/multiarch/varshift.h: New file.
66197         * sysdeps/x86_64/multiarch/varshift.S: New file.
66199 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
66201         * configure.in: Move assembler checks to before sysdep dir checking.
66203 2010-08-20  Petr Baudis  <pasky@suse.cz>
66205         * LICENSES: Sync the sunrpc license.
66207 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
66209         * sunrpc/auth_des.c: Update copyright notice once again.
66210         * sunrpc/auth_none.c: Likewise.
66211         * sunrpc/auth_unix.c: Likewise.
66212         * sunrpc/authdes_prot.c: Likewise.
66213         * sunrpc/authuxprot.c: Likewise.
66214         * sunrpc/bindrsvprt.c: Likewise.
66215         * sunrpc/clnt_gen.c: Likewise.
66216         * sunrpc/clnt_perr.c: Likewise.
66217         * sunrpc/clnt_raw.c: Likewise.
66218         * sunrpc/clnt_simp.c: Likewise.
66219         * sunrpc/clnt_tcp.c: Likewise.
66220         * sunrpc/clnt_udp.c: Likewise.
66221         * sunrpc/clnt_unix.c: Likewise.
66222         * sunrpc/des_crypt.c: Likewise.
66223         * sunrpc/des_soft.c: Likewise.
66224         * sunrpc/get_myaddr.c: Likewise.
66225         * sunrpc/getrpcport.c: Likewise.
66226         * sunrpc/key_call.c: Likewise.
66227         * sunrpc/key_prot.c: Likewise.
66228         * sunrpc/openchild.c: Likewise.
66229         * sunrpc/pm_getmaps.c: Likewise.
66230         * sunrpc/pm_getport.c: Likewise.
66231         * sunrpc/pmap_clnt.c: Likewise.
66232         * sunrpc/pmap_prot.c: Likewise.
66233         * sunrpc/pmap_prot2.c: Likewise.
66234         * sunrpc/pmap_rmt.c: Likewise.
66235         * sunrpc/rpc/auth.h: Likewise.
66236         * sunrpc/rpc/auth_unix.h: Likewise.
66237         * sunrpc/rpc/clnt.h: Likewise.
66238         * sunrpc/rpc/des_crypt.h: Likewise.
66239         * sunrpc/rpc/key_prot.h: Likewise.
66240         * sunrpc/rpc/netdb.h: Likewise.
66241         * sunrpc/rpc/pmap_clnt.h: Likewise.
66242         * sunrpc/rpc/pmap_prot.h: Likewise.
66243         * sunrpc/rpc/pmap_rmt.h: Likewise.
66244         * sunrpc/rpc/rpc.h: Likewise.
66245         * sunrpc/rpc/rpc_des.h: Likewise.
66246         * sunrpc/rpc/rpc_msg.h: Likewise.
66247         * sunrpc/rpc/svc.h: Likewise.
66248         * sunrpc/rpc/svc_auth.h: Likewise.
66249         * sunrpc/rpc/types.h: Likewise.
66250         * sunrpc/rpc/xdr.h: Likewise.
66251         * sunrpc/rpc_clntout.c: Likewise.
66252         * sunrpc/rpc_cmsg.c: Likewise.
66253         * sunrpc/rpc_common.c: Likewise.
66254         * sunrpc/rpc_cout.c: Likewise.
66255         * sunrpc/rpc_dtable.c: Likewise.
66256         * sunrpc/rpc_hout.c: Likewise.
66257         * sunrpc/rpc_main.c: Likewise.
66258         * sunrpc/rpc_parse.c: Likewise.
66259         * sunrpc/rpc_parse.h: Likewise.
66260         * sunrpc/rpc_prot.c: Likewise.
66261         * sunrpc/rpc_sample.c: Likewise.
66262         * sunrpc/rpc_scan.c: Likewise.
66263         * sunrpc/rpc_scan.h: Likewise.
66264         * sunrpc/rpc_svcout.c: Likewise.
66265         * sunrpc/rpc_tblout.c: Likewise.
66266         * sunrpc/rpc_util.c: Likewise.
66267         * sunrpc/rpc_util.h: Likewise.
66268         * sunrpc/rpcinfo.c: Likewise.
66269         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
66270         * sunrpc/rpcsvc/key_prot.x: Likewise.
66271         * sunrpc/rpcsvc/klm_prot.x: Likewise.
66272         * sunrpc/rpcsvc/mount.x: Likewise.
66273         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
66274         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
66275         * sunrpc/rpcsvc/rex.x: Likewise.
66276         * sunrpc/rpcsvc/rstat.x: Likewise.
66277         * sunrpc/rpcsvc/rusers.x: Likewise.
66278         * sunrpc/rpcsvc/sm_inter.x: Likewise.
66279         * sunrpc/rpcsvc/spray.x: Likewise.
66280         * sunrpc/rpcsvc/yppasswd.x: Likewise.
66281         * sunrpc/rtime.c: Likewise.
66282         * sunrpc/svc.c: Likewise.
66283         * sunrpc/svc_auth.c: Likewise.
66284         * sunrpc/svc_authux.c: Likewise.
66285         * sunrpc/svc_raw.c: Likewise.
66286         * sunrpc/svc_run.c: Likewise.
66287         * sunrpc/svc_simple.c: Likewise.
66288         * sunrpc/svc_tcp.c: Likewise.
66289         * sunrpc/svc_udp.c: Likewise.
66290         * sunrpc/svc_unix.c: Likewise.
66291         * sunrpc/svcauth_des.c: Likewise.
66292         * sunrpc/xcrypt.c: Likewise.
66293         * sunrpc/xdr.c: Likewise.
66294         * sunrpc/xdr_array.c: Likewise.
66295         * sunrpc/xdr_float.c: Likewise.
66296         * sunrpc/xdr_mem.c: Likewise.
66297         * sunrpc/xdr_rec.c: Likewise.
66298         * sunrpc/xdr_ref.c: Likewise.
66299         * sunrpc/xdr_sizeof.c: Likewise.
66300         * sunrpc/xdr_stdio.c: Likewise.
66302         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
66303         handling.
66305 2010-08-19  Andreas Schwab  <schwab@redhat.com>
66307         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
66309 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
66311         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
66312         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
66313         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
66314         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
66315         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
66316         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
66317         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
66318         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
66319         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
66320         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
66321         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
66322         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
66323         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
66324         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
66326 2010-07-26  Anton Blanchard  <anton@samba.org>
66328         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
66329         * malloc/arena.c (heap_trim): Likewise.
66331 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
66333         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
66334         here.  Not...
66335         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
66336         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
66338 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
66340         * sysdeps/i386/elf/Makefile: New file.
66342 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66344         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
66345         from fanotify_init.
66346         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
66347         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66349 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
66351         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
66352         of strncasecmp_l.
66353         * sysdeps/multiarch/strcmp.S: Likewise.
66355 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
66357         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66358         strncase_l-nonascii.
66359         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66360         Add strncase_l-ssse3.
66361         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
66362         * sysdeps/x86_64/strcmp.S: Likewise.
66363         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
66364         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
66365         * sysdeps/x86_64/strncase.S: New file.
66366         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
66367         * sysdeps/x86_64/strncase_l.S: New file.
66368         * string/Makefile (strop-tests): Add strncasecmp.
66369         * string/test-strncasecmp.c: New file.
66371         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
66372         warning.
66374         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
66375         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
66377 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
66379         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
66381 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
66383         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
66384         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
66385         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
66387 2010-05-01  Alan Modra  <amodra@gmail.com>
66389         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
66390         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
66391         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
66392         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
66393         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
66394         tidying.  Don't tail-call __sigjmp_save for static lib.
66395         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
66396         save location.
66397         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
66398         (CALL_MCOUNT): Add eh info, and nop after bl.
66399         (TAIL_CALL_SYSCALL_ERROR): New macro.
66400         (PSEUDO_RET): Use it.
66401         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
66402         Correct save location of integer regs and cr.
66403         (_dl_profile_resolve): Correct cr save location.  Delete nops
66404         after bl when SHARED.  Reduce cfi size a little by better
66405         placement of cfi directives.
66406         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
66407         make a stack frame.  Instead use parm save area as a temp.
66408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
66409         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
66410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
66411         Don't make a stack frame for parent, use parm save area.
66412         Increase child stack frame to 112 bytes.  Don't save unused reg,
66413         and adjust reg usage.  Set up cfi on error recovery and
66414         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
66415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66416         (__makecontext): Add dummy nop after jump to exit.
66417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
66418         Use correct parm save area and cr save, reduce stack frame.
66419         Correct cfi for possible PSEUDO_RET frame setup.
66420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
66421         Branch to local label emitted by PSEUDO_RET rather than
66422         __syscall_error.
66424 2010-08-12  Andreas Schwab  <schwab@redhat.com>
66426         [BZ #11904]
66427         * locale/programs/locale.c (print_assignment): New function.
66428         (show_locale_vars): Use it.
66430 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
66432         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
66433         field.
66434         (struct statfs64): Likewise.
66435         (_STATFS_F_FLAGS): Define.
66436         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
66437         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66438         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
66439         (ST_VALID): Define locally.
66440         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
66441         __statvfs_getflags, use the provided value.
66442         * sysdeps/unix/sysv/linux/kernel-features.h: Define
66443         __ASSUME_STATFS_F_FLAGS.
66445         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
66447         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
66448         Add sys/fanotify.h.
66449         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
66450         fanotify_mask for GLIBC_2.13.
66451         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
66452         fanotify_init and fanotify_mark.
66453         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66454         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
66456         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
66457         Add prlimit.
66458         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
66459         prlimit64 for GLIBC_2.13.
66460         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
66461         prlimit64.
66462         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
66463         syscall.
66464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
66465         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66466         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
66467         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
66468         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
66469         add prlimit alias.
66470         * sysdeps/unix/sysv/linux/prlimit.c: New file.
66472         [BZ #11903]
66473         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
66474         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66476         * nss/Makefile: Add rules to build and run tst-nss-test1.
66477         * shlib-versions: Add entry for libnss_test1.
66478         * nss/nss_test1.c: New file.
66479         * nss/tst-nss-test1.c: New file.
66481         * nss/nsswitch.c (__nss_database_custom): Define new variable.
66482         (__nss_configure_lookup): Set appropriate entry in
66483         __nss_configure_lookup to true.
66484         * nss/nsswitch.h: Define enum with indeces of databases in
66485         databases and __nss_database_custom arrays.  Declare
66486         __nss_database_custom.
66487         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66488         to avoid using nscd when custom rules are installed.
66489         * nss/getXXbyYY_r.c: Likewise.
66490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66492         * nss/nss_files/files-parse.c: Whitespace fixes.
66494 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
66496         [BZ #11883]
66497         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66498         * posix/fnmatch_loop.c: Likewise.
66500 2010-07-17  Andi Kleen  <ak@linux.intel.com>
66502         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66503         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66504         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66505         * Versions.def [GLIBC_2.13]: Add.
66507 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
66509         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66510         Also fail if tpwd after pwuid call is NULL.
66512 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66514         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66515         when converting to ms.
66517 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66519         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66520         EOPNOTSUPP errors with ENOTTY.
66521         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66522         EOPNOTSUPP errors with ENOTTY.
66524 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
66526         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66527         Add strcasecmp_l-ssse3.
66528         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66529         strcasecmp.
66530         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66531         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66532         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66534 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
66536         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66538         * string/Makefile (strop-tests): Add strcasecmp.
66539         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66540         strcasecmp_l-nonascii.
66541         (gen-as-const-headers): Add locale-defines.sym.
66542         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66543         * sysdeps/x86_64/strcasecmp.S: New file.
66544         * sysdeps/x86_64/strcasecmp_l.S: New file.
66545         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66546         * sysdeps/x86_64/locale-defines.sym: New file.
66547         * string/test-strcasecmp.c: New file.
66549         * string/test-strcasestr.c: Test both ends of the range of characters.
66550         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66552 2010-07-29  Roland McGrath  <roland@redhat.com>
66554         [BZ #11856]
66555         * manual/locale.texi (Yes-or-No Questions): Fix example code.
66557 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
66559         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66560         for ld.so.
66562 2010-07-27  Andreas Schwab  <schwab@redhat.com>
66564         * manual/memory.texi (Malloc Tunable Parameters): Document
66565         M_PERTURB.
66567 2010-07-26  Roland McGrath  <roland@redhat.com>
66569         [BZ #11840]
66570         * configure.in (-fgnu89-inline check): Set and substitute
66571         gnu89_inline, not libc_cv_gnu89_inline.
66572         * configure: Regenerated.
66573         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66575 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
66577         * string/test-strnlen.c: New file.
66578         * string/Makefile (strop-tests): Add strnlen.
66579         * string/tester.c (test_strnlen): Add a few more test cases.
66580         * string/tst-strlen.c: Better error reporting.
66582         * sysdeps/x86_64/strnlen.S: New file.
66584 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
66586         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66587         lower-latency instructions.
66589 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
66591         * string/test-strcasestr.c: New file.
66592         * string/test-strstr.c: New file.
66593         * string/Makefile (strop-tests): Add strstr and strcasestr.
66594         * string/str-two-way.h: Don't undefine MAX.
66595         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66597 2010-07-21  Andreas Schwab  <schwab@redhat.com>
66599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66600         strcasestr-nonascii.
66601         (CFLAGS-strcasestr-nonascii.c): Define.
66602         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66603         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66604         Remove unused attribute.
66606 2010-07-20  Roland McGrath  <roland@redhat.com>
66608         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66609         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
66610         ld.so.cache was broken.  With it, there is no way to disable dsocaps
66611         like LD_HWCAP_MASK can disable hwcaps.
66613 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
66615         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66617 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
66619         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66620         call in strcasestr.
66621         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66622         __strcasestr_sse42_nonascii.
66623         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66624         strcasestr-nonascii.c.
66625         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66627 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
66629         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66630         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66631         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66632         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66634 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
66636         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66637         fcntl.
66639 2010-07-06  Andreas Schwab  <schwab@redhat.com>
66641         [BZ #11577]
66642         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66643         dl_signal_cerror.
66645 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
66647         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66648         _PC_PIPE_BUF using F_GETPIPE_SZ.
66650 2010-07-05  Roland McGrath  <roland@redhat.com>
66652         * manual/arith.texi (Rounding Functions): Fix rint description
66653         implicit in round description.
66655 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
66657         * elf/Makefile: Fix linking for a few tests to make recent linker
66658         happy.
66660 2010-06-30  Andreas Schwab  <schwab@redhat.com>
66662         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66663         $(common-objpfx)libc_nonshared.a.
66665 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
66667         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66668         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66669         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66670         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66671         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66672         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66673         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66674         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66689         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66690         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66691         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66692         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66693         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66694         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66695         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66696         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66697         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66698         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66699         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66700         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66716 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
66718         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66719         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
66720         * string/memmove.c (memmove): Renamed to ...
66721         (MEMMOVE): ...this.  Default to memmove.
66722         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66723         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66724         (END_CHK): Define.
66725         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66726         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66727         mempcpy-ssse3-back memmove-ssse3-back.
66728         * sysdeps/x86_64/multiarch/bcopy.S: New file .
66729         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66730         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66731         * sysdeps/x86_64/multiarch/memcpy.S: New file.
66732         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66733         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66734         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66735         * sysdeps/x86_64/multiarch/memmove.c: New file.
66736         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66737         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66738         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66739         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66740         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66741         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66742         Define.
66743         (index_Fast_Copy_Backward): Define.
66744         (HAS_ARCH_FEATURE): Define.
66745         (HAS_FAST_REP_STRING): Define.
66746         (HAS_FAST_COPY_BACKWARD): Define.
66748 2010-06-21  Andreas Schwab  <schwab@redhat.com>
66750         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66751         Restore proper fallback handling.
66753 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
66755         [BZ #11701]
66756         * posix/group_member.c (__group_member): Correct checking loop.
66758         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66759         OOM in getpwuid_r correctly.  Return error number when the caller
66760         should return, otherwise -1.
66761         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66762         call returning > 0 value.
66763         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66765 2010-06-07  Andreas Schwab  <schwab@redhat.com>
66767         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66768         libc_nonshared.a from targets in modules-names.
66770 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
66772         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66773         requires it.
66775 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
66777         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66778         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66779         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66780         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66782 2010-06-02  Andreas Schwab  <schwab@redhat.com>
66784         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66786 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
66788         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66789         and F_GETPIPE_SZ.
66790         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66791         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66792         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66793         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66794         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66795         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66797 2010-06-14  Roland McGrath  <roland@redhat.com>
66799         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66801 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
66803         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66804         __REDIRECT followed by __THROW.
66805         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66806         * posix/getopt.h (getopt): Likewise.
66808 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
66810         * hurd/lookup-at.c (__file_name_lookup_at): Accept
66811         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
66812         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66813         in AT_FLAGS.
66814         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66815         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66817 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
66819         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66821 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
66823         [BZ #11640]
66824         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66825         Properly check family and model.
66827 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
66829         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66831 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
66833         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66835 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
66837         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66838         symbol reference.
66840 2010-05-19  Andreas Schwab  <schwab@redhat.com>
66842         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66843         symbol reference.
66845 2010-05-21  Andreas Schwab  <schwab@redhat.com>
66847         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66848         and internal_recvmmsg.
66849         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66850         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
66851         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
66852         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
66854         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
66855         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66856         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66858 2010-05-20  Andreas Schwab  <schwab@redhat.com>
66860         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
66862 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
66864         POWER7 optimizations.
66865         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
66866         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
66868 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
66870         * version.h: Update for 2.13 development version.
66872 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
66874         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
66875         exceptions.  Return 0.
66877 2010-05-07  Roland McGrath  <roland@redhat.com>
66879         * elf/ldconfig.c (main): Add a const.
66881 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
66883         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
66884         (args_options): Add no-idn option.
66885         (ahosts_keys_int): Add idn_flags to ai_flags.
66886         (parse_option): Handle 'i' option to clear idn_flags.
66888         * malloc/malloc.c (_int_free): Possible race in the most recently
66889         added check.  Only act on the data if no current modification
66890         happened.
66892 See ChangeLog.17 for earlier changes.