NaCl: Make fdopendir skip fcntl check.
[glibc.git] / ChangeLog
blob6d96ce29f126cfeb7400c8af5ba144c8202090d5
1 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3         * sysdeps/nacl/fdopendir.c: New file.
5         * dirent/scandir-tail.c: New file.
6         * dirent/scandir64-tail.c: New file.
7         * dirent/Makefile (routines): Add them.
8         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
9         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
10         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11         [!SCANDIR] (SCANDIR_TAIL): New macro.
12         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14         (SCANDIRAT): Macro removed.
15         (SCANDIR_TAIL): New macro.
16         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
17         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
18         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20         (READDIR): Macro removed.
21         (SCANDIR_TAIL): New macro.
22         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
23         (SCANDIR_TAIL): New macro.
25         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26         * dirent/scandir-cancel.c: ... to this new file.
27         * dirent/Makefile (routines): Add it.
28         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
29         * sysdeps/unix/sysv/linux/i386/scandir64.c
30         (SKIP_SCANDIR_CANCEL): Macro removed.
31         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
33         * dirent/tst-scandir.c: New file.
34         * dirent/tst-scandir64.c: New file.
35         * dirent/Makefile (tests): Add them.
37 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
39         [BZ #18409]
40         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
42 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
44         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
45         list.
47 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
49         * benchtests/bench-strcoll.c: New benchmark.
50         * benchtests/Makefile: Generate locales and run benchmark.
51         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
52         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
53         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
54         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
55         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
56         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
57         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
58         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
59         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
60         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
61         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
62         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
63         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
64         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
65         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
66         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
67         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
68         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
69         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
70         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
71         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
72         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
73         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
74         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
76 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
78         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
79         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
81 2015-05-12  Roland McGrath  <roland@hack.frob.com>
83         * posix/uname-values.h: New file.
84         * posix/uname.c: Include that instead of <config-name.h>.
85         * sysdeps/nacl/uname-values.h: New file.
86         * sysdeps/arm/nacl/uname-values.h: New file.
88 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
90         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
91         splitting into fields.
93 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
95         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
96         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
97         * locale/localeinfo.h: Add enum collation_encoding_type.
98         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
99         * programs/ld-collate.c (collate_output): Add encoding type info.
100         * string/strcoll_l.c (STRDIFF): New function.
101         * (STRCOLL): Use STRDIFF to skip over equal prefix.
102         * wcsmbs/wcscoll_l.c: Define STRDIFF.
104 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
106         [BZ #18397]
107         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
108         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
109         <fpu_control.h> instead of <math/fpu_control.c>.
110         * sysdeps/mips/mips32/fpu/Makefile: New file.
112 2015-05-11  Andreas Schwab  <schwab@suse.de>
114         [BZ #18007]
115         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
116         nss_endgrent.
117         (_nss_compat_endgrent): Call nss_endgrent.
118         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
119         nss_endpwent.
120         (_nss_compat_endpwent): Call nss_endpwent.
121         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
122         needent, call nss_setspent only if non-zero.
123         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
124         (internal_endspent): Don't call nss_endspent.
125         (_nss_compat_endspent): Call nss_endspent.
126         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
127         Remove.  All uses removed.
128         (internal_setent): Remove parameter stayopen, add parameter
129         stream.  Use it instead of global variable.
130         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
131         (internal_endent, internal_getent): Add parameter stream.  Use it
132         instead of global variable.
133         (CONCAT(_nss_files_end,ENTNAME))
134         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
135         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
136         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
137         uses removed.
138         (internal_setent, internal_endent): Add parameter stream.  Use it
139         instead of global variable.
140         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
141         stream.
142         (get_next_alias): Add parameter stream.
143         (_nss_files_getaliasent_r): Pass global stream.
144         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
145         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
146         (_nss_files_gethostbyname4_r): Pass local stream to
147         internal_setent, internal_getent and internal_endent.  Remove
148         locking.
150 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
152         * tst-strfmon1.c (tests): Update expected currency symbol.
154 2015-05-08  Roland McGrath  <roland@hack.frob.com>
156         * sysdeps/nacl/gethostname.c: New file.
158 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
160         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
161         and sinh.
162         * math/auto-libm-test-out: Regenerated.
163         * sysdeps/i386/fpu/libm-test-ulps: Update.
164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
166 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
168         [BZ #18125]
169         * stdlib/tst-setcontext3.c: New file.
170         * stdlib/tst-setcontext3.sh: New file.
171         * stdlib/Makefile (tests): Add tst-setcontext3.
172         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
173         to verify test program created output file.
174         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
175         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
176         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
177         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
179 2015-05-06  Roland McGrath  <roland@hack.frob.com>
181         [BZ #18383]
182         * elf/tst-tlsalign.c: New file.
183         * elf/tst-tlsalign-static.c: New file.
184         * elf/tst-tlsalign-lib.c: New file.
185         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
186         (tests-static): Add tst-tlsalign-static.
187         (modules-names): Add tst-tlsalign-lib.
188         (test-xfail-tst-tlsalign): New variable.
189         (test-xfail-tst-tlsalign-static): New variable.
191         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
192         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
194 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
196         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
197         csqrt, erfc, sin and sincos.
198         * math/auto-libm-test-out: Regenerated.
199         * sysdeps/i386/fpu/libm-test-ulps: Update.
200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
202 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
204         * sysdeps/aarch64/libm-test-ulps: Update.
206 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
208         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
209         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
210         * math/auto-libm-test-out: Regenerated.
211         * sysdeps/i386/fpu/libm-test-ulps: Update.
212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
214 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
216         [BZ #18265]
217         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
218         (wcsncpy): Likewise.
220 2015-05-05  Florian Weimer  <fweimer@redhat.com>
222         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
223         Assume __ASSUME_FALLOCATE is always true.
224         * sysdeps/unix/sysv/linux/posix_fallocate64.c
225         (__posix_fallocate64_l64): Likweise.
226         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
227         (posix_fallocate): Likewise.
228         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
229         (__posix_fallocate64_l64): Likewise.
230         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
231         [!__ASSUME_FALLOCATE]: Add comment.
233 2015-05-05  Florian Weimer  <fweimer@redhat.com>
235         * sysdeps/unix/sysv/linux/i386/Makefile
236         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
237         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
238         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
239         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
240         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
241         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
242         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
244 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
246         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
247         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
248         tgamma.
249         * math/auto-libm-test-out: Regenerated.
250         * sysdeps/i386/fpu/libm-test-ulps: Update.
251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
253 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
255         * math/auto-libm-test-in: Add more tests of tgamma.
256         * math/auto-libm-test-out: Regenerated.
257         * sysdeps/i386/fpu/libm-test-ulps: Update.
258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
260         * math/auto-libm-test-in: Add more tests of tanh.
261         * math/auto-libm-test-out: Regenerated.
262         * sysdeps/i386/fpu/libm-test-ulps: Update.
263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
265         * math/auto-libm-test-in: Add more tests of tan.
266         * math/auto-libm-test-out: Regenerated.
267         * sysdeps/i386/fpu/libm-test-ulps: Update.
268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
270         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
271         * math/auto-libm-test-out: Regenerated.
272         * sysdeps/i386/fpu/libm-test-ulps: Update.
273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
275         * math/auto-libm-test-in: Add another test of pow.
276         * math/auto-libm-test-out: Regenerated.
277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
279         * math/auto-libm-test-in: Add more tests of lgamma.
280         * math/auto-libm-test-out: Regenerated.
281         * sysdeps/i386/fpu/libm-test-ulps: Update.
282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
284         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
285         log1p.
286         * math/auto-libm-test-out: Regenerated.
287         * sysdeps/i386/fpu/libm-test-ulps: Update.
288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
290 2015-05-01  Mark Wielaard  <mjw@redhat.com>
292         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
293         Elf64_Chdr structs and ELFCOMPRESS constants.
295 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
297         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
298         expm1.
299         * math/auto-libm-test-out: Regenerated.
300         * sysdeps/i386/fpu/libm-test-ulps: Update.
301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
303         * math/auto-libm-test-in: Add more tests of erf and erfc.
304         * math/auto-libm-test-out: Regenerated.
305         * sysdeps/i386/fpu/libm-test-ulps: Update.
306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
308 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
310         * config.h.in (HAVE_AARCH64_BE): Add.
312 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
314         * math/auto-libm-test-in: Add more tests of csqrt.
315         * math/auto-libm-test-out: Regenerated.
316         * sysdeps/i386/fpu/libm-test-ulps: Update.
317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
319         * math/auto-libm-test-in: Add more tests of cosh and sinh.
320         * math/auto-libm-test-out: Regenerated.
321         * sysdeps/i386/fpu/libm-test-ulps: Update.
322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
324         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
326 2015-04-29  Roland McGrath  <roland@hack.frob.com>
328         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
329         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
331         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
332         (euidaccess, eaccess): Define as weak aliases.
334         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
335         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
336         but __suseconds_t is often 'long int' so some sources assume that
337         type is being used (e.g. they use %ld to print tv_usec).
339 2015-04-29  Florian Weimer  <fweimer@redhat.com>
341         [BZ #18007]
342         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
343         (CVE-2014-8121)
344         * nss/tst-nss-getpwent.c: New file.
345         * nss/Makefile (tests): Add new test.
347 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
349         [BZ #18346]
350         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
351         exponents less than 48 as cases where high part of mantissa needs
352         examining to determine whether argument is integral.
353         * math/libm-test.inc (round_test_data): Add more tests.
355 2015-04-28  Mark Wielaard  <mjw@redhat.com>
357         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
359 2015-04-27  David S. Miller  <davem@davemloft.net>
361         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
362         __tls_get_addr.
363         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
365 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
367         [BZ#18333]
368         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
370 2015-04-27  Florian Weimer  <fweimer@redhat.com>
372         [BZ#18333]
373         * time/tzset.c (parse_tzname): Return error on memory allocation
374         failure.
375         * test-skeleton.c (struct temp_name_list): Change type of name
376         member to non-const.
377         (add_temp_file): Create a copy of the file name.
378         (delete_temp_files): Deallocate memory.
379         (create_temp_file): Add comment.
381 2015-04-24  Florian Weimer  <fweimer@redhat.com>
383         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
384         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
386 2015-04-24  Roland McGrath  <roland@hack.frob.com>
388         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
389         * sysdeps/arm/configure: Regenerated.
391 2015-04-24  Florian Weimer  <fweimer@redhat.com>
393         [BZ #17715]
394         * time/tzfile.c (__tzfile_read): Check for large values of
395         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
396         * time/tzset.c (__tzstring_len): New function, based on the old
397         __tzstring function.
398         (__tzstring): Call __tzstring_len.
399         (parse_tzname): New helper function extracted from
400         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
401         the input string.
402         (parse_offset): New helper function extracted from
403         __tzset_parse_tz.  Replace switch with fallthrough with
404         initialization before sscanf.
405         (parse_rule): Likewise.
406         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
407         new-style function definition.
408         * timezone/Makefile (tests): Add tst-tzset.
409         (tst-tzset.out): Dependencies on time zone files.
410         (tst-tzset-ENV): Set TZDIR.
411         (testdata/XT%): Copy crafted time zone files.
412         * timezone/README: Mention crafted time zone files.
413         * timezone/testdata/XT1, timezone/testdata/XT2,
414         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
415         files.
416         * timezone/tst-tzset.c: New test.
418 2015-04-24  Florian Weimer  <fweimer@redhat.com>
420         * Makeconfig (+gccwarn): Remove -Winline.
422 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
424         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
426 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
428         * NEWS: Mention sysconf() cache information support for s390.
429         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
431 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
433         * math/k_casinh.c (__kernel_casinh): Use __copysign.
434         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
435         (__nearbyint): Likewise.
436         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
437         (copysignl): Likewise.
439 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
441         [BZ #18287]
442         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
443         based on padding.  (CVE-2015-1781)
445 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
447         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
448         libc-vdso.h.
449         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
450         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
451         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
452         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
453         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
454         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
455         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
456         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
457         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
458         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
459         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
460         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
461         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
462         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
463         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
464         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
465         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
466         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
467         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
468         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
469         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
470         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
471         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
473 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
475         * stdlib/setenv.c (__add_to_environ):
476         Dump core quickly if setenv (..., NULL, ...) is called.
477         This time, do it the right way, and pacify GCC with a pragma.
479 2015-04-17  Roland McGrath  <roland@hack.frob.com>
481         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
482         IMAP->l_prev cannot be null, and #if out the code for the contrary
483         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
484         believe that NS (&_dl_ns[NSID]) could point outside the array.
486         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
487         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
488         before using NSID as an index.
490 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
492         [BZ #17825]
493         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
494         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
495         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
497 2015-04-17  Roland McGrath  <roland@hack.frob.com>
499         Add preliminary port to Google Native Client on ARM.
500         * abi-tags (.*-.*-nacl.*): New entry.
501         * sysdeps/arm/nacl: New directory.
502         * sysdeps/nacl: New directory.
504 2015-04-16  David S. Miller  <davem@davemloft.net>
506         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
507         lowlevellock-futex.h
509 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
511         * sysdeps/tile/configure.ac: New file.
512         * sysdeps/tile/configure: Regenerated.
514 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
516         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
517         conditionals for weak_alias and libc_hidden_weak.
518         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
519         libc_hidden_weak and weak_alias.
520         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
521         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
522         and weak_alias for static one.
524 2015-04-15  David S. Miller  <davem@davemloft.net>
526         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
528 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
530         [BZ #18206]
531         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
532           Use signed comparision instead of substraction to avoid
533           overflow bug.
534         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
535           Take the sign of ret.
536         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
537           Do not expect precise return values. Only the sign matters.
538         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
539         * wcsmbs/test-wcsncmp.c: New File.
540         * string/test-strncmp.c: Add wcsncmp support.
542 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
544         [BZ #6792]
545         * math/w_log1p.c: New file.
546         * math/w_log1pf.c: Likewise.
547         * math/w_log1pl.c: Likewise.
548         * math/Makefile (libm-calls): Add w_log1p.
549         * math/s_log1pl.c (log1pl): Remove weak_alias.
550         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
551         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
552         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
553         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
554         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
555         [NO_LONG_DOUBLE] (log1pl): Likewise.
556         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
557         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
558         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
559         (log1p): Remove long_double_symbol.
560         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
561         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
562         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
563         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
564         remove weak_alias for corresponding log1p function.
565         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
566         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
567         * sysdeps/ia64/fpu/w_log1p.c: New file.
568         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
569         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
570         * math/libm-test.inc (log1p_test_data): Add errno expectations.
572 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
574         [BZ #18247]
575         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
576         decimal exponent by 1.
577         * stdlib/tst-strtod-round-data: Add more tests.
578         * stdlib/tst-strtod-round.c (tests): Regenerated.
580 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
582         * math/auto-libm-test-in: Add more tests of clog and clog10.
583         * math/auto-libm-test-out: Regenerated.
584         * sysdeps/i386/fpu/libm-test-ulps: Update.
585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
587 2015-04-09  Roland McGrath  <roland@hack.frob.com>
589         * Makeconfig (module-cppflags): Exclude all .v.i files.
590         (skip-module-cppflags): Variable removed.
592         * configure.ac (libc_config_ok): Initialize before reading
593         preconfigure scripts, not after.
594         * configure: Regenerated.
596         * test-skeleton.c (TIMEOUT): Move #define to top level.
597         (main): Grok environment variable TEST_DIRECT.  If set, print
598         test expectation details into that file and then behave as if
599         given --direct.
601 2015-04-09  Florian Weimer  <fweimer@redhat.com>
603         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
604         warning on 32-bit.
606 2015-04-08  David S. Miller  <davem@davemloft.net>
608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
610 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
612         * math/auto-libm-test-in: Add more tests of atanh.
613         * math/auto-libm-test-out: Regenerated.
614         * sysdeps/i386/fpu/libm-test-ulps: Update.
615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
617         * math/auto-libm-test-in: Add more tests of atan.
618         * math/auto-libm-test-out: Regenerated.
619         * sysdeps/i386/fpu/libm-test-ulps: Update.
620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
622 2015-04-08  Florian Weimer  <fweimer@redhat.com>
624         * elf/pldd.c (main): Rewrite to use struct
625         scratch_buffer instead of extend_alloca.
626         * elf/pldd-xx.c (find_maps): Likewise.
627         * grp/initgroups.c: Include <scratch_buffer.h> instead of
628         <alloca.h>.
629         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
630         scratch_buffer instead of extend_alloca.
631         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
632         grp/compat-initgroups.c.
633         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
634         Rewrite to use struct scratch_buffer instead of extend_alloca.
635         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
636         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
638 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
640         * math/auto-libm-test-in: Add more tests of cbrt.
641         * math/auto-libm-test-out: Regenerated.
642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
644         * math/auto-libm-test-in: Add more tests of cabs.
645         * math/auto-libm-test-out: Regenerated.
646         * sysdeps/i386/fpu/libm-test-ulps: Update.
647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
649         [BZ #18210]
650         [BZ #18211]
651         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
652         (__ieee754_atan2): Set FE_TONEAREST mode for internal
653         computations.
654         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
655         clog10.
656         * math/auto-libm-test-out: Regenerated.
657         * sysdeps/i386/fpu/libm-test-ulps: Update.
658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
660         [BZ #18197]
661         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
662         (atan): Set FE_TONEAREST mode for internal computations.
663         * math/auto-libm-test-in: Add more tests of atan.
664         * math/auto-libm-test-out: Regenerated.
666 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
668         [BZ #17930]
669         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
671 2015-04-07  Florian Weimer  <fweimer@redhat.com>
673         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
675 2015-04-07  Florian Weimer  <fweimer@redhat.com>
677         * include/scratch_buffer.h: New file.
678         * malloc/scratch_buffer_grow.c: Likewise.
679         * malloc/scratch_buffer_grow_preserve.c: Likewise.
680         * malloc/scratch_buffer_set_array_size.c: Likewise.
681         * malloc/tst-scratch_buffer.c: Likewise.
682         * malloc/Makefile (routines): Add scratch_buffer_grow.
683         (tests): Add test case.
684         * malloc/Versions (GLIBC_PRIVATE): Export
685         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
686         __libc_scratch_buffer_set_array_size.
688 2015-04-06  Richard Henderson  <rth@redhat.com>
690         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
691         * sysdeps/alpha/fpu/libm-test-ulps: Update.
693         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
694         unsigned int before printing.
696 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
698         [BZ #17596]
699         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
700         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
702 2015-04-02  Florian Weimer  <fweimer@redhat.com>
704         * include/libc-internal.h (libc_max_align_t): Define.
706 2015-04-02  Andreas Schwab  <schwab@suse.de>
708         [BZ #16850]
709         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
711 2015-04-02  Mel Gorman  <mgorman@suse.de>
713         [BZ #17195]
714         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
715         as well as the main arena.
717 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
719         [BZ #18185]
720         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
721         sharing L2 cache to 2 for Silvermont/Knights Landing.
723 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
725         [BZ #17711]
726         * config.make.in (have-protected-data): New.
727         * configure.ac: Check linker support for protected data symbol.
728         * configure: Regenerated.
729         * elf/Makefile (modules-names): Add tst-protected1moda and
730         tst-protected1modb if $(have-protected-data) is yes.
731         (tests): Add tst-protected1a and tst-protected1b if
732         $(have-protected-data) is yes.
733         ($(objpfx)tst-protected1a): New.
734         ($(objpfx)tst-protected1b): Likewise.
735         (tst-protected1modb.so-no-z-defs): Likewise.
736         * elf/tst-protected1a.c: New file.
737         * elf/tst-protected1b.c: Likewise.
738         * elf/tst-protected1mod.h: Likewise.
739         * elf/tst-protected1moda.c: Likewise.
740         * elf/tst-protected1modb.c: Likewise.
742 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
744         [BZ #17711]
745         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
746         indicates it is called from do_lookup_x on relocation against
747         protected data, skip the data definion in the executable from
748         copy reloc.
749         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
750         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
751         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
752         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
753         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
754         otherwise to 0.
755         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
756         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
757         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
758         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
759         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
760         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
762 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
764         * sysdeps/nptl/pthread.h: Remove duplicate definition of
765         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
767 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
769         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
770         THREAD_SETMEM_NC.
771         * sysdeps/x86_64/nptl/tls.h: Ditto.
773 2015-03-27  Roland McGrath  <roland@hack.frob.com>
775         * dlfcn/tststatic.c (main): Converted to ...
776         (do_test): ... this.
777         (TEST_FUNCTION): New macro.
778         Include test-skeleton.c.
780 2015-03-26  Alan Modra  <amodra@gmail.com>
782         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
783         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
784         zero for undefined weak.
785         (elf_machine_plt_conflict): Similarly.
787 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
789         * math/auto-libm-test-in: Add more tests of acosh, asinh and
790         atanh.
791         * math/auto-libm-test-out: Regenerated.
792         * sysdeps/i386/fpu/libm-test-ulps: Update.
793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
795         * math/auto-libm-test-in: Add another test of asin.
796         * math/auto-libm-test-out: Regenerated.
797         * sysdeps/i386/fpu/libm-test-ulps: Update.
798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
800         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
801         Remove macro.
802         (LLL_EBX_REG): Likewise.
803         (LLL_ENTER_KERNEL): Likewise.
805         * math/auto-libm-test-in: Add more tests of asin.
806         * math/auto-libm-test-out: Regenerated.
807         * sysdeps/i386/fpu/libm-test-ulps: Update.
808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
810         [BZ #18138]
811         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
812         libc_do_syscall_args): New structure.
813         (INTERNAL_SYSCALL_MAIN_0): New macro.
814         (INTERNAL_SYSCALL_MAIN_1): Likewise.
815         (INTERNAL_SYSCALL_MAIN_2): Likewise.
816         (INTERNAL_SYSCALL_MAIN_3): Likewise.
817         (INTERNAL_SYSCALL_MAIN_4): Likewise.
818         (INTERNAL_SYSCALL_MAIN_5): Likewise.
819         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
820         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
821         Replace conditional definitions by conditional definitions of ....
822         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
823         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
824         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
825         (libpthread-sysdep_routines): Add libc-do-syscall.
826         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
827         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
828         to __NR_futex not 240.
830 2015-03-25  Alan Modra  <amodra@gmail.com>
832         * NEWS: Advertise TLS optimization.
833         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
834         (DT_PPC_NUM): Increment.
835         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
836         (CHECK_STATIC_TLS): Use here.
837         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
838         TLS descriptors.
839         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
840         * sysdeps/powerpc/dl-tls.c: New file.
841         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
842         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
843         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
844         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
849 2015-03-25  Alan Modra  <amodra@gmail.com>
851         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
852         for overlapping .opd entries" to "support...".
853         * sysdeps/powerpc/powerpc64/configure: Regenerate
855 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
857         * math/auto-libm-test-in: Add more tests of acos.
858         * math/auto-libm-test-out: Regenerated.
859         * sysdeps/i386/fpu/libm-test-ulps: Update.
860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
862         * math/auto-libm-test-in: Add more tests of expm1.
863         * math/auto-libm-test-out: Regenerated.
864         * sysdeps/i386/fpu/libm-test-ulps: Update.
865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
867 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
869         * math/auto-libm-test-in: Add more tests of cosh and sinh.
870         * math/auto-libm-test-out: Regenerated.
871         * sysdeps/i386/fpu/libm-test-ulps: Update.
872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
874         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
877         * math/auto-libm-test-in: Add more tests of log2.
878         * math/auto-libm-test-out: Regenerated.
879         * sysdeps/i386/fpu/libm-test-ulps: Update.
880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
882 2015-03-23  Roland McGrath  <roland@hack.frob.com>
884         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
885         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
886         _IO_IS_APPENDING bit in READ_WRITE instead.
888 2015-03-23  Florian Weimer  <fweimer@redhat.com>
890         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
891         (__determine_cpumask_size): Replace extend_alloca with a
892         variable-length array.  Do not treat res == 0 as an error.
894 2015-03-23  Florian Weimer  <fweimer@redhat.com>
896         [BZ #18100]
897         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
898         and integer overflow.
899         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
900         (main): Add integer overflow tests.
901         * manual/pattern.texi (Calling Wordexp): Document additional use
902         for WRDE_SYNTAX.
904 2015-03-23  Alan Modra  <amodra@gmail.com>
906         * config.h.in: Remove HAVE_ASM_PPC_REL16.
907         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
908         and false branch of conditional.
909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
910         Likewise.
912 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
914         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
915         libc-modules.h
916         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
917         unused declaration of _hurd_intr_rpc_msg_in_trap.
918         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
919         defined instead of whether it is non-zero.
920         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
921         input constraint instead of both input and output constraint.  Use ecx
922         clobber instead of %ecx.
923         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
924         mutex_unlock): Use a statement expression instead of an expression list.
925         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
926         type to vm_size_t instead of vm_address_t.
927         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
928         defined instead of whether it is non-zero.
929         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
930         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
931         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
932         comparisons with mapaddr.
933         * nscd/nscd-client.h: Include <time.h>.
934         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
935         9th parameter to __vm_region instead of int.
936         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
937         * scripts/check-local-headers.sh (exclude): Add device/,
938         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
939         cthreads.h.
941 2015-03-19  Roland McGrath  <roland@hack.frob.com>
943         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
944         to account for alignment padding.
945         * sysdeps/arm/memmove.S: Likewise.
947 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
949         * sysdeps/unix/sysv/linux/generic/README: New file.
951 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
953         [BZ #18138]
954         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
955         (futex_abstimed_wait)
956         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
957         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
958         of lll_futex_timed_wait.
960 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
962         [BZ #17542]
963         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
965 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
967         [BZ #17090]
968         [BZ #17620]
969         [BZ #17621]
970         [BZ #17628]
971         * NEWS: Update.
972         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
973         entries with Static TLS too.  Skip entries past the end of the
974         allocated DTV, from Alan Modra.
975         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
976         Static TLS DTV entry set up from...
977         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
978         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
979         * nptl/allocatestack.c (init_one_static_tls): ... and here...
980         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
981         for Static TLS.
982         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
983         that the slot we find is associated with the given map before
984         using its generation count.
985         * nptl_db/db_info.c: Include ldsodefs.h.
986         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
987         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
988         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
989         (link_map::l_tls_offset): New struct field.
990         (dtv_t::counter): Likewise.
991         (rtld_global): New struct.
992         (_rtld_global): New rtld variable.
993         (dl_tls_dtv_slotinfo_list): New rtld global field.
994         (dtv_slotinfo_list): New struct.
995         (dtv_slotinfo): Likewise.
996         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
997         (td_lookup): Rename to...
998         (td_mod_lookup): ... this.  Use new mod parameter instead of
999         LIBPTHREAD_SO.
1000         * nptl_db/td_thr_tlsbase.c: Include link.h.
1001         (dtv_slotinfo_list, dtv_slotinfo): New functions.
1002         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
1003         addresses even if the DTV is out of date or missing them.
1004         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1005         index zero-length arrays.
1006         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1007         (td_lookup): Make it a macro implemented in terms of...
1008         (td_mod_lookup): ... this declaration.
1009         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1010         (DB_MAIN_VARIABLE): Likewise.
1012 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1014         [BZ #18134]
1015         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1017 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
1019         * stdlib/setenv.c (__add_to_environ): Revert previous change.
1021 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1023         [BZ #18128]
1024         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1025         (atomic_add, atomic_increment_and_test)
1026         (atomic_decrement_and_test): Fix 64-bit arithmetic.
1028 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
1030         * stdlib/setenv.c (__add_to_environ):
1031         Dump core quickly if setenv (..., NULL, ...) is called.
1033 2015-03-13  Roland McGrath  <roland@hack.frob.com>
1035         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1036         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1037         all the necessary asm magic in one place.
1038         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1039         using those.
1041 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
1043         [BZ #14906]
1044         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1045         traced file mtime. Use consistent log message.
1046         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1047         (register_traced_file): Call install_watches. Always set mtime.
1048         (invalidate_cache): Iterate over all trace files. Call install_watches.
1049         (inotify_check_files): Don't inline. Handle watching parent
1050         directories and configuration file movement in and out.
1051         (handle_inotify_events): New function.
1052         (main_loop_poll): Call handle_inotify_events.
1053         (main_loop_epoll): Likewise.
1054         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1055         (struct traced_file): Use array of inotify fds. Add parent directory,
1056         and basename.
1057         (struct database_dyn): Remove unused file_mtime.
1058         (init_traced_file): New inline function.
1059         (define_traced_file): New macro.
1060         * nss/nss_db/db-init.c: Use define_traced_file.
1061         (_nss_db_init): Use init_traced_file.
1062         * nss/nss_files/files-init.c: Use define_traced_file.
1063         (_nss_files_init): Use init_traced_file.
1065 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
1067         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1068         [_LIBC]: Do not include <stdlib.h>.
1069         [!_LIBC] (abort): Remove declaration.
1070         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1071         _FP_STATIC_ASSERT instead of conditionally calling abort.
1072         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1073         (_FP_EXTEND_CNAN): Likewise.
1074         (FP_TRUNC): Likewise.
1075         (__FP_CLZ): Likewise.
1076         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1078 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
1080         * manual/string.texi (XPG basename): Fix prototype.
1082 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1084         [BZ #18080]
1085         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1086         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1087         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1088         (__setcontext): Likewise.
1089         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1090         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1091         Call rt_sigprocmask syscall one time to set new signal mask
1092         and retrieve the current signal mask instead of two calls.
1093         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1094         (__swapcontext): Likewise.
1095         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1096         * stdlib/tst-setcontext2.c: New file.
1098 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1100         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1102 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
1104         [BZ #18093]
1105         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
1106         the wrong size.
1108 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1110         [BZ #18043]
1111         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
1113 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1115         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
1116         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
1117         Remove define.
1118         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
1119         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
1120         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
1121         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
1122         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
1123         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
1124         define.
1125         * nptl_db/td_symbol_list.c (td_lookup): Remove
1126         HAVE_ASM_GLOBAL_DOT_NAME code.
1127         * sysdeps/powerpc/powerpc64/configure.ac: Remove
1128         HAVE_ASM_GLOBAL_DOT_NAME check.
1129         * sysdeps/powerpc/powerpc64/configure: Regenerate.
1130         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
1131         (DOT_LABEL): Remove define.
1132         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
1133         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
1134         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
1135         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
1136         (__TLS_GET_ADDR): Likewise.
1137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
1138         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
1140 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
1142         [BZ #18111]
1143         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
1144         (_FPU_SETCW): Initialize cw from fpsr before storing.
1145         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
1146         (fesetexceptflag): Rewrite using fpu_control.h.
1147         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
1149 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
1151         [BZ #18110]
1152         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
1153         asms.
1154         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1156 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
1158         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
1159         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
1160         abort.
1161         (_FP_FMA): Likewise.
1162         (_FP_DIV): Likewise.
1164 2015-03-10  Roland McGrath  <roland@hack.frob.com>
1166         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
1167         with 0 in that case.
1168         * Makefile (summarize-tests): New canned sequence, factored out of
1169         commands for targets tests and xtests.  Display summary lines that
1170         don't start with PASS: or XFAIL: rather than ones that do start with
1171         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
1172         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
1173         do start with ERROR: or FAIL:.
1174         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
1175         (except for [$(build-shared) = yes]).
1176         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
1177         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
1178         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
1179         * nptl/Makefile: Revert 2015-03-04 changes.
1180         [$(CXX) empty] (tests-unsupported): New variable.
1181         * debug/Makefile: Likewise.
1183         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
1184         gnulib file.  Replace __attribute with __attribute__ throughout.
1186 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
1188         * sysdeps/hppa/fpu/libm-test-ulps: Update.
1190 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
1192         [BZ #18104]
1193         * math/auto-libm-test-in: Add another test of pow.
1194         * math/auto-libm-test-out: Regenerated.
1196 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1198         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
1199         $(config-cflags-nofma).
1201 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
1203         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
1204         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
1205         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
1206         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
1207         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
1208         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
1209         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
1210         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
1211         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
1212         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1213         Add comment on closing #endif.
1215 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1217         * posix/wordexp.c (CHAR_IN_SET): New macro.
1218         (parse_param): Use it.
1220 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1222         * sysdeps/powerpc/fpu/libm-test-ulps: update.
1224 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1226         [BZ #18043]
1227         * posix/wordexp.c (parse_param): Fix buffer overflow.
1228         * posix/wordexp-test.c (test_case): Add test case.
1230 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1232         [BZ #18042]
1233         * posix/wordexp.c (parse_backtick): Fix off-by-one.
1234         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1236 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1238         [BZ #18043]
1239         * posix/wordexp-test.c (test_case): Add test for BZ #18043
1240         (do_bz18043): Delete.
1241         (at_page_end): New.
1242         (testit): Refactor to have words at the edge of unreadable page.
1244 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1246         [BZ #16734]
1247         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1248         Cleanup read-only streams as well.
1249         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1251 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1253         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1254         <bits/libc-lockP.h>
1256 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
1258         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
1259         on [__KERNEL__].
1260         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1261         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1262         * soft-fp/op-common.h (_FP_DECL): Likewise.
1264 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1266         * elf/ifuncdep2.c (global): Replace
1267         __attribute__((visibility("protected"))) with
1268         asm (".protected global").
1269         * elf/ifuncmod1.c (global): Likewise.
1270         * elf/ifuncmod5.c (global): Likewise.
1272 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
1274         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1275         <asm/sfp-machine.h> instead of <sfp-machine.h>.
1277 2015-03-06  Roland McGrath  <roland@hack.frob.com>
1279         * manual/install.texi (Configuring and compiling):
1280         Document test-wrapper-env-only.
1281         * INSTALL: Regenerated.
1283 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1285         [BZ #18043]
1286         * posix/wordexp.c (parse_param): Fix buffer overflow.
1287         * posix/wordexp-test.c (do_bz18043): Add test case.
1289 2015-03-06  Vincent Bernat  <vincent@bernat.im>
1291         * time/tst-strptime2.c (do_test): Ensure failing tests are
1292         reported correctly.
1293         * time/tst-strptime3.c (do_test): Likewise.
1295 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
1297         Fix aio_error thread-safety.
1298         * sysdeps/pthread/aio_error.c: New file
1299         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1300         synchronization.
1302 2015-03-06  Florian Weimer  <fweimer@redhat.com>
1304         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1305         (group_number, vfprintf): Use it.
1306         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1307         (JUMP, REF): Use it.
1308         (WORK_BUFFER_SIZE): New enum constant.
1309         (process_arg, vfprintf): Use it.
1311 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
1313         * manual/errno.texi (Error Messages): Complete example function
1314         by adding missing #define.
1315         (program_invocation_name): Add statement indicating GNU
1316         extension and reference which header file declares the variable.
1317         (program_invocation_short_name): Likewise.
1319 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
1321         * manual/errno.texi (Error Messages): Delete strerror ISO C89
1322         compatibility note.
1324 2015-03-05  Roland McGrath  <roland@hack.frob.com>
1326         * Makeconfig (test-wrapper-env-only): New variable.
1327         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1328         then use that with $(test-wrapper-env-only) rather than using
1329         $(test-wrapper-env) $(run-program-env) $($*-ENV).
1331 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1333         [BZ #18082]
1334         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1335         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1336         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1337         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1338         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1339         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1340         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1341         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1342         Likewise.
1343         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1344         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1345         Likewise.
1346         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1347         Likewise.
1348         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1349         Likewise.
1350         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1351         Likewise.
1352         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1353         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1354         Likewise.
1355         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1356         Likewise.
1357         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1358         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1360 2015-03-04  Roland McGrath  <roland@hack.frob.com>
1362         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1363         (ETH_ALEN): New macro.
1364         (struct ether_addr): Use it for length of ether_addr_octet.
1366         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1367         (setdb): Don't call __nss_configure_lookup for "rpc".
1368         (do_test): Don't call test_rpc.
1369         (output_rpcent, test_rpc): Functions moved ...
1370         * sunrpc/test-rpcent.c: ... to this new file.
1371         * sunrpc/Makefile (tests): Add it.
1373         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1374         __xpg_sigpause.
1375         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1376         * nptl/tst-signal6.c: Likewise.
1377         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1378         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1380         * configure.ac (libc_cv_cxx_link_ok): New check.
1381         Reset CXX to empty if it fails to link.
1382         * configure: Regenerated.
1383         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1384         bug-atexit3-lib only if $(CXX) is nonempty.
1385         * nptl/Makefile (tests): Likewise for tst-cancel24.
1386         (tests, tests-static): Likewise for tst-cancel24-static.
1387         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1388         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
1389         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1390         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
1392 2015-03-04  Andreas Schwab  <schwab@suse.de>
1394         [BZ #17631]
1395         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1396         for non-GCC compilers.
1397         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1398         Likewise.
1400 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1402         [BZ #17776]
1403         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1404         integer before bitwise and assembly operations.
1405         (feclearexcept): Likewise.
1406         * math/test-fenvinline.c: New file.
1407         * math/Makefile: Add test-fenvinline test.
1409 2015-03-03  Alan Modra  <amodra@gmail.com>
1411         [BZ #16512]
1412         * scripts/localplt.awk: Strip off symbol version.
1413         * NEWS: Mention bug fix.
1415 2015-03-02  Roland McGrath  <roland@hack.frob.com>
1417         * sysdeps/pthread/timer_routines.c
1418         (timer_free_list, thread_free_list, thread_active_list): Make static.
1420 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
1422         [BZ #17779]
1423         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1424         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1425         Undefine.
1426         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1427         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1428         Likewise.
1429         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1430         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1431         Likewise.
1433 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
1435         [BZ #18036]
1436         * posix/fnmatch_loop.c (END): Detect invalid pattern.
1437         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1439 2015-03-02  Andreas Schwab  <schwab@suse.de>
1441         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1442         variable name.
1444 2015-03-02  Florian Weimer  <fweimer@redhat.com>
1446         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1447         Return error status.
1449 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
1451         [BZ #15969]
1452         * locale/findlocale.c (_nl_find_locale): Introduce const
1453         version of loc_name and drop unsafe type casts.
1455 2015-02-27  Roland McGrath  <roland@hack.frob.com>
1457         * dlfcn/tststatic2.c (main): Converted to ...
1458         (do_test): ... this.
1459         (TEST_FUNCTION): New macro.
1460         Include test-skeleton.c.
1462 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
1464         [BZ #17711]
1465         * elf/Makefile (tests): Add vismain only if PIE is enabled.
1466         (tests-pie): Add vismain.
1467         (CFLAGS-vismain.c): New.
1468         * elf/vismain.c: Add comments for PIE requirement.
1470 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
1472         [BZ #18046]
1473         [BZ #18047]
1474         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1475         0x1p-56L as threshold for just returning the argument.
1476         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1477         0x1p-32L as threshold for just returning the argument.
1478         * math/auto-libm-test-in: Add more tests of atanh.
1479         * math/auto-libm-test-out: Regenerated.
1480         * sysdeps/i386/fpu/libm-test-ulps: Update.
1481         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1483 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
1485         * string/bcopy.c (bcopy): Call memmove for performance.
1487 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
1489         * string/bzero.c (__bzero): Call memset for performance.
1491 2015-02-27  John David Anglin  <dave.anglin@bell.net>
1493         [BZ #18068]
1494         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1495         to 00100000.
1497 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
1499         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1501 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
1503         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1504         (__kernel_standard): Use CSTR macro when setting exc.name.
1505         * sysdeps/ieee754/Makefile [$(subdir) = math]
1506         (CFLAGS-k_standard.c): Remove variable.
1508         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1509         setting p and q from "else if" to "else".
1510         (qzero): Likewise.
1511         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1512         (qone): Likewise.
1513         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1514         (qzerof): Likewise.
1515         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1516         (qonef): Likewise.
1517         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1518         (qzero): Likewise.
1519         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1520         (qone): Likewise.
1522         [BZ #18038]
1523         [BZ #18039]
1524         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1525         return pi/2 for arguments below 0x1p-113L.
1526         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1527         return pi/2 for arguments below 0x1p-106L.
1528         * math/auto-libm-test-in: Add more tests of acos.
1529         * math/auto-libm-test-out: Regenerated.
1531         [BZ #16351]
1532         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1533         (MO): New macro.
1534         (__ieee754_asin): Force underflow exception for results with small
1535         absolute value.
1536         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1537         (MO): New macro.
1538         (__ieee754_asinf): Force underflow exception for results with
1539         small absolute value.
1540         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1541         (__ieee754_asin): Force underflow exception for results with small
1542         absolute value.
1543         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1544         (__ieee754_asinf): Force underflow exception for results with
1545         small absolute value.
1546         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1547         (__ieee754_asinl): Force underflow exception for results with
1548         small absolute value.
1549         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1550         (__ieee754_asinl): Force underflow exception for results with
1551         small absolute value.
1552         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1553         (__ieee754_asinl): Force underflow exception for results with
1554         small absolute value.
1555         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1556         Include <math.h>.
1557         * math/auto-libm-test-in: Do not mark underflow exceptions as
1558         possibly missing for bug 16351.
1559         * math/auto-libm-test-out: Regenerated.
1561         [BZ #18030]
1562         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1563         of power of 2 down when low part has opposite sign.
1564         * math/libm-test.inc (logb_test_data): Add more tests.
1566 2015-02-26  Andreas Schwab  <schwab@suse.de>
1568         [BZ #18032]
1569         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1570         over collating symbol inside a bracket expression.  Minor cleanup.
1571         * posix/tst-fnmatch3.c (do_test): Add test case.
1573 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
1575         [BZ #18029]
1576         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1577         Adjust exponent of power of 2 down when low part has opposite
1578         sign.
1579         * math/libm-test.inc (ilogb_test_data): Add more tests.
1581 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
1583         [BZ #15969]
1584         * locale/findlocale.c (_nl_find_locale): Fix constness error in
1585         the previous change.
1587         [BZ #15969]
1588         * locale/findlocale.c (_nl_find_locale): Retry archive search
1589         after alias expansion.
1591 2015-02-25  Roland McGrath  <roland@hack.frob.com>
1593         * iconv/tst-iconv3.c (main): Converted to ...
1594         (do_test): ... this.
1595         (TEST_FUNCTION): New macro.
1596         Include test-skeleton.c.
1598         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1599         (convert): Make function static.
1600         (test_unalign): Likewise.  Add const to argument pointee types.
1601         (main): Replace with static function do_test.
1602         Print "Succeeded." only if RET is zero.
1603         (TEST_FUNCTION): New macro.
1604         Include test-skeleton.c.
1606         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1607         returns a null pointer.
1609 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1611         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1612         to __memcpy_ppc only for static builds.
1614 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
1616         [BZ #18020]
1617         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1618         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1619         * math/auto-libm-test-in: Add more tests of asinh.
1620         * math/auto-libm-test-out: Regenerated.
1621         * sysdeps/i386/fpu/libm-test-ulps: Update.
1622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1624 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
1626         [BZ #15850]
1627         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1628         and ip6_mtuinfo definitions here.
1629         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1630         in this define too.  Update comment.
1632 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
1634         * elf/sprof.c (load_shobj): Tweak error message to match others.
1636 2015-02-24  Kevin Easton  <kevin@guarana.org>
1638         [BZ #16145] (partial fix)
1639         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1640         to reduce lock contention.
1642 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
1644         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1645         (struct timex): Update time comment.
1646         (ADJ_SETOFFSET): Define.
1648 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1650         [BZ #18019]
1651         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1652         2**56 not 2**28 as threshold for log (2x) formula.
1653         * math/auto-libm-test-in: Add more tests of acosh.
1654         * math/auto-libm-test-out: Regenerated.
1655         * sysdeps/i386/fpu/libm-test-ulps: Update.
1656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1658 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1660         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1661         parenthesis around the buf assignment.
1662         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1664 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1666         [BZ #16783]
1667         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1668         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1669         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1670         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1671         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1672         * math/libm-test.inc (scalb_test_data): Add more tests.
1674 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1676         [BZ #17916]
1677         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1678         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1680 2015-02-24  Eric Rannaud  <e@nanocritical.com>
1682         [BZ #17523]
1683         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1684         * io/bits/fcntl2.h (open): Use it.
1685         (openat): Likewise.
1686         * io/open.c (__libc_open): Likewise.
1687         * io/open64.c (__libc_open64): Likewise.
1688         * io/open64_2.c (__open64_2): Likewise.
1689         * io/open_2.c (__open_2): Likewise.
1690         * io/openat.c (__openat): Likewise.
1691         * io/openat64.c (__openat64): Likewise.
1692         * io/openat64_2.c (__openat64_2): Likewise.
1693         * io/openat_2.c (__openat_2): Likewise.
1694         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1695         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1696         * sysdeps/posix/open64.c (__libc_open64): Likewise.
1697         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1698         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1699         (__open_nocancel): Likewise.
1700         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1701         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1702         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1704 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1706         [BZ #14841]
1707         * resolv/gethnamaddr.c (getanswer): Skip logging if
1708         RES_USE_DNSSEC is set.
1709         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1711 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1713         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1715 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
1717         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1718         201304L, for Unicode 7.
1720 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1722         [BZ #17836]
1723         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1724         shared library.  Add gmon-start.os otherwise.
1725         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1726         $(objpfx)gmon-start.os if builing shared library.
1727         ($(objpfx)g$(static-start-installed-name)): Likewise.
1729 2015-02-23  Andreas Schwab  <schwab@suse.de>
1731         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1733 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1735         [BZ #17269]
1736         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1737         (enlarge_userbuf): Likewise.
1739 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
1741         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1742         * math/atest-exp.c (TIMEOUT): Adjust to 200.
1743         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1744         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1746 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
1748         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1749         expression inside statement expression.
1751 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1753         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1754         <sysdeps/nptl/lowlevellock.h> and remove macros and
1755         functions that are now defined there.
1756         (SYS_futex): Remove.
1757         (lll_compare_and_swap): Remove.
1758         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1760 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
1762         [BZ #17999]
1763         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1764         instead of scandirat.
1765         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1766         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1767         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1768         __scandirat.
1769         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1770         (__scandirat): Declare.  Use libc_hidden_proto.
1771         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1772         Remove variable.
1773         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1775 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1777         [BZ #15319]
1778         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1779         (MO): New macro.
1780         (__ieee754_atan2): For results with small absolute value, force
1781         underflow exception and remove excess range and precision from
1782         return value.
1783         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1784         (MO): New macro.
1785         (__ieee754_atan2f): For results with small absolute value, force
1786         underflow exception and remove excess range and precision from
1787         return value.
1788         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1789         (MO): New macro.
1790         (__atan): For results with small absolute value, force underflow
1791         exception and remove excess range and precision from return value.
1792         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1793         (MO): New macro.
1794         (__atanf): For results with small absolute value, force underflow
1795         exception and remove excess range and precision from return value.
1796         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1797         <math.h>.
1798         (__ieee754_atan2): Force underflow exception for results with
1799         small absolute value.
1800         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1801         <math_private.h>.
1802         (atan): Force underflow exception for results with small absolute
1803         value.
1804         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1805         (__atanf): Force underflow exception for results with small
1806         absolute value.
1807         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1808         <math.h>.
1809         (__atanl): Force underflow exception for results with small
1810         absolute value.
1811         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1812         (__atanl): Force underflow exception for results with small
1813         absolute value.
1814         * sysdeps/x86/fpu/bits/mathinline.h
1815         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1816         (__ieee754_atan2): Only define inline for long double.
1817         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1818         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1819         * math/auto-libm-test-in: Do not mark underflow exceptions as
1820         possibly missing for bug 15319.  Add more tests of atan2.
1821         * math/auto-libm-test-out: Regenerated.
1822         * math/libm-test.inc (casin_test_data): Do not mark underflow
1823         exceptions as possibly missing for bug 15319.
1824         (casinh_test_data): Likewise.
1825         * sysdeps/i386/fpu/libm-test-ulps: Update.
1827 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
1829         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1830         * sysdeps/mips/bits/endian.h: Fix comments.
1832 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1834         [BZ #17996]
1835         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1836         (hdestroy_r): Likewise.
1837         (hsearch_r): Likewise.
1838         (__hcreate_r): Declare and use libc_hidden_proto.
1839         (__hdestroy_r): Likewise.
1840         (__hsearch_r): Likewise.
1841         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1842         (hcreate): Call __hcreate_r instead of hcreate_r.
1843         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1844         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1845         as weak alias of __hcreate_r.
1846         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1847         __hdestroy_r.
1848         (hsearch_r): Rename to __hsearch_r and define as weak alias of
1849         __hsearch_r.
1850         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1851         Remove variable.
1852         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1853         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1854         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1855         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1857 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1859         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1860         arena_lock into a single arena_get.
1862 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
1864         * dl-reloc.c: Inlucde libc-internal.h.
1865         (_dl_try_allocate_static_tls): Call ALIGN_UP.
1866         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1867         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1868         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1869         (grow_heap): Likewise.
1870         * malloc/malloc.c: Include libc-internal.h.
1871         (do_check_malloc): Call powerof2.
1872         (sysmalloc): Use pagesize. Call ALIGN_UP.
1873         (systrim): Use pagesize.
1874         (mremap_chunk): Use pagesize. Call ALIGN_UP.
1875         (__libc_valloc): Use pagesize.
1876         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1878 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1880         [BZ #17991]
1881         * include/sys/resource.h (__getrlimit64): Declare.  Use
1882         libc_hidden_proto.
1883         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1884         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
1885         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1886         getrlimit64.
1887         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1888         __getrlimit64.
1889         [!getrlimit64] (getrlimit64): Define as weak alias of
1890         __getrlimit64.  Use libc_hidden_weak.
1891         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1892         using __getrlimit64 not __new_getrlimit64.
1893         (__GI_getrlimit64): Likewise.
1894         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1895         Likewise.
1896         (__GI_getrlimit64): Likewise.
1897         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1899         (getrlimit): Add __getrlimit64 alias.
1900         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1901         Likewise.
1902         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1903         Remove variable.
1904         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1905         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1907 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
1909         * libio/fileops.c: Add missing sys/mman.h
1910         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1912 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1914         * manual/math.texi (Errors in Math Functions): Clarify goals
1915         regarding inexact and underflow exceptions.
1917 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1919         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1920         * sysdeps/mips/memset.S: Ditto.
1922 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1924         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1926 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1928         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1929         (__v1longjmp): Remove versioned symbol.
1930         (__v1siglongjmp): Remove alias and versioned symbol.
1931         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1932         (__v2siglongjmp): Likewise.
1934 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1936         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1938 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
1940         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1942 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1944         [BZ #17987]
1945         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1946         zero result does not depend on the sign resulting from
1947         subtraction.
1948         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1949         Likewise.
1950         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1951         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1952         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1953         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1954         * math/libm-test.inc (remquo_test_data): Add more tests.
1956 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
1958         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1959         Problem reported by J William Piggott.
1961 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1963         [BZ #17978]
1964         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1965         products 4 * y and 2 * y where those would overflow.
1966         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1967         Likewise.
1968         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1969         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1970         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1971         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1972         * math/libm-test.inc (remquo_test_data): Add more tests.
1974         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1976         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1977         [defined _COMPILING_NEWLIB].
1978         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1979         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1981         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1982         [!defined __mips_isa_rev || __mips_isa_rev < 6].
1984 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1986         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1987         acquired.
1989 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
1991         [BZ #17792]
1992         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1993         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1994         HOST_STACK_END_ADDR): Likewise.
1996 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
1998         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1999         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2000         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2002 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2004         * sysdeps/generic/c++-types.data: New file.
2005         * sysdeps/generic/ld.abilist: New file.
2006         * sysdeps/generic/libBrokenLocale.abilist: New file.
2007         * sysdeps/generic/libanl.abilist: New file.
2008         * sysdeps/generic/libc.abilist: New file.
2009         * sysdeps/generic/libcrypt.abilist: New file.
2010         * sysdeps/generic/libdl.abilist: New file.
2011         * sysdeps/generic/libm.abilist: New file.
2012         * sysdeps/generic/libpthread.abilist: New file.
2013         * sysdeps/generic/libresolv.abilist: New file.
2014         * sysdeps/generic/librt.abilist: New file.
2016 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2018         [BZ #17569]
2019         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2020         Compute absolute value of x as modified by fmod, not original
2021         value of x.
2022         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2023         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
2024         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
2025         RUN_TEST_ffI_f1_mod8.
2026         (remquo_test_data): Add more tests.
2028 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2030         * sysdeps/init_array/pt-crti.S: New file.
2032 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2034         [BZ #17967]
2035         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2036         __builtin_fmaf instead of relying on contraction of a * b + c.
2038 2015-02-12  J William Piggott  <elseifthen@gmx.com>
2040         [BZ #17969]
2041         * manual/time.texi: correct the zoneinfo path in the TZ Variable
2042         node.
2044 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2046         [BZ #17964]
2047         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2048         __builtin_fma instead of relying on contraction of a * b + c.
2050 2015-02-12  Roland McGrath  <roland@hack.frob.com>
2052         * Makeconfig (ASFLAGS): Add -Werror=undef.
2053         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2054         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2055         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2057         * Makeconfig (after-link): New variable.
2058         (+link-pie, +link-pie-tests): Use it.
2059         (+link-static, +link-static-tests): Likewise.
2060         (+link, +link-tests): Likewise.
2061         * Makerules (build-module, build-module-asneeded): Likewise.
2062         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2063         Likewise.
2064         * elf/Makefile ($(objpfx)ld.so): Likewise.
2066 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
2068         [BZ #17965]
2069         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2070         both struct timeval and struct timespec.
2072 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2074         [BZ #16560]
2075         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2076         and redefine.
2077         (__ieee754_exp2l): Do not multiply small fractional parts by
2078         M_LN2l.
2079         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2080         small argument.
2081         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2082         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2083         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2084         * math/auto-libm-test-in: Add more tests of exp2.
2085         * math/auto-libm-test-out: Regenerated.
2087 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2089         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2090         unaligned path.
2092 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2094         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2095         little endian.
2097 2015-02-12  Andreas Schwab  <schwab@suse.de>
2099         [BZ #15790]
2100         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2101         Filter out elision flags from value returned in kind.
2102         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2103         * nptl/tst-pthread-mutexattr.c: New file.
2105 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2107         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
2108         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
2109         into gnu-gnu, and update comment to refer to abi-tags.
2111 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
2113         [BZ #15467]
2114         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
2115         (__sincos): Set errno to EDOM for infinite argument.
2116         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
2117         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
2118         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
2119         (__sincosl): Set errno to EDOM for infinite argument.
2120         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
2121         (__sincosl): Set errno to EDOM for infinite argument.
2122         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
2123         (__sincosl): Set errno to EDOM for infinite argument.
2124         * math/libm-test.inc (sincos_test_data): Test errno setting.
2126 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
2128         * string/strxfrm_l.c: Remove #define STRCMP.
2129         * string/strcoll_l.c: Remove #define STRLEN.
2130         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
2131         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
2133 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
2135         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
2136         * sysdeps/mips/mips32/sfp-machine.h: ... here.
2137         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
2138         * sysdeps/mips/mips64/Makefile: ... here.
2139         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
2140         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
2141         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
2142         * sysdeps/mips/mips64/sfp-machine.h: ... here.
2143         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
2144         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
2145         * sysdeps/mips/mips64/n64/Implies: Likewise.
2147 2015-02-10  Roland McGrath  <roland@hack.frob.com>
2149         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
2150         <sys/time.h>, <string.h>, and <errno.h>.
2151         (dest_offset, dest_address, value, zero): Remove unused variables.
2152         (ldouble): Remove typedef.
2153         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
2154         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
2155         1).  Fix code style.
2156         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
2157         (check): Function removed.
2158         (CHECK): New macro.
2159         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
2160         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
2161         Don't call set_sigaction_FP and remove_sigaction_FP here.
2162         (ldouble_test): Just use 'long double' as macro argument, no need for
2163         the 'ldouble' typedef.
2164         (do_test): Set up SIGFPE handler at start, using plain signal rather
2165         than sigaction.  Fix code style.
2167 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
2169         [BZ #17949]
2170         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
2171         jump label.
2173 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2175         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
2176         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2178         * sysdeps/powerpc/configure.ac: Remove file.
2179         * sysdeps/powerpc/configure: Likewise.
2181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2182         [sysdep_routines]: Remove wordcopy-power6 object.
2183         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2184         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
2185         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
2186         (__memmove_ppc32): Likewise.
2187         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
2188         file.
2189         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
2190         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
2191         Remove preprocessor.
2193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2194         [sysdep_routines]: Remove wide chars objects.
2195         [wcsmbs]: New rule for wide char objects.
2197         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2198         Remove wordcopy-power6 obejct.
2199         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
2200         Use local call for wordcopy and memcpy symbols.
2201         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
2202         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
2203         implementation for loader.
2204         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
2206         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2207         Remove wordcopy-power7 object.
2208         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
2209         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
2210         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
2211         (_wordcopy_fwd_dest_aligned): Likewise.
2212         (_wordcopy_bwd_aligned): Likewise.
2213         (_wordcopy_bwd_dest_aligned): Likewise.
2215         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2216         Rewrite to call __memmove_ppc instead of include default
2217         implementation.
2219         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2220         Remove wide chars objects.
2221         [wcsmbs]: New rule for wide char objects.
2223 2015-02-09  Andreas Schwab  <schwab@suse.de>
2225         [BZ #17912]
2226         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2227         in terms of __O_DIRECTORY.
2229 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2231         * time/getdate.c: Include <stdbool.h>.
2232         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2233         call PTR_MANGLE.
2234         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2235         PTR_DEMANGLE.
2237 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
2239         Add ersatz _Static_assert on older C hosts
2240         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2241         pre-C11 C platform that is not known to support _Static_assert.
2243 2015-02-07  Richard Braun  <rbraun@sceen.net>
2245         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2246         sigstate.
2247         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
2249 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2251         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2252         priority against unexistent AIO_PRIO_DELTA_MAX.
2253         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2254         instead of int.
2255         * misc/fchflags.c (fchflags): Likewise.
2256         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2257         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2258         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2259         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2260         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2261         Declare macros.
2262         [__USE_MISC] (chflags, fchflags): Declare functions.
2263         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2264         EINVAL when nfds is greater than FD_SETSIZE.
2265         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2266         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2267         45.
2268         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2269         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
2270         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2271         MACH_RCV_TIMED_OUT.
2272         * hurd/hurd/signal.h (_hurd_self_sigstate,
2273         _hurd_critical_section_lock, _hurd_critical_section_unlock):
2274         Explicit casts from void *.
2275         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
2276         * abi-tags: Rename gnu-gnu os into gnu.
2278         [BZ #4719]
2279         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2280         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2281         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2282         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2283         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2284         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2286         [BZ #17944]
2287         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2288         duplicates ADDR->sun_path with sockaddr LEN limitation.
2289         * sysdeps/mach/hurd/connect.c: Include <string.h>
2290         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2291         * sysdeps/mach/hurd/sendmsg.c: Likewise.
2292         * sysdeps/mach/hurd/sendto.c: Likewise.
2293         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2294         implementing it by hand.
2296 2015-02-06  Roland McGrath  <roland@hack.frob.com>
2298         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2299         Use sfi_breg on ldr.
2300         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2301         Likewise.
2303         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2304         it's defined.
2305         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2306         Test SIGSETXID only if it's defined.
2308         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2310         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2311         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
2313         * nptl/tst-align2.c: Moved ...
2314         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2315         * nptl/Makefile (tests): Remove tst-align2.
2316         * sysdeps/unix/sysv/linux/Makefile
2317         [$(subdir) = nptl] (tests): Add tst-align-clone.
2318         * nptl/tst-getpid1.c: Moved ...
2319         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2320         * nptl/tst-getpid2.c: Moved ...
2321         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2322         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2323         * sysdeps/unix/sysv/linux/Makefile
2324         [$(subdir) = nptl] (tests): ... here.
2325         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2326         * sysdeps/unix/sysv/linux/Makefile
2327         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2329         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2330         Drop trailing \n from perror argument.  Use return rather than exit.
2332         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2333         on [SA_SIGINFO].
2334         * nptl/tst-cancel21.c (do_test): Likewise.
2335         * debug/tst-backtrace6.c: Include <signal.h> first thing.
2336         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2337         [!SA_SIGINFO]: Make it a stub test.
2339         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2340         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2342         * posix/tst-getlogin.c: Move to ...
2343         * login/tst-getlogin.c: ... here.
2344         * posix/Makefile (tests): Move tst-getlogin to ...
2345         * login/Makefile (tests): ... here.
2347         * libio/tst-atime.c (do_test): Move local variables SV and E
2348         inside [ST_NOATIME] conditional.
2350         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2352         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2354         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2355         (wait_code): New function replaces macro.
2356         Call nanosleep rather than syscall.
2358         * nptl/pt-system.c: Rewritten.  Put everything under
2359         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2360         Use IFUNC to redirect when possible.
2362         * nptl/pt-longjmp.c: Rewritten.  Put everything under
2363         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2364         Use IFUNC to redirect when possible.
2366         * nptl/pt-fork.c: Rewritten.  Put everything under
2367         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2368         Use IFUNC to redirect when possible.
2369         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2371         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2372         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2373         unconditionally nowadays.  This included the only reference to
2374         __vdso_clock_gettime that appears outside libc proper.
2375         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2376         Remove version set (containing only __vdso_clock_gettime).
2377         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2378         Add attribute_hidden.
2379         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2380         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2381         libc_hidden_data_def.
2382         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2383         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2385         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2386         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2387         setrpcent, and getrpcport to ...
2388         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2389         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2390         getrpcbynumber_r, and getrpcent_r to ...
2391         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2392         * inet/getrpcbyname.c: Moved ...
2393         * sunrpc/getrpcbyname.c: ... here.
2394         * inet/getrpcbyname_r.c: Moved ...
2395         * sunrpc/getrpcbyname_r.c: ... here.
2396         * inet/getrpcbynumber.c: Moved ...
2397         * sunrpc/getrpcbynumber.c: ... here.
2398         * inet/getrpcbynumber_r.c: Moved ...
2399         * sunrpc/getrpcbynumber_r.c: ... here.
2400         * inet/getrpcent.c: Moved ...
2401         * sunrpc/getrpcent.c: ... here.
2402         * inet/getrpcent_r.c: Moved ...
2403         * sunrpc/getrpcent_r.c: ... here.
2404         * inet/Makefile (routines): Move those to ...
2405         * sunrpc/Makefile (routines): ... here.
2406         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2407         the $(subdirs) list.
2408         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
2409         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2410         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2411         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2413         * elf/Makefile (routines): Include $(all-dl-routines), not just
2414         $(dl-routines).
2415         (rtld-routines): Likewise.  Use = rather than :=.
2416         * sysdeps/aarch64/Makefile [$(subdir) = elf]
2417         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2418         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2419         * sysdeps/arm/Makefile: Likewise.
2420         * sysdeps/i386/Makefile: Likewise.
2421         * sysdeps/x86_64/Makefile: Likewise.
2422         * sysdeps/hppa/Makefile [$(subdir) = elf]
2423         (sysdep_routines, sysdep-rtld-routines): Don't add
2424         $(sysdep-dl-routines) to these.
2425         * sysdeps/ia64/Makefile: Likewise.
2426         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2427         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2428         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2429         Don't add dl-static to these; sysdep-dl-routines alone is enough.
2430         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2431         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2432         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2433         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2434         * sysdeps/powerpc/Makefile [$(subdir) = elf]
2435         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2436         these; sysdep-dl-routines alone is enough.
2438 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
2440         [BZ #17932]
2441         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2442         where multiplication results in zero and third argument is finite
2443         and nonzero.
2444         * math/auto-libm-test-in: Add more tests of fma.
2445         * math/auto-libm-test-out: Regenerated.
2447         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2448         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2449         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2450         (_FP_CMP_EQ): Likewise.
2451         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2453         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2454         extra argument CHECK_NAN.  Redefine as wrapper around
2455         _FP_EXTEND_CNAN.
2457 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
2459         * version.h (RELEASE): Set to "stable".
2460         (VERSION): Set to "2.21"
2461         * include/features.h (__GLIBC_MINOR__): Set to 21.
2463         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2465 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2466             Paul Eggert  <eggert@cs.ucla.edu>
2468         [BZ #16618]
2469         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2470         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2471         size in bytes. Store needed elements in wpmax. Use needed size
2472         in bytes for extend_alloca.
2474 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
2476         * manual/install.texi: Latest tested versions are GCC 4.9.2,
2477         binutls 2.25, and texinfo 5.2.
2478         * INSTALL: Regenerate.
2479         * sysdeps/nios2/configure: Regenerate.
2480         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2481         * manual/contrib.texi: Update.
2482         * po/be.po: Update.
2483         * po/bg.po: Update.
2484         * po/ca.po: Update.
2485         * po/cs.po: Update.
2486         * po/da.po: Update.
2487         * po/de.po: Update.
2488         * po/el.po: Update.
2489         * po/eo.po: Update.
2490         * po/es.po: Update.
2491         * po/fi.po: Update.
2492         * po/fr.po: Update.
2493         * po/gl.po: Update.
2494         * po/hr.po: Update.
2495         * po/hu.po: Update.
2496         * po/ia.po: Update.
2497         * po/id.po: Update.
2498         * po/it.po: Update.
2499         * po/ja.po: Update.
2500         * po/ko.po: Update.
2501         * po/lt.po: Update.
2502         * po/nb.po: Update.
2503         * po/nl.po: Update.
2504         * po/pl.po: Update.
2505         * po/pt_BR.po: Update.
2506         * po/ru.po: Update.
2507         * po/rw.po: Update.
2508         * po/sk.po: Update.
2509         * po/sl.po: Update.
2510         * po/sv.po: Update.
2511         * po/tr.po: Update.
2512         * po/uk.po: Update.
2513         * po/vi.po: Update.
2514         * po/zh_CN.po: Update.
2515         * po/zh_TW.po: Update.
2517         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2518         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2519         * sysdeps/hppa/dl-irel.h: Remove #warning.
2520         * sysdeps/hppa/entry.h: Provide prototype for
2521         __canonicalize_funcptr_for_compare and cast argument.
2522         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2523         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2524         * sysdeps/hppa/sotruss-lib.c: New file.
2525         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2526         (atomic_compare_and_exchange_val_acq): Use __typeof__.
2527         (atomic_compare_and_exchange_bool_acq): Likewise.
2528         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2529         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2531         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2532         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2533         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2535 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
2537         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2538         called function in non-PIC case.
2540 2015-01-31  David S. Miller  <davem@davemloft.net>
2542         * sysdeps/sparc/sparc32/bits/atomic.h
2543         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2544         unlock not after it.
2545         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2546         volatile register usage warnings from the compiler.
2548         * sysdeps/sparc/nptl/sem_init.c: Delete.
2549         * sysdeps/sparc/nptl/sem_post.c: Delete.
2550         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2551         * sysdeps/sparc/nptl/sem_wait.c: Delete.
2552         * sysdeps/sparc/sparc32/sem_init.c: New file.
2553         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2554         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2555         padding explicitly initialized.
2556         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2557         padding for in-semaphore spinlock.
2558         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2559         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2560         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2561         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2562         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2563         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2564         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2565         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2566         version.
2567         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2568         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2570 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2572         [BZ #17801]
2573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2574         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2575         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2576         New.
2577         (index_AVX_Fast_Unaligned_Load): Likewise.
2578         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2579         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2580         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2581         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2582         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2583         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2584         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2585         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2586         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2588 2015-01-29  Andreas Schwab  <schwab@suse.de>
2590         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2592 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
2594         [BZ #17892]
2595         * nscd/nscd_stat.c (send_stats): Initialize DATA.
2597 2015-01-28  Martin Sebor  <msebor@redhat.com>
2599         * math/README.libm-test: Clarify. Add "How to read the test output."
2601 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
2603         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2604         Define to 0.
2606 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
2608         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2609         (__HAVE_64B_ATOMICS): Define to 0.
2611 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2613         [BZ #17885]
2614         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2615         value to set as new flag.
2617         [BZ #16576]
2618         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2619         and use _ARCH_PPCSQ instead.
2620         (__ieee754_sqrt): Likewise.
2621         (__ieee754_sqrtf): Likewise.
2622         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2623         _ARCH_PPCSQ is defined.
2624         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2625         fsqrt instruction.
2626         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2627         _ARCH_PPCSQ is defined.
2628         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2629         fsqrts instruction.
2630         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2632 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2634         * iconv/loop.c: Suppress array out of bound warning caused by GCC
2635         bug (GCC BZ #64739).
2637 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
2639         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2640         Mark _retval as used.
2641         (lll_futex_wake_unlock): Likewise.
2642         (lll_futex_timed_wait_requeue_pi): Likewise.
2644         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2645         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2646         register variables.
2648         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2649         libm_hidden_def.
2651         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2652         (__bswap_64): Mark as __always_inline.
2654 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
2656         [BZ #15378]
2657         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2658         when none of the search directories exist.
2660 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2662         [BZ #17869]
2663         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2664         power8 in .machine directive.
2666         [BZ #17868]
2667         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2668         set dependency from opd value.
2670 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2673         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2674         architecture.
2676 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2678         [BZ #17870]
2679         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2680         with uint64_t.
2681         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2682         (uint64_t) 1.
2683         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2684         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2685         Replace 1UL with (uint64_t) 1.
2686         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2687         int with uint64_t.
2689 2015-01-23  Roland McGrath  <roland@hack.frob.com>
2691         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2692         (if_freenameindex): Likewise.
2694         * resource/getrlimit64.c: Add missing libc_hidden_def.
2696 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
2698         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2699         __label__.
2700         (_FP_FMA): Likewise.
2701         (_FP_TO_INT_ROUND): Likewise.
2702         (_FP_FROM_INT): Likewise.
2704 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2706         [BZ #16418]
2707         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2708         Make code racy and cancel safe.
2710 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
2712         * sysdeps/arm/unwind-resume.h: Fix copyright year.
2713         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2714         attribution.
2716         * pwd/tst-getpw.c: Rewrite.
2718         [BZ #17702]
2719         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2720         (modules-names): Add moddummy1 and moddummy2.
2721         ($(objpfx)tst-rec-dlopen): Define.
2722         * dlfcn/moddummy1.c: New file.
2723         * dlfcn/moddummy2.c: New file.
2724         * dlfcn/tst-rec-dlopen.c: New file.
2725         * elf/dl-cache.c (_dl_load_cache_lookup):
2726         Return char*. Copy result with alloca/strcpy/strdup.
2727         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2728         returns char*. Free cached. If not saving realname
2729         free cached.
2730         * elf/dl-open.c (dl_open_worker): Do not assert that
2731         _r_debug->r_state is RT_CONSISTENT.
2732         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2733         returns char*.
2735 2015-01-21  Torvald Riegel  <triegel@redhat.com>
2736             Carlos O'Donell  <carlos@redhat.com>
2738         [BZ #12674]
2739         * nptl/sem_waitcommon.c: New file.
2740         * nptl/sem_wait.c: Include sem_waitcommon.c.
2741         (__sem_wait_cleanup, do_futex_wait): Remove.
2742         (__new_sem_wait): Adapt.
2743         (__new_sem_trywait): New function.
2744         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2745         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2746         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2747         (sem_timedwait): Adapt.
2748         * nptl/sem_post.c (__new_sem_post): Adapt.
2749         (futex_wake): New function.
2750         (__old_sem_post): Add release MO fence.
2751         * nptl/sem_open.c (sem_open): Adapt.
2752         * nptl/sem_init.c (__new_sem_init): Adapt.
2753         (futex_private_if_supported): New function.
2754         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2755         (__old_sem_getvalue): Add using previous code.
2756         * sysdeps/nptl/internaltypes.h: Adapt.
2757         * nptl/tst-sem13.c (do_test): Adapt.
2758         * nptl/tst-sem11.c (main): Adapt.
2759         * nptl/sem_trywait.c: Remove.
2760         * nptl/DESIGN-sem.txt: Remove.
2761         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2762         (gen-as-const-headers): Remove structsem.sym.
2763         * nptl/structsem.sym: Remove.
2764         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2765         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2766         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2767         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2768         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2769         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2770         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2771         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2772         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2773         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2774         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2775         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2776         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2777         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2778         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2779         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2780         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2781         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2782         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2783         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2784         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2785         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2787 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
2789         * INSTALL: Regenerated.
2791         * po/libc.pot: Regenerated.
2793 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
2794             Sandra Loosemore  <sandra@codesourcery.com>
2795             Andrew Jenner  <andrew@codesourcery.com>
2796             Joseph Myers  <joseph@codesourcery.com>
2797             Nathan Sidwell  <nathan@codesourcery.com>
2799         * NEWS: Mention new Nios II port.
2800         * sysdeps/nios2/Implies: New file.
2801         * sysdeps/nios2/Makefile: New file.
2802         * sysdeps/nios2/Subdirs: New file.
2803         * sysdeps/nios2/Versions: New file.
2804         * sysdeps/nios2/__longjmp.S: New file.
2805         * sysdeps/nios2/abort-instr.h: New file.
2806         * sysdeps/nios2/backtrace.c: New file.
2807         * sysdeps/nios2/bits/endian.h: New file.
2808         * sysdeps/nios2/bits/fenv.h: New file.
2809         * sysdeps/nios2/bits/link.h: New file.
2810         * sysdeps/nios2/bits/setjmp.h: New file.
2811         * sysdeps/nios2/bsd-_setjmp.S: New file.
2812         * sysdeps/nios2/bsd-setjmp.S: New file.
2813         * sysdeps/nios2/configure: New generated file.
2814         * sysdeps/nios2/configure.ac: New file.
2815         * sysdeps/nios2/crti.S: New file.
2816         * sysdeps/nios2/crtn.S: New file.
2817         * sysdeps/nios2/dl-init.c: New file.
2818         * sysdeps/nios2/dl-machine.h: New file.
2819         * sysdeps/nios2/dl-sysdep.h: New file.
2820         * sysdeps/nios2/dl-tls.h: New file.
2821         * sysdeps/nios2/dl-trampoline.S: New file.
2822         * sysdeps/nios2/gccframe.h: New file.
2823         * sysdeps/nios2/gmp-mparam.h: New file.
2824         * sysdeps/nios2/jmpbuf-offsets.h: New file.
2825         * sysdeps/nios2/jmpbuf-unwind.h: New file.
2826         * sysdeps/nios2/ldsodefs.h: New file.
2827         * sysdeps/nios2/libc-tls.c: New file.
2828         * sysdeps/nios2/libm-test-ulps: New file.
2829         * sysdeps/nios2/machine-gmon.h: New file.
2830         * sysdeps/nios2/math-tests.h: New file.
2831         * sysdeps/nios2/math_private.h: New file.
2832         * sysdeps/nios2/memusage.h: New file.
2833         * sysdeps/nios2/nptl/Makefile: New file.
2834         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2835         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2836         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2837         * sysdeps/nios2/nptl/pthreaddef.h: New file.
2838         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2839         * sysdeps/nios2/nptl/tls.h: New file.
2840         * sysdeps/nios2/preconfigure: New file.
2841         * sysdeps/nios2/s_fma.c: New file.
2842         * sysdeps/nios2/s_fmaf.c: New file.
2843         * sysdeps/nios2/setjmp.S: New file.
2844         * sysdeps/nios2/sfp-machine.h: New file.
2845         * sysdeps/nios2/sotruss-lib.c: New file.
2846         * sysdeps/nios2/stackguard-macros.h: New file.
2847         * sysdeps/nios2/stackinfo.h: New file.
2848         * sysdeps/nios2/start.S: New file.
2849         * sysdeps/nios2/sysdep.h: New file.
2850         * sysdeps/nios2/tls-macros.h: New file.
2851         * sysdeps/nios2/tst-audit.h: New file.
2852         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2853         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2854         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2855         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2856         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2857         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2858         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2859         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2860         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2861         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2862         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2863         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2864         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2865         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2866         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2867         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2868         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2869         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2870         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2871         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2872         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2873         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2874         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2875         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2876         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2877         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2878         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2879         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2880         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2881         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2882         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2883         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2884         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2885         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2886         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2887         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2888         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2889         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2890         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2891         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2892         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2893         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2894         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2895         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2897 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2899         [BZ #17844]
2900         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2901         (getutent): Use weak_alias in non SHARED case
2902         and default_symbol_version in SHARED case.
2903         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2904         (getutent_r, pututline): Likewise.
2905         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2906         (getutid): Likewise.
2907         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2908         (getutid_r): Likewise.
2909         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2910         (getutline): Likewise.
2911         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2912         (getutline_r): Likewise.
2913         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2914         (updwtmp): Likewise.
2916 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2918         [BZ #17848]
2919         * sysdeps/s390/s390-32/memcmp.S
2920         (memcmp_g5): Rename to __memcmp_g5.
2921         * sysdeps/s390/s390-32/memcpy.S
2922         (memcpy_g5): Rename to __memcpy_g5.
2923         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2924         (memcpy_mvcle) Rename to __memcpy_mvcle.
2925         * sysdeps/s390/s390-32/memset.S
2926         (memset_g5): Rename to __memset_g5.
2927         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2928         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2929         and use prefixed functions.
2930         * sysdeps/s390/s390-32/multiarch/memcmp.S
2931         (memcmp_z196): Rename to __memcmp_z196.
2932         (memcmp_z10): Rename to __memcmp_z10.
2933         (memcmp): Set alias to __memcmp_g5.
2934         (bcmp): Set alias to __memcmp_g5.
2935         * sysdeps/s390/s390-32/multiarch/memcpy.S
2936         (memcpy_z196): Rename to __memcpy_z196.
2937         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2938         (memcpy_z10): Rename to __memcpy_z10.
2939         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2940         (memcpy): Set alias to __memcpy_g5.
2941         * sysdeps/s390/s390-32/multiarch/memset.S
2942         (memset_z196): Rename to __memset_z196.
2943         Jump to __memset_mvcle instead of memset_mvcle.
2944         (memset_z10): Rename to __memset_z10.
2945         Jump to __memset_mvcle instead of memset_mvcle.
2946         (memset_mvcle) Rename to __memset_mvcle.
2947         (memset): Set alias to __memset_g5.
2948         * sysdeps/s390/s390-64/memcmp.S
2949         (memcmp_z900): Rename to __memcmp_z900.
2950         * sysdeps/s390/s390-64/memcpy.S
2951         (memcpy_z900): Rename to __memcpy_z900.
2952         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2953         (memcpy_mvcle) Rename to __memcpy_mvcle.
2954         * sysdeps/s390/s390-64/memset.S
2955         (memset_z900): Rename to __memset_z900.
2956         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2957         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2958         and use prefixed functions.
2959         * sysdeps/s390/s390-64/multiarch/memcmp.S
2960         (memcmp_z196): Rename to __memcmp_z196.
2961         (memcmp_z10): Rename to __memcmp_z10.
2962         (memcmp): Set alias to __memcmp_z900.
2963         (bcmp): Set alias to __memcmp_z900.
2964         * sysdeps/s390/s390-64/multiarch/memcpy.S
2965         (memcpy_z196): Rename to __memcpy_z196.
2966         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2967         (memcpy_z10): Rename to __memcpy_z10.
2968         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2969         (memcpy): Set alias to __memcpy_z900.
2970         * sysdeps/s390/s390-64/multiarch/memset.S
2971         (memset_z196): Rename to __memset_z196.
2972         Jump to __memset_mvcle instead of memset_mvcle.
2973         (memset_z10): Rename to __memset_z10.
2974         Jump to __memset_mvcle instead of memset_mvcle.
2975         (memset_mvcle) Rename to __memset_mvcle.
2976         (memset): Set alias to __memset_z900.
2978 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
2980         [BZ #17748]
2981         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2982         __fesetenv instead of fesetenv.
2984 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2986         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2987         macro.
2989 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2991         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2992         regression on LE.
2994         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2995         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2996         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2997         strncmp-power8 object.
2998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2999         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3000         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3001         * NEWS: Update.
3003 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3004             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3006         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3007         trailing byte check.
3009 2015-01-13  David S. Miller  <davem@davemloft.net>
3011         * include/signal.h (__sigreturn): Guard with __USE_MISC.
3013 2015-01-13  Roland McGrath  <roland@hack.frob.com>
3015         * login/logout.c (logout): Use memset rather than bzero.
3016         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3017         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3018         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3019         (_gethtbyaddr): Likewise.
3020         * locale/programs/simple-hash.c (bcopy): Macro removed.
3022 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3024         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3025         Add strcmp-power8 object.
3026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3027         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3028         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3029         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3030         __strcmp_power8 implementation.
3031         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3032         * NEWS: Update.
3034         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3035         Add strncpy-power8 and stpncpy-power8 objects.
3036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3037         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3038         implementations.
3039         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3040         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3041         __stpncpy_power8 implementation.
3042         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3043         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3044         __strncpy_power8 implementation.
3045         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3046         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3047         * NEWS: Update.
3049         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3050         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3051         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3053         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3054         strncat-power8 object.
3055         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3056         __strcat_power8 implementation.
3057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3058         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3059         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3060         optimized strcat for power8.
3062         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3063         strcpy-power8 and stpcpy-power8 objects.
3064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3065         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3066         implementations.
3067         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3068         multiarch stpcpy implementation for POWER8.
3069         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3070         multiarch strcpy implementation for POWER8.
3071         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3072         __strcpy_power8 function.
3073         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3074         stpcpy for POWER8.
3075         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3076         strcpy for POWER8.
3077         * NEWS: Update.
3079 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
3081         [BZ #16009]
3082         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3083         weights and rules. Use do_xfrm_cached if data fits in cache,
3084         do_xfrm otherwise.  Moved former main loop to...
3085         * (do_xfrm_cached): New function.
3086         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3087         find_idx, find_position and stack_push.
3088         * (find_idx): New function.
3089         * (find_position): Likewise.
3090         * localedata/sort-test.sh: Added test run for do_xfrm.
3091         * localedata/xfrm-test.c (main): Added command line option
3092         -nocache to run the test with strings that are too large for
3093         the STRXFRM cache.
3095 2015-01-13  Torvald Riegel  <triegel@redhat.com>
3097         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3098         variable to lll_futex_wake call, not the value itself.
3100 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
3102         [BZ #17803]
3103         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3104         twom64.  Adjust value to 0x1p-64L.
3105         (__scalblnl): Only return standard underflowing result for K <=
3106         -64 not K <= -63; adjust exponent for underflowing result by 64
3107         not 63.
3108         * math/libm-test.inc (scalbn_test_data): Add more tests.
3109         (scalbln_test_data): Likewise.
3111         [BZ #17834]
3112         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
3113         0x1p63L.
3114         (__scalblnl): Get new exponent of adjusted subnormal value from ES
3115         not HX.
3116         * math/libm-test.inc (scalbn_test_data): Add more tests.
3117         (scalbln_test_data): Likewise.
3119 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3120             Stefani Seibold  <stefani@seibold.net>
3122         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
3123         (sysdep_routines): Add dl-vdso here, ...
3124         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
3125         (sysdep_routines): ... not here.
3126         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
3127         fallback when vDSO is not presented.
3128         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3129         Define with libc_hidden_proto/libc_hidden_data_def definitions.
3130         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
3131         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
3132         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
3133         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
3134         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
3135         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
3136         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
3137         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
3138         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
3139         fallback configurable symbol when vDSO is not available.
3140         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
3141         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
3142         be able to redefine fallback symbol when vDSO is not available.
3143         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
3144         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
3146 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3148         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
3149         (TLS_INIT_TP): Add tm_capable initialization.
3150         (TLS_DEFINE_INIT_TP): Likewise.
3151         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
3152         TCB.
3153         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
3154         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
3155         calculation.
3156         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
3157         transactoion is lock elision is built and TCB tm_capable is set.
3158         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
3159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3160         (INTERNAL_SYSCALL_NCS): Likewise.
3161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3162         (INTERNAL_SYSCALL_NCS): Likewise.
3163         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
3165         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
3166         for powerpc.
3167         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3168         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
3169         and remove it for 32 bits case.
3170         [pthread_rwlock_t] (__rwelision): New field for lock elision.
3171         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
3172         initialization.
3173         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
3174         Disable lock elision with rdlocks if elision is not available.
3176         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
3177         (sysdep_routines): Add lock elision objects.
3178         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3179         [pthread_mutex_t] (__spins): Rework to add lock elision field.
3180         [pthread_mutex_t] (__elision): Add field.
3181         [__PTHREAD_SPINS]: Adjust to init lock elision field.
3182         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
3183         elision definitions for powerpc.
3184         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
3185         implementation of lock elision for powerpc.
3186         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
3187         implementation of timed lock elision for powerpc.
3188         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
3189         implementation of trylock with lock elision for powerpc.
3190         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
3191         implementaion of unlock for lock elision for powerpc.
3192         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
3193         automatic enable lock elision for mutexes.
3194         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
3195         transaction execution definitions for powerpc.
3196         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
3197         definitions.
3198         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
3199         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
3200         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
3201         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
3202         * NEWS: Update.
3204 2015-01-09  Roland McGrath  <roland@hack.frob.com>
3206         * sysdeps/posix/shm-directory.c: Use <> rather than ""
3207         for #include of <shm-directory.h>.
3209 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
3211         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
3212         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3214 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
3216         [BZ #17791]
3217         * NEWS: Mention bug fix.
3218         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3219         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3220         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3222 2015-01-09  Torvald Riegel <triegel@redhat.com>
3224         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3226 2015-01-09  Torvald Riegel <triegel@redhat.com>
3228         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3230 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
3232         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3233         pointer and cast to uintptr_t.
3235 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
3237         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3238         removed.
3239         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3241 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
3243         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3244         of 0.
3246 2015-01-08  Roland McGrath  <roland@hack.frob.com>
3248         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3249         <nptl/pthreadP.h> instead.
3250         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3252         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3253         already defined.
3254         [__SIGRTMIN] (init): Function removed.
3255         [__SIGRTMIN] (initialized): Variable removed.
3256         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3257         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3258         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3259         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3260         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3261         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3262         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3263         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3264         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3265         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3266         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3267         * sysdeps/nptl/allocrtsig.c: New file.
3268         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3269         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3270         * sysdeps/generic/testrtsig.h: File removed.
3272         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3273         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3275         * nptl/nptl-init.c (pthread_functions): Conditionalize
3276         .ptr__nptl_setxid initialization on [SIGSETXID].
3278         * sysdeps/nptl/sys/procfs.h: New file.
3279         * nptl_db/Makefile (headers): Add it.
3280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3282         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3283         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3284         * nptl/pthread_attr_setaffinity.c: Include it.
3285         * nptl/pthread_setattr_default_np.c: Likewise.
3286         * nptl/check-cpuset.h: New file.
3288 2015-01-08  Richard Henderson  <rth@redhat.com>
3290         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3291         (CFLAGS-tst-execstack-prog.c): Likewise.
3292         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3294 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
3295             Sandra Loosemore  <sandra@codesourcery.com>
3296             Andrew Jenner  <andrew@codesourcery.com>
3297             Joseph Myers  <joseph@codesourcery.com>
3298             Nathan Sidwell  <nathan@codesourcery.com>
3300         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3301         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3302         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3303         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3304         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3305         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3306         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
3307         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3308         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3309         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3310         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3311         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3312         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
3313         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3314         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3315         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3316         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3318 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3320         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3321         timespec struct member in syscall macro.
3322         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3323         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3324         first timeval struct member in syscall macro.
3325         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3327 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
3329         [BZ #17748]
3330         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3331         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3332         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3333         __feupdateenv and define as weak alias of __feupdateenv.  Use
3334         libm_hidden_weak.
3335         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3336         libm_hidden_def.
3337         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3338         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
3339         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3340         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3341         libm_hidden_def.
3342         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3343         __feupdateenv and define as weak alias of __feupdateenv.  Use
3344         libm_hidden_weak.
3345         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3346         libm_hidden_def.
3347         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3348         __feupdateenv and define as weak alias of __feupdateenv.  Use
3349         libm_hidden_weak.
3350         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3351         libm_hidden_def.
3352         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3353         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3354         (__feupdateenv): Likewise.
3355         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3356         __feupdateenv and define as weak alias of __feupdateenv.  Use
3357         libm_hidden_weak.
3358         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3359         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3360         libm_hidden_def.
3361         * sysdeps/tile/math_private.h (__feupdateenv): New inline
3362         function.
3363         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3364         libm_hidden_def.
3365         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3366         __feupdateenv instead of feupdateenv.
3367         (default_libc_feupdateenv_test): Likewise.
3368         (libc_feresetround_ctx): Likewise.
3370 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3372         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3373         prototype.
3375 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
3377         * posix/regcomp.c (parse_bracket_exp): Initialize type to
3378         COLL_SYM in a couple of places to avoid uninitialized variable
3379         wanings on tilegx gcc 4.8.2.
3381 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
3383         * sysdeps/aarch64/strcpy.S: New file.
3384         * sysdeps/aarch64/stpcpy.S: New file.
3385         * NEWS: Updated.
3387 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
3389         * sysdeps/aarch64/strrchr.S: New file.
3390         * NEWS: Updated.
3392 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
3394         [BZ #17658]
3395         * stdlib/setenv.c: Fix memory leak when setting large,
3396         duplicate string.
3398 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
3400         [BZ #17273]
3401         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3402         and tabs from buffer before parsing fstab entry.
3403         * misc/tst-mntent.c (main): Add test for mount entry with
3404         trailing spaces and tabs.
3406 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
3408         [BZ #17748]
3409         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
3410         * math/fesetround.c (fesetround): Rename to __fesetround and
3411         define as weak alias of __fesetround.  Use libm_hidden_weak.
3412         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3413         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3414         * sysdeps/arm/fesetround.c (fesetround): Likewise.
3415         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3416         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3417         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3418         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3419         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3420         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3421         __fesetround_inline.
3422         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3423         __fesetround_inline instead of __fesetround.
3424         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3425         __fesetround and define as weak alias of __fesetround.  Use
3426         libm_hidden_weak.  Call __fesetround_inline instead of
3427         __fesetround.
3428         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3429         __fesetround and define as weak alias of __fesetround.  Use
3430         libm_hidden_weak.
3431         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3432         Likewise.
3433         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3434         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3435         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3436         * sysdeps/tile/math_private.h (__fesetround): New inline function.
3437         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3438         __fesetround and define as weak alias of __fesetround.  Use
3439         libm_hidden_weak.
3440         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3441         __fesetround instead of fesetround.
3442         (default_libc_feholdexcept_setround): Likewise.
3443         (libc_feholdsetround_ctx): Likewise.
3444         (libc_feholdsetround_noex_ctx): Likewise.
3446         [BZ #17748]
3447         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3448         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3449         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3450         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
3451         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3452         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3453         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3454         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3455         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3456         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3457         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3458         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3459         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3460         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3461         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3462         libm_hidden_def.
3463         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3464         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3465         Likewise.
3466         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3467         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3468         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3469         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3470         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3471         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3472         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
3473         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3474         __fesetenv instead of fesetenv.
3475         (libc_feresetround_noex_ctx): Likewise.
3476         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3477         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3478         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3479         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3480         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3481         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3482         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3483         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3484         (__feupdateenv): Likewise.
3485         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3486         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3487         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3488         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3490 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
3492         [BZ #17806]
3493         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3494         addresses have been freed.
3496 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
3498         * resolv/res_init.c (__res_vinit): Improve comments about nserv
3499         and nservall.
3501 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
3503         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3504         Clean up check_pf allocation pattern. addresses
3506 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3508         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3509         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3510         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3511         * nptl/pthread_exit.c (__pthread_exit): Likewise.
3512         * nptl/pthread_join.c (pthread_join): Likewise.
3513         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3514         * sysdeps/posix/waitid.c (__waitid): Likewise.
3515         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3516         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3517         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3518         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3519         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3520         Likewise.
3521         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3522         (__libc_pread64): Likewise.
3523         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3524         (__libc_pwrite): Likewise.
3525         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3526         (__libc_pwrite64): Likewsie.
3527         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3528         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3529         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3530         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3531         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3532         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3533         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3535         Likewise.
3536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3537         (__libc_pread64): Likewise.
3538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3539         Likewise.
3540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3541         (__libc_pwrite64): Likewise.
3542         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3543         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3544         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3545         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3546         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3547         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3548         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3549         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3550         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3551         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3552         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3553         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3554         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3555         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3556         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3557         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3558         Likewise.
3560 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3562         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3563         (CFLAGS-test-double.c): Likewise.
3564         (CFLAGS-test-ldouble.c): Likewise.
3565         (CPPFLAGS-test-ifloat.c): Likewise.
3566         (CPPFLAGS-test-idouble.c): Likewise.
3567         (CPPFLAGS-test-ildoubl.c): Likewise.
3568         (CFLAGS-test-test-fenv.c): Remove variable.
3569         (CFLAGS-test-misc.c): Likewise.
3571 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
3573         [BZ #17797]
3574         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3575         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3576         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3577         CLOCKS_PER_SEC == 1000000.
3578         * time/clocktest.c (main): Replace %ld with %jd and cast to
3579         intmax_t.
3581 2015-01-05  Roland McGrath  <roland@hack.frob.com>
3583         * sysdeps/generic/unwind-resume.h: New file.
3584         * sysdeps/gnu/unwind-resume.c: Include it.
3585         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3586         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3587         argument list.
3588         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3589         global rather than static.
3590         (_Unwind_Resume): Update user.
3591         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3592         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
3593         rather than static.  Add __attribute__ ((cold)).
3594         (_Unwind_Resume, __gcc_personality_v0): Update callers.
3595         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3596         * sysdeps/arm/arm-unwind-resume.S: New file.
3597         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3598         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3599         * sysdeps/arm/Makefile [$(subdir) = csu]
3600         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3601         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3602         Add rt-arm-unwind-resume.
3603         [$(subdir) = nptl]
3604         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3605         Add pt-arm-unwind-resume.
3606         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3607         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3609 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3611         [BZ #17748]
3612         * include/fenv.h (__feholdexcept): Declare.  Use
3613         libm_hidden_proto.
3614         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3615         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
3616         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3617         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3618         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3619         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3620         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3621         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3622         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3623         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3624         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3625         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3626         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3627         (feholdexcept): Likewise.
3628         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3629         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3630         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3631         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3632         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3633         __feholdexcept instead of feholdexcept.
3634         (default_libc_feholdexcept_setround): Likewise.
3636 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3638         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3639         to avoid using stl/str to align destination.
3641 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3643         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3645 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3647         [BZ #17796]
3648         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3649         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3650         Define as weak alias not strong alias.
3652 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3654         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3655         bltzal with addiupc.
3656         (RTLD_START): Ditto.
3658 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
3660         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3661         for __vdso_* functions in declarations.
3662         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3663         definitions.
3664         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3665         INTERNAL_VSYSCALL): Use struct return types to check for error.
3667         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3668         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3669         function with cast from llround().
3670         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3671         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3672         Define.
3674 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3676         [BZ #17793]
3677         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3678         Define as weak alias not strong alias.
3680         [BZ #17635]
3681         * ctype/ctype-c99.c: New file.  isblank implementation moved from
3682         ...
3683         * ctype/ctype-extn.c: ... here.
3684         (__isblank_l): Move to ...
3685         * ctype/ctype-c99_l.c: ... here.  New file.
3686         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3687         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3688         Remove variable.
3689         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3690         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3691         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3692         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3693         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3695         [BZ #17777]
3696         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3697         (posix_fadvise64): Define as weak alias not strong alias.
3698         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3699         (posix_fallocate64): Likewise.
3700         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3701         Remove variable.
3702         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3703         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3704         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3705         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3706         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3708 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
3710         [BZ #16191]
3711         * NEWS: Mention bug fix.
3712         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3713         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3714         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3715         (HOST_STACK_END_ADDR): Likewise.
3717 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3719         [BZ #17748]
3720         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
3721         * math/fegetround.c (fegetround): Rename to __fegetround and
3722         define as weak alias of __fegetround.  Use libm_hidden_weak.
3723         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3724         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3725         * sysdeps/arm/fegetround.c (fegetround): Likewise.
3726         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3727         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3728         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3729         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3730         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3731         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3732         Undefine after rather than before function definition; use
3733         parentheses around function name in definition.
3734         (__fegetround): Also undefine macro after function definition.
3735         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3736         __fegetround and define as weak alias of __fegetround.  Use
3737         libm_hidden_weak.  Do not undefine as macro.
3738         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3739         Likewise.
3740         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3741         __fegetround and define as weak alias of __fegetround.  Use
3742         libm_hidden_weak.
3743         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3744         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3745         * sysdeps/tile/math_private.h (__fegetround): New inline function.
3746         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3747         __fegetround and define as weak alias of __fegetround.  Use
3748         libm_hidden_weak.
3749         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3750         __fegetround instead of fegetround.
3752         [BZ #17782]
3753         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3754         Condition macro definition on [__USE_MISC].
3756         [BZ #17781]
3757         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3758         (struct sigaction): Change type of sa_flags field to int.
3760         [BZ #17780]
3761         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3762         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3763         __glibc_reserved0.
3765         * nptl/version.c (banner): Use single year in copyright notice.
3767         * NEWS: Update copyright dates.
3768         * catgets/gencat.c (print_version): Likewise.
3769         * csu/version.c (banner): Likewise.
3770         * debug/catchsegv.sh: Likewise.
3771         * debug/pcprofiledump.c (print_version): Likewise.
3772         * debug/xtrace.sh (do_version): Likewise.
3773         * elf/ldconfig.c (print_version): Likewise.
3774         * elf/ldd.bash.in: Likewise.
3775         * elf/pldd.c (print_version): Likewise.
3776         * elf/sotruss.sh: Likewise.
3777         * elf/sprof.c (print_version): Likewise.
3778         * iconv/iconv_prog.c (print_version): Likewise.
3779         * iconv/iconvconfig.c (print_version): Likewise.
3780         * locale/programs/locale.c (print_version): Likewise.
3781         * locale/programs/localedef.c (print_version): Likewise.
3782         * login/programs/pt_chown.c (print_version): Likewise.
3783         * malloc/memusage.sh (do_version): Likewise.
3784         * malloc/memusagestat.c (print_version): Likewise.
3785         * malloc/mtrace.pl: Likewise.
3786         * manual/libc.texinfo: Likewise.
3787         * nptl/version.c (banner): Likewise.
3788         * nscd/nscd.c (print_version): Likewise.
3789         * nss/getent.c (print_version): Likewise.
3790         * nss/makedb.c (print_version): Likewise.
3791         * posix/getconf.c (main): Likewise.
3792         * scripts/test-installation.pl: Likewise.
3793         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3795 2015-01-02  Will Newton  <will.newton@linaro.org>
3797         * sysdeps/arm/armv7/configure: Removed.
3798         * sysdeps/arm/armv7/configure.ac: Likewise.
3800 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3802         * All files with FSF copyright notices: Update copyright dates
3803         using scripts/update-copyrights.
3804         * intl/plural.c: Regenerated.
3805         * locale/programs/charmap-kw.h: Likewise.
3806         * locale/programs/locfile-kw.h: Likewise.
3808 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3810         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3812 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3814         [BZ #17748]
3815         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3816         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3817         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3818         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3819         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3820         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3821         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3822         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3823         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3824         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3825         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3826         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3827         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3828         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3829         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3830         libm_hidden_def.
3831         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3832         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3833         Likewise.
3834         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3835         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3836         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3837         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3838         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3839         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3840         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3841         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3842         __fegetenv instead of fegetenv.
3843         (libc_feholdsetround_noex_ctx): Likewise.
3845 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3847         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3848         (Elf_MIPS_ABIFlags_v0): New structure.
3849         (EF_MIPS_FP64): Define.
3850         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3851         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3852         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3853         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3854         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3855         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3856         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3857         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3858         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3859         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3860         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3861         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3862         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3863         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3864         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3865         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3866         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3867         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3868         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3869         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3870         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3871         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3872         field.
3873         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3874         EF_MIPS_FP64.
3875         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3876         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3877         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3878         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3879         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3880         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3881         * sysdeps/mips/tst-abi-interlink.c: Likewise.
3882         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3883         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3884         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3885         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3886         record the current FP ABI extension.
3887         (mips-mode-switch): Define to show if kernel headers support mode
3888         switching.
3889         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3890         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3891         supported SYSV ABI version to 3.
3892         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3893         feature.
3895 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3896             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3898         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3899         path.
3900         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3902 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3904         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3905         __fegetround and redefine to call __fegetround.  Remove condition
3906         on [!__NO_MATH_INLINES].
3907         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3908         function.
3909         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3910         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3911         Remove macro.
3912         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3913         instead of <fenv_libc.h>.
3914         (__llrintl): Call fegetround instead of __fegetround.
3915         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3916         instead of <fenv_libc.h>.
3917         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3918         (__lrintl): Call fegetround instead of __fegetround.
3919         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3920         instead of <fenv_libc.h>.
3921         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3922         (__rintl): Call fegetround instead of __fegetround.
3924 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3926         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3927         arrays.
3929 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3931         [BZ #17775]
3932         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3933         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3934         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3936 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3938         * sysdeps/i386/tls-macros.h: Include <features.h>.
3939         (TLS_LE): Use non-PIC version for GCC >= 5.0.
3940         (TLS_IE): Likewise.
3941         (TLS_LD): Likewise.
3942         (TLS_GD): Likewise.
3943         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3944         define for GCC >= 5.0.
3946 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
3948         * math/test-fenv.c (test_single_exception, set_single_exc,
3949         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3950         feexcp_mask_test, feenable_test, fe_single_test): Add
3951         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3952         case where they are not used.
3953         * math/libm-test.inc: Likewise.
3954         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3955         unused in the absence of FP rounding/exception support.
3956         * stdio-common/tst-printf-round.c: Likewise.
3957         * stdlib/tst-strtod-round.c: Likewise.
3958         * stdlib/tst-strtod-underflow.c: Likewise.
3960 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
3962         [BZ #17723]
3963         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3964         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3965         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3966         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3967         libm_hidden_weak.
3968         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3969         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3970         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3971         libm_hidden_def.
3972         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3973         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3974         libm_hidden_weak.
3975         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3976         Likewise.
3977         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3978         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3979         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3980         libm_hidden_weak.
3981         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3982         libm_hidden_def.
3983         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3984         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3985         (__feraiseexcept): Likewise.
3986         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3987         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3988         libm_hidden_weak.
3989         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3990         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3991         libm_hidden_def.
3992         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3993         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3994         Use libm_hidden_def.
3995         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3996         libm_hidden_def.
3997         (feraiseexcept): Define as weak not strong alias.  Use
3998         libm_hidden_weak.
3999         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4000         New inline function.  Factored out of ...
4001         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
4002         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4003         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4004         feraiseexcept.
4005         * math/w_acos.c (__acos): Likewise.
4006         * math/w_asin.c (__asin): Likewise.
4007         * math/w_ilogb.c (__ilogb): Likewise.
4008         * math/w_j0.c (y0): Likewise.
4009         * math/w_j1.c (y1): Likewise.
4010         * math/w_jn.c (yn): Likewise.
4011         * math/w_log.c (__log): Likewise.
4012         * math/w_log10.c (__log10): Likewise.
4013         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4014         * sysdeps/aarch64/fpu/math_private.h
4015         (libc_feupdateenv_test_aarch64): Likewise.
4016         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4017         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4018         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4019         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4020         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4021         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4022         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4023         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4024         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4025         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4027 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4029         [BZ #17732]
4030         * io/test-utime.c (main): Replace %ld with %jd and cast to
4031         intmax_t.
4032         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
4033         * nptl/tst-mutex5.c: Include <stdint.h>.
4034         (do_test): Replace %ld with %jd and cast to intmax_t.
4035         * posix/tst-regex.c (run_test): Likewise.
4036         (run_test_backwards): Likewise.
4037         * rt/tst-clock.c: Include <stdint.h>.
4038         (clock_test): Replace %ld with %jd and cast to intmax_t.
4039         * rt/tst-cpuclock1.c: Include <stdint.h>.
4040         (do_test): Replace %lu with %ju and cast to uintmax_t.
4041         * rt/tst-cpuclock2.c: Include <stdint.h>.
4042         (do_test): Replace %lu with %ju and cast to uintmax_t.
4043         * rt/tst-mqueue1.c: Include <stdint.h>.
4044         (check_attrs): Replace %ld with %jd and cast to intmax_t.
4045         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4046         intmax_t.
4047         * rt/tst-mqueue4.c (do_test): Likewise.
4048         * rt/tst-timer4.c: Include <stdint.h>.
4049         (check_ts): Replace %ld with %jd and cast to intmax_t.
4050         (do_test): Likewise.
4051         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4052         and cast to intmax_t.
4053         * sysdeps/pthread/tst-timer.c (main): Likewise.
4054         * time/clocktest.c (main): Likewise.
4055         * time/tst-posixtz.c (do_test): Likewise.
4056         * timezone/tst-timezone.c (main): Likewise.
4058 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4059             H.J. Lu  <hongjiu.lu@intel.com>
4061         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4062         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4063         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4064         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4065         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4066         version if bit_Fast_Unaligned_Load is set.
4067         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4068         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4069         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4070         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4071         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4072         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4073         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4074         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4075         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4076         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4077         to 4.
4078         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4079         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4080         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4081         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4083 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
4085         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4086         instead of #if to avoid a Wundef warning.
4087         * stdlib/tst-limits.c (do_test): Likewise.
4089         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4090         parallel other exception macros.
4091         (fegetenv): Convert from macro to extern inline so that it applies
4092         retroactively to inline functions already seen by the compiler.
4093         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4095         * posix/Makefile (before-compile): Use $(objpfx) for
4096         posix-conf-vars-def.h.
4098 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4100         * posix/getconf.c (main): Use size_t for type of I.
4101         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4102         NSPEC.
4104         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4105         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
4106         * posix/posix-envs.def: Likewise.
4107         * sysdeps/posix/sysconf.c: Likewise.
4108         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
4109         (specs): Remove array.
4110         * scripts/gen-posix-conf-vars.awk: Support generation of specs
4111         array.
4113         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
4114         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
4115         (__sysconf): Use CONF_IS_* macros.
4117         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
4118         ($(objpfx)posix-conf-vars-def.h): New target.
4119         * posix/posix-conf-vars.list: New file.
4120         * posix/posix-conf-vars.h: New file.
4121         * posix/confstr.c: Include posix-conf-vars.h.
4122         (confstr): Use CONF_IS_* macros.
4123         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
4124         CONF_IS_* macros.
4125         * scripts/gen-posix-conf-vars.awk: New file.
4127 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
4129         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
4130         fegetround): Add no-op macros to avoid linknamespace issues.
4132         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
4133         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
4135         * sysdeps/unix/sysv/linux/tile/sysdep.h
4136         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
4137         assembly-specific section to avoid a redefinition warning.
4139         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
4140         long before casting to pointer to avoid a cast warning.
4142 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
4144         * sysdeps/tile/tilegx/Implies: New file.
4146 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
4148         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
4150 2014-12-23  Florian Weimer  <fweimer@redhat.com>
4152         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
4154 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
4156         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
4157         not define.
4158         * sysdeps/unix/sysv/linux/utimes.c: Do not include
4159         <kernel-features.h>.
4160         (__utimes) [__NR_utimes]: Make code unconditional.
4161         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
4162         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4163         (__ASSUME_UTIMES): Do not undefine.
4164         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4165         (__ASSUME_UTIMES): Likewise.
4166         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4167         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
4168         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
4169         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
4171 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
4173         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
4175 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
4177         [BZ #17747]
4178         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
4179         alias to weak alias for j0l, y0l.
4180         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
4181         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
4183         [BZ #17746]
4184         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
4185         conversion.
4187 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
4189         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
4190         to zero if not already defined.
4192 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
4194         [BZ #17724]
4195         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
4196         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
4197         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
4198         (char *) casts added.
4199         * sysdeps/ieee754/k_standardf.c: New file.
4200         * sysdeps/ieee754/k_standardl.c: Likewise.
4201         * math/Makefile (libm-support): Remove k_standard.
4202         (libm-calls): Add k_standard.
4204 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4206         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4207         Optimize to avoid an unnecessary FPCR read.
4209 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4211         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4212         Optimize to reduce FPCR/FPSR accesses.
4214 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4216         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4217         Call libc_fetestexcept_aarch64.
4219 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4221         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4222         Call libc_fesetround_aarch64.
4224 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
4226         [BZ #17733]
4227         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4228         (__bind): Do not define as weak alias.
4229         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4230         define.
4231         (__getsockname): Do not define as weak alias.
4233 2014-12-22  Will Newton  <will.newton@linaro.org>
4235         * manual/install.texi: Document that we require bison 2.7
4236         or above.
4237         * INSTALL: Regenerate.
4238         * configure.ac: Use AC_CHECK_PROG_VER instead of
4239         AC_PATH_PROG when checking for bison and check for
4240         version 2.7 or above.
4241         * configure: Regenerate.
4243 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
4245         [BZ #17745]
4246         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4247         * sysdeps/tile/ffsll.c (ffsll): To here.
4249         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4251 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
4253         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4254         if not defined.
4255         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4256         definition.
4257         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4258         hidden ___tls_get_addr.
4259         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4260         hidden __tls_get_addr.
4261         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4262         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4263         Likewise.
4265 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
4267         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4268         _dl_init call.
4270 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
4272         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4273         from "call _dl_init@PLT".
4274         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
4276 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
4278         * manual/search.texi: (Array Sort Function): Clarify stable sorting
4279         guarantees.
4281 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
4283         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4285 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
4287         [BZ #17744]
4288         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4289         strnlen.
4291 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
4293         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4294         of multu on MIPSr6.
4295         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4296         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4297         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4298         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4299         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4301 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
4303         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4304         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4305         (PTR_SUBU): Use subu for mips32r6/mips64r6.
4306         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
4307         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
4308         mips32r6/mips64r6.
4309         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4311 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
4313         * string/strncat.c (STRNCAT): Simplify implementation.
4315 2014-12-19  David S. Miller  <davem@davemloft.net>
4317         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4318         access the quad as both a long double and as a series of 4 words.
4320         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4321         link_map->l_info array access.
4323 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
4325         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4327         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4328         * math/atest-exp2.c (TIMEOUT): Likewise.
4329         * math/atest-sincos.c (TIMEOUT): Likewise.
4331 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4333         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4334         -Wno-error with -fno-builtin-lround.
4336 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4338         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4339         Contains futex constants and functions moved over from ...
4340         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
4341         <lowlevellock-futex.h>.
4342         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4343         (lll_timedwait_tid): Add comments and parentheses around macro
4344         arguments.
4346 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4348         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4349         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
4350         (__lll_private_flag): Remove.
4351         (lll_futex_wait): Likewise.
4352         (lll_futex_timed_wait): Likewise.
4353         (lll_futex_wake): Likewise.
4354         (lll_futex_requeue): Likewise.
4355         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4356         (__lll_timedwait_tid): Spell out argument names.
4357         (lll_timedwait_tid): Add comments and parentheses around macro
4358         arguments.
4359         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4360         LLL_SHARED and LLL_PRIVATE usable from assembly code.
4362 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4364         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4365         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4366         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4367         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4368         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4369         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4370         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4371         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4372         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4373         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4374         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4375         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4376         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4377         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4378         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4379         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4380         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4381         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4382         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4384 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4386         * sysdeps/x86_64/x32/Makefile: New file.
4388 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4390         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4391         1L with (mp_limb_t) 1.
4393 2014-12-17  Roland McGrath  <roland@hack.frob.com>
4395         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4396         * nptl/libc_pthread_init.c: ... here.
4397         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4398         * nptl/register-atfork.c: ... here.
4400         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4401         Use pthread_sigmask rather than INTERNAL_SYSCALL.
4402         Use assert_perror to check its return value.
4403         (__gai_create_helper_thread): Likewise.
4405         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4407         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4409 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
4411         [BZ #17725]
4412         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4413         __profil_counter.
4414         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4415         Likewise.
4416         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4417         Likewise.
4418         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4419         Likewise.
4420         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4421         (profil_counter): Likewise.
4422         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4423         (profil_counter): Likewise.
4424         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4425         Likewise.
4426         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4427         Likewise.
4428         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4429         (profil_counter): Likewise.
4430         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4431         Likewise.
4432         [!__profil_counter] (profil_counter): Define as weak alias of
4433         __profil_counter.
4434         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4435         (profil_counter): Rename to __profil_counter.
4436         [!__profil_counter] (profil_counter): Define as weak alias of
4437         __profil_counter.
4438         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4439         (profil_counter): Rename to __profil_counter.
4440         [!__profil_counter] (profil_counter): Define as weak alias of
4441         __profil_counter.
4442         * sysdeps/posix/profil.c: Update comment referring to
4443         profil_counter.
4444         (__profil): Use __profil_counter instead of profil_counter.
4445         * sysdeps/posix/sprofil.c (profil_counter): Rename to
4446         __profil_counter.  Use __profil_counter_ushort and
4447         __profil_counter_uint in definitions.
4448         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4449         instead of profil_counter_uint and profil_counter_ushort.
4451         [BZ #17722]
4452         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4453         define as weak alias of __inet_makeaddr.
4454         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4455         as weak alias of __inet_addr.
4456         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4457         as weak alias of __inet_pton.  Use libc_hidden_weak.
4458         * include/arpa/inet.h (__inet_pton): Declare.  Use
4459         libc_hidden_proto.
4460         (inet_makeaddr): Don't use libc_hidden_proto.
4461         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
4462         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4463         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
4464         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4465         Remove variable.
4466         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4467         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4469 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
4471         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4473 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4475         * stdio-common/bug-vfprintf-nargs.c (do_test):
4476         Cast value to intptr_t to avoid format warning
4477         for usage with PRIdPTR printing macro.
4479 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4481         * libio/tst-widetext.c (do_test):
4482         Use format type %td instead of %Zd for ptrdiff_t
4483         in order to avoid format warning.
4485 2014-12-17  Andreas Schwab  <schwab@suse.de>
4487         * nscd/mem.c (gc): Add size_t cast to match printf format.
4489 2014-12-16  Roland McGrath  <roland@hack.frob.com>
4491         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4492         (init): Apply PTR_MANGLE to pointers before storing them.
4493         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4494         before using them.
4496 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
4498         [BZ #17719]
4499         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4500         define as weak alias of __memrchr.
4501         (__memrchr): Do not define as strong alias of memrchr.
4502         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4503         Remove variable.
4504         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4505         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4506         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4508         [BZ #17717]
4509         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4510         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
4511         (if_indextoname): Rename to __if_indextoname and define as weak
4512         alias of __if_indextoname.  Use libc_hidden_weak.
4513         (if_freenameindex): Rename to __if_freenameindex and define as
4514         weak alias of __if_freenameindex.
4515         (if_nameindex): Rename to __if_nameindex and define as weak alias
4516         of __if_nameindex.
4517         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4518         __if_nametoindex and define as weak alias of __if_nametoindex.
4519         Use libc_hidden_weak.
4520         (if_freenameindex): Rename to __if_freenameindex and define as
4521         weak alias of __if_freenameindex.
4522         (if_nameindex): Rename to __if_nameindex and define as weak alias
4523         of __if_nameindex.
4524         (if_indextoname): Rename to __if_indextoname and define as weak
4525         alias of __if_indextoname.  Use libc_hidden_weak.
4526         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4527         __if_nametoindex and define as weak alias of __if_nametoindex.
4528         Use libc_hidden_weak.
4529         (if_freenameindex): Rename to __if_freenameindex and define as
4530         weak alias of __if_freenameindex.  Use libc_hidden_weak.
4531         (if_nameindex_netlink): Use __if_freenameindex instead of
4532         if_freenameindex.
4533         (if_nameindex): Rename to __if_nameindex and define as weak alias
4534         of __if_nameindex.  Use libc_hidden_weak.
4535         (if_indextoname): Rename to __if_indextoname and define as weak
4536         alias of __if_indextoname.  Use libc_hidden_weak.
4537         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4538         libc_hidden_proto.
4539         [!_ISOMAC] (__if_freenameindex): Likewise.
4540         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4541         if_nametoindex.
4542         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4543         variable.
4544         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4545         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4546         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4547         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4548         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4549         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4550         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4552         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4553         Remove variable.
4554         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4555         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4557 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4559         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4560         subscript above bounds'
4562         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4563         bounds.
4565 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
4567         * libio/tst-fopenloc.c: Use test-skeleton.c.
4569         * stdlib/tst-bsearch.c: Use test-skeleton.c.
4570         (entry): Rename to ITEM.
4571         (do_test, comp): Adjust.
4573         * stdio-common/tst-fseek.c: Use test-skeleton.c.
4575 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4577         * string/tester.c: Include <libc-internal.h>.
4578         (test_memset): Ignore -Wmemset-transposed-args.
4580 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4582         * misc/tst-mntent2.c (do_test): Fix warning.
4584 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4586         * elf/tst-unique4lib.cc(a): Mark as used.
4588 2014-12-16  Florian Weimer  <fweimer@redhat.com>
4590         [BZ #17630]
4591         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4592         names.
4594 2014-12-16  Allan McRae  <allan@archlinux.org>
4596         * stdio-common/Makefile (tests): Re-add bug26.
4598 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
4600         [BZ #17657]
4601         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4602         static array.
4604 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
4606         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4607         (__lll_lock_wait): Likewise.
4608         (__lll_timedlock_wait): Likewise.
4609         (__lll_timedwait_tid): Likewise.
4610         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4611         (__lll_robust_timedlock_wait): Likewise.
4612         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4613         (lll_cond_trylock): Likewise.
4614         (__lll_lock): Likewise.
4615         (__lll_robust_lock): Likewise.
4616         (__lll_cond_lock): Likewise.
4617         (lll_robust_cond_lock): Likewise.
4618         (__lll_timedlock): Likewise.
4619         (__lll_robust_timedlock): Likewise.
4620         (__lll_unlock): Likewise.
4621         (__lll_robust_unlock): Likewise.
4622         (lll_wait_tid): Likewise.
4623         (lll_timedwait_tid): Likewise.
4625 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4627         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4629 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4631         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4633 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4635         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4636         * stdio-common/tst-sprintf.c: Likewise.
4638 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4640         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4642 2014-12-15  Jeff Law  <law@redhat.com>
4644         [BZ #16617]
4645         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4646         on the heap.  (CVE-2012-3406)
4647         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4648         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
4649         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4651 2014-12-15  Will Newton  <will.newton@linaro.org>
4653         * manual/install.texi: Bump required version of texinfo
4654         to 4.7 from 4.5.
4655         * INSTALL: Regenerated.
4656         * configure.ac: Check for makeinfo version 4.7 and above.
4657         * configure: Regenerated.
4659 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4661         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4662         PREFIX, string constant to insert between directory and name.
4663         * sysdeps/posix/shm_open.c: Update caller.
4664         * sysdeps/posix/shm_unlink.c: Likewise.
4665         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4666         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4667         (SEM_SHM_PREFIX): New macro.
4668         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4669         [$(have-thread-library) = no].
4670         * nptl/Makefile (libpthread-routines): Add shm-directory.
4671         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4672         * sysdeps/nptl/shm-directory.h: New file.
4673         * sysdeps/posix/shm-directory.c
4674         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4675         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4676         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4677         INTERNAL_SYSCALL.
4678         (__where_is_shmfs): Function removed.
4679         (mountpoint, defaultmount, defaultdir, __namedsem_once):
4680         Variables removed.
4681         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4682         Use SHM_GET_NAME.
4683         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
4685         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4686         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4687         unconditional for use inside libpthread.
4688         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4690 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4692         * nptl/pthread_getaffinity.c: New file.
4693         * nptl/pthread_setaffinity.c: New file.
4694         * nptl/pthread_getname.c: New file.
4695         * nptl/pthread_setname.c: New file.
4697         * nptl/pthread_create.c (START_THREAD_DEFN)
4698         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4700 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4701             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4703         * resolv/res_send.c (send_vc): Disable warning resplen may
4704         be used uninitialized.
4706 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4708         * nptl/tst-mutex6.c
4709         (ATTR_NULL): New define checks ATTR against NULL.
4710         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4711         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4713 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
4715         [BZ #17581]
4716         * malloc/hooks.c
4717         (mem2mem_check): Revert my previous change.
4718         (malloc_check_get_size): Revert my previous change.
4719         (mem2chunk_check): Revert my previous change.
4721 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4723         * sysdeps/posix/shm-directory.c: New file.
4724         * sysdeps/posix/shm-directory.h: New file.
4725         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4726         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4727         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
4728         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4729         Transmute EPERM to EACCES.
4730         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4731         from ...
4732         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
4733         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4735 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4737         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4738         pointer and cast to uintptr_t.
4739         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4740         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4741         Add cast to avoid warning.
4742         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4744 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4746         * nptl/semaphore.h: Move to ...
4747         * sysdeps/pthread/semaphore.h: ... here.
4748         * Makefile (installed-headers): Change nptl/semaphore.h to
4749         sysdeps/pthread/semaphore.h.
4751 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4753         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4754         generated error format strings.
4756         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4757         -Wformat-extra-args warnings for scanf formats.
4758         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4759         test of zero-length format (duh).
4760         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4761         corner-case scanf format test.
4762         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4763         generated fprintf format string.
4764         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4765         corner-case sprintf format tests.
4766         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4767         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4768         -Wformat-extra-args warnings throughout.
4769         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4770         (CFLAGS-scanf4.c): Likewise.
4771         (CFLAGS-scanf7.c): Likewise.
4772         (CFLAGS-tst-sprintf.c): Likewise.
4773         (CFLAGS-tst-printf.c): Likewise.
4774         (CFLAGS-tst-printfsz.c): Likewise.
4776 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4778         * include/cpio.h: New file.
4779         * include/fmtmsg.h: Likewise.
4781         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
4782         corresponding format argument to size_t.
4783         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
4784         arguments.
4785         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
4786         corresponding format argument to size_t.
4787         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
4788         arguments.
4789         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
4790         corresponding format argument to size_t.
4791         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4792         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4793         (CFLAGS-tst-mbswcs2.c): Likewise.
4794         (CFLAGS-tst-mbswcs3.c): Likewise.
4795         (CFLAGS-tst-mbswcs4.c): Likewise.
4796         (CFLAGS-tst-mbswcs5.c): Likewise.
4797         (CFLAGS-tst-trans.c): Likewise
4799 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4801         * posix/regexbug1.c (main): Use "%s" format with regerror results,
4802         rather than assuming they won't contain any '%'s.
4804 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
4806         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4807         inhibit_loop_to_libcall to avoid recursive calls.
4808         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4809         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4811 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4813         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4814         prototype.
4816 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4818         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4819         integer value instead of boolean.
4821 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4823         * malloc/malloc.c: Fix powerof2 check.
4825 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4827         * locale/programs/locfile.h (maybe_swap_uint32):
4828         Remove inline and add unused attribute.
4830 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4832         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4833         Truncating assembler expression to a .long expression.
4835 2014-12-11  Andreas Schwab  <schwab@suse.de>
4837         * elf/rtld.c (struct map_args): Constify str member.
4838         (do_preload): Constify fname argument.
4840 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4842         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4843         constants definition.
4845 2014-12-11  Andreas Schwab  <schwab@suse.de>
4847         [BZ #16657]
4848         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4849         FORCE_ELISION instead of DO_ELISION.
4850         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4851         Remove.
4852         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4853         Likewise.
4855         * iconvdata/gconv-modules: Remove duplicate entry.
4857 2014-12-11  Will Newton  <will.newton@linaro.org>
4859         Merge gettext 0.19.3 into intl/.
4861         This involves a number of cosmetic changes to comments
4862         and ANSI function definitions and prototypes throughout
4863         all the files. The gettext copyright header is used but
4864         with the date ranges taken from the glibc copy.
4866         * NEWS: Add gettext merge to 2.21.
4867         * intl/bindtextdom.c: Switch to gettext copyright.
4868         Use ANSI definitions and prototypes.
4869         Use gl_* locking primitives rather than __libc_* ones.
4870         Use __builtin_expect rather than __glibc_likely/unlikely.
4871         * intl/dcgettext.c: Switch to gettext copyright.
4872         Use ANSI definitions and prototypes.
4873         * intl/dcigettext.c: Switch to gettext copyright.
4874         Use ANSI definitions and prototypes.
4875         (INTDIV0_RAISES_SIGFPE): New define.
4876         Use gl_* locking primitives rather than __libc_* ones.
4877         Include eval-plural.h instead of plural-eval.c.
4878         Use __builtin_expect rather than __glibc_likely/unlikely.
4879         * intl/dcngettext.c: Switch to gettext copyright.
4880         Use ANSI definitions and prototypes.
4881         * intl/dgettext.c: Likewise.
4882         * intl/dngettext.c: Likewise.
4883         * intl/plural-eval.c: Renamed to...
4884         * intl/eval-plural.h: ...this.
4885         * intl/explodename.c: Switch to gettext copyright.
4886         Use ANSI definitions and prototypes.
4887         (_nl_explode_name): Use strchr instead of __rawmemchr.
4888         * intl/finddomain.c: Switch to gettext copyright.
4889         Use ANSI definitions and prototypes.
4890         Use gl_* locking primitives rather than __libc_* ones.
4891         (_nl_find_domain): Use malloc rather than alloca for
4892         allocation of temporary locale name.
4893         * intl/gettext.c: Switch to gettext copyright.
4894         Use ANSI definitions and prototypes.
4895         * intl/gettextP.h: Switch to gettext copyright.
4896         Use ANSI definitions and prototypes.
4897         Use gl_* locking primitives rather than __libc_* ones.
4898         * intl/gmo.h: Switch to gettext copyright.
4899         (struct sysdep_string): Move struct segment_pair outside of
4900         struct definition.
4901         * intl/hash-string.c: Use ANSI definitions and prototypes.
4902         * intl/hash-string.h: Switch to gettext copyright.
4903         Use ANSI definitions and prototypes.
4904         * intl/l10nflist.c: Switch to gettext copyright.
4905         Use ANSI definitions and prototypes.
4906         (_nl_normalize_codeset): Avoid integer overflow.
4907         * intl/loadinfo.h: Switch to gettext copyright.
4908         Use ANSI definitions and prototypes.
4909         (LIBINTL_DLL_EXPORTED): New define.
4910         (PATH_SEPARATOR): New define.
4911         * intl/loadmsgcat.c: Switch to gettext copyright.
4912         * intl/localealias.c: Switch to gettext copyright.
4913         Use ANSI definitions and prototypes.
4914         (_nl_expand_alias): Use PATH_SEPARATOR.
4915         * intl/ngettext.c: Switch to gettext copyright.
4916         Use ANSI definitions and prototypes.
4917         * intl/plural-exp.c: Likewise.
4918         * intl/plural-exp.h: Switch to gettext copyright.
4919         Use ANSI definitions and prototypes.
4920         (struct expression): Move definition of enum operator outside
4921         of struct definition.
4922         * intl/plural.c: Regenerate.
4923         * intl/plural.y: Switch to gettext copyright.
4924         Use ANSI definitions and prototypes.
4925         Port to bison 3.0.
4926         * intl/textdomain.c: Switch to gettext copyright.
4927         Use ANSI definitions and prototypes.
4928         Use gl_* locking primitives rather than __libc_* ones.
4930 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
4932         * debug/warning-nop.c: Add used atrribute.
4934 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4936         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4938         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4939         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4940         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4942 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4943             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4945         [BZ #17634]
4946         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4947         Undefine after defining function.  Define as weak alias of
4948         __wcschr.  Use libc_hidden_weak.
4949         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
4950         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4951         (libc_hidden_def): Also define __GI___wcschr alias.
4952         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4953         __wcschr and define as weak alias of __wcschr.
4954         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4955         __wcschr.
4956         [!WCSCHR] (DEFAULT_WCSCHR): Define.
4957         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4958         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
4959         libc_hidden_weak.  Do not use libc_hidden_def.
4960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4961         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4962         __GI___wcschr alias.
4963         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4964         [IS_IN (libc)] (wcschr): Define as macro expanding to
4965         __redirect_wcschr.
4966         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4967         [IS_IN (libc)] (__wcschr_power6): Likewise.
4968         [IS_IN (libc)] (__wcschr_power7): Likewise.
4969         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
4970         instead of wcschr.
4971         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4972         __libc_wcschr.
4973         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4974         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4975         __wcschr and define as weak alias of __wcschr.  Use
4976         libc_hidden_builtin_def.
4977         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4978         as weak alias of __wcschr.  Use libc_hidden_weak.
4979         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4980         wcschr.
4981         * time/era.c (_nl_init_era_entries): Likewise.
4982         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4983         variable.
4984         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4985         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4987 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4989         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4990         format for long int variable.
4992 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
4994         [BZ #10672]
4995         * manual/search.texi: (Array Sort Function): Remove claim how to make
4996         qsort stable.
4998 2014-12-10  Andreas Schwab  <schwab@suse.de>
5000         [BZ #12847]
5001         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5002         user-controlled locks.
5004 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
5006         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5007         register.
5009 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5011         * configure.ac (--disable-werror): New configure option.
5012         (enable_werror): New AC_SUBST.
5013         * configure: Regenerated.
5014         * config.make.in (enable-werror): New variable.
5015         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5016         -Wno-error=undef.
5017         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5018         * manual/install.texi (Configuring and compiling): Document
5019         --disable-werror.
5020         * INSTALL: Regenerated.
5021         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5022         (CFLAGS-tst-chk2.c): Likewise.
5023         (CFLAGS-tst-chk3.c): Likewise.
5024         (CFLAGS-tst-chk4.cc): Likewise.
5025         (CFLAGS-tst-chk5.cc): Likewise.
5026         (CFLAGS-tst-chk6.cc): Likewise.
5027         (CFLAGS-tst-lfschk1.c): Likewise.
5028         (CFLAGS-tst-lfschk2.c): Likewise.
5029         (CFLAGS-tst-lfschk3.c): Likewise.
5030         (CFLAGS-tst-lfschk4.cc): Likewise.
5031         (CFLAGS-tst-lfschk5.cc): Likewise.
5032         (CFLAGS-tst-lfschk6.cc): Likewise.
5034         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5035         (main): Disable -Wdeprecated-declarations around calls to
5036         register_printf_function.
5038         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5039         (do_test): Disable -Wdiv-by-zero around some calls to
5040         fwrite_unlocked and fread_unlocked.
5042         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5043         (DIAG_POP_NEEDS_COMMENT): Likewise.
5044         (_DIAG_STR1): Likewise.
5045         (_DIAG_STR): Likewise.
5046         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5047         * stdio-common/bug21.c: Include <libc-internal.h>.
5048         (do_test): Disable -Wformat around call to sscanf.
5049         * stdio-common/scanf14.c: Include <libc-internal.h>.
5050         (main): Disable -Wformat around some calls to scanf functions.
5052 2014-12-09  Torvald Riegel  <triegel@redhat.com>
5054         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5056 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5058         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5059         stack variable alignment.
5061 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
5063         [BZ #17682]
5064         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5065         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5066         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5067         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5068         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5069         __getrlimit instead of getrlimit.
5070         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5071         __gettimeofday instead of gettimeofday.
5072         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5073         Likewise.
5074         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5075         Likewise.
5076         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5077         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5078         Remove variable.
5079         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5080         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5082 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5084         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5085         for wide-character tests.
5087 2014-12-04  Roland McGrath  <roland@hack.frob.com>
5089         * io/openat64.c: #include <libc-internal.h>
5090         (__openat64): Prototypify.  Use ignore_value on MODE.
5091         * io/openat.c: Likewise.
5092         * misc/reboot.c: #include <libc-internal.h>
5093         (reboot): Prototypify.  Use ignore_value on HOWTO.
5094         * misc/ptrace.c: #include <libc-internal.h>
5095         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
5097 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
5099         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5100         XPG4, UNIX98 and XOPEN2K.
5101         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5102         Remove variable.
5103         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5105 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5107         * libio/fileops.c: Use ISO C style for function definitions.
5108         * libio/iofopen.c: Likewise.
5109         * libio/wfileops.c: Likewise.
5111         [BZ #17653]
5112         * libio/fileops.c (_IO_new_file_underflow): Unset cached
5113         offset on EOF.
5114         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5115         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
5116         (fgets_func): Function pointer to fgets and fgetws.
5117         (do_ftell_test): Add test to verify ftell value after read
5118         EOF.
5119         (do_test): Set fgets_func.
5121         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
5122         O_TRUNC flag for w and w+ modes.
5123         (do_rewind_test): Likewise.
5124         (do_ftell_test): Likewise.
5125         (do_write_test): Likewise.
5127         [BZ #17647]
5128         * libio/fileops.c (do_ftell): Seek only when there are
5129         unflushed writes.
5130         * libio/wfileops.c (do_ftell_wide): Likewise.
5131         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
5132         test case.
5133         (do_one_test): Call it.
5135 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
5137         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
5138         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
5139         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
5140         Remove variable.
5141         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5142         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5143         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5145 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
5147         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
5148         Remove variable.
5149         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5151         [BZ #17668]
5152         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
5153         as weak alias of __getifaddrs.  Use libc_hidden_weak.
5154         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5155         __freeifaddrs.  Use libc_hidden_weak.
5156         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
5157         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
5158         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5159         __freeifaddrs.  Use libc_hidden_weak.
5160         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
5161         __getifaddrs and define as weak alias of __getifaddrs.  Use
5162         libc_hidden_weak.
5163         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5164         __freeifaddrs.  Use libc_hidden_weak.
5165         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
5166         Remove variable.
5167         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5168         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5170 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
5172         [BZ #17601]
5173         * sysdeps/mips/start.S (__start): Use indirect jump to call
5174         __libc_start_main.
5176 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
5178         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
5180         * nptl/tst-mutex1.c: Include <stdbool.h>.
5181         [!ATTR] (ATTR_NULL): New macro.
5182         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
5183         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
5184         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
5186         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
5187         to char *.
5189         [BZ #17665]
5190         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
5191         Change conditional to [__USE_MISC].
5193         [BZ #17664]
5194         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
5195         fgets_unlocked.
5196         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
5197         __fgets_unlocked.
5198         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
5199         fgets_unlocked.
5200         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
5201         Remove variable.
5202         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5203         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5204         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5205         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5206         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5207         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5208         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5209         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5210         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5212         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5214 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5216         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5217         Remove strpbrk objects.
5218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5219         (__libc_ifunc_impl_list): Remove strpbrk implementation.
5220         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5221         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5222         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5223         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5225         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5226         Remove strcspn objects.
5227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5228         (__libc_ifunc_impl_list): Remove strcspn implementation.
5229         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5230         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5231         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5232         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
5234         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5235         Remove strspn objetcs.
5236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5237         (__libc_ifunc_impl_list): Remove strspn implementation.
5238         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5239         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5240         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5241         * sysdeps/powerpc/powerpc64/strspn.S: New file.
5243 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
5245         [BZ #17581]
5246         * malloc/hooks.c
5247         (mem2mem_check): Add a terminator to the chain of checking blocks.
5248         (malloc_check_get_size): Use it here.
5249         (mem2chunk_check): Ditto.
5251 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5253         * sysdeps/powerpc/powerpc64/strtok.S: New file.
5254         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5256 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
5258         * bits/ioctl-types.h: Indent preprocessor directives correctly.
5260         * nptl/nptl-init.c: Include libc-internal.h.
5261         (__pthread_initialize_minimal_internal): Use ROUND_UP.
5263         * elf/ldconfig.c (search_dir): Expand comment.
5265 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
5267         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5268         variable.
5269         (linknamespace-symlist-stdlibs-tests): Likewise.
5270         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5271         instead of $(objpfx)symlist-stdlibs.
5272         (linknamespace-libs-isoc): New variable.
5273         (linknamespace-libs): Use $(linknamespace-libs-isoc).
5274         (linknamespace-libs-ISO): New variable.
5275         (linknamespace-libs-ISO99): Likewise.
5276         (linknamespace-libs-ISO11): Likewise.
5277         (linknamespace-libs-XPG3): Likewise.
5278         (linknamespace-libs-XPG4): Likewise.
5279         (linknamespace-libs-POSIX): Likewise.
5280         (linknamespace-libs-UNIX98): Likewise.
5281         (linknamespace-libs-XOPEN2K): Likewise.
5282         (linknamespace-libs-POSIX2008): Likewise.
5283         (linknamespace-libs-XOPEN2K8): Likewise.
5284         ($(objpfx)symlist-stdlibs): Replace by
5285         $(linknamespace-symlist-stdlibs-tests).  Use
5286         $(linknamespace-libs-$*) as set of libraries.
5287         ($(linknamespace-header-tests)): Update dependencies.  Use
5288         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5289         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5290         * conform/linknamespace.pl: Remove comment about considering
5291         definitions of symbols from irrelevant libraries.
5293 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5295         [BZ #13862]
5296         * elf/dl-tls.c: Include <atomic.h>.
5297         (oom): Remove #ifdef SHARED/#endif.
5298         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5299         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
5300         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5301         big enough.
5302         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5303         * nptl/Makefile (tests): Add tst-stack4.
5304         (modules-names): Add tst-stack4mod.
5305         ($(objpfx)tst-stack4): New.
5306         (tst-stack4mod.sos): Likewise.
5307         ($(objpfx)tst-stack4.out): Likewise.
5308         ($(tst-stack4mod.sos)): Likewise.
5309         (clean): Likewise.
5310         * nptl/tst-stack4.c: New file.
5311         * nptl/tst-stack4mod.c: Likewise.
5313 2014-11-27  J. Brown  <jb999@gmx.de>
5315         * sysdeps/x86/bits/string.h: Add recent CPUs.
5317 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
5319         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5320         sigblock.
5322         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5323         feof.
5325         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5326         variable.
5328 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5330         * nscd/connections.c: Include libc-internal.h because of macro
5331         usage ignore_value.
5333 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5335         * string/bits/string3.h (__warn_memset_zero_len): Don't
5336         declare for gcc newer than 5.0.
5337         (memset): Don't test for zero-length __LEN for gcc newer than
5338         5.0.
5340 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
5342         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5343         size_t for %zu format.
5345         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5346         difference, not %ju.
5348 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
5350         * include/libc-internal.h (ignore_value): New macro.
5351         * nscd/connections.c (restart): Wrap calls to setuid and setgid
5352         with ignore_value.
5354         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5355         definition.
5357         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5358         pthread_cleanup_push to void *.
5360         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5361         Undefine.
5363         [BZ #16619]
5364         [BZ #16740]
5365         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5366         instead of 1L << 52.
5368         * libio/bug-rewind.c (do_test): Check fwscanf return values.
5369         * libio/bug-rewind2.c (do_test): Likewise.
5371         * debug/test-stpcpy_chk-ifunc.c: Remove file.
5372         * debug/test-strcpy_chk-ifunc.c: Likewise.
5373         * wcsmbs/test-wcschr-ifunc.c: Likewise.
5374         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5375         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5376         * wcsmbs/test-wcslen-ifunc.c: Likewise.
5377         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5378         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5379         * Rules [$(multi-arch) = no] (tests): Do not filter out
5380         $(tests-ifunc).
5381         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5382         * debug/Makefile (tests-ifunc): Remove variable.
5383         (tests): Do not add $(tests-ifunc).
5384         * wcsmbs/Makefile (tests-ifunc): Remove variable.
5385         (tests): Do not add $(tests-ifunc).
5386         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5387         [TEST_IFUNC]: Remove conditionals.
5388         * string/test-string.h (TEST_IFUNC): Remove macro.
5389         [TEST_IFUNC]: Remove conditionals.
5391         * string/test-strchr.c [!WIDE] (L): New macro.
5392         [WIDE] (L): Likewise.
5393         (check1): Use CHAR instead of char.  Use L on string and character
5394         constants.
5396 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
5398         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5399         tests.
5400         * sysdeps/powerpc/bits/atomic.h
5401         (__arch_atomic_exchange_and_add_32_acq): Add definition.
5402         (__arch_atomic_exchange_and_add_32_rel): Likewise.
5403         (atomic_exchange_and_add_acq): Likewise.
5404         (atomic_exchange_and_add_rel): Likewise.
5405         * sysdeps/powerpc/powerpc32/bits/atomic.h
5406         (__arch_atomic_exchange_and_add_64_acq): Add definition.
5407         (__arch_atomic_exchange_and_add_64_rel): Likewise.
5408         * sysdeps/powerpc/powerpc64/bits/atomic.h
5409         (__arch_atomic_exchange_and_add_64_acq): Add definition.
5410         (__arch_atomic_exchange_and_add_64_rel): Likewise.
5412 2014-11-26  Torvald Riegel  <triegel@redhat.com>
5414         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5415         Change synchronization of __sched_fifo_min_prio and
5416         __sched_fifo_max_prio.
5417         * nptl/pthread_mutexattr_getprioceiling.c
5418         (pthread_mutexattr_getprioceiling): Likewise.
5419         * nptl/pthread_mutexattr_setprioceiling.c
5420         (pthread_mutexattr_setprioceiling): Likewise.
5421         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5422         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5423         Likewise.
5425 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
5427         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5428         void.
5430 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
5432         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5433         third argument const.
5435 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
5437         fnmatch: work around GCC compiler warning bug with uninit var
5438         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5439         This works around a bug with x86-64 GCC 4.9.2 and earlier
5440         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5441         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5442         used uninitialized in this function [-Wmaybe-uninitialized]".
5444 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
5446         * posix/bug-regex31.c (main): Return RES not 0.
5448 2014-11-25  Anton Blanchard <anton@samba.org>
5450         * sysdeps/powerpc/bits/atomic.h
5451         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5453 2014-11-24  Sterling Augustine  <saugustine@google.com>
5455         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5457 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
5459         [BZ #17608]
5460         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5462 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
5464         [BZ #17633]
5465         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5466         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5467         variable.
5468         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5469         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5471 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
5473         * string/strncpy.c (strncpy): Improve performance by using memset.
5475 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
5477         * string/strcpy.c (strcpy):
5478         Improve performance by using strlen and memcpy.
5480 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
5482         * string/strcoll_l.c (get_next_seq): __always_inline.
5483         * string/strcoll_l.c (do_compare): __always_inline.
5485 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5487         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5488         defined.
5489         * include/mqueue.h: Likewise.
5490         * include/stdlib.h: Likewise.
5492         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5493         (get_null_defines): Adjust.
5494         * sunrpc/Makefile: Adjust comment.
5495         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5496         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5497         (CFLAGS-interp.c): Likewise.
5498         (CFLAGS-ldconfig.c): Likewise.
5499         (CPPFLAGS-.os): Likewise.
5500         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5501         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5502         * extra-modules.mk (extra-modules.mk): Likewise.
5503         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5504         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5505         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5506         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5507         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5508         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5509         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5510         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5511         * iconvdata/Makefile (CPPFLAGS): Likewise.
5512         (cpp-srcs-left): Add libof for all iconvdata routines.
5513         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5514         * include/assert.h: Likewise.
5515         * include/ctype.h: Likewise.
5516         * include/errno.h: Likewise.
5517         * include/libc-symbols.h: Likewise.
5518         * include/math.h: Likewise.
5519         * include/netdb.h: Likewise.
5520         * include/resolv.h: Likewise.
5521         * include/stdio.h: Likewise.
5522         * include/stdlib.h: Likewise.
5523         * include/string.h: Likewise.
5524         * include/sys/stat.h: Likewise.
5525         * include/wctype.h: Likewise.
5526         * intl/l10nflist.c: Likewise.
5527         * libidn/idn-stub.c: Likewise.
5528         * libio/libioP.h: Likewise.
5529         * nptl/libc_multiple_threads.c: Likewise.
5530         * nptl/pthreadP.h: Likewise.
5531         * posix/regex_internal.h: Likewise.
5532         * resolv/res_hconf.c: Likewise.
5533         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5534         * sysdeps/arm/memmove.S: Likewise.
5535         * sysdeps/arm/sysdep.h: Likewise.
5536         * sysdeps/generic/_itoa.h: Likewise.
5537         * sysdeps/generic/symbol-hacks.h: Likewise.
5538         * sysdeps/gnu/errlist.awk: Likewise.
5539         * sysdeps/gnu/errlist.c: Likewise.
5540         * sysdeps/i386/i586/memcpy.S: Likewise.
5541         * sysdeps/i386/i586/memset.S: Likewise.
5542         * sysdeps/i386/i686/memcpy.S: Likewise.
5543         * sysdeps/i386/i686/memmove.S: Likewise.
5544         * sysdeps/i386/i686/mempcpy.S: Likewise.
5545         * sysdeps/i386/i686/memset.S: Likewise.
5546         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5547         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5548         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5549         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5550         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5551         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5552         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5553         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5554         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5555         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5556         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5557         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5558         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5559         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5560         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5561         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5562         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5563         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5564         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5565         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5566         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5567         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5568         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5569         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5570         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5571         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5572         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5573         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5574         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5575         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5576         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5577         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5578         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5579         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5580         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5581         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5582         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5583         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5584         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5585         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5586         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5587         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5588         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5589         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5590         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5591         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5592         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5593         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5594         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5595         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5596         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5597         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5598         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5599         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5600         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5601         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5602         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5603         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5604         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5605         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5606         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5607         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5608         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5609         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5610         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5611         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5612         * sysdeps/posix/closedir.c: Likewise.
5613         * sysdeps/posix/opendir.c: Likewise.
5614         * sysdeps/posix/readdir.c: Likewise.
5615         * sysdeps/posix/rewinddir.c: Likewise.
5616         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5617         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5618         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5619         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5620         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5621         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5622         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5623         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5624         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5625         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5626         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5627         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5628         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5629         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5630         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5631         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5632         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5633         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5634         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5635         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5636         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5637         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5638         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5639         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5640         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5641         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5642         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5643         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5644         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5649         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5650         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5651         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5652         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5653         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5654         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5655         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5656         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5657         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5658         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5659         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5660         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5661         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5662         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5663         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5664         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5665         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5666         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5667         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5668         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5669         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5670         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5671         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5672         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5673         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5674         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5675         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5676         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5677         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5678         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5679         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5680         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5681         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5682         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5683         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5684         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5685         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5686         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5687         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5688         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5689         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5690         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5691         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5692         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5693         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5694         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5695         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5696         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5697         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5698         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5699         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5700         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5701         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5702         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5703         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5704         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5705         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5706         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5707         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5708         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5709         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5710         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5711         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5712         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5713         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5714         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5715         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5716         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5717         * sysdeps/unix/alpha/sysdep.S: Likewise.
5718         * sysdeps/unix/alpha/sysdep.h: Likewise.
5719         * sysdeps/unix/make-syscalls.sh: Likewise.
5720         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5722         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5723         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5724         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5725         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5726         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5727         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5728         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5729         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5730         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5731         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5732         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5733         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5734         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5735         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5736         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5737         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5738         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5739         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5740         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5741         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5742         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5743         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5744         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5745         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5746         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5749         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5750         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5752         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5753         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5754         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5755         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5756         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5757         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5758         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5759         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5760         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5761         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5762         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5763         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5764         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5765         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5766         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5767         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5770         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5771         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5772         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5773         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5774         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5775         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5776         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5777         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5778         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5779         * sysdeps/x86_64/memcpy.S: Likewise.
5780         * sysdeps/x86_64/memmove.c: Likewise.
5781         * sysdeps/x86_64/memset.S: Likewise.
5782         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5783         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5784         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5785         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5786         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5787         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5788         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5789         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5790         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5791         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5792         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5793         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5794         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5795         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5796         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5797         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5798         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5799         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5800         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5801         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5802         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5803         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5804         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5805         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5806         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5807         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5808         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5809         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5810         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5811         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5812         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5813         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5814         * sysdeps/x86_64/strcmp.S: Likewise.
5816         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5818         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5819         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5820         * elf/rtld-Rules: Likewise.
5821         * elf/setup-vdso.h: Likewise.
5822         * include/assert.h: Likewise.
5823         * include/bits/stdlib-float.h: Likewise.
5824         * include/errno.h: Likewise.
5825         * include/sys/stat.h: Likewise.
5826         * include/unistd.h: Likewise.
5827         * sysdeps/aarch64/setjmp.S: Likewise.
5828         * sysdeps/alpha/setjmp.S: Likewise.
5829         * sysdeps/arm/__longjmp.S: Likewise.
5830         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5831         * sysdeps/arm/setjmp.S: Likewise.
5832         * sysdeps/arm/sysdep.h: Likewise.
5833         * sysdeps/generic/_itoa.h: Likewise.
5834         * sysdeps/generic/dl-sysdep.h: Likewise.
5835         * sysdeps/generic/ldsodefs.h: Likewise.
5836         * sysdeps/i386/dl-tls.h: Likewise.
5837         * sysdeps/i386/setjmp.S: Likewise.
5838         * sysdeps/m68k/setjmp.c: Likewise.
5839         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5840         * sysdeps/mach/hurd/opendir.c: Likewise.
5841         * sysdeps/posix/getcwd.c: Likewise.
5842         * sysdeps/posix/opendir.c: Likewise.
5843         * sysdeps/posix/profil.c: Likewise.
5844         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5845         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5846         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5847         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5848         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5849         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5850         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5851         * sysdeps/s390/dl-tls.h: Likewise.
5852         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5853         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5854         * sysdeps/sh/sh3/setjmp.S: Likewise.
5855         * sysdeps/sh/sh4/setjmp.S: Likewise.
5856         * sysdeps/unix/alpha/sysdep.h: Likewise.
5857         * sysdeps/unix/arm/sysdep.S: Likewise.
5858         * sysdeps/unix/i386/sysdep.S: Likewise.
5859         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5860         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5861         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5862         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5863         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5864         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5865         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5866         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5867         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5868         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5869         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5870         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5871         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5874         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5876         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5877         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5878         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5879         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5880         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5882         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5883         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5884         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5885         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5886         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5887         * sysdeps/x86_64/setjmp.S: Likewise.
5889         * include/math.h: Use IS_IN instead of IS_IN_libm.
5890         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5891         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5892         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5893         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5894         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5895         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5896         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5897         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5898         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5899         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5900         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5901         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5902         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5903         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5904         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5905         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5906         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5907         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5908         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5909         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5910         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5911         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5912         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5913         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5914         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5915         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5916         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5917         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5918         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5919         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5920         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5921         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5922         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5924         Likewise.
5925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5926         Likewise.
5927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5928         Likewise.
5929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5930         Likewise.
5931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5932         Likewise.
5933         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5934         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5935         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5936         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5937         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5938         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5944         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5945         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5946         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5947         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5948         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5949         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5950         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5951         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5952         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5953         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5954         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5955         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5956         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5957         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5959         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5961         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5962         * nptl/pthreadP.h: Likewise.
5963         * nptl_db/structs.def: Likewise.
5964         * sysdeps/arm/sysdep.h: Likewise.
5965         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5966         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5967         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5968         * sysdeps/unix/alpha/sysdep.h: Likewise.
5969         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5970         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5971         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5972         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5973         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5974         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5975         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5976         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5977         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5978         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5979         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5980         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5981         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5982         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5985         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5986         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5987         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5988         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5989         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5990         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5991         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5992         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5993         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5994         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5996         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5997         * nptl/pthreadP.h: Likewise.
5998         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5999         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6000         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6001         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6002         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6003         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6004         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6005         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6006         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6007         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6008         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6009         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6011         Likewise.
6012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6013         Likewise.
6014         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6015         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6016         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6017         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6018         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6019         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6020         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6021         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6023         * dlfcn/dladdr.c: Use IS_IN.
6024         * dlfcn/dladdr1.c: Likewise.
6025         * dlfcn/dlclose.c: Likewise.
6026         * dlfcn/dlerror.c: Likewise.
6027         * dlfcn/dlinfo.c: Likewise.
6028         * dlfcn/dlmopen.c: Likewise.
6029         * dlfcn/dlopen.c: Likewise.
6030         * dlfcn/dlsym.c: Likewise.
6031         * dlfcn/dlvsym.c: Likewise.
6033         * include/ifaddrs.h: Use IS_IN.
6034         * inet/check_pf.c: Likewise.
6035         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6036         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6038         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6039         IS_IN_ldconfig.
6040         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6041         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6043         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6044         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6045         IS_IN (libc).
6047         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6049         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6050         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6051         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6052         * include/libc-symbols.h (IS_IN_LIB): New macro.
6053         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6054         * include/netdb.h: Likewise.
6055         * include/stap-probe.h: Remove all uses of IN_LIB.
6057         * Makeconfig (module-cppflags-real): Define MODULE_NAME
6058         instead of IN_MODULE.
6059         * include/libc-symbols.h (IN_MODULE): Define using
6060         MODULE_NAME.
6061         (PASTE_NAME, PASTE_NAME1): New macros.
6062         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6063         of IN_LIB.
6064         (STAP_PROBE_ASM): Likewise.
6066 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6068         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6069         __mach_init in dlopened libc.
6071 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
6073         * sysdeps/arm/preconfigure.ac: Delete EABI check.
6074         * sysdeps/arm/preconfigure: Regenerate.
6076 2014-11-21  Roland McGrath  <roland@hack.frob.com>
6078         * nptl/pthread_create.c (__pthread_create_2_1): Set
6079         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6080         when copying values from IATTR into PD.
6082 2014-11-21  Will Newton  <will.newton@linaro.org>
6083             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6085         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6086         Refactor inline-asm.  Also add comment.
6088         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6089         ElfW macro instead of hardcoded Elf64 types.
6090         (la_aarch64_gnu_pltenter): Likewise.
6091         * sysdeps/aarch64/dl-machine.h
6092         (elf_machine_runtime_setup): Use ElfW(Addr).
6094         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6095         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6096         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6097         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6098         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6099         (R_AARCH64_TLS_DTPMOD64): Rename to ..
6100         (R_AARCH64_TLS_DTPMOD): This.
6101         (R_AARCH64_TLS_DTPREL64): Rename to ...
6102         (R_AARCH64_TLS_DTPREL): This.
6103         (R_AARCH64_TLS_TPREL64): Rename to ...
6104         (R_AARCH64_TLS_TPREL): This.
6105         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
6106         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
6107         R_AARCH64_TLS_TPREL64.
6108         (elf_machine_rela): Likewise.
6110 2014-11-21  Torvald Riegel  <triegel@redhat.com>
6112         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
6113         by setting it to 0.  64b atomics are not supported currently.
6115 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6117         [BZ #16469]
6118         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
6119         search domain names.
6121 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6123         [BZ #16469]
6124         * NEWS: Update.
6125         * resolv/res_query.c (__libc_res_nquerydomain): Retain
6126         trailing dot.
6127         * posix/tst-getaddrinfo5.c: New.
6128         * posix/Makefile (tests): Add it.
6130 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6132         [BZ #14498]
6133         * NEWS: Fixed.
6134         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
6135         after parsing line but before break_if_match.
6136         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
6137         if there is a protocol mismatch.
6139 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
6141         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
6142         because the potential race is on the user-supplied stream.
6144 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6146         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
6147         string literal if not passed a buffer.
6148         * manual/job.texi (ctermid): Update reasoning, note deviation
6149         from posix, suggest mtasurace when not passed a buffer, for
6150         future non-preliminary safety notes.
6152 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6154         * manual/users.texi (cuserid): Fix MT-Safety note for the case
6155         of not passing it a buffer.
6156         Reported by Peng Haitao.
6158 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6160         * manual/Makefile ($(objpfx)stamp-summary): Require
6161         check-safety.sh to pass.
6162         * manual/check-safety.sh: Wish for verification that every
6163         @deftypefn and @deftypefun is followed by a @safety remark.
6165 2014-11-20  Roland McGrath  <roland@hack.frob.com>
6167         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
6169         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
6170         PTHREAD_CANCEL_ASYNCHRONOUS.
6171         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
6172         send SIGCANCEL.
6174         * nptl/default-sched.h: New file.
6175         * sysdeps/unix/sysv/linux/default-sched.h: New file.
6176         * nptl/pthread_create.c: Include it.
6177         (__pthread_create_2_1): Use collect_default_sched instead of making
6178         Linux syscalls here directly.
6180 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6182         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
6183         __pthread_once): Use C11 atomics.
6185 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6187         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
6189 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6191         * include/atomic.h (__atomic_link_error, __atomic_check_size,
6192         atomic_thread_fence_acquire, atomic_thread_fence_release,
6193         atomic_thread_fence_seq_cst, atomic_load_relaxed,
6194         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
6195         atomic_compare_exchange_weak_relaxed,
6196         atomic_compare_exchange_weak_acquire,
6197         atomic_compare_exchange_weak_release,
6198         atomic_exchange_acquire, atomic_exchange_release,
6199         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
6200         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
6201         atomic_fetch_and_acquire,
6202         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
6204 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6206         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
6207         USE_ATOMIC_COMPILER_BUILTINS): Define.
6208         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6209         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6210         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
6211         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6212         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6213         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6214         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6215         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6216         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6217         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6218         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6219         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6220         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6221         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6222         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6224         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6225         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6226         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6228         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6230         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6231         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6232         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6234         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6236         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6237         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6238         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6240         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6241         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6242         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6243         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6244         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6246         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6247         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6249 2014-11-19  Roland McGrath  <roland@hack.frob.com>
6251         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6252         the sched_priority value here.  It was already checked when the user
6253         called pthread_attr_setschedparam.
6255         * nptl/tst-bad-schedattr.c: New file.
6256         * nptl/Makefile (tests): Add it.
6258 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
6259             Florian Weimer  <fweimer@redhat.com>
6260             Joseph Myers  <joseph@codesourcery.com>
6261             Adam Conrad  <adconrad@0c3.net>
6262             Andreas Schwab  <schwab@suse.de>
6263             Brooks  <bmoses@google.com>
6265         [BZ #17625]
6266         * wordexp-test.c (__dso_handle): Add prototype.
6267         (__register_atfork): Likewise.
6268         (__app_register_atfork): New function.
6269         (registered_forks): New global.
6270         (register_fork): New function.
6271         (test_case): Add 3 new tests for WRDE_CMDSUB.
6272         (main): Call __app_register_atfork.
6273         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6274         fork count is non-zero fail the test.
6275         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6276         is set.
6277         (parse_dollars): Remove check for WRDE_NOCMD.
6278         (parse_dquote): Likewise.
6280 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6282         * Makeconfig (built-modules): List non-library modules to be
6283         built.
6284         (module-cppflags): Include libc-modules.h for
6285         everything except shlib-versions.v.i.
6286         (CPPFLAGS): Use it.
6287         (before-compile): Add libc-modules.h.
6288         ($(common-objpfx)libc-modules.h,
6289         $(common-objpfx)libc-modules.stmp): New targets.
6290         (common-generated): Add libc-modules.h and libc-modules.stmp.
6291         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6292         * include/libc-symbols.h: Don't include libc-modules.h.
6293         * include/libc-modules.h: Remove file.
6294         * scripts/gen-libc-modules.awk: New script to generate
6295         libc-modules.h.
6296         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6297         Depend on libc-modules.stmp.
6299         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6301         * Makeconfig (in-module): Get value of libof set for the
6302         translation unit.
6303         (CPPFLAGS): Use $(in-module).
6304         * Makerules: Don't suffix routine names for nonlib.
6305         * include/libc-modules.h: New file.
6306         * include/libc-symbols.h: Include libc-modules.h
6307         (IS_IN): New macro to replace IS_IN_* macros.
6308         * elf/Makefile: Set libof-* for each routine.
6309         * elf/rtld-Rules: Likewise.
6310         * extra-modules.mk: Likewise.
6311         * iconv/Makefile: Likewise.
6312         * iconvdata/Makefile: Likewise.
6313         * locale/Makefile: Likewise.
6314         * malloc/Makefile: Likewise.
6315         * nss/Makefile: Likewise.
6316         * sysdeps/gnu/Makefile: Likewise.
6317         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6318         * sysdeps/unix/sysv/linux/Makefile: Likewise.
6319         * sysdeps/s390/s390-64/Makefile: Likewise.
6320         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
6321         CPPFLAGS for nscd instead of nonlib.
6323 2014-11-18  Roland McGrath  <roland@hack.frob.com>
6325         * nptl/createthread.c: New file.
6327         * nptl/createthread.c: Moved ...
6328         * sysdeps/unix/sysv/linux/createthread.c: ... here.
6330         * nptl/createthread.c: Add proper top-line comment.
6331         (do_clone): Folded into ...
6332         (create_thread): ... here.  Take new arguments STOPPED_START and
6333         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
6334         increment __nptl_threads, do event-reporting logic, do
6335         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6336         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
6337         resource cleanup if sched_setaffinity or sched_setscheduler fails,
6338         just send SIGCANCEL.
6339         * nptl/pthread_create.c: Forward-declare create_thread before
6340         including createthread.c.
6341         (start_thread): Use new macro START_THREAD_DEFN to replace defining
6342         declaration, and new macro START_THREAD_SELF to replace argument.
6343         Remove return statement.
6344         (report_thread_creation): New function.
6345         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
6346         synchronization logic, and __nptl_nthreads increment here, around
6347         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
6348         PD->parent_cancelhandling here, before create_thread.  When
6349         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6350         __deallocate_stack, and ENOMEM translation here.
6352 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
6354         [BZ #17616]
6355         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6356         (mptwo): Rename to __mptwo.
6357         (__inv): Use __mptwo instead of mptwo.
6358         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6359         (mptwo): Rename to __mptwo.
6360         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6361         of mpone and __mptwo instead of mptwo.
6362         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6363         instead of mpone.
6364         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6365         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6366         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6367         of mpone and __mptwo instead of mptwo.
6368         (__mpranred): Use __mpone instead of mpone.
6369         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6370         variable.
6371         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6372         (test-xfail-ISO99/math.h/linknamespace): Likewise.
6373         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6374         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6375         (test-xfail-ISO11/math.h/linknamespace): Likewise.
6376         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6377         (test-xfail-XPG3/math.h/linknamespace): Likewise.
6378         (test-xfail-XPG4/math.h/linknamespace): Likewise.
6379         (test-xfail-POSIX/math.h/linknamespace): Likewise.
6380         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6381         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6382         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6383         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6384         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6385         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6386         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6387         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6388         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6389         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6391 2014-11-18  Tom de Vries  <tom@codesoucery.com>
6393         * manual/signal.texi (Primitives Interrupted by Signals): In section,
6394         replace BSD Handler xref with BSD Signal Handling.
6396 2014-11-17  Richard Henderson  <rth@redhat.com>
6398         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6399         (_FP_PACK_RAW_2): Remove.
6400         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6401         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6402         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6403         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6404         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6405         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6406         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6407         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6408         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6409         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6410         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6411         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6412         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6413         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6414         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6415         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6417 2014-11-14  Roland McGrath  <roland@hack.frob.com>
6419         * signal/signal.h [__USE_MISC]
6420         (struct sigvec): Remove type.
6421         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6422         (sigvec): Remove declaration.
6423         * sysdeps/posix/sigvec.c: Moved ...
6424         * signal/sigvec.c: ... here, replacing old file.
6425         (struct sigvec): New type, copied from old signal.h definition.
6426         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6427         (__sigvec): Convert definition to prototype.
6428         (sigvec): Replace weak_alias with compat_symbol.
6429         * signal/Versions (libc: GLIBC_2.21): New version set.
6430         * include/signal.h: Remove __sigvec declaration.
6431         * sysdeps/unix/bsd/sigvec.c: Remove file.
6432         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6433         * manual/signal.texi (BSD Handler): Remove subsection.
6434         Move siginterrupt up to ...
6435         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
6436         (Blocking in BSD): Fold subsection into its parent.
6437         * NEWS: Mention sigvec removal.
6439 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
6441         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6442         (DLA_FMS): Make definition conditional only on [__FMA4__].
6443         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6444         definition.
6446         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6447         Make definition conditional only on [PROF].
6448         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6449         definition.
6450         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6451         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6453         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6454         !__GNUC__].
6455         * include/signal.h (__sigpause): Move declaration above call to
6456         libc_hidden_proto.
6457         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6458         variable.
6459         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6460         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6462 2014-11-14  David S. Miller  <davem@davemloft.net>
6464         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6465         Define before including <string/memcpy.c> and <string/mempcpy.c>.
6467 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
6469         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6470         * configure: Regenerated.
6471         * manual/install.texi (Tools for Compilation): Document a
6472         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6473         compiler verified to work.
6474         * INSTALL: Regenerated.
6476         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6477         redeclare with asm name.
6478         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6479         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6480         including <string.h>.
6481         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6482         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6483         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6484         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6485         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6486         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6487         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6489 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
6491         * stdlib/strtol.c (__strtol): Use prototype definition.
6493         [BZ #17594]
6494         * stdlib/strtol.c (SYM__): New macro.
6495         (SYM__1): Likewise.
6496         (__strtol): Likewise.
6497         (strtol): Rename to __strtol and define as weak alias of
6498         __strtol.  Use libc_hidden_weak.
6500 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6502         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6503         Use numbered labels in inline assembly.
6505 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6507         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6508         Add setjmp LIBC_PROBE.
6509         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6510         Likewise.
6511         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6512         Add longjmp, longjmp_target LIBC_PROBE.
6513         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6514         Likewise.
6516 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6518         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6519         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6520         to get rid of unused variable warning.
6522 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6524         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6525         Check for unwind_backtrace ==  NULL only in SHARED case.
6526         (__backchain_backtrace): Compile only in SHARED case.
6527         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6528         Likewise.
6529         (__backchain_backtrace): Declare as static.
6531 2014-11-12  Roland McGrath  <roland@hack.frob.com>
6533         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6534         (__libc_multiple_threads_ptr): Variable moved ...
6535         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6537 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
6539         * conform/GlibcConform.pm: New file.
6540         * conform/conformtest.pl: Use GlibcConform module.
6541         * conform/linknamespace.pl: New file.
6542         * conform/list-header-symbols.pl: Likewise.
6543         * conform/Makefile (linknamespace-symlists-base): New variable.
6544         (linknamespace-symlists-tests): Likewise.
6545         (linknamespace-header-base): Likewise.
6546         (linknamespace-header-tests): Likewise.
6547         (tests-special): Add new tests.
6548         ($(linknamespace-symlists-tests)): New rule.
6549         (linknamespace-libs): New variable.
6550         ($(objpfx)symlist-stdlibs): New rule.
6551         ($(linknamespace-header-tests)): Likewise.
6552         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6553         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6554         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6555         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6556         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6557         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6558         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6559         (test-xfail-ISO/math.h/linknamespace): Likewise.
6560         (test-xfail-ISO/signal.h/linknamespace): Likewise.
6561         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6562         (test-xfail-ISO/time.h/linknamespace): Likewise.
6563         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6564         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6565         (test-xfail-ISO99/math.h/linknamespace): Likewise.
6566         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6567         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6568         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6569         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6570         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6571         (test-xfail-ISO11/math.h/linknamespace): Likewise.
6572         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6573         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6574         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6575         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6576         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6577         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6578         (test-xfail-XPG3/math.h/linknamespace): Likewise.
6579         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6580         (test-xfail-XPG3/search.h/linknamespace): Likewise.
6581         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6582         (test-xfail-XPG3/time.h/linknamespace): Likewise.
6583         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6584         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6585         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6586         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6587         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6588         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6589         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6590         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6591         (test-xfail-XPG4/math.h/linknamespace): Likewise.
6592         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6593         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6594         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6595         (test-xfail-XPG4/search.h/linknamespace): Likewise.
6596         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6597         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6598         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6599         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6600         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6601         (test-xfail-XPG4/time.h/linknamespace): Likewise.
6602         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6603         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6604         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6605         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6606         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6607         (test-xfail-POSIX/math.h/linknamespace): Likewise.
6608         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6609         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6610         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6611         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6612         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6613         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6614         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6615         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6616         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6617         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6618         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6619         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6620         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6621         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6622         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6623         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6624         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6625         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6626         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6627         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6628         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6629         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6630         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6631         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6632         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6633         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6634         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6635         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6636         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6637         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6638         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6639         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6640         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6641         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6642         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6643         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6644         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6645         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6646         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6647         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6648         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6649         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6650         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6651         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6652         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6653         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6654         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6655         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6656         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6657         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6658         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6659         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6660         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6661         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6662         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6663         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6664         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6665         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6666         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6667         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6668         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6669         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6670         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6671         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6672         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6673         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6674         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6675         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6676         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6677         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6678         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6679         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6680         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6681         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6682         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6683         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6684         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6685         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6686         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6687         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6688         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6689         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6690         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6691         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6692         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6693         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6694         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6695         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6696         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6697         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6698         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6699         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6700         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6701         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6702         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6703         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6704         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6705         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6706         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6707         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6708         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6709         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6710         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6711         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6712         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6714         [BZ #17589]
6715         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6716         of fgets_unlocked.
6718         [BZ #17585]
6719         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6720         (memmem): Rename to __memmem and define as weak alias of
6721         __memmem.  Use libc_hidden_weak.
6722         (__memmem): Use libc_hidden_def.
6723         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
6724         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6725         memmem.
6727         [BZ #17582]
6728         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6729         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
6730         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6731         and define as weak alias of __fgets_unlocked.  Use
6732         libc_hidden_weak.
6733         (__fgets_unlocked): Use libc_hidden_def.
6734         * include/stdio.h (__fgets_unlocked): Declare.  Use
6735         libc_hidden_proto.
6736         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6737         __fgets_unlocked instead of fgets_unlocked.
6738         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6739         (GET_NPROCS_CONF_PARSER): Likewise.
6740         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6741         (GET_NPROCS_CONF_PARSER): Likewise.
6743         [BZ #17574]
6744         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6745         weak alias of __wmemset.  Use libc_hidden_weak.
6746         (__wmemset): Use libc_hidden_def.
6747         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
6748         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6749         of wmemset.
6751         [BZ #17573]
6752         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6753         with asm name __mempcpy.
6754         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6756         [BZ #17572]
6757         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6758         and define as weak alias of __rawmemchr.
6759         (__rawmemchr): Do not define as strong alias of rawmemchr.
6761         [BZ #17571]
6762         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6763         alias of __qsort_r.
6764         (qsort): Call __qsort_r instead of qsort_r.
6765         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6766         (__qsort_r): Declare.  Call libc_hidden_proto.
6767         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6768         instead of qsort_r.
6769         * nscd/gai.c (__qsort_r): Define to qsort_r.
6770         * posix/tst-rfc3484.c (__qsort_r): Likewise.
6771         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6772         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6774         [BZ #17570]
6775         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6776         define as weak alias of __malloc_info.
6778         [BZ #17584]
6779         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6780         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6781         (__rewinddir): Use libc_hidden_def.
6782         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6783         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6784         (__rewinddir): Use libc_hidden_def.
6785         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6786         weak alias of __rewinddir.  Don't use libc_hidden_def.
6787         (__rewinddir): Use libc_hidden_def.
6788         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6789         (__rewinddir): Use libc_hidden_proto.
6790         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6791         rewinddir.
6792         (__getcwd): Use __rewinddir instead of rewinddir.
6794         [BZ #17583]
6795         * libio/fileno.c (fileno): Rename to __fileno and define as weak
6796         alias of __fileno.  Use libc_hidden_weak.
6797         (__fileno): Use libc_hidden_def.
6798         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6799         * libio/ftello.c (ftello): Rename to __ftello and define as weak
6800         alias of __ftello.
6801         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6802         __ftello.
6803         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6804         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
6805         libc_hidden_def.
6806         (fread_unlocked): Don't use libc_hidden_ver.
6807         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6808         and define as weak alias of __fread_unlocked.  Don't use
6809         libc_hidden_def.
6810         (__fread_unlocked): Use libc_hidden_def.
6811         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
6812         (ftello): Don't use libc_hidden_proto.
6813         (__ftello): Declare.  Use libc_hidden_proto.
6814         (fread_unlocked): Don't use libc_hidden_proto.
6815         (__fread_unlocked): Declare.  Use libc_hidden_proto.
6816         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6817         and __ftello instead of fileno, fread_unlocked and ftello.
6819 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6821         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6822         GOT12.
6823         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6824         Likewise.
6825         (_dl_start_user): Likewise.
6826         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6828 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
6829             Siddhesh Poyarekar  <siddhesh@redhat.com>
6831         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6832         Move argv and envp down instead of moving argc up.
6833         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6835 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
6837         [BZ #17506]
6838         * test-skeleton.c (main): Return successful if one of
6839         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6840         * string/tst-strcoll-overflow.c: Define expected status.
6842 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
6844         [BZ #17475]
6845         * locale/iso-639.def: Define Bhili and Tulu language codes.
6847 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
6849         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6851 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
6853         [BZ #17555]
6854         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6856 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6858         * configure.ac: Updated check of minimal required version to
6859         2.22.
6860         * manual/install.texi (Tools for Compilation): Updated version
6861         number.
6862         * configure: Regenerated.
6863         * INSTALL: Likewise.
6865 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
6867         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6868         __tls_get_addr.
6870 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
6872         * include/sys/wait.h (__libc_waitpid): Remove declaration.
6873         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6874         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6875         libc_hidden_weak.
6876         (waitpid): Define as alias of __waitpid.
6877         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6878         __waitpid.
6879         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6880         libc_hidden_weak.
6881         (waitpid): Define as alias of __waitpid.
6882         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6883         __libc_waitpid alias.
6884         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6885         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6886         Likewise.
6887         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6888         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6889         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6890         alias.
6891         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6892         __waitpid.
6893         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6894         libc_hidden_weak.
6895         (waitpid): Define as alias of __waitpid.
6897 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
6899         * manual/llio.texi: Add comment that write safety has been
6900         fixed in Linux.
6902         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6903         (localplt-build-dso): Add elf/ld.so.
6904         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6905         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6906         and free for ld.so.
6907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6908         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6910         Likewise.
6911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6912         Likewise.
6913         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6914         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6915         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6916         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6917         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6918         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6919         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6920         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6921         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6922         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6923         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6925 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
6927         [BZ #14132]
6928         * include/libc-symbols.h (INTUSE): Remove macro.
6929         (INTDEF): Likewise.
6930         (INTVARDEF): Likewise.
6931         (_INTVARDEF): Likewise.
6932         (INTDEF2): Likewise.
6933         (INTVARDEF2): Likewise.
6934         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6935         rtld_hidden_def instead of INTVARDEF.
6936         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6937         (_dl_starting_up_internal): Remove declaration.
6938         (_dl_starting_up): Use rtld_hidden_proto.
6939         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6940         declaration.
6941         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6942         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6943         _dl_starting_up.
6944         * elf/dl-writev.h (_dl_writev): Likewise.
6945         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6946         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6947         _dl_starting_up_internal.
6949 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6951         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6952         test-skeleton.c.
6954 2014-11-05  Will Newton  <will.newton@linaro.org>
6956         * benchtests/Makefile: (bench-malloc): Add malloc thread
6957         scalability benchmark.
6958         * benchtests/bench-malloc-threads.c: New file.
6960 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
6962         * sysdeps/aarch64/strchrnul.S: New file.
6964 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6966         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6967         definition.
6968         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6969         Likwise.
6970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6971         Likewise.
6972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6973         Likewise.
6974         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6975         Likewise.
6976         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6977         Likewise.
6979 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
6981         * catgets/test-gencat.c: Use test-skeleton.c.
6982         * catgets/tst-catgets.c: Likewise.
6983         * csu/tst-empty.c: Likewise.
6984         * elf/tst-audit2.c: Likewise.
6985         * elf/tst-global1.c: Likewise.
6986         * elf/tst-pathopt.c: Likewise.
6987         * elf/tst-piemod1.c: Likewise.
6988         * elf/tst-tls10.c: Likewise.
6989         * elf/tst-tls11.c: Likewise.
6990         * elf/tst-tls12.c: Likewise.
6991         * gnulib/tst-gcc.c: Likewise.
6992         * iconvdata/tst-e2big.c: Likewise.
6993         * iconvdata/tst-loading.c: Likewise.
6994         * iconv/tst-iconv1.c: Likewise.
6995         * iconv/tst-iconv2.c: Likewise.
6996         * inet/test-inet6_opt.c: Likewise.
6997         * inet/tst-gethnm.c: Likewise.
6998         * inet/tst-network.c: Likewise.
6999         * inet/tst-ntoa.c: Likewise.
7000         * intl/tst-codeset.c: Likewise.
7001         * intl/tst-gettext2.c: Likewise.
7002         * intl/tst-gettext3.c: Likewise.
7003         * intl/tst-ngettext.c: Likewise.
7004         * intl/tst-translit.c: Likewise.
7005         * io/test-stat.c: Likewise.
7006         * libio/test-fmemopen.c: Likewise.
7007         * libio/tst-freopen.c: Likewise.
7008         * libio/tst-sscanf.c: Likewise.
7009         * libio/tst-ungetwc1.c: Likewise.
7010         * libio/tst-ungetwc2.c: Likewise.
7011         * libio/tst-widetext.c: Likewise.
7012         * localedata/tst-ctype.c: Likewise.
7013         * localedata/tst-digits.c: Likewise.
7014         * localedata/tst-leaks.c: Likewise.
7015         * localedata/tst-mbswcs1.c: Likewise.
7016         * localedata/tst-mbswcs2.c: Likewise.
7017         * localedata/tst-mbswcs3.c: Likewise.
7018         * localedata/tst-mbswcs4.c: Likewise.
7019         * localedata/tst-mbswcs5.c: Likewise.
7020         * localedata/tst-setlocale.c: Likewise.
7021         * localedata/tst-trans.c: Likewise.
7022         * localedata/tst-wctype.c: Likewise.
7023         * localedata/tst-xlocale1.c: Likewise.
7024         * login/tst-grantpt.c: Likewise.
7025         * malloc/tst-calloc.c: Likewise.
7026         * malloc/tst-malloc.c: Likewise.
7027         * malloc/tst-mallocstate.c: Likewise.
7028         * malloc/tst-mcheck.c: Likewise.
7029         * malloc/tst-mtrace.c: Likewise.
7030         * malloc/tst-obstack.c: Likewise.
7031         * math/atest-exp2.c: Likewise.
7032         * math/atest-exp.c: Likewise.
7033         * math/atest-sincos.c: Likewise.
7034         * math/test-matherr.c: Likewise.
7035         * math/test-misc.c: Likewise.
7036         * math/test-powl.c: Likewise.
7037         * math/tst-definitions.c: Likewise.
7038         * misc/tst-dirname.c: Likewise.
7039         * misc/tst-efgcvt.c: Likewise.
7040         * misc/tst-fdset.c: Likewise.
7041         * misc/tst-hsearch.c: Likewise.
7042         * misc/tst-mntent2.c: Likewise.
7043         * nptl/tst-sem7.c: Likewise.
7044         * nptl/tst-sem8.c: Likewise.
7045         * nptl/tst-sem9.c: Likewise.
7046         * nss/test-netdb.c: Likewise.
7047         * posix/tst-fnmatch.c: Likewise.
7048         * posix/tst-getlogin.c: Likewise.
7049         * posix/tst-gnuglob.c: Likewise.
7050         * posix/tst-mmap.c: Likewise.
7051         * pwd/tst-getpw.c: Likewise.
7052         * resolv/tst-inet_ntop.c: Likewise.
7053         * rt/tst-timer.c: Likewise.
7054         * stdio-common/test-fseek.c: Likewise.
7055         * stdio-common/test-popen.c: Likewise.
7056         * stdio-common/test-vfprintf.c: Likewise.
7057         * stdio-common/tst-cookie.c: Likewise.
7058         * stdio-common/tst-fileno.c: Likewise.
7059         * stdio-common/tst-gets.c: Likewise.
7060         * stdio-common/tst-obprintf.c: Likewise.
7061         * stdio-common/tst-perror.c: Likewise.
7062         * stdio-common/tst-sprintf2.c: Likewise.
7063         * stdio-common/tst-sprintf3.c: Likewise.
7064         * stdio-common/tst-sprintf.c: Likewise.
7065         * stdio-common/tst-swprintf.c: Likewise.
7066         * stdio-common/tst-tmpnam.c: Likewise.
7067         * stdio-common/tst-unbputc.c: Likewise.
7068         * stdio-common/tst-wc-printf.c: Likewise.
7069         * stdlib/tst-environ.c: Likewise.
7070         * stdlib/tst-fmtmsg.c: Likewise.
7071         * stdlib/tst-limits.c: Likewise.
7072         * stdlib/tst-rand48-2.c: Likewise.
7073         * stdlib/tst-rand48.c: Likewise.
7074         * stdlib/tst-random2.c: Likewise.
7075         * stdlib/tst-random.c: Likewise.
7076         * stdlib/tst-strtol.c: Likewise.
7077         * stdlib/tst-strtoll.c: Likewise.
7078         * stdlib/tst-tls-atexit.c: Likewise.
7079         * stdlib/tst-xpg-basename.c: Likewise.
7080         * string/test-ffs.c: Likewise.
7081         * string/tst-bswap.c: Likewise.
7082         * string/tst-inlcall.c: Likewise.
7083         * string/tst-strtok.c: Likewise.
7084         * string/tst-strxfrm.c: Likewise.
7085         * sysdeps/x86_64/tst-audit10.c: Likewise.
7086         * sysdeps/x86_64/tst-audit3.c: Likewise.
7087         * sysdeps/x86_64/tst-audit4.c: Likewise.
7088         * sysdeps/x86_64/tst-audit5.c: Likewise.
7089         * time/tst-ftime_l.c: Likewise.
7090         * time/tst-getdate.c: Likewise.
7091         * time/tst-mktime3.c: Likewise.
7092         * time/tst-mktime.c: Likewise.
7093         * time/tst-posixtz.c: Likewise.
7094         * time/tst-strptime2.c: Likewise.
7095         * time/tst-strptime3.c: Likewise.
7096         * wcsmbs/tst-btowc.c: Likewise.
7097         * wcsmbs/tst-mbrtowc.c: Likewise.
7098         * wcsmbs/tst-mbsrtowcs.c: Likewise.
7099         * wcsmbs/tst-wchar-h.c: Likewise.
7100         * wcsmbs/tst-wcpncpy.c: Likewise.
7101         * wcsmbs/tst-wcrtomb.c: Likewise.
7102         * wcsmbs/tst-wcsnlen.c: Likewise.
7103         * wcsmbs/tst-wcstof.c: Likewise.
7105 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
7107         [BZ #14132]
7108         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
7109         INTDEF.
7110         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
7111         declaration.
7112         (_dl_mcount): Use rtld_hidden_proto.
7113         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
7114         _dl_mcount.
7115         * elf/rtld.c (_rtld_global_ro): Likewise.
7117         [BZ #14132]
7118         * elf/dl-init.c (_dl_init): Don't use INTDEF.
7119         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
7120         of _dl_init_internal.
7121         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
7122         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
7123         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
7124         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
7125         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
7126         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
7127         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
7128         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
7129         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
7130         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
7131         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
7132         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
7133         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7134         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7135         * sysdeps/tile/dl-start.S (_start): Likewise.
7136         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
7137         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
7139         [BZ #14132]
7140         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
7141         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
7142         (rtld_progname): Make macro definition unconditional.
7143         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
7144         INTDEF.
7145         (dlmopen_doit): Do not use INTUSE with _dl_argv.
7146         (dl_main): Likewise.
7147         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7148         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
7149         instead of _dl_argv_internal.
7150         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7151         __GI__dl_argv instead of INTUSE(_dl_argv).
7152         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
7153         __GI__dl_argv instead of _dl_argv_internal.
7155         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
7156         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
7157         macro.
7158         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
7159         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
7160         New macro.
7161         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
7162         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
7163         macro.
7164         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
7165         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
7167 2014-11-04  Andreas Schwab  <schwab@suse.de>
7169         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
7171 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7173         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
7174         mtvsrd instruction in binary form.
7176 2014-11-03  Andreas Schwab  <schwab@suse.de>
7178         [BZ #17522]
7179         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
7180         for less than MB_LEN_MAX use a local buffer of that size.
7181         * libio/tst-fputws.c: New file.
7182         * libio/Makefile (tests): Add tst-fputws.
7184 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
7186         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
7187         the size of the fpu_fr.fpu_dregs[] array.
7189 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
7191         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
7192         (__nanosleep): Do not define as alias.
7193         (nanosleep): Define as alias of __nanosleep.
7194         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
7195         __libc_nanosleep name.
7197 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
7199         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
7200         install.texi in comment.
7202 2014-10-31  Torvald Riegel  <triegel@redhat.com>
7204         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
7205         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
7206         ... add here and use lwsync or sync ...
7207         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
7208         ... and add here using lwsync.
7210 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7212         * elf/dl-machine-reject-phdr.h: New file.
7213         * elf/dl-load.c: #include that.
7214         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7215         if that returned true.
7217 2014-10-31  Roland McGrath  <roland@hack.frob.com>
7219         [BZ #17496]
7220         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7221         gen-as-const-headers chunk.  Add a big scare comment after the last
7222         safe place to touch before-compile.
7224 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
7226         * manual/install.texi (Tools for Compilation): Update autoconf
7227         version requirements.
7228         * INSTALL: Regenerated.
7230         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7231         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7232         (__libc_pselect): Likewise.
7234         [BZ #14138]
7235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7240 2014-10-31  Torvald Riegel  <triegel@redhat.com>
7242         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7243         correct barrier instruction.
7244         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7245         Likewise.
7246         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7247         Likewise.
7249 2014-10-30  Roland McGrath  <roland@hack.frob.com>
7251         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7252         after defining inlines.  Instead, just use parens to defeat macro
7253         expansion of __isctype in its declaration.
7255 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
7257         * include/sys/uio.h (__libc_readv): Remove declaration.
7258         (__libc_writev): Likewise.
7259         * misc/readv.c (__libc_readv): Rename to __readv.
7260         (__readv): Do not define as alias.
7261         (readv): Define as alias of __readv.
7262         * misc/writev.c (__libc_writev): Rename to __writev.
7263         (__writev): Do not define as alias.
7264         (writev): Define as alias of __writev.
7265         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7266         (__readv): Do not define as alias.
7267         (readv): Define unconditionally as alias of __readv.
7268         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7269         (__writev): Do not define as alias.
7270         (writev): Define unconditionally as alias of __writev.
7271         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7272         name.
7273         (writev): Do not define __libc_writev name.
7275 2014-10-30  Roland McGrath  <roland@hack.frob.com>
7277         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7278         (convert_charseq): New function, broken out of ...
7279         (use_from_charmap): ... here.  Call it.
7280         (use_to_charmap): Use convert_charseq and free instead of duplicating
7281         its code with a variable-length stack struct.
7283 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
7285         * include/fcntl.h (__libc_creat): Remove declaration.
7286         * io/creat.c (__libc_creat): Rename to creat.
7287         (creat): Do not define as alias.
7288         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7289         of creat instead of __libc_creat.
7290         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7291         to creat.
7292         (creat): Do not define as alias.
7293         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7294         __libc_creat.
7295         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7296         __libc_creat name.
7297         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7298         Likewise.
7300 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
7302         * manual/llio.texi: Add comments discussing why write() may be
7303         considered MT-unsafe on Linux.
7305 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
7307         * dl-load.c (local_strdup): Remove.
7308         (expand_dynamic_string_token): Use __strdup.
7309         (decompose_rpath): Likewise.
7310         (_dl_map_object): Likewise.
7312 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
7314         [BZ #14132]
7315         * sysdeps/generic/unwind-dw2-fde.c
7316         (__register_frame_info_bases_internal): Do not declare.
7317         (__register_frame_info_table_bases_internal): Likewise.
7318         (__deregister_frame_info_bases_internal): Likewise.
7319         (__register_frame_info_bases): Declare and use hidden_proto before
7320         definition.  Use hidden_def instead of INTDEF.
7321         (__register_frame_info_table_bases): Likewise.
7322         (__deregister_frame_info_bases): Likewise.
7323         (__register_frame_info): Do not use INTUSE.
7324         (__register_frame): Likewise.
7325         (__register_frame_info_table): Likewise.
7326         (__register_frame_table): Likewise.
7327         (__deregister_frame_info): Likewise.
7328         (__deregister_frame): Likewise.
7330 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
7332         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7333         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7334         not undefine.
7335         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7336         Likewise.
7337         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7338         Likewise.
7340 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
7342         [BZ #14138]
7343         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7344         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7345         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7346         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7347         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7348         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7349         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7350         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7351         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7352         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7353         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7354         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7355         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7356         syscall.
7357         (setfsuid): Likewise.
7358         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7359         (setfsuid): Likewise.
7360         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7361         (setfsuid): Likewise.
7362         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7363         Likewise.
7364         (setfsuid): Likewise.
7365         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7366         (setfsuid): Likewise.
7367         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7368         Likewise.
7369         (setfsuid): Likewise.
7371 2014-10-27  Andreas Schwab  <schwab@suse.de>
7373         [BZ #17501]
7374         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7375         check for Slow_SSE4_2 feature bit.
7376         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7377         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7378         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7379         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
7381 2014-10-24  Roland McGrath  <roland@hack.frob.com>
7383         * configure.ac: Validate compiler version with a empirical test of
7384         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7385         $CC -v output.
7386         * configure: Regenerated.
7388         * inet/htons.c (htons): Prototypify.
7389         * inet/htonl.c (htonl): Likewise.
7391 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7393         * string/strncat.c (strncat): Improve performance by using strlen.
7395 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7397         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7399 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7401         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7402         Call libc_fetestexcept_aarch64.
7404 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7406         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7407         Call libc_feholdexcept_aarch64.
7409 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7411         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7412         Call get_rounding_mode.
7414 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7416         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7417         Simplify logic.
7419 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7421         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7422         Simplify logic.
7424 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
7426         [BZ #14138]
7427         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7428         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7429         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7430         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7431         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7432         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7433         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7434         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7435         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7436         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7437         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7438         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7439         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7440         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7441         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7442         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7443         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7444         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7445         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7446         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7447         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7448         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7449         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7450         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7451         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7452         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7453         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7454         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7455         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7456         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7457         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7458         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7459         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7460         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7461         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7462         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7463         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7464         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7465         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7466         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7467         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7468         syscall.
7469         (geteuid): Likewise.
7470         (getgid): Likewise.
7471         (getuid): Likewise.
7472         (getresgid): Likewise.
7473         (getresuid): Likewise.
7474         (getgroups): Likewise.
7475         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7476         (geteuid): Likewise.
7477         (getgid): Likewise.
7478         (getuid): Likewise.
7479         (getresgid): Likewise.
7480         (getresuid): Likewise.
7481         (getgroups): Likewise.
7482         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7483         (geteuid): Likewise.
7484         (getgid): Likewise.
7485         (getuid): Likewise.
7486         (getresgid): Likewise.
7487         (getresuid): Likewise.
7488         (getgroups): Likewise.
7489         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7490         Likewise.
7491         (geteuid): Likewise.
7492         (getgid): Likewise.
7493         (getuid): Likewise.
7494         (getresgid): Likewise.
7495         (getresuid): Likewise.
7496         (getgroups): Likewise.
7497         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7498         (geteuid): Likewise.
7499         (getgid): Likewise.
7500         (getuid): Likewise.
7501         (getresgid): Likewise.
7502         (getresuid): Likewise.
7503         (getgroups): Likewise.
7504         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7505         Likewise.
7506         (geteuid): Likewise.
7507         (getgid): Likewise.
7508         (getuid): Likewise.
7509         (getgroups): Likewise.
7511         [BZ #14138]
7512         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7513         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7514         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7515         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7516         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7517         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7518         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7519         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7520         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7521         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7522         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7523         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7524         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7525         __chown.
7526         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7527         (lchown): Likewise.
7528         (fchown): Likewise.
7529         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7530         Likewise.
7531         (lchown): Likewise.
7532         (fchown): Likewise.
7533         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7534         (lchown): Likewise.
7535         (fchown): Likewise.
7536         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7537         Likewise.
7538         (lchown): Likewise.
7539         (fchown): Likewise.
7541 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7543         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7544         Simplify logic.
7546 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7548         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7549         Cleanup logic.
7551 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7553         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7554         Remove unused include.
7556 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7558         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7559         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7560         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7561         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7563 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
7564             Helge Deller <deller@gmx.de>
7566         [BZ #17508]
7567         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7568         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7569         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7571 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
7573         [BZ #14132]
7574         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7575         Remove macro definition.
7576         (__ashrdi3_v_glibc20): Likewise.
7577         (__lshrdi3_v_glibc20): Likewise.
7578         (__cmpdi2_v_glibc20): Likewise.
7579         (__ucmpdi2_v_glibc20): Likewise.
7580         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7581         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7582         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7583         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7584         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7585         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7587 2014-10-22  Roland McGrath  <roland@hack.frob.com>
7589         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7590         old GNU extension [0] syntax.
7591         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7592         alloca rather than an array member with variable length.
7593         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7594         * nscd/nscd.c (invalidate_db): New function, broken out of ...
7595         (parse_opt): ... here.  Likewise use alloca there.
7596         Validate the -i argument before checking for rootness.
7597         (send_shutdown): New function, broken out of ...
7598         (parse_opt): ... here.
7600 2014-10-22  Roland McGrath  <roland@hack.frob.com>
7602         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7603         macro to get at the _rt_local_ro field.
7604         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7605         ([PIC] case) or _dl_hwcap ([!PIC] case).
7606         * sysdeps/arm/setjmp.S: Likewise.
7608         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7609         * sysdeps/arm/configure.ac: New check to define it.
7610         * sysdeps/arm/configure: Regenerated.
7611         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7612         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7613         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7614         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7615         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7616         Use move/movt pair instead of a load.
7617         (LDST_GLOBAL): Macro removed.
7618         (LDR_GLOBAL): New macro replaces it.
7619         (LDR_HIDDEN): New macro.
7620         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7621         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7623         * setjmp/tst-setjmp-static.c: New file.
7624         * setjmp/Makefile (tests): Add it.
7625         (tests-static): New variable.
7627 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
7629         [BZ #17485]
7630         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7632 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
7634         [BZ #14132]
7635         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7637 2014-10-21  Roland McGrath  <roland@hack.frob.com>
7639         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7641 2014-10-20  Roland McGrath  <roland@hack.frob.com>
7643         * io/fts.c (dirent_not_directory): New function.
7644         (fts_build): Call it.
7646 2014-10-20  Roland McGrath  <roland@hack.frob.com>
7648         * nptl/version.c (__nptl_main): Use normal __write rather than
7649         INTERNAL_SYSCALL.
7650         (banner): Update copyright years.
7652         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7653         gettimeofday.
7654         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7655         * nptl/pthread_cond_timedwait.c: Likewise.
7656         * nptl/pthread_mutex_timedlock.c: Likewise.
7657         * nptl/sem_timedwait.c: Likewise.
7659         * sysdeps/nptl/bits/libc-lock.h
7660         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7661         (__libc_lock_init_recursive): Return void, not 0.
7662         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7663         (__libc_rwlock_init): Likewise.
7664         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7666 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7668         [BZ #15215]
7669         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7670         (__pthread_once_slow): ... here.
7671         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7672         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7674 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7676         [BZ #15215]
7677         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7678         __PTHREAD_ONCE_FORK_GEN_INCR): New.
7679         * sysdeps/nptl/fork.c (__libc_fork): Use them.
7680         * nptl/pthread_once.c (__pthread_once): Likewise.
7681         Update comments.
7683 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
7685         [BZ #14138]
7686         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7687         name.
7688         (writev): Use __libc_writev as strong name.
7689         * sysdeps/unix/sysv/linux/readv.c: Remove file.
7690         * sysdeps/unix/sysv/linux/writev.c: Likewise.
7692 2014-10-17  Roland McGrath  <roland@hack.frob.com>
7694         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7696         * sysdeps/i386/nptl/tls.h
7697         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7698         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7699         New macros.
7700         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7701         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7702         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7703         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7704         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7705         Call CHECK_THREAD_SYSINFO instead of doing an assert.
7707         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7708         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7709         on [__NR_futex].
7710         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7711         broken out of ...
7712         (__pthread_mutex_init): ... here.  Call it.
7713         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7714         Conditionalize PI cases on [__NR_futex].
7715         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7716         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7717         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7719         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7720         conditional on [SIGSETXID].
7721         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7722         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7723         is defined.  Likewise for SIGSETXID.
7724         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7725         Conditionalize definitions on [SIGSETXID].
7726         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7727         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7728         unblocking on [SIGCANCEL].
7730         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7731         [__NR_set_robust_list].
7733 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7735         * string/strcoll_l.c (get_next_seq): Fix up formatting.
7736         (do_compare): Likewise.
7738 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
7740         [BZ #15884]
7741         * string/strcoll_l.c: Don't include stdio.h.
7742         (coll_seq): Remove members idxarr and rulearr.
7743         (get_next_seq_cached): Remove function.
7744         (get_next_seq): Likewise.
7745         (get_next_seq_nocache): Rename to get_next_seq.
7746         (do_compare): Remove function.
7747         (do_compare_nocache): Rename to do_compare.
7748         (STRCOLL): Remove weight and rules cache.
7750 2014-10-16  Roland McGrath  <roland@hack.frob.com>
7752         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7753         * sysdeps/arm/sfp-machine.h: ... to here.
7754         * sysdeps/arm/Implies: Remove arm/soft-fp.
7756 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
7758         * conform/data/sys/utsname.h-data (*_t): Allow.
7759         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7760         [POSIX] (WEXITED): Do not expect constant.
7761         [POSIX] (WSTOPPED): Likewise.
7762         [POSIX] (WNOHANG): Likewise.
7763         [POSIX] (WNOWAIT): Likewise.
7764         [POSIX] (siginfo_t): Do not expect type or elements.
7765         [POSIX] (pid_t): Do not expect type.
7766         [POSIX] (signal.h): Do not allow header.
7767         [POSIX] (sys/resource.h): Likewise.
7768         [POSIX] (si_*): Do not allow pattern.
7769         [POSIX] (W*): Likewise.
7770         [POSIX] (P_*): Likewise.
7771         [POSIX] (BUS_*): Likewise.
7772         [POSIX] (CLD_*): Likewise.
7773         [POSIX] (FPE_*): Likewise.
7774         [POSIX] (ILL_*): Likewise.
7775         [POSIX] (POLL_*): Likewise.
7776         [POSIX] (SEGV_*): Likewise.
7777         [POSIX] (SI_*): Likewise.
7778         [POSIX] (TRAP_*): Likewise.
7779         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7780         variable.
7782 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7784         [BZ #12926]
7785         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7786         infinite loop when __recvmsg returns 0.
7788 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
7790         * CANCEL-FCT-WAIVE: Remove file.
7791         * CANCEL-FILE-WAIVE: Likewise.
7793         [BZ #14132]
7794         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7795         instead of INTVARDEF.
7796         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7797         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7798         rtld_hidden_data_def instead of INTVARDEF.
7799         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7800         * elf/dl-deps.c (expand_dst): Likewise.
7801         * elf/dl-load.c (_dl_dst_count): Likewise.
7802         (_dl_dst_substitute): Likewise.
7803         (decompose_rpath): Likewise.
7804         (_dl_init_paths): Likewise.
7805         (open_path): Likewise.
7806         (_dl_map_object): Likewise.
7807         * elf/rtld.c (dl_main): Likewise.
7808         (process_dl_audit): Likewise.
7809         (process_envvars): Likewise.
7810         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7811         Remove declaration.
7812         (__libc_enable_secure): Use rtld_hidden_proto.
7814 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7816         * elf/dl-load.c
7817         (add_path): New function broken out of _dl_rtld_di_serinfo.
7818         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
7820 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7822         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7823         parentheses around macro arguments.
7824         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7825         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7826         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7827         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7828         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7829         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7830         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7831         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7832         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7833         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7834         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7835         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7836         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7837         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7838         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7839         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7840         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7841         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7842         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7843         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7844         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7847         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7848         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7849         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7850         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7851         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7852         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7853         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7854         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7855         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7856         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7857         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7858         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7859         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7860         Likewise.
7861         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7862         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7863         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7865         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7866         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7867         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7868         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7869         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7870         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7871         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7872         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7873         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7874         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7875         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7876         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7877         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7878         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7879         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7880         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7881         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7882         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7883         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7884         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7885         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7886         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7887         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7888         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7889         (_FP_FRAC_SRS_1): Likewise.
7890         (_FP_FRAC_CLZ_1): Likewise.
7891         (_FP_MUL_MEAT_1_imm): Likewise.
7892         (_FP_MUL_MEAT_1_wide): Likewise.
7893         (_FP_MUL_MEAT_1_hard): Likewise.
7894         (_FP_SQRT_MEAT_1): Likewise.
7895         (_FP_FRAC_ASSEMBLE_1): Likewise.
7896         (_FP_FRAC_DISASSEMBLE_1): Likewise.
7897         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7898         (__FP_CLZ_2): Likewise.
7899         (_FP_MUL_MEAT_2_wide): Likewise.
7900         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7901         (_FP_MUL_MEAT_2_gmp): Likewise.
7902         (_FP_MUL_MEAT_2_120_240_double): Likewise.
7903         (_FP_SQRT_MEAT_2): Likewise.
7904         (_FP_FRAC_ASSEMBLE_2): Likewise.
7905         (_FP_FRAC_DISASSEMBLE_2): Likewise.
7906         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7907         (_FP_FRAC_CLZ_4): Likewise.
7908         (_FP_MUL_MEAT_4_wide): Likewise.
7909         (_FP_MUL_MEAT_4_gmp): Likewise.
7910         (_FP_SQRT_MEAT_4): Likewise.
7911         (_FP_FRAC_ASSEMBLE_4): Likewise.
7912         (_FP_FRAC_DISASSEMBLE_4): Likewise.
7913         * soft-fp/op-common.h (_FP_CMP): Likewise.
7914         (_FP_CMP_EQ): Likewise.
7915         (_FP_CMP_UNORD): Likewise.
7916         (_FP_TO_INT): Likewise.
7917         (_FP_FROM_INT): Likewise.
7918         [!__FP_CLZ] (__FP_CLZ): Likewise.
7919         (_FP_DIV_HELP_imm): Likewise.
7920         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7921         Likewise.
7922         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7923         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7924         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7925         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7926         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7927         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7928         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7929         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7930         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7931         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7932         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7933         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7934         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7935         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7936         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7937         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7938         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7939         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7940         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7941         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7942         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7945         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7946         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7949         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7950         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7951         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7952         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7953         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7954         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7955         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7956         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7957         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7958         (FP_UNPACK_RAW_SP): Likewise.
7959         (FP_PACK_RAW_S): Likewise.
7960         (FP_PACK_RAW_SP): Likewise.
7961         (FP_UNPACK_S): Likewise.
7962         (FP_UNPACK_SP): Likewise.
7963         (FP_UNPACK_SEMIRAW_S): Likewise.
7964         (FP_UNPACK_SEMIRAW_SP): Likewise.
7965         (FP_PACK_S): Likewise.
7966         (FP_PACK_SP): Likewise.
7967         (FP_PACK_SEMIRAW_S): Likewise.
7968         (FP_PACK_SEMIRAW_SP): Likewise.
7969         (_FP_SQRT_MEAT_S): Likewise.
7970         (FP_CMP_S): Likewise.
7971         (FP_CMP_EQ_S): Likewise.
7972         (FP_CMP_UNORD_S): Likewise.
7973         (FP_TO_INT_S): Likewise.
7974         (FP_FROM_INT_S): Likewise.
7976         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7978         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7979         (FP_EX_INVALID_IMZ): Likewise.
7980         (FP_EX_INVALID_IMZ_FMA): Likewise.
7981         (FP_EX_INVALID_ISI): Likewise.
7982         (FP_EX_INVALID_ZDZ): Likewise.
7983         (FP_EX_INVALID_IDI): Likewise.
7984         (FP_EX_INVALID_SQRT): Likewise.
7985         (FP_EX_INVALID_CVI): Likewise.
7986         (FP_EX_INVALID_VC): Likewise.
7987         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7988         "invalid" exceptions.
7989         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7990         (_FP_ADD_INTERNAL): Likewise.
7991         (_FP_MUL): Likewise.
7992         (_FP_FMA): Likewise.
7993         (_FP_DIV): Likewise.
7994         (_FP_CMP_CHECK_NAN): Likewise.
7995         (_FP_SQRT): Likewise.
7996         (_FP_TO_INT): Likewise.
7997         (FP_EXTEND): Likewise.
7999 2014-10-09  Allan McRae  <allan@archlinux.org>
8001         * po/fr.po: Update French translation from translation project.
8003 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8005         [BZ #14132]
8006         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8007         of INTDEF.
8008         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8009         (__cxa_atexit): Use libc_hidden_proto.
8010         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8012         [BZ #14132]
8013         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8014         declaration.
8015         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8016         [!_ISOMAC] (__iswspace_l_internal): Likewise.
8017         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8018         [!_ISOMAC] (__iswctype_internal): Likewise.
8019         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8020         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8021         alias.
8022         (fcntl): Remove __fcntl_internal alias.
8023         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8024         __connect_internal alias.
8025         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8026         Likewise.
8028         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8029         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8030         FP_DENORM_ZERO.
8031         (_FP_CHECK_FLUSH_ZERO): New macro.
8032         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8033         (_FP_CMP): Likewise.
8034         (_FP_CMP_EQ): Likewise.
8035         (_FP_TO_INT): Do not set inexact for subnormal arguments if
8036         FP_DENORM_ZERO.
8037         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8038         (FP_TRUNC): Likewise.
8040         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8041         treated as invalid conversion, not as normal exponent.
8043         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8044         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
8045         (_FP_CMP_EQ): Likewise.
8046         (_FP_CMP_UNORD): Likewise.
8047         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8048         (FP_CMP_EQ_D): Likewise.
8049         (FP_CMP_UNORD_D): Likewise.
8050         * soft-fp/extended.h (FP_CMP_E): Likewise.
8051         (FP_CMP_EQ_E): Likewise.
8052         (FP_CMP_UNORD_E): Likewise.
8053         * soft-fp/quad.h (FP_CMP_Q): Likewise.
8054         (FP_CMP_EQ_Q): Likewise.
8055         (FP_CMP_UNORD_Q): Likewise.
8056         * soft-fp/single.h (FP_CMP_S): Likewise.
8057         (FP_CMP_EQ_S): Likewise.
8058         (FP_CMP_UNORD_S): Likewise.
8059         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8060         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8061         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8062         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8063         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8064         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8065         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8066         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8067         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8068         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8069         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8070         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8071         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8072         to FP_CMP_Q.
8073         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8074         FP_CMP_Q.
8075         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8076         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8077         FP_CMP_EQ_Q.
8078         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8079         FP_CMP_Q.
8080         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8081         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8082         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8083         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8084         FP_CMP_EQ_Q.
8085         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8086         FP_CMP_Q.
8087         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8088         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8089         FP_CMP_EQ_Q.
8090         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8091         FP_CMP_Q.
8092         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8093         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8094         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8095         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8096         FP_CMP_EQ_Q.
8098         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8099         a subnormal result, set the underflow exception if trapping on
8100         underflow is enabled.
8101         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8102         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8103         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8104         redefine to 0.
8105         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
8106         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8107         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8108         * soft-fp/extendxftf2.c (__extendxftf2): Use
8109         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
8111         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
8112         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
8113         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8114         FP_HANDLE_EXCEPTIONS.
8115         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8116         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8117         FP_HANDLE_EXCEPTIONS.
8118         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
8119         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8120         FP_HANDLE_EXCEPTIONS.
8121         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
8122         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8123         FP_HANDLE_EXCEPTIONS.
8125 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
8127         [BZ #14132]
8128         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
8129         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
8130         use INTUSE.
8131         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
8132         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
8133         Remove alias.
8134         (__adjtimex): Define using libc_hidden_ver.
8135         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
8136         Remove declaration.
8137         (ntp_gettime): Call __adjtimex directly.
8138         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
8139         Remove declaration.
8140         (ntp_gettimex): Call __adjtimex directly.
8141         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
8142         __adjtimex_internal alias.
8144 2014-10-08  Roland McGrath  <roland@hack.frob.com>
8146         [BZ #17460]
8147         * nscd/nscd.c (more_help): Rewrite list of tables collection
8148         using xstrdup and asprintf.
8150         * nscd/nscd_conf.c: Remove local xstrdup declaration.
8152 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8153             Roland McGrath  <roland@hack.frob.com>
8155         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
8156         (do_lookup_unique): ... local function 'enter' here; update callers.
8158 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
8160         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
8161         compat_symbol calls on [SHARED].
8162         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
8163         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
8164         Remove.
8165         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8166         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
8167         (oldsetrlimit): Remove.
8168         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8170         (lchown): New syscall entry.
8171         (oldsetrlimit): Remove.
8172         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8173         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
8174         (oldsetrlimit): Remove.
8175         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8177         [BZ #14138]
8178         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
8179         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
8180         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
8181         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
8182         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8183         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
8184         (fchown): Likewise.
8185         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
8186         (fchown): Likewise.
8187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
8188         Likewise.
8190 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8192         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
8193         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
8194         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
8195         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
8196         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8197         Likewise.
8198         (__old_sem_post): Likewise.
8200 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
8202         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
8203         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
8204         HAVE_CLOCK_GETTIME_VSYSCALL macros.
8205         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
8206         Use INLINE_VSYSCALL macro.
8207         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
8208         __vdso_clock_gettime.
8209         * sysdeps/unix/sysv/linux/tile/init-first.c
8210         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
8211         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
8212         __vdso_clock_gettime.
8214         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8215         to set up frame more cleanly.
8217         * sysdeps/tile/memcmp.c: New file.
8219         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8221         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8222         * sysdeps/tile/tilegx/strcasestr.c: New file.
8223         * sysdeps/tile/tilegx/strnlen.c: New file.
8224         * sysdeps/tile/tilegx/strstr.c: New file.
8226         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8228 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
8230         * nptl/tst-setuid3.c: Write errors to stdout.
8232 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8234         * elf/dl-deps.c
8235         (preload): New functions broken out of _dl_map_object_deps.
8236         (_dl_map_object_deps):  Remove a nested function. Update call sites.
8238 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
8240         [BZ #14138]
8241         * sysdeps/unix/sysv/linux/execve.c: Remove file.
8242         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8244 2014-10-01  Steve Ellcey  <sellcey@mips.com>
8246         * sysdeps/mips/strcmp.S: New.
8248 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
8250         [BZ #14138]
8251         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8252         (linkat): Likewise.
8253         (mkdirat): Likewise.
8254         (readlinkat): Likewise.
8255         (renameat): Likewise.
8256         (symlinkat): Likewise.
8257         (unlinkat): Likewise.
8258         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8259         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8260         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8261         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8262         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8263         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8264         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8266 2014-09-30  Will Newton  <will.newton@linaro.org>
8268         * math/math.h: Define long double math functions if
8269         _LIBC_TEST is defined.
8270         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8272         * localedata/Makefile: Move assignment to tests-special
8273         into an ifdef testing run-built-tests.
8274         * timezone/Makefile: Likewise.
8276 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
8278         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8279         with $(BASH) not $(SHELL).
8281 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
8282             Matthew LeGendre  <legendre1@llnl.gov>
8284         [BZ #17411]
8285         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8286         l_reloc_result.
8288 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8290         * stdio-common/printf_fp.c
8291         (hack_digit): New function, broken out of ...
8292         (__printf_fp): ... local function here.  Update call sites.
8293         hack_digit now takes an additional parameter that is a pointer
8294         to a struct of the referenced locals.  Those locals moved inside
8295         the struct and references updated.
8297 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
8299         * aclocal.m4: Require autoconf 2.69.
8300         * configure: Regenerated.
8301         * sysdeps/aarch64/configure: Likewise.
8302         * sysdeps/alpha/configure: Likewise.
8303         * sysdeps/arm/armv7/configure: Likewise.
8304         * sysdeps/arm/configure: Likewise.
8305         * sysdeps/ia64/configure: Likewise.
8306         * sysdeps/mach/configure: Likewise.
8307         * sysdeps/mips/configure: Likewise.
8308         * sysdeps/s390/configure: Likewise.
8309         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8312         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8313         file.
8314         * sysdeps/ia64/configure.ac: Likewise.
8316 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
8318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8319         specify symbol version for ld.so.  Do not include entry for
8320         libpthread.
8321         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8322         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8323         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8325         [BZ #14171]
8326         * Makeconfig [$(build-shared) = yes]
8327         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8328         makefiles.
8329         [$(build-shared) = yes && $(soversions.mk-done) = t]
8330         ($(common-objpfx)gnu/lib-names.h): Remove rule.
8331         [$(build-shared) = yes && $(soversions.mk-done) = t]
8332         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
8333         to Makerules.
8334         [$(build-shared) = yes && $(soversions.mk-done) = t]
8335         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8336         here.
8337         [$(build-shared) = yes && $(soversions.mk-done) = t]
8338         (common-generated): Don't append gnu/lib-names.h and
8339         gnu/lib-names.stmp here.
8340         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8341         (lib-names-h-abi): New variable.
8342         [$(build-shared) = yes && $(soversions.mk-done) = t]
8343         (lib-names-stmp-abi): Likewise.
8344         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8345         abi-variants] (before-compile): Append
8346         $(common-objpfx)$(lib-names-h-abi).
8347         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8348         abi-variants] (common-generated): Append gnu/lib-names.h.
8349         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8350         abi-variants] (install-others-nosubdir): Depend on
8351         $(inst_includedir)/$(lib-names-h-abi).
8352         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8353         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8354         [$(build-shared) = yes && $(soversions.mk-done) = t]
8355         ($(common-objpfx)$(lib-names-h-abi)): New rule.
8356         [$(build-shared) = yes && $(soversions.mk-done) = t]
8357         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8358         [$(build-shared) = yes && $(soversions.mk-done) = t]
8359         (common-generated): Append $(lib-names-h-abi) and
8360         $(lib-names-stmp-abi).
8361         * scripts/lib-names.awk: Do not handle multi being set.
8362         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8363         Remove variable.
8364         (abi-lp64_be-ld-soname): Likewise.
8365         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8366         Likewise.
8367         (abi-hard-ld-soname): Likewise.
8368         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8369         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8370         Remove variable.
8371         (abi-o32_hard-ld-soname): Likewise.
8372         (abi-o32_soft_2008-ld-soname): Likewise.
8373         (abi-o32_hard_2008-ld-soname): Likewise.
8374         (abi-n32_soft-ld-soname): Likewise.
8375         (abi-n32_hard-ld-soname): Likewise.
8376         (abi-n32_soft_2008-ld-soname): Likewise.
8377         (abi-n32_hard_2008-ld-soname): Likewise.
8378         (abi-n64_soft-ld-soname): Likewise.
8379         (abi-n64_hard-ld-soname): Likewise.
8380         (abi-n64_soft_2008-ld-soname): Likewise.
8381         (abi-n64_hard_2008-ld-soname): Likewise.
8382         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8383         Likewise.
8384         (abi-64-v2-ld-soname): Likewise.
8385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8386         ld.so entries.
8387         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8388         variable.
8389         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8390         entry.
8391         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8392         variable.
8393         (abi-64-ld-soname): Likewise.
8394         (abi-x32-ld-soname): Likewise.
8395         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8396         entry.
8397         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8399 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
8401         [BZ #14138]
8402         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8403         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8404         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8405         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8406         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8407         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8408         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8409         syscall entry for GLIBC_2.2 symbol version.
8410         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8411         Likewise.
8412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8413         (setrlimit): Likewise.
8414         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8415         Likewise.
8417 2014-09-23  Will Newton  <will.newton@linaro.org>
8419         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8420         _LINUX_ARM_SYSDEP_H include guard too.
8421         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8422         define.
8424 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8426         * sysdeps/unix/sysv/linux/eventfd.c:
8427         Make first argument unsigned.
8428         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8429         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8431 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
8433         * socket/recvmmsg.c (recvmmsg): Drop const argument.
8434         * socket/sys/socket.h: Likewise
8435         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8437 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8439         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8441 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
8443         * time/tst-ftime.c: New test.
8444         * time/Makefile (tests): Add tst-ftime.
8446 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
8448         * soft-fp/extended.h: Fix comment formatting.
8449         * soft-fp/op-1.h: Likewise.
8450         * soft-fp/op-2.h: Likewise.
8451         * soft-fp/op-4.h: Likewise.
8452         * soft-fp/op-8.h: Likewise.
8453         * soft-fp/op-common.h: Likewise.
8454         * soft-fp/soft-fp.h: Likewise.
8456         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8458 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
8460         [BZ #6652]
8461         * Makeconfig (soversions-default-setname): Remove variable.
8462         ($(common-objpfx)soversions.i): Don't pass default_setname to
8463         soversions.awk.
8464         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8465         oldest_abi to abi-versions.awk.
8466         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8467         * config.make.in (oldest-abi): Remove variable.
8468         * configure.ac (--enable-oldest-abi): Remove configure option.
8469         * configure: Regenerated.
8470         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8471         text.
8472         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8473         * scripts/soversions.awk: Do not handle default_setname variable.
8474         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8475         variable.
8476         * sysdeps/mach/hurd/configure: Regenerated.
8477         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8478         variable.
8479         * sysdeps/unix/sysv/linux/configure: Regenerated.
8481 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8483         * elf/Makefile (CFLAGS-interp.c): Remove.
8484         ($(elf-objpfx)runtime-linker.h): Generate header with linker
8485         path string.
8486         * elf/interp.c: Include generated runtime-linker.h
8488         * Makerules (lib%.so): Don't include $(+interp) in
8489         prerequisites.
8490         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8491         * dlfcn/eval.c: Remove file.
8493         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8494         macros.
8496         [BZ #17266]
8497         * misc/sys/cdefs.h: Define __extern_always_inline for clang
8498         4.2 and newer.
8500         [BZ #17370]
8501         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8503 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8504             Jakub Jelinek  <jakub@redhat.com>
8506         [BZ #17266]
8507         * libio/stdio.h: Check definition of __fortify_function
8508         instead of __extern_always_inline to include bits/stdio2.h.
8509         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8510         check if __extern_always_inline is defined.
8511         [__USE_MISC || __USE_XOPEN]: Likewise.
8512         [__USE_ISOC99] Likewise.
8513         * misc/sys/cdefs.h (__fortify_function): Define only if
8514         __extern_always_inline is defined.
8515         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8516         __extern_always_inline and __extern_inline only for g++-4.3
8517         and newer or a compatible gcc.
8519 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
8521         [BZ #17371]
8522         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8523         last change to handle zero prefix length.
8525 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8527         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8528         _SC_REGEX_VERSION.
8530         * posix/getconf.c (vars): Add _POSIX_IPV6 and
8531         _POSIX_RAW_SOCKETS.
8533 2014-09-13  Allan McRae  <allan@archlinux.org>
8535         * po/ru.po: Update Russian translation from translation project.
8537 2014-09-12  Roland McGrath  <roland@hack.frob.com>
8539         * locale/programs/locale.c (show_locale_vars): Inline local function
8540         into its sole call site.  Clean up some style nits.
8541         (print_item): New function, broken out of ...
8542         (show_info): ... local function here.  Clean up style nits.
8544         * locale/programs/ld-ctype.c (set_one_default): New function, broken
8545         out of ...
8546         (set_class_defaults): ... local function set_default here.
8547         Define set_default as a macro locally to pass constant parameters.
8548         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8549         rather than a shared local.
8551         * stdlib/rpmatch.c (try): New function, broken out of ...
8552         (rpmatch): ... local function here.  Also, prototypify definition.
8554 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
8556         * scripts/soversions.awk: Do not handle configuration names.
8557         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8558         vendor and os variables to soversions.awk.
8559         * configure.ac: Do not modify gnu-* host_os.
8560         * configure: Regenerated
8561         * shlib-versions: Remove first column with configuration names.
8562         * nptl/shlib-versions: Likewise.
8563         * nptl_db/shlib-versions: Likewise.
8564         * sysdeps/hppa/shlib-versions: Likewise.
8565         * sysdeps/m68k/shlib-versions: Likewise.
8566         * sysdeps/mach/hurd/shlib-versions: Likewise.
8567         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8568         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8569         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8570         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8571         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8572         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8573         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8574         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8576         Likewise.
8577         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8578         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8579         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8580         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8581         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8582         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8583         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8584         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8587         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8589         Regenerated.
8590         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8592         Condition symbol version definitions on [HAVE_ELFV2_ABI].
8594         * shlib-versions: Remove OS-specific entries.  Moved to files in
8595         sysdeps.
8596         * sysdeps/mach/hurd/shlib-versions: New file.
8597         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8599         * nptl/shlib-versions: Remove architecture-specific entries.
8600         Moved to files in sysdeps.
8601         * shlib-versions: Likewise.
8602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8603         file.
8604         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8605         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8606         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8607         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8609         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8610         (UDP_NO_CHECK6_RX): Likewise.
8612 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8614         * sysdeps/posix/sysconf.c (__sysconf): Spell
8615         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8617 2014-08-12  Florian Weimer  <fweimer@redhat.com>
8619         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8620         loading.
8621         * iconv/Versions (__gconv_transliterate): Export for use from
8622         gconv modules.
8623         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8624         (struct __gconv_trans_data, __gconv_trans_fct,
8625         __gconv_trans_context_fct, __gconv_trans_query_fct,
8626         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8627         definitions.
8628         (struct __gconv_step_data): Remove __trans member.
8629         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
8630         longer hidden.  Remove unused trans_data argument.
8631         * iconv/gconv_int.h (struct trans_struct): Remove definition.
8632         (__gconv_translit_find): Remove declaration.
8633         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
8634         prototype.
8635         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8636         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8637         trans_data argument.  Add hidden definition.
8638         (__gconv_translit_find): Remove.
8639         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8640         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8641         * iconv/skeleton.c: Remove transliteration initialization.
8642         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8643         __gconv_step_data initialization.
8644         * libio/iofwide.c (__libio_translit_): Remove.
8645         (_IO_fwide): Adjust struct __gconv_step_data initialization.
8646         * wcsmbs/btowc.c (__btowc): Likewise.
8647         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8648         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8649         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8650         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8651         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8652         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8653         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8654         * wcsmbs/wctob.c (wctob): Likewise.
8656 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8658         [BZ #16194]
8659         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8660         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
8661         register usage.
8662         * sysdeps/x86/Makefile: Adjust.
8664 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8665             Roland McGrath  <roland@hack.frob.com>
8667         * locale/weight.h: Add include guard.
8668         (findidx): Make static rather than auto; take new parameters
8669         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8670         * locale/weightwc.h: Likewise.
8671         * posix/fnmatch_loop.c
8672         (FCT): Change type of EXTRA from int32_t to wint_t.
8673         Don't include either header inside the function.
8674         Call FINDIDX rather than findidx, and pass new arguments.
8675         #undef FINDIDX at the end of the file.
8676         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8677         FINDIDX before including fnmatch_loop.c for the non-wide version.
8678         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8679         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8680         for the wide version.
8681         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8682         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8683         Pass new arguments to findidx.
8684         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8685         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8686         Don't #include it inside the function.  Pass new arguments to findidx.
8687         * posix/regex_internal.h
8688         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8689         (re_string_elem_size_at): Don't #include it inside the function.
8690         Pass new arguments to findidx.
8691         * string/strcoll_l.c: #include WEIGHT_H at top level.
8692         (get_next_seq): Don't #include it inside the function.
8693         Pass new arguments to findidx.
8694         (get_next_seq_nocache): Likewise.
8695         * string/strxfrm_l.c: #include WEIGHT_H at top level.
8696         (STRXFRM): Don't #include it inside the function.
8697         Pass new arguments to findidx.
8699 2014-09-11  Florian Weimer  <fweimer@redhat.com>
8701         [BZ #17344]
8702         * malloc/malloc.c (unlink): Turn asserts into a call to
8703         malloc_printerr.
8705 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
8707         [BZ #17370]
8708         * libio/wfileops (do_ftell_wide): Free OUT.
8710 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
8712         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8714 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8716         [BZ #17363]
8717         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8718         group if the current group is empty.
8720 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8722         * benchtests/bench-memset.c (test_main): Add more test from size
8723         from 32 to 512 bytes.
8724         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8725         Add POWER8 memset object.
8726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8727         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8728         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8729         implementation.
8730         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8731         Likewise.
8732         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8733         multiarch POWER8 memset optimization.
8734         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8735         POWER8 memset optimization.
8737         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8738         Remove bzero multiarch objects.
8739         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8740         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8741         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8742         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8743         Remove define.
8744         [__bzero]: Redefine to specific name.
8745         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8746         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8747         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8748         define.
8749         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8750         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8752 2014-09-10  Florian Weimer  <fweimer@redhat.com>
8754         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8755         warnings into errors.
8757         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8758         __cxa_thread_atexit_impl prototype.
8760 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8762         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8763         Fix capitalization of error message.
8765 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8767         * sysdeps/mips/preconfigure: Modify ABI tests.
8769 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
8771         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8773 2014-09-07  Roland McGrath  <roland@hack.frob.com>
8774             Carlos O'Donell  <carlos@systemhalted.org>
8776         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8777         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8778         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8779         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8780         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8781         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8782         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8783         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8784         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8785         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8786         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8787         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8788         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8789         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8790         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8791         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8792         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8793         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8794         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8795         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8796         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8797         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8798         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8799         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8800         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8801         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8802         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8803         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8804         Deconditionalize the code that was previously under [RESET_PID].
8805         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8806         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8807         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8808         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8809         include sysdep.h.
8811 2014-09-08  Allan McRae  <allan@archlinux.org>
8813         * version.h (RELEASE): Set to "development".
8814         (VERSION): Set to "2.20.90"
8816 2014-09-07  Allan McRae  <allan@archlinux.org
8818         * version.h (RELEASE): Set to "stable".
8819         (VERSION): Set to "2.20"
8820         * include/features.h (__GLIBC_MINOR__): Set to 20.
8822         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8823         Liebler.
8825         * po/ko.po: Update Korean translation from translation project.
8827 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
8829         [BZ #17354]
8830         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8831         macro for handling signed relocations.
8833 2014-09-03  Florian Weimer  <fweimer@redhat.com>
8835         [BZ #17325]
8836         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8837         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8838         assert.
8839         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8840         * iconvdata/ibm935.c (BODY): Likewise.
8841         * iconvdata/ibm937.c (BODY): Likewise.
8842         * iconvdata/ibm939.c (BODY): Likewise.
8843         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8844         assert.
8845         * iconvdata/Makefile (iconv-test.out): Pass module list to test
8846         script.
8847         * iconvdata/run-iconv-test.sh: New test loop for checking for
8848         decoder crashers.
8850 2014-09-02  Khem Raj  <raj.khem@gmail.com>
8852         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8853         libm_hidden_ver.
8855 2014-09-01  Allan McRae  <allan@archlinux.org>
8857         * po/eo.po: Update Esperanto translation from translation project.
8859         * po/ca.po: Update Catalan translation from translation project.
8861 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8863         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8864         __proc_dostop call.
8866 2014-08-27  Mark Wielaard  <mjw@redhat.com>
8868         [BZ #17319]
8869         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8870         to call set_thread_area instead of hand written asm.
8871         (__NR_set_thread_area): Removed define.
8872         (TLS_FLAG_WRITABLE): Likewise.
8873         (__ASSUME_SET_THREAD_AREA): Remove check.
8874         (TLS_EBX_ARG): Remove define.
8875         (TLS_LOAD_EBX): Likewise.
8877 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8879         Simplify atomicity of socket creation in bind.
8881         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8882         looking up the name after linking the file.
8884 2014-08-27  Allan McRae  <allan@archlinux.org>
8886         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8888 2014-08-26  Florian Weimer  <fweimer@redhat.com>
8890         [BZ #17187]
8891         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8892         trans_compare, open_translit, __gconv_translit_find):
8893         Remove module loading code.
8895 2014-08-26  Allan McRae  <allan@archlinux.org>
8897         * po/vi.po: Update Vietnamese translation from translation project.
8899         * po/uk.po: Update Ukrainian translation from translation project.
8901         * po/fr.po: Update French translation from translation project.
8903         * po/ru.po: Update Russian translation from translation project.
8905         * po/pl.po: Update Polish translation from translation project.
8907         * po/cs.po: Update Czech translation from translation project.
8909         * po/de.po: Update German translation from translation project.
8911         * po/bg.po: Update Bulgarian translation from translation project.
8913         * po/sv.po: Update Sweedish translation from translation project.
8915         * po/nl.po: Update Dutch translation from translation project.
8917         * po/es.po: Update Spanish translation from translation project.
8919 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8921         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8923         * catgets/Makefile (CPPFLAGS-gencat): Remove.
8924         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8925         (CPPFLAGS-iconvconfig): Likewise.
8926         * timezone/Makefile (CPPFLAGS-zic): Likewise.
8928         * include/libc-symbols.h: Remove unnecessary check for
8929         NOT_IN_libc.
8930         * nptl/pthreadP.h: Likewise.
8931         * sysdeps/aarch64/setjmp.S: Likewise.
8932         * sysdeps/alpha/setjmp.S: Likewise.
8933         * sysdeps/arm/sysdep.h: Likewise.
8934         * sysdeps/i386/setjmp.S: Likewise.
8935         * sysdeps/m68k/setjmp.c: Likewise.
8936         * sysdeps/posix/getcwd.c: Likewise.
8937         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8938         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8939         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8940         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8941         * sysdeps/sh/sh3/setjmp.S: Likewise.
8942         * sysdeps/sh/sh4/setjmp.S: Likewise.
8943         * sysdeps/unix/alpha/sysdep.h: Likewise.
8944         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8945         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8946         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8947         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8952         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8953         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8954         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8955         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8956         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8957         * sysdeps/x86_64/setjmp.S: Likewise.
8959 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
8961         [BZ #17263]
8962         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8963         <stdint.h>.
8964         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8965         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8967 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8969         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8971         [BZ #17262]
8972         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8973         and __x86_64__ when disabling x87 inline functions.
8975 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
8977         [BZ #17259]
8978         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8979         asm statement with __cpuid_count.
8981 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
8983         * configure.ac: Change __ehdr_start code to dereference the struct.
8984         Run readelf on the output to look for relocations.
8985         * configure: Regenerated.
8987 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
8989         [BZ #17261]
8990         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8991         value to 0.
8992         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8994 2014-08-12  Roland McGrath  <roland@hack.frob.com>
8996         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8998 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
9000         [BZ #16892]
9001         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9002         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9004 2014-08-12  Sean Anderson  <seanga2@gmail.com>
9006         * malloc/malloc.c: Fix typo in comment.
9008 2014-08-09  Allan McRae  <allan@archlinux.org>
9010         * Regenerate libc.po.
9012 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
9014         * intl/tst-gettext2.sh: Check every lang file for creation.
9016 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9018         * sysdeps/aarch64/fpu/math_private.h
9019         (libc_feholdsetround_noex_aarch64_ctx): New function.
9021 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9023         * sysdeps/arm/armv6/strcpy.S (strcpy):
9024         Fix performance issue in misaligned cases.
9026 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9028         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9029         Move definition from termios.h.
9030         (struct termio): Likewise.
9031         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9032         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9033         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9034         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9035         Likewise.
9036         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9037         Move definition to ioctl-types.h
9038         (struct termio): Likewise.
9039         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9040         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9041         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9042         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9043         Likewise.
9045 2014-08-05  Richard Henderson  <rth@redhat.com>
9047         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9048         exceptions.
9049         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9050         Add fraiseexcpt.
9051         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9052         Use __feraiseexcept.
9053         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9054         Protect libm symbols with IS_IN_libm.
9056         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9058 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
9060         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9062 2014-08-04  Will Newton  <will.newton@linaro.org>
9064         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9065         file.
9067 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
9069         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9070         variants for each function.
9072 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9074         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9075         appended ...
9076         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9077         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9078         appended ...
9079         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9080         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9081         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9082         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9083         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9084         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9085         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9086         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9087         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9088         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9089         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9090         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9091         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9092         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9093         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9094         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9095         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9096         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9097         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9098         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9099         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9100         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9101         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9102         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9103         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9104         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9105         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
9106         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
9107         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
9108         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
9109         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
9110         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
9111         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
9112         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
9113         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
9114         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
9115         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
9116         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
9117         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
9118         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
9119         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
9120         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
9121         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
9122         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
9123         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
9124         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
9125         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
9126         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
9127         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
9128         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
9129         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
9130         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
9131         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
9132         Update #include.
9133         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
9134         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
9136 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9138         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
9139         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
9140         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
9141         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
9142         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
9143         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
9145 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9147         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
9148         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
9149         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9150         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
9152 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9154         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
9155         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
9156         (__libc_vfork): Define function under this name.
9157         (__vfork): Define as an alias.
9158         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
9159         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
9161 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9163         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
9164         that was previously under [RESET_PID].
9165         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
9167 2014-08-04  Andreas Schwab  <schwab@suse.de>
9169         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
9171 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
9173         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
9174         (main): Likewise.
9176 2014-08-01  Roland McGrath  <roland@hack.frob.com>
9178         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
9180 2014-08-01  Richard Henderon  <rth@redhat.com>
9182         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
9183         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
9184         typo in exact zero test.
9185         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9186         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9187         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9189 2014-08-01  Roland McGrath  <roland@hack.frob.com>
9191         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
9192         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
9193         * sysdeps/arm/sysdep.h: ... here.
9194         [!__ASSEMBLER__]: Include <stdint.h>.
9196 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9198         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
9199         (HAVE_WCTYPE_H): Likewise.
9200         (HAVE_ISWCTYPE): Likewise.
9201         (ENABLE_NLS): Likewise.
9202         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
9203         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
9205         * posix/regex_internal.c: Check if DEBUG is defined and is
9206         set.
9208         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
9209         (HAVE_MBSRTOWCS): Likewise.
9210         * posix/fnmatch.c: Include string.h unconditionally.
9212 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9214         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9215         reversal.
9217 2014-07-31  Roland McGrath  <roland@hack.frob.com>
9219         * sysdeps/generic/safe-fatal.h: New file.
9220         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9221         * nptl/forward.c: Include it.
9222         (__pthread_unwind): Use __safe_fatal as default action, rather
9223         than a bogus use of INTERNAL_SYSCALL that could never work.
9225         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9226         * configure.ac (libc_cv_builtin_trap): New test.
9227         * configure: Regenerated.
9228         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9229         (ABORT_INSTRUCTION): Define using __builtin_trap.
9231         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9232         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9233         * sysdeps/nptl/nptl-signals.h: New file.
9234         * nptl/pthreadP.h: Include <nptl-signals.h>.
9236 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9238         * sysdeps/s390/s390-64/utf16-utf32-z9.c
9239         (ONE_DIRECTION): Define.
9240         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9241         (ONE_DIRECTION): Define.
9242         * sysdeps/s390/s390-64/utf8-utf32-z9.c
9243         (ONE_DIRECTION): Define.
9245 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9247         * sysdeps/s390/Makefile: Delete file.
9248         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9249         * sysdeps/s390/__longjmp.c: Delete file.
9250         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9251         Remove fields __flags and __reserved.
9252         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9253         and add versioning.
9254         * sysdeps/s390/rtld-__longjmp.c: Delete file.
9255         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9256         * sysdeps/s390/rtld-setjmp.S: Likewise.
9257         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9258         * sysdeps/s390/s390-32/__longjmp.c: ... here.
9259         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9260         * sysdeps/s390/s390-32/setjmp.S: ... here.
9261         Add versioning.
9262         (__sigsetjmp): Remove setting __flags field.
9263         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9264         * sysdeps/s390/s390-64/__longjmp.c: ... here.
9265         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9266         * sysdeps/s390/s390-64/setjmp.S: ... here.
9267         Add versioning.
9268         (__sigsetjmp): Remove setting __flags field.
9269         * sysdeps/s390/setjmp.S: Delete file.
9270         * sysdeps/s390/sigjmp.c: Likewise.
9271         * sysdeps/s390/v1-longjmp.c: Likewise.
9272         * sysdeps/s390/v1-setjmp.h: Likewise.
9273         * sysdeps/s390/v1-sigjmp.c: Likewise.
9274         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9275         Remove v1-longjmp_chk.
9276         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9277         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9278         Include debug/longjmp_chk.c and add versioning.
9279         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9280         Include nptl/pt-longjmp.c and add versioning.
9281         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9282         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9283         Include __longjmp.c.
9284         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9285         Move to ...
9286         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9287         (__getcontext): Remove setting __flags field.
9288         Add versioning.
9289         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9290         Don't restore upper high grps.
9291         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9292         Likewise.
9293         (__swapcontext): Remove setting uc_flags field.
9294         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9295         Delete file.
9296         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9297         Include __longjmp.c.
9298         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9299         Move to ...
9300         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9301         (__getcontext): Remove setting __flags field.
9302         Add versioning.
9303         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9304         (__swapcontext): Remove setting uc_flags field.
9305         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9306         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9307         Remove fields uc_high_gprs and __reserved.
9308         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9309         New file with reverted content.
9310         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9311         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9312         Regenerated.
9313         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9314         Regenerated.
9316 2014-07-31  Andreas Schwab  <schwab@suse.de>
9318         * config.h.in (HAVE_IFUNC): Define to 0.
9319         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9320         definedness.
9322 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
9324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9325         memmove-avx-unaligned, memcpy-avx-unaligned and
9326         mempcpy-avx-unaligned.
9327         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9328         Add tests for AVX memcpy functions.
9329         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9330         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9331         memcpy_chk.
9332         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9333         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9334         memmove_chk.
9335         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9336         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9337         mempcpy_chk.
9338         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9339         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9340         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9342 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9344         [BZ #17213]
9345         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9346         powerpc64le.
9348 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
9350         [BZ #16839]
9351         * manual/llio.texi: Add section about open file description locks.
9352         * manual/examples/ofdlocks.c: Example of open file description
9353         lock usage.
9354         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9355         F_OFD_SETLK, and F_OFD_SETLKW.
9357 2014-07-23  Allan McRae  <allan@archlinux.org>
9359         * po/es.po: Update Spanish translation from translation project.
9361 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
9363         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9365 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
9367         [BZ #17078]
9368         * sysdeps/arm/dl-machine.h (elf_machine_rela)
9369         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9370         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9372 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
9374         [BZ #17088]
9375         * math/fesetenv.c (__fesetenv)
9376         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9377         * math/feupdateenv.c (__feupdateenv)
9378         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9380         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9381         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9382         (__ASSUME_SOCKETCALL): Do not define.
9384         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9385         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9386         (__ASSUME_SOCKETCALL): Do not define.
9387         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9388         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9389         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9390         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9391         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9392         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9393         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9394         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9396         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9397         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9398         (__ASSUME_SOCKETCALL): Do not define.
9399         (__ASSUME_IPC64): Define unconditionally.
9400         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9401         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9402         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9403         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9404         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9405         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9406         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9407         Likewise.
9409         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9410         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9411         (__ASSUME_SOCKETCALL): Do not define.
9412         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9413         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9414         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9415         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9416         (__ASSUME_REQUEUE_PI): Define unconditionally.
9417         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9418         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9419         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9420         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9421         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9422         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9424         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9425         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9426         (__ASSUME_SOCKETCALL): Do not define.
9427         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9428         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9429         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9430         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9431         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9432         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9434         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9435         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9436         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9437         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9438         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9439         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9440         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9441         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9442         (__ASSUME_GETCPU_SYSCALL): Likewise.
9444         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9445         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
9446         cases for individual architectures.
9447         * sysdeps/gnu/configure: Regenerated.
9448         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9449         LIBC_SLIBDIR_RTLDDIR.
9450         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9451         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9452         LIBC_SLIBDIR_RTLDDIR.
9453         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9455         LIBC_SLIBDIR_RTLDDIR.
9456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9457         Regenerated.
9458         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9459         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9460         file.
9461         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9462         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9463         file.
9464         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9465         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9466         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9467         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9469         * sysdeps/aarch64/shlib-versions: Move to ...
9470         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9471         * sysdeps/alpha/shlib-versions: Move to ...
9472         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9473         * sysdeps/arm/shlib-versions: Move to ...
9474         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9475         * sysdeps/hppa/shlib-versions: Move all contents except for
9476         libgcc_s entry to ...
9477         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
9478         entry from ...
9479         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
9480         * sysdeps/ia64/shlib-versions: Move to ...
9481         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
9482         entry from ...
9483         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
9484         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9485         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9486         * sysdeps/microblaze/shlib-versions: Move to ...
9487         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9488         * sysdeps/mips/shlib-versions: Move to ...
9489         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
9490         entry from ...
9491         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
9492         * sysdeps/tile/shlib-versions: Move to ...
9493         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9494         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9495         from ...
9496         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
9497         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9498         entry from ...
9499         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
9501 2014-07-17  Will Newton  <will.newton@linaro.org>
9503         * sysdeps/arm/bits/atomic.h
9504         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9505         (__arch_compare_and_exchange_bool_16_int): Likewise.
9506         (__arch_compare_and_exchange_bool_64_int): Likewise.
9508         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9509         into an #else block.
9511 2014-07-16  Roland McGrath  <roland@hack.frob.com>
9513         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9514         just Linux configurations.  Test empirically that the compiler sets
9515         __ARM_EABI__, rather than using the tuple to decide.
9516         * sysdeps/arm/preconfigure: Regenerated.
9517         * sysdeps/unix/sysv/linux/arm/configure: File removed.
9518         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9519         contents appended ...
9520         * sysdeps/arm/configure.ac: ... here.
9521         * sysdeps/arm/configure: Regenerated.
9523 2014-07-15  Roland McGrath  <roland@hack.frob.com>
9525         * nptl/pthread_kill.c: New file.
9526         * nptl/pthread_sigmask.c: New file.
9527         * nptl/pthread_sigqueue.c: New file.
9529         * sysdeps/nptl/lowlevellock.h: New file.
9530         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9531         * sysdeps/nptl/lowlevellock-futex.h: New file.
9533         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9534         Remove dead declarations.
9536 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
9538         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9539         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9540         config-cflags-avx2.
9541         * sysdeps/x86_64/configure.ac: Likewise.
9542         * sysdeps/i386/configure: Regenerated.
9543         * sysdeps/x86_64/configure: Likewise.
9544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9545         memset-avx2 only if config-cflags-avx2 is yes.
9546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9547         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9548         defined.
9549         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9550         only if HAVE_AVX2_SUPPORT is defined.
9551         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9553 2014-07-14  Alan Modra  <amodra@gmail.com>
9555         [BZ #17153]
9556         * elf/elf.h (DT_PPC64_NUM): Correct value.
9557         * NEWS: Add to fixed bug list.
9559 2014-07-13  Jim Meyering  <meyering@fb.com>
9561         [BZ 17150]
9562         regex: don't deref NULL upon heap allocation failure
9563         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9564         failure in one more place.
9565         To trigger the segfault, configure grep -with-included-regex,
9566         build it, and run these commands:
9567         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9569 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
9571         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9573 2014-07-11  Richard Henderson  <rth@redhat.com>
9575         * sysdeps/aarch64/libm-test-ulps: Update.
9577 2014-07-10  Florian Weimer  <fweimer@redhat.com>
9579         [BZ #17135]
9580         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9581         * nptl/allocatestack.c (__nptl_setxid_error): New function.
9582         (__nptl_setxid): Initialize error member.  Call
9583         __nptl_setxid_error.
9584         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9585         * nptl/descr.h (struct xid_command): Add error member.
9586         * nptl/tst-setuid3.c: New file.
9587         * nptl/Makefile (tests): Add it.
9589 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9591         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9592         New define.
9593         (__lll_trylock): Use __lll_base_trylock.
9594         (__lll_cond_trylock): Likewise.
9596 2014-07-10  Roland McGrath  <roland@hack.frob.com>
9598         * nptl/pthread_create.c (start_thread): Use atomic_or and
9599         lll_futex_wake directly rather than lll_robust_dead.
9600         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9601         (lll_robust_dead): Macro removed.
9602         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
9603         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9604         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9605         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9606         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9607         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9608         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9609         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9610         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9611         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9612         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9613         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9614         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9615         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9616         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9618         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9619         Use atomic_compare_and_exchange_val_acq directly rather than
9620         lll_robust_trylock.
9621         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9622         (__lll_robust_trylock, lll_robust_trylock): Removed.
9623         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9624         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9625         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9626         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9627         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9628         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9629         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9630         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9631         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9632         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9633         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9634         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9635         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9636         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9638 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9640         * manual/locale.texi (Locale Names): New section documenting
9641         locale name syntax.  Adjust menu and node chaining accordingly.
9642         (Choosing Locale): Reference Locale Names, Locale Categories.
9643         Mention setting LC_ALL=C.  Reflect that name syntax is now
9644         documented.
9645         (Locale Categories): New section title.  Reference Locale Names.
9646         LC_ALL is an environment variable, but not a category.
9647         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9648         description, now in Locale Name.  Reference that section.  Locale
9649         name syntax is now documented.
9651 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9653         [BZ #17137]
9654         * locale/findlocale.c (name_present, valid_locale_name): New
9655         functions.
9656         (_nl_find_locale): Use the loc_name variable to store name
9657         candidates.  Call name_present and valid_locale_name to check and
9658         validate locale names.  Return an error if the locale is invalid.
9660 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9662         * locale/setlocale.c (setlocale): Use strdup for allocating
9663         composite name copy.
9665 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9667         Sync up with gnulib.
9668         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9669         [!_LIBC && ENABLE_NLS]: Include gettext.h.
9670         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9671         and _GL_ARG_NONNULL.
9672         [USE_UNLOCKED_IO]: Include unlocked-io.h.
9673         [!_LIBC]: Include code for Windows and Cygwin.
9674         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9675         Include prototype for int strerror_r.
9676         [!_LIBC] (is_open): New function.
9677         (flush_stdout): New function.
9678         (print_errno_message): Use it.
9679         (error): Likewise.
9680         (error_at_line): Likewise.
9681         (error_tail) Add function attribute macros.  Use
9682         __builtin_expect.
9684         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9686         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9688         * io/ftw.c: Include sys/param.h unconditionally.
9690         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9692         [BZ #17125]
9693         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9694         libc_freeres_ptr.
9695         (freecache): New function to free CACHE on exit.
9697         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9698         initialization.
9700 2014-07-09  David S. Miller  <davem@davemloft.net>
9702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9704         * sysdeps/sparc/nptl/internaltypes.h: Delete.
9705         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9706         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9707         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9708         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9709         * sysdeps/sparc/nptl/sem_init.c: Likewise.
9710         * sysdeps/sparc/nptl/sem_post.c: Likewise.
9711         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9712         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9713         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9714         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9715         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9716         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9718 2014-07-09  Andreas Schwab  <schwab@suse.de>
9720         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9721         output.
9722         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9723         (do_test): Likewise.
9725         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9727 2014-07-09  Will Newton  <will.newton@linaro.org>
9729         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9730         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9731         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9732         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9733         * sysdeps/hppa/start.S (_start): Likewise.
9735 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9737         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9739         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9740         defined.
9742 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9744         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9745         after checking that it is non-NULL.
9747         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9749 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9751         * sysdeps/powerpc/memmove.c: Remove file.
9752         * sysdeps/powerpc/powerpc32/power4/memcopy.h
9753         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9754         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9755         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9756         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9757         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9758         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9759         string memmove instead of removed powerpc one.
9761         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9762         [weak_alias]: Fix compiler warning due trailing data.
9763         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9764         [weak_alias]: Likewise.
9765         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9766         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9769         (__libc_ifunc_impl_list): Add memmove functions.
9771 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9773         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9774         Remove code.
9775         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9776         Likewise
9777         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9778         Likewise
9779         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9780         Likewise
9781         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9782         Likewise
9783         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9784         Likewise
9785         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9786         Likewise
9787         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9788         Likewise
9789         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9790         Likewise
9791         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9792         Likewise
9793         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9794         Likewise
9795         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9796         Likewise
9797         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9798         Likewise
9799         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9800         Likewise
9801         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9802         Likewise
9803         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9804         Likewise
9805         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9806         Likewise
9808 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9810         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9811         to avoid alignment traps in non-cacheable memory.
9812         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9815         multiarch objects.
9816         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9817         file: multiarch power7 memmove.
9818         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9819         multiarch default memmove.
9820         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9821         multiarch memove for powerpc32/power4.
9823         * string/bcopy.c: Use full path to include memmove.c.
9824         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9825         multiarch objects.
9826         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9827         bcopy for powerpc64.
9828         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9829         bcopy for powerpc64.
9830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9831         and memmove implementations.
9832         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9833         optimized multiarch memmove for POWER7/powerpc64.
9834         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9835         default multiarch memmove for powerpc64.
9836         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9837         multiarch for powerpc64.
9838         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9839         for POWER7/powerpc64.
9840         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9841         memmove for POWER7/powerpc64.
9843         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9844         glibc default one.
9846         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9847         __ELF_NATIVE_CLASS equal to 64.
9849 2014-07-07  Roland McGrath  <roland@hack.frob.com>
9851         * sysdeps/nptl/lowlevellock.h: File removed.
9853         * NEWS: NPTL is no longer an add-on!
9854         * nptl/internaltypes.h: Moved ...
9855         * sysdeps/nptl/internaltypes.h: ... here.
9856         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9857         * sysdeps/nptl/fork.c: Likewise.
9858         * sysdeps/nptl/gai_misc.h: Likewise.
9859         * sysdeps/nptl/librt-cancellation.c: Likewise.
9860         * sysdeps/nptl/jmp-unwind.c: Likewise.
9861         * sysdeps/nptl/setxid.h: Likewise.
9862         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9863         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9864         * sysdeps/unix/sysv/linux/arm/Implies: New file.
9865         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9866         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9867         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9868         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9869         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9870         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9871         * sysdeps/unix/sysv/linux/mips/Implies: New file.
9872         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9873         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9874         * sysdeps/unix/sysv/linux/sh/Implies: New file.
9875         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9876         * sysdeps/unix/sysv/linux/tile/Implies: New file.
9877         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9878         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9879         * nptl/Makeconfig: Moved ...
9880         * sysdeps/nptl/Makeconfig: ... here.
9881         * nptl/configure: File removed.
9882         * nptl/ANNOUNCE: File removed.
9883         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9884         * sysdeps/unix/sysv/linux/configure: Regenerated.
9886         * nptl/Makefile (routines): Add libc_pthread_init,
9887         libc_multiple_threads, register-atfork and unregister-atfork.
9888         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9889         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9890         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9891         pthread-pi-defines.sym, structsem.sym.
9892         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9893         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9894         [$(subdir) = nptl] (tests): Add tst-setgetname.
9895         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9896         * sysdeps/unix/sysv/linux/sigaction.c: Just include
9897         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9898         [!LIBC_SIGACTION]: Remove aliases.
9899         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9900         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9901         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9902         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9903         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9904         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9905         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9906         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9907         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9908         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9909         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9910         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9911         __libc_allocate_rtsig_private.
9912         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9913         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9914         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9915         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9916         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9917         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9918         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9919         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9920         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9921         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9922         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9923         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9924         * nptl/internaltypes.h: ... here.
9925         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9926         * sysdeps/nptl/jmp-unwind.c: ... here.
9927         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9928         * nptl/libc-lowlevellock.c: ... here.
9929         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9930         * nptl/libc_multiple_threads.c: ... here.
9931         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9932         * nptl/libc_pthread_init.c: ... here.
9933         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9934         * nptl/lowlevelbarrier.sym: ... here.
9935         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9936         * nptl/lowlevelcond.sym: ... here.
9937         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9938         * nptl/lowlevellock.c: ... here.
9939         * nptl/lowlevellock.h: Moved ...
9940         * sysdeps/nptl/lowlevellock.h: ... here.
9941         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9942         * nptl/lowlevelrobustlock.c: ... here.
9943         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9944         * nptl/lowlevelrobustlock.sym: ... here.
9945         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9946         * nptl/lowlevelrwlock.sym: ... here.
9947         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9948         * nptl/pt-fork.c: ... here.
9949         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9950         * nptl/pthread-pi-defines.sym: ... here.
9951         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9952         * nptl/pthread_attr_getaffinity.c: ... here.
9953         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9954         * nptl/pthread_attr_setaffinity.c: ... here.
9955         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9956         * nptl/pthread_mutex_cond_lock.c: ... here.
9957         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9958         Update #include.
9959         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9960         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9961         * nptl/pthread_once.c: ... here, replacing old file.
9962         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9963         * nptl/pthread_yield.c: ... here.
9964         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9965         * nptl/register-atfork.c: ... here.
9966         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9967         * nptl/sem_post.c: ... here.
9968         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9969         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9970         * nptl/sem_timedwait.c: ... here.
9971         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9972         * nptl/sem_trywait.c: ... here.
9973         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9974         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9975         * nptl/sem_wait.c: ... here.
9976         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9977         * nptl/structsem.sym: ... here.
9978         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9979         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9980         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9981         * nptl/unregister-atfork.c: ... here.
9982         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9983         * nptl/unwindbuf.sym: ... here.
9984         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9985         * sysdeps/nptl/fork.c: ... here.
9986         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9987         * sysdeps/nptl/fork.h: ... here.
9988         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9989         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9990         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9991         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9992         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9993         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9994         * sysdeps/unix/sysv/linux/getpid.c: ... here.
9995         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9996         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9997         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9998         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9999         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10000         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10001         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10002         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10003         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10004         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10005         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10006         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10007         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10008         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10009         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10010         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10011         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10012         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10013         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10014         * sysdeps/unix/sysv/linux/raise.c: ... here.
10015         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10016         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10017         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10018         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10019         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10020         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10021         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10022         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10023         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10024         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10025         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10026         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10027         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10028         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10029         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10031 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10033         * sysdeps/generic/memcopy.h: Add comment for
10034         MEMCPY_OK_FOR_FWD_MEMMOVE.
10036 2014-07-04  Will Newton  <will.newton@linaro.org>
10038         * string/memchr.c: Merge from gnulib.
10039         [_LIBC]: Remove conditionals.
10040         (__ptr_t): Remove define.
10041         (LONG_MAX_32_BITS): Likewise.
10042         (LONG_MAX): Likewise.
10043         (MEMCHR): Use ANSI prototype and optimize algorithm.
10045         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10047 2014-07-03  Roland McGrath  <roland@hack.frob.com>
10049         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10050         (lll_futex_timed_wait_bitset): Fix syscall argument count.
10052         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10053         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10054         in a bare environment with no <stdlib.h> installed.
10055         * sysdeps/nptl/configure: Regenerated.
10057         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10059         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10060         AC_EGREP_CPP for kernel header checks, so they only succeed if
10061         including <linux/version.h> actually works right.
10062         * sysdeps/unix/sysv/linux/configure: Regenerated.
10064         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10065         value so it's not diagnosed as unused.
10067         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10068         thing) with "ifeq ($(subdir),rt)".
10070 2014-07-03  Richard Henderson  <rth@redhat.com>
10072         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10073         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10074         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10076         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10077         (math_force_eval): New.
10079         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10080         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10082         * sysdeps/alpha/fpu/s_round.c: Remove file.
10083         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10085         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10086         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10087         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10088         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10089         (_dl_start, print_statistics): Likewise.
10090         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10091         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10093         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10094         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10095         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10096         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10097         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10098         (HP_SMALL_TIMING_AVAIL): Define.
10099         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10100         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10101         (HP_SMALL_TIMING_AVAIL): Define.
10102         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10103         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10105         * sysdeps/aarch64/hp-timing.h: New file.
10107         * sysdeps/generic/hp-timing.h: Remove dead comment.
10108         * sysdeps/generic/hp-timing-common.h: New file.
10109         * sysdeps/alpha/hp-timing.h: Include it.
10110         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
10111         * sysdeps/i386/i686/hp-timing.h: Likewise.
10112         * sysdeps/ia64/hp-timing.h: Likewise.
10113         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10114         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10115         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10116         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10117         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
10118         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
10119         (hp_timing_t): New.
10121         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
10122         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
10123         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
10124         * elf/rtld.c (_dl_start_final): Likewise.
10125         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
10126         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10127         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10128         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10129         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10130         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10131         (HP_TIMING_DIFF_INIT): Remove.
10132         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10133         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10134         (HP_TIMING_DIFF_INIT): Remove.
10135         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10136         * sysdeps/i386/i686/hp-timing.c: Remove file.
10137         * sysdeps/x86_64/hp-timing.c: Remove file.
10138         * sysdeps/ia64/hp-timing.c: Remove file.
10139         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
10140         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
10141         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
10142         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
10144         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
10145         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
10146         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
10147         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10148         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10149         (HP_TIMING_ACCUM): Remove.
10150         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10151         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
10152         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10154         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
10155         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
10156         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
10157         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
10158         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
10159         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10160         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
10161         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10163         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
10165 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
10167         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
10169 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10171         Sync up with gettext.
10172         * intl/loadmsgcat.c: Define O_BINARY if not defined.
10173         [_MSC_VER]: Include malloc.h
10174         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
10175         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
10176         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
10177         TEMP_FAILURE_RETRY.  Cast return of alloca.
10178         [!_LIBC] Call gl_rwlock_init.
10179         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
10181 2014-07-02  Roland McGrath  <roland@hack.frob.com>
10183         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
10184         before checking its value.
10186 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10188         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
10190         * debug/memcpy_chk.c: Don't include pagecopy.h.
10191         * debug/mempcpy_chk.c: Likewise.
10192         * string/memcpy.c: Likewise.
10193         * string/memmove.c: Likewise.
10194         * sysdeps/powerpc/memmove.c: Likewise.
10195         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
10196         definition of PAGE_COPY_FWD_MAYBE here...
10197         * sysdeps/generic/pagecopy.h: ... from here.
10198         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
10200 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10201             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10203         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
10204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
10205         optimizations.
10206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10207         (__libc_ifunc_impl_list): Likewise.
10208         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10209         multiarch strcat for PPC64.
10210         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
10211         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
10213 2014-07-02  Roland McGrath  <roland@hack.frob.com>
10215         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10217 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10219         * intl/loadmsgcat.c: Remove declaration of
10220         get_sysdep_segment_value.
10221         (get_sysdep_segment_value): Use ISO C style.
10222         (_nl_load_domain): Use ISO C style.  Get rid of redundant
10223         semicolon.  Fix typo and formatting in comment.
10224         (_nl_unload_domain): Use ISO C style.
10226         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10228 2014-07-02  Will Newton  <will.newton@linaro.org>
10230         * malloc/obstack.c: Merge from gnulib master.
10231         [HAVE_CONFIG_H]: Remove conditional code.
10232         [!_LIBC]: Include config.h.
10233         [!ELIDE_CODE]: Don't include inttypes.h, include
10234         stdint.h unconditionally.
10235         (print_and_abort): Mark as _Noreturn.
10236         (_obstack_allocated_p): Mark as __attribute_pure__.
10237         (obstack_free): Rename to __obstack_free.
10238         [!__attribute__]: Remove conditional code.
10239         * malloc/obstack.h: Merge from gnulib master.
10240         [__cplusplus]: Move conditional down.
10241         [!__attribute_pure__]: Define __attribute_pure__ here
10242         if it is not already defined.
10243         (_obstack_memory_used): Mark as __attribute_pure__.
10244         [!__obstack_free]: Define as obstack_free.
10245         [__GNUC__]: Remove check for ancient NeXT gcc.
10247 2014-07-02  Will Newton  <will.newton@linaro.org>
10248             Paul Eggert  <eggert@cs.ucla.edu>
10250         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10252 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10254         * resolv/gethnamaddr.c: Add comment warning that the file is
10255         not maintained.
10257 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
10259         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10260         entries.
10262         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10263         entry for aio_cancel and aio_cancel64.
10264         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10265         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10266         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10267         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10268         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10269         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10270         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10271         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10272         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10273         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10274         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10275         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10276         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10278 2014-07-01  Roland McGrath  <roland@hack.frob.com>
10280         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10281         * nptl/pthread_mutex_lock.c: Likewise.
10282         * nptl/pthread_mutex_timedlock.c: Likewise.
10283         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10285 2014-07-01  Richard henderson  <rth@redhat.com>
10287         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10288         (__isnan, __isnanl): Remove.
10289         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10291         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10293 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10295         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10297 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10299         * resolv/nss_dns/dns-host.c (getanswer_r)
10300         [MULTI_PTRS_ARE_ALIASES]: Remove code.
10302 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
10304         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10305         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10306         undefine.
10307         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10308         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10310 2014-07-01  Roland McGrath <roland@hack.frob.com>
10312         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10313         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10315         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10316         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10318         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10319         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10320         ... here.
10321         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10322         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10324         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10325         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10326         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10327         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10329         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10330         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10331         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10332         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10333         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10334         Moved ...
10335         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10336         ... here.
10337         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10338         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10339         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10340         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10341         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10342         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10343         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10344         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10345         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10346         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10347         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10348         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10349         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10350         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10351         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10352         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10353         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10354         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10355         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10356         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10357         ... here.
10358         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10359         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10360         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10361         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10362         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10363         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10364         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10365         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10367 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
10369         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10370         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10371         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10372         Add sysdep.
10374 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10378 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
10380         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10381         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10383         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10385         * sysdeps/arm/libm-test-ulps: Regenerated.
10387 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
10388             Roland McGrath <roland@hack.frob.com>
10390         * test-skeleton.c (signal_handler): Kill the whole process group
10391         before killing the child individually.
10392         (main): Report any failure on `setpgid'.
10394 2014-06-30  Roland McGrath  <roland@hack.frob.com>
10396         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10397         from _TLS_H to _ARM_NPTL_TLS_H.
10398         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10399         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10401 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
10403         [BZ #16539]
10404         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10405         (__expm1l): Return argument unchanged when small but not
10406         subnormal.
10408         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10409         include macro name.
10410         (_FP_UNPACK_RAW_1_P): Likewise.
10411         (_FP_PACK_RAW_1): Likewise.
10412         (_FP_PACK_RAW_1_P): Likewise.
10413         (_FP_MUL_MEAT_1_wide): Likewise.
10414         (_FP_MUL_MEAT_DW_1_hard): Likewise.
10415         (_FP_MUL_MEAT_1_hard): Likewise.
10416         (_FP_DIV_MEAT_1_imm): Likewise.
10417         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10418         (_FP_DIV_MEAT_1_udiv): Likewise.
10419         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10420         (_FP_UNPACK_RAW_2): Likewise.
10421         (_FP_UNPACK_RAW_2_P): Likewise.
10422         (_FP_PACK_RAW_2): Likewise.
10423         (_FP_PACK_RAW_2_P): Likewise.
10424         (_FP_MUL_MEAT_DW_2_wide): Likewise.
10425         (_FP_MUL_MEAT_2_wide): Likewise.
10426         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10427         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10428         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10429         (_FP_MUL_MEAT_2_gmp): Likewise.
10430         (_FP_DIV_MEAT_2_udiv): Likewise.
10431         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10432         (_FP_FRAC_SRL_4): Likewise.
10433         (_FP_FRAC_SRST_4): Likewise.
10434         (_FP_FRAC_SRS_4): Likewise.
10435         (_FP_UNPACK_RAW_4): Likewise.
10436         (_FP_UNPACK_RAW_4_P): Likewise.
10437         (_FP_PACK_RAW_4): Likewise.
10438         (_FP_PACK_RAW_4_P): Likewise.
10439         (_FP_MUL_MEAT_DW_4_wide): Likewise.
10440         (_FP_MUL_MEAT_4_wide): Likewise.
10441         (_FP_MUL_MEAT_4_gmp): Likewise.
10442         (umul_ppppmnnn): Likewise.
10443         (_FP_DIV_MEAT_4_udiv): Likewise.
10444         (__FP_FRAC_ADD_4): Likewise.
10445         (__FP_FRAC_SUB_3): Likewise.
10446         (__FP_FRAC_SUB_4): Likewise.
10447         (__FP_FRAC_DEC_3): Likewise.
10448         (__FP_FRAC_DEC_4): Likewise.
10449         (__FP_FRAC_ADDI_4): Likewise.
10450         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10451         (_FP_FRAC_SRL_8): Likewise.
10452         (_FP_FRAC_SRS_8): Likewise.
10454         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10455         include macro name.
10456         (FP_UNPACK_RAW_EP): Likewise.
10457         (FP_PACK_RAW_E): Likewise.
10458         (FP_PACK_RAW_EP): Likewise.
10459         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10460         (_FP_ISSIGNAN): Likewise.
10461         (_FP_ADD_INTERNAL): Likewise.
10462         (_FP_FMA): Likewise.
10463         (_FP_CMP): Likewise.
10464         (_FP_SQRT): Likewise.
10465         (_FP_TO_INT): Likewise.
10466         (_FP_FROM_INT): Likewise.
10467         (FP_EXTEND): Likewise.
10468         (_FP_DIV_MEAT_N_loop): Likewise.
10470 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
10472         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10473         throughout.
10475 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
10477         [BZ #17097]
10478         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10479         result with correct sign in case of exponents that produce
10480         overflow except for X very close to 1.
10482 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
10484         mktime: merge #if/#ifdef usage from glibc
10485         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10486         as that works with both Glibc's and Gnulib's style.
10487         See thread starting at Siddhesh Poyarekar's bug report at:
10488         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10490 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10492         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10493         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10494         * sysdeps/tile/tilegx/memmove.c: Remove file.
10496 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
10498         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10499         abi-name definition.
10500         * scripts/soversions.awk: Do not handle or generate ABI lines.
10501         * shlib-versions: Remove ABI entries.
10502         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10503         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10505 2014-06-27  Roland McGrath  <roland@hack.frob.com>
10507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10508         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10509         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10510         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10512         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10513         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10514         Moved ...
10515         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10516         ... here.
10517         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10518         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10520         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10522         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10524         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10526         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10528         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10529         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10530         Moved ...
10531         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10533         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10534         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10535         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10536         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10537         Moved ...
10538         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10539         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10540         Moved ...
10541         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10543         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10545         Moved ...
10546         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10547         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10548         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10550         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10551         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10552         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10553         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10554         Moved ...
10555         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10556         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10557         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10558         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10559         Moved ...
10560         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10561         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10562         Moved ...
10563         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10564         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10565         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10566         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10567         Moved ...
10568         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10569         ... here.
10570         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10571         Identical file removed.
10572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10573         Moved ...
10574         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10576         Identical file removed.
10577         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10578         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10579         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10580         Moved ...
10581         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10582         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10583         Identical file removed.
10584         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10585         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10586         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10587         Identical file removed.
10588         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10589         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10590         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10591         Identical file removed.
10592         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10593         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10594         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10595         Identical file removed.
10596         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10597         Moved ...
10598         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10599         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10600         Identical file removed.
10601         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10602         Moved ...
10603         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10604         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10605         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10606         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10607         Identical file removed.
10608         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10609         Moved ...
10610         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10611         ... here.
10612         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10613         Identical file removed.
10614         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10615         Moved ...
10616         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10617         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10618         Identical file removed.
10619         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10620         Moved ...
10621         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10623         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10624         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10625         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10626         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10627         Moved ...
10628         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10629         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10630         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10632         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10633         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10634         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10635         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10636         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10638 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
10640         [BZ #17092]
10641         * nscd/nscd.c (monitor_child): Return exit status of child
10642         instead of return value from wait syscall.
10644 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
10646         * configure.ac (libc_commonpagesize): Remove variable.
10647         (libc_relro_required): Likewise.
10648         (libc_cv_z_relro): Remove configure test.
10649         * configure: Regenerated.
10650         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10651         variable.
10652         (libc_relro_required): Likewise.
10653         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10654         (libc_relro_required): Likewise.
10655         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10656         (libc_relro_required): Likewise.
10657         * sysdeps/arm/preconfigure: Regenerated.
10658         * sysdeps/ia64/preconfigure: Remove file.
10659         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10660         variable.
10661         (libc_relro_required): Likewise.
10663         [BZ #16561]
10664         [BZ #16562]
10665         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10666         (__ieee754_yn): Set FE_TONEAREST mode internally and then
10667         recompute overflowing results in original rounding mode.
10668         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10669         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10670         recompute overflowing results in original rounding mode.
10671         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10672         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10673         recompute overflowing results in original rounding mode.
10674         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10675         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10676         recompute overflowing results in original rounding mode.
10677         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10678         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10679         recompute overflowing results in original rounding mode.
10680         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10681         (libc_feholdsetround_ctx): New macro.
10682         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10683         * sysdeps/i386/fpu/libm-test-ulps: Update.
10684         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10686 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10688         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10689         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10690         corresponding .cpsetup call.
10692 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10694         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10695         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10696         * sysdeps/arm/Makefile [$(subdir) = csu]
10697         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10698         (static-only-routines): Add aeabi_read_tp here.
10699         (shared-only-routines): Add libc-aeabi_read_tp here.
10700         (CFLAGS-libc-start.c): Add -fexceptions here.
10701         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10702         (sysdep_routines, static-only-routines, shared-only-routines):
10703         Don't add to these here.
10704         (CFLAGS-libc-start.c): Likewise.
10706         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10707         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10708         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10709         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10710         * sysdeps/arm/Makefile [$(subdir) = rt]
10711         (librt-sysdep_routines, librt-shared-only-routines):
10712         Append rt-aeabi_unwind_cpp_pr1 here.
10713         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10714         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10715         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10716         (libpthread-sysdep_routines, libpthread-shared-only-routines):
10717         Append nptl-aeabi_unwind_cpp_pr1 here.
10718         (tests): Filter out tst-cleanupx4 here.
10719         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10720         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10721         Don't do those here.
10723 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10725         * scripts/list-sources.sh: Do not handle ports specially.
10727 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10729         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10730         * sysdeps/arm/feupdateenv.c: Likewise.
10732         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10734 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10736         * manual/texinfo.tex: Update to version 2014-05-05.10 with
10737         trailing whitespace removed.
10738         * scripts/config.guess: Update to version 2014-03-23.
10739         * scripts/config.sub: Update to version 2014-05-01
10740         * scripts/install-sh: Update to version 2013-12-25.23.
10741         * scripts/move-if-change: Update from gnulib.
10743 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10745         * debug/memmove_chk.c: Remove pagecopy.h include.
10747 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
10749         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
10750         identical to gnulib mktime.
10752 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10754         * configure.ac: Do not test for machine being rs6000.  Do not test
10755         for powerpc*-*soft.
10756         * configure: Regenerated.
10758         [BZ #11505]
10759         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10760         test.
10761         * configure: Regenerated.
10762         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10763         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10764         Remove configure test.
10765         * sysdeps/arm/configure: Regenerated.
10766         * sysdeps/nptl/configure.ac: Do not check
10767         libc_cv_asm_cfi_directives.
10768         * sysdeps/nptl/configure: Regenerated.
10769         * sysdeps/x86_64/nptl/configure.ac: Remove file.
10770         * sysdeps/x86_64/nptl/configure: Remove generated file.
10771         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10772         unconditional.
10773         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10775 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10777         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10778         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10779         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10780         it is defined.
10782         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10783         instead of whether it is defined.
10784         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10785         * sysdeps/hppa/dl-machine.h: Likewise.
10786         * sysdeps/ia64/dl-machine.h: Likewise.
10787         * sysdeps/m68k/dl-machine.h: Likewise.
10788         * sysdeps/microblaze/dl-machine.h: Likewise.
10789         * sysdeps/mips/dl-machine.: Likewise.
10790         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10791         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10792         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10793         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10794         * sysdeps/sh/dl-machine.h: Likewise.
10795         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10796         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10797         * sysdeps/tile/dl-machine.h: Likewise.
10798         * sysdeps/x86_64/dl-machine.h: Likewise.
10800         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10801         code.
10802         (verify_persistent_db): Likewise.
10804 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10807         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10809         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10811         Moved ...
10812         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10813         ... here.
10814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10815         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10817         Identical file removed.
10818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10819         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10821         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10823         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10825         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10827         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10829         Moved ...
10830         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10832         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10834         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10836         Moved ...
10837         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10839         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10841         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10843         Identical file removed.
10844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10845         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10847         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10849         Moved ...
10850         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10851         ... here.
10852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10853         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10855         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10857         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10859         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10861         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10863         Moved ...
10864         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10866         Moved ...
10867         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10869         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10871         Moved ...
10872         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10874         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10876         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10877         folded into ...
10878         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10879         * sysdeps/unix/sysv/linux/s390/Versions
10880         (libpthread: GLIBC_2.19): New version set.
10881         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10882         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10883         (librt: GLIBC_2.3.3): New version set.
10884         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10885         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10886         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10887         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10888         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10889         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10890         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10891         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10892         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10893         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10894         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10895         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10896         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10897         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10898         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10899         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10900         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10901         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10902         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10903         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10904         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10905         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10906         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10907         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10908         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10909         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10910         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10911         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10912         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10913         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10914         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10915         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10916         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10918         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10920         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10921         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10922         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10923         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10924         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10925         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10926         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10927         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10928         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10930         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10931         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10932         (__libc_vfork): Define the function under this name.
10933         [!NOT_IN_libc] (__vfork): Make this an alias.
10934         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10935         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10936         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10937         (__libc_vfork): Define the function under this name.
10938         [!NOT_IN_libc] (__vfork): Make this an alias.
10939         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10940         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10941         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10942         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10943         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10944         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10946         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10947         code that was previously under [RESET_PID].
10948         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10949         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10950         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10952         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10953         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10954         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10955         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10956         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10957         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10958         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10959         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10960         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10961         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10962         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10963         Moved ...
10964         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10965         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10966         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10967         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10968         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10969         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10970         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10971         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10972         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10973         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10974         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10975         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10976         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10977         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10978         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10979         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10980         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10981         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10982         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10983         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10984         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10985         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10986         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10987         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10988         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10989         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10990         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10991         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10992         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10994 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10996         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10997         that was previously under [RESET_PID].
10998         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11000 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11002         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11003         not undefine and redefine.
11004         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11005         [O_CLOEXEC]: Make code unconditional.
11006         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11007         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11008         <kernel-features.h>.
11009         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11010         conditional variable definition.
11011         (shm_open) [O_CLOEXEC]: Make code unconditional.
11012         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11013         code.
11015         * configure.ac (USE_REGPARMS): Don't define here.
11016         * configure: Regenerated.
11017         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11018         * sysdeps/i386/configure: Regenerated.
11020         * nptl/createthread.c: Don't include kernel-features.h.
11021         * nptl/pthread_cancel.c: Likewise.
11022         * nptl/pthread_condattr_setclock.c: Likewise.
11023         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11024         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11025         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11026         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11027         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11028         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11029         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11030         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11031         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11032         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11033         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11034         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11035         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11036         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11037         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11038         * nscd/gai.c: Likewise.
11039         * nss/nss_db/db-open.c: Likewise.
11040         * sysdeps/generic/ldsodefs.h: Likewise.
11041         * sysdeps/sh/nptl/tls.h: Likewise.
11042         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11043         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11044         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11045         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11046         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11047         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11048         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11049         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11050         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11051         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11052         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11053         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11054         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11055         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11056         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11057         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11058         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11059         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11060         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11061         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11062         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11064         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11065         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11066         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11069         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11070         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11071         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11072         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11073         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11074         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11075         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11076         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11077         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11078         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11079         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11080         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11081         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11082         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11083         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11084         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11085         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11086         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11087         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11088         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11089         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11090         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11091         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11092         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11093         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11094         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11095         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11096         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11097         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11098         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11099         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
11112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
11113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
11114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
11120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
11121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11122         * sysdeps/unix/sysv/linux/pread.c: Likewise.
11123         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11124         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
11125         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11126         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11127         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
11128         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
11129         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
11130         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
11131         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11132         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11133         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11134         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
11135         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11136         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11137         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11138         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11139         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
11140         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
11141         * sysdeps/unix/sysv/linux/system.c: Likewise.
11142         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
11143         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11144         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11145         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11146         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11147         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11148         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11150         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
11151         * configure: Regenerated.
11152         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
11154         * configure.ac (base_machine): Do not set specially for particular
11155         machines here.
11156         * configure: Regenerated.
11157         * sysdeps/powerpc/preconfigure: Move machine and base_machine
11158         settings from configure.ac.
11159         * sysdeps/i386/preconfigure: New file.
11160         * sysdeps/s390/preconfigure: Likewise.
11161         * sysdeps/sh/preconfigure: Likewise.
11162         * sysdeps/sparc/preconfigure: Likewise.
11164 2014-06-25  Roland McGrath  <roland@hack.frob.com>
11166         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
11167         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
11168         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
11169         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
11170         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
11171         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
11172         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
11173         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
11174         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
11175         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
11176         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
11177         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
11178         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
11179         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
11180         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
11181         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
11182         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
11183         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
11184         * sysdeps/sparc/sparc64/Makefile: ... appended here.
11186         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
11187         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
11188         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
11189         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
11190         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
11191         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
11192         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
11193         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
11194         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
11195         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
11196         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
11197         * sysdeps/sparc/sparc32/sem_post.c: ... here.
11198         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
11199         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
11200         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
11201         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
11202         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
11203         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
11204         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
11205         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
11206         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
11207         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
11208         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
11209         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
11210         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
11211         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
11212         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11213         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11214         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11215         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11216         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11217         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11218         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11219         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11220         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11221         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11222         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11223         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11226         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11228         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11230         Moved ...
11231         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11232         ... here.
11233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11234         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11236         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11238         Moved ...
11239         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11241         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11243         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11245         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11247         Moved ...
11248         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11250         Moved ...
11251         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11253         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11255         Moved ...
11256         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11258         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11260         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11262         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11264         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11266         Moved ...
11267         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11268         ... here.
11269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11270         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11272         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11274         Moved ...
11275         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11277         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11279         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11281         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11283         Moved ...
11284         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11286         Moved ...
11287         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11289         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11291         Moved ...
11292         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11294         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11296         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11298 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11300         * timezone/checktab.awk: Update from tzcode 2014e.
11301         * timezone/private.h: Likewise.
11302         * timezone/tzfile.h: Likewise.
11303         * timezone/zdump.c: Likewise.
11304         * timezone/zic.c: Likewise.
11306         * sysdeps/unix/sysv/linux/kernel-features.h
11307         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11308         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11309         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11310         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11311         Remove conditional code.
11313 2014-06-25  Will Newton  <will.newton@linaro.org>
11315         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11316         (_dl_arm_cap_flags): Add HWCAP2 values.
11317         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11318         (_DL_HWCAP_COUNT): Increase to 37.
11319         (_DL_HWCAP_LAST): New define.
11320         (_DL_HWCAP2_LAST): New define.
11321         (_dl_procinfo): Add support for printing
11322         AT_HWCAP2 entries.
11323         (_dl_string_hwcap): Use _dl_hwcap_string.
11325 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11329 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11331         * README: Do not mention ports directory.
11333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11334         Remove macro.
11335         * sysdeps/unix/sysv/linux/futimes.c: Do not include
11336         <kernel-features.h>.
11337         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11338         conditional variable definition.
11339         (__futimes): Update comment.
11340         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11341         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11343         [BZ #16560]
11344         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11345         arguments close to 0.
11346         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11347         Likewise.
11348         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11349         Likewise.
11350         * math/auto-libm-test-in: Add more tests of exp10.
11351         * math/auto-libm-test-out: Regenerated.
11352         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11354         * sysdeps/unix/sysv/linux/kernel-features.h
11355         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11356         * sysdeps/unix/sysv/linux/readv.c: Do not include
11357         <kernel-features.h>.
11358         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11359         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11360         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11361         unconditional.
11362         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11363         conditional code.
11364         * sysdeps/unix/sysv/linux/writev.c: Do not include
11365         <kernel-features.h>.
11366         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11367         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11368         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11369         unconditional.
11370         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11371         conditional code.
11373 2014-06-25  Will Newton  <will.newton@linaro.org>
11375         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11376         comment changes throughout the file.  Remove checks
11377         for HAVE_*_H definitions that are not required.
11378         (__gen_tempname): Call abort if an unknown kind value is
11379         passed.
11381 2014-06-25  Andreas Schwab  <schwab@suse.de>
11383         [BZ #17086]
11384         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11385         scalbln, scalblnf, scalblnl in libc.
11387 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11389         [BZ #17086]
11390         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11391         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11392         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11394 2014-06-24  Roland McGrath  <roland@hack.frob.com>
11396         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11397         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11398         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11399         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11400         Update #include.
11401         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11402         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11403         Update #include.
11404         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11405         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11406         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11407         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11408         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11409         * sysdeps/x86/bits/pthreadtypes.h: ... here.
11410         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11411         * sysdeps/x86/bits/semaphore.h: ... here.
11412         * sysdeps/x86/nptl/elide.h: Moved ...
11413         * sysdeps/x86/elide.h: ... here.
11414         * sysdeps/x86_64/nptl/Implies: File removed.
11415         * sysdeps/i386/nptl/Implies: File removed.
11417 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
11419         [BZ #16539]
11420         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11421         return the argument for normal arguments with exponent below -64.
11422         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11423         Likewise.
11424         * math/auto-libm-test-in: Add another test of expm1.
11425         * math/auto-libm-test-out: Regenerated.
11427         [BZ #16287]
11428         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11429         calling __erfcl for arguments at least 16.
11430         * math/auto-libm-test-in: Add more tests of erf.
11431         * math/auto-libm-test-out: Regenerated.
11433         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11434         individual architectures.
11435         * sysdeps/unix/sysv/linux/configure: Regenerated.
11436         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11437         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11438         * sysdeps/unix/sysv/linux/powerpc/configure.ac
11439         (ldd_rewrite_script): Define variable.
11440         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11442         file.
11443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11444         generated file.
11445         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11446         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11447         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11448         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11449         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11450         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11451         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11452         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11454 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11456         [BZ #17084]
11457         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11458         Rename member __data.d to __data.__elision_data.
11460 2014-06-24  Wilco  <wdijkstr@arm.com>
11462         * NEWS: Add 16918 to fixed bug list.
11464 2014-06-24  Wilco  <wdijkstr@arm.com>
11466         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11468 2014-06-24  Wilco  <wdijkstr@arm.com>
11470         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11471         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11472         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11473         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11474         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11475         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11476         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11477         Use _FPU_MASK_RM.
11479 2014-06-24  Wilco  <wdijkstr@arm.com>
11481         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11483 2014-06-24  Wilco  <wdijkstr@arm.com>
11485         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11486         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11487         * sysdeps/arm/fesetround.c (fesetround): Remove space.
11488         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11490 2014-06-24  Wilco  <wdijkstr@arm.com>
11492         [BZ #16918]
11493         * sysdeps/arm/feupdateenv.c (feupdateenv):
11494         Rewrite to reduce FPSCR accesses and fix return value.
11496 2014-06-24  Wilco  <wdijkstr@arm.com>
11498         * sysdeps/arm/fclrexcpt.c (feclearexcept):
11499         Optimize to avoid unnecessary FPSCR writes.
11500         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11501         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11502         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11503         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11505 2014-06-24  Wilco  <wdijkstr@arm.com>
11507         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11508         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11509         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11510         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11511         Call libc_fetestexcept_vfp.
11512         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11513         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11514         __SOFTFP__ ifdef so that they can be built for softfp.
11516 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11518         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11519         argument type signed char.
11521         * Makerules (check-abi): Dump diff of symlist if the test
11522         fails.
11524 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11526         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11527         using abort.
11529         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11530         Remove unused variable ST.
11532 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11534         [BZ #16354]
11535         [BZ #17061]
11536         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11537         small arguments before calling __expm1.
11538         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11539         small arguments before calling __expm1f.
11540         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11541         small arguments before calling __expm1l.
11542         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11543         Likewise.
11544         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11545         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
11546         spurious underflow for some cosh tests.
11547         * math/auto-libm-test-out: Regenerated.
11548         * sysdeps/i386/fpu/libm-test-ulps: Update.
11550         [BZ #17050]
11551         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11552         (__ieee754_y1): Set errno if return value overflows.
11553         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11554         (__ieee754_y1f): Set errno if return value overflows.
11555         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11556         (__ieee754_y1l): Set errno if return value overflows.
11557         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11558         (__ieee754_y1l): Set errno if return value overflows.
11559         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11560         * math/auto-libm-test-out: Regenerated.
11562         * math/gen-auto-libm-tests.c: Document use of
11563         ignore-zero-inf-sign.
11564         (input_flag_type): Add value flag_ignore_zero_inf_sign.
11565         (input_flags): Add ignore-zero-inf-sign.
11566         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11567         * math/gen-libm-test.pl (generate_testfile): Handle
11568         ignore-zero-inf-sign.
11569         * math/auto-libm-test-in: Mark some cpow tests with
11570         ignore-zero-inf-sign and some with xfail-rounding.
11571         * math/auto-libm-test-out: Regenerated.
11572         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11573         * sysdeps/i386/fpu/libm-test-ulps: Update.
11574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11576         [BZ #16315]
11577         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11578         overflowing or underflowing operations take place with sign of
11579         result.
11580         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11581         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11582         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11583         (__ieee754_pow): Recompute overflowing and underflowing results in
11584         original rounding mode.
11585         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11586         (__powl_helper): Allow negative argument X and scale negated value
11587         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
11588         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11589         overflowing or underflowing operations take place with sign of
11590         result.
11591         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11592         Include <math.h>.
11593         * math/auto-libm-test-in: Add more tests of pow.
11594         * math/auto-libm-test-out: Regenerated.
11595         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11596         (pow_tonearest_test_data): Remove.
11597         (pow_test_tonearest): Likewise.
11598         (pow_towardzero_test_data): Likewise.
11599         (pow_test_towardzero): Likewise.
11600         (pow_downward_test_data): Likewise.
11601         (pow_test_downward): Likewise.
11602         (pow_upward_test_data): Likewise.
11603         (pow_test_upward): Likewise.
11604         (main): Don't call removed functions.
11605         * sysdeps/i386/fpu/libm-test-ulps: Update.
11606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11608 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11611         Moved ...
11612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11614         Moved ...
11615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11617         Moved ...
11618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11620         Moved ...
11621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11623         File removed.
11624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11625         File removed.
11626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11627         File removed.
11628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11629         File removed.
11630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11631         File removed.
11632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11633         File removed.
11634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11635         File removed.
11636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11637         File removed.
11638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11639         File removed.
11640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11641         File removed.
11642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11643         File removed.
11644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11645         File removed.
11646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11647         Moved ...
11648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11650         Moved ...
11651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11652         ... here.
11653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11654         Moved ...
11655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11657         Moved ...
11658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11660         Moved ...
11661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11663         Moved ...
11664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11666         Moved ...
11667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11669         Moved ...
11670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11672         Moved ...
11673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11676         ... here.
11677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11678         Moved ...
11679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11681         Moved ...
11682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11683         ... here.
11684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11685         Moved ...
11686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11687         ... here.
11688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11689         Moved ...
11690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11691         ... here.
11692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11693         Moved ...
11694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11696         Moved ...
11697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11701         Moved ...
11702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11703         ... here.
11704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11705         Moved ...
11706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11707         ... here.
11708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11709         Moved ...
11710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11712         Moved ...
11713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11715         Moved ...
11716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11718         Moved ...
11719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11721         Moved ...
11722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11723         ... here.
11724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11725         Moved ...
11726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11728         Moved ...
11729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11731         Moved ...
11732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11734         Moved ...
11735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11739         Moved ...
11740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11742         Moved ...
11743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11745         Moved ...
11746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11747         ... here.
11748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11749         Moved ...
11750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11751         ... here.
11752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11753         Moved ...
11754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11755         ... here.
11756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11757         Moved ...
11758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11760         Moved ...
11761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11763         Moved ...
11764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11766         Moved ...
11767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11768         ... here.
11769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11770         Moved ...
11771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11772         ... here.
11773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11774         Moved ...
11775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11776         ... here.
11777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11778         Moved ...
11779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11781         Moved ...
11782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11784 2014-06-23  Will Newton  <will.newton@linaro.org>
11785             Wilco  <wdijkstr@arm.com>
11787         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11788         implementation.  Include get-rounding-mode.h.
11789         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11790         [!libc_feholdsetround_noex_ctx]: Define
11791         libc_feholdsetround_noex_ctx.
11792         [!libc_feholdsetround_noexf_ctx]: Define
11793         libc_feholdsetround_noexf_ctx.
11794         [!libc_feholdsetround_noexl_ctx]: Define
11795         libc_feholdsetround_noexl_ctx.
11796         (libc_feholdsetround_ctx): New function.
11797         (libc_feresetround_ctx): New function.
11798         (libc_feholdsetround_noex_ctx): New function.
11799         (libc_feresetround_noex_ctx): New function.
11801 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11803         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11804         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11805         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11806         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11807         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11808         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11810         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11811         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11812         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11813         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11814         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11815         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11816         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11817         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11818         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11819         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11820         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11821         Moved ...
11822         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11823         ... here.
11824         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11825         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11826         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11827         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11828         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11829         Moved ...
11830         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11831         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11832         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11833         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11834         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11835         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11836         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11837         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11838         Moved ...
11839         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11840         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11841         Moved ...
11842         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11843         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11844         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11845         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11846         Moved ...
11847         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11848         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11849         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11850         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11851         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11852         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11853         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11854         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11855         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11856         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11857         Moved ...
11858         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11859         ... here.
11860         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11861         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11862         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11863         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11864         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11865         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11866         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11867         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11868         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11869         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11870         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11871         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11872         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11873         Moved ...
11874         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11875         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11876         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11877         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11878         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11879         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11880         Moved ...
11881         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11882         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11883         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11884         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11885         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11887         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11888         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11889         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11890         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11891         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11892         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11893         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11894         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11895         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11896         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11897         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11898         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11899         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11900         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11901         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11902         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11903         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11904         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11905         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11906         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11907         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11908         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11909         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11910         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11911         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11912         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11913         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11914         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11916 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11918         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11919         (FALLOC_FL_COLLAPSE_RANGE): New macro.
11920         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11921         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11922         (IPV6_PMTUDISC_INTERFACE): Likewise.
11923         (IPV6_PMTUDISC_OMIT): Likewise.
11925 2014-06-23  Andreas Schwab  <schwab@suse.de>
11927         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11928         Remove unused errout label.
11930 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11932         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11933         macro: hardware supports Vector Crypto instructions.
11935 2014-06-23  Will Newton  <will.newton@linaro.org>
11937         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11938         rather than __builtin_expect.
11940         * elf/dl-lookup.c (undefined_msg): Remove variable.
11941         (_dl_lookup_symbol_x): Replace undefined_msg with string
11942         literal.
11944         * elf/dl-lookup.c (do_lookup_unique): New function.
11945         (do_lookup_x): Move STB_GNU_UNIQUE handling code
11946         to a separate function.
11948 2014-06-23  Andreas Schwab  <schwab@suse.de>
11950         [BZ #17079]
11951         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11952         before reading the next line.
11954 2014-06-23  Will Newton  <will.newton@linaro.org>
11956         * test-skeleton.c (signal_handler): Use printf and %m
11957         rather than perror.  Use printf rather than fprintf to
11958         stderr.  Use puts rather than fputs to stderr.
11959         (main): Likewise.
11961 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
11963         * nscd/nscd.c (thread_info_t): Remove typedef.
11964         (thread_info): Remove variable.
11966 2014-06-21  Allan McRae  <allan@archlinux.org>
11968         * NEWS: Mention CVE-2014-4043.
11970 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11972         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11973         * nptl/smp.h: ... here.
11975         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11977         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11978         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11979         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11980         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11982         * nptl/allocatestack.c: Include <stack-aliasing.h>.
11983         * nptl/stack-aliasing.h: New file.
11984         * sysdeps/i386/i686/stack-aliasing.h: New file.
11985         * sysdeps/i386/i686/nptl/Makefile: File removed.
11986         * sysdeps/x86_64/stack-aliasing.h: New file.
11987         * sysdeps/x86_64/nptl/Makefile
11988         (CFLAGS-pthread_create.c): Variable removed.
11990         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11991         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11992         old file.
11993         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11994         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11995         old file.
11997 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
11999         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12000         (__ASSUME_SIGFRAME_V2): Remove macro.
12001         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12002         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12003         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12004         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12005         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12006         Declare as function.  Remove conditional macro definitions.
12007         (__default_rt_sa_restorer): Likewise.
12008         (__default_sa_restorer_v1): Remove declaration.
12009         (__default_sa_restorer_v2): Likewise.
12010         (__default_rt_sa_restorer_v1): Likewise.
12011         (__default_rt_sa_restorer_v2): Likewise.
12012         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12013         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12014         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12016 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12018         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12019         (libpthread-routines): Add sysdep.
12020         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12021         * sysdeps/unix/sysv/linux/sparc/Versions
12022         (libpthread: GLIBC_2.3.3): New version set.
12023         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12024         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12025         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12026         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12027         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
12028         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12029         Moved ...
12030         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12031         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12032         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12033         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12034         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12035         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12036         * sysdeps/sparc/nptl/sem_init.c: ... here.
12037         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12038         * sysdeps/sparc/nptl/sem_post.c: ... here.
12039         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12040         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12041         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12042         * sysdeps/sparc/nptl/sem_wait.c: ... here.
12043         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12044         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12045         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12046         (libpthread-routines): Add cpu_relax.
12047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12048         File removed.
12049         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12050         (librt: GLIBC_2.3.3): New version set.
12051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12052         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12053         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12054         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12057         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12059         Moved ...
12060         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12062         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12064         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12066         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12068         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12070         Moved ...
12071         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12072         Update #include.
12073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12074         Moved ...
12075         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12076         Update #include.
12077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12078         Moved ...
12079         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12080         Update #include.
12081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12082         Moved ...
12083         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12084         Update #include.
12085         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12086         Moved ...
12087         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12088         Update #include.
12089         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12090         Moved ...
12091         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12092         Update #include.
12093         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12094         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12096         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12098         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12100         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12102         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12104         Moved ...
12105         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
12106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
12107         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
12108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
12109         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
12111 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
12113         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
12114         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
12115         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12116         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
12117         * nscd/nscd.c: Likewise.
12118         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12119         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12120         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12121         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12123         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
12124         <kernel-features.h>.
12125         (init_mq_netlink): Remove conditional have_sock_cloexec
12126         definitions.  Remove code conditional on have_sock_cloexec < 0.
12127         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
12128         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
12129         * sysdeps/unix/sysv/linux/opensock.c: Do not include
12130         <kernel-features.h>.
12131         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
12132         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
12134 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
12136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12137         Add tests for memset_chk and memset.
12139         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
12140         with AVX2_Usable.
12142 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
12144         [BZ #16046]
12145         * elf/tst-dl-iter-static.c: New file.
12146         * elf/Makefile (tests-static): Add tst-dl-iter-static.
12148         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
12149         error.
12151 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
12153         * sysdeps/unix/sysv/linux/kernel-features.h
12154         (__ASSUME_F_GETOWN_EX): Remove macro.
12155         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
12156         <kernel-features.h>.
12157         (miss_F_GETOWN_EX): Remove variable or macro.
12158         (do_fcntl): Do not check miss_F_GETOWN_EX.
12159         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
12161         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
12162         Remove macro.
12163         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
12164         [!__ASSUME_AT_RANDOM]: Remove conditional code.
12165         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
12167         * sysdeps/unix/sysv/linux/kernel-features.h
12168         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
12169         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
12170         [ADJ_OFFSET_SS_READ]: Make code unconditional.
12171         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
12173 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
12175         [BZ #17075]
12176         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
12177         Fix calculation of the symbol's value.
12178         * sysdeps/arm/tst-armtlsdescloc.c: New file.
12179         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
12180         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
12181         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
12182         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
12183         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
12184         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
12185         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
12186         (modules-names): Add `tst-armtlsdescmod',
12187         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
12188         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
12189         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12190         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
12191         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
12192         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12193         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
12194         ($(objpfx)tst-armtlsdescloc): New dependency.
12195         ($(objpfx)tst-armtlsdescextnow): Likewise.
12196         ($(objpfx)tst-armtlsdescextlazy): Likewise.
12197         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
12198         TLS scheme support.
12199         * sysdeps/arm/configure: Regenerate.
12201 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
12203         * include/fcntl.h (__atfct_seterrno): Remove prototype.
12204         (__atfct_seterrno_2): Likewise.
12205         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
12206         <kernel-features.h>.
12207         (__ASSUME_ATFCTS): Do not undefine and redefine.
12208         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
12209         (__have_atfcts): Remove conditional definition.
12210         (__fxstatat([__NR_fstatat64]: Make code unconditional.
12211         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
12212         unreachable if [__ASSUME_ATFCTS].
12213         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12214         not undefine and redefine.
12215         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12216         <kernel-features.h>.
12217         (faccessat) [__NR_faccessat]: Make code unconditional.
12218         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12219         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12220         <kernel-features.h>.
12221         (fchmodat) [__NR_fchmodat]: Make code unconditional.
12222         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12223         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12224         <kernel-features.h>.
12225         (fchownat) [__NR_fchownat]: Make code unconditional.
12226         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12227         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12228         <kernel-features.h>.
12229         (futimesat) [__NR_futimesat]: Make code unconditional.
12230         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12231         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12232         <kernel-features.h>.
12233         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12234         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12235         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12236         <kernel-features.h>.
12237         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12238         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12239         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12240         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12241         <kernel-features.h>.
12242         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12243         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12244         * sysdeps/unix/sysv/linux/linkat.c: Do not include
12245         <kernel-features.h>.
12246         (linkat) [__NR_linkat]: Make code unconditional.
12247         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12248         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12249         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12250         <kernel-features.h>.
12251         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12252         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12253         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12254         <kernel-features.h>.
12255         (mkdirat) [__NR_mkdirat]: Make code unconditional.
12256         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12257         * sysdeps/unix/sysv/linux/openat.c: Do not include
12258         <kernel-features.h>.
12259         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12260         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12261         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12262         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12263         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12264         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12265         <kernel-features.h>.
12266         (readlinkat) [__NR_readlinkat]: Make code unconditional.
12267         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
12268         result of INLINE_SYSCALL directly, not via int variable.
12269         * sysdeps/unix/sysv/linux/renameat.c: Do not include
12270         <kernel-features.h>.
12271         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12272         (renameat) [__NR_renameat]: Make code unconditional.
12273         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12274         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12275         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12276         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12277         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12278         (__ASSUME_ATFCTS): Do not undefine and redefine.
12279         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12280         <kernel-features.h>.
12281         (symlinkat) [__NR_symlinkat]: Make code unconditional.
12282         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12283         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12284         <kernel-features.h>.
12285         (unlinkat) [__NR_unlinkat]: Make code unconditional.
12286         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12287         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12288         (__ASSUME_ATFCTS): Do not undefine and redefine.
12289         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12290         <kernel-features.h>.
12291         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12292         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12293         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12294         <kernel-features.h>.
12295         (__xmknodat) [__NR_mknodat]: Make code unconditional.
12296         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12298 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
12300         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12302 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
12304         [BZ #17069]
12305         * posix/regcomp.c (parse_reg_exp): Deallocate partially
12306         constructed tree before returning error.
12307         * posix/bug-regexp36.c: Expand test case.
12309 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12311         [BZ #6803]
12312         * math/libm-test.inc (scalbln_test_date):
12313         Add errno expectations.
12314         * math/w_scalblnf.c: New File.
12315         Add wrapper which checks for setting errno to ERANGE.
12316         Add weak_alias for corresponding scalbln function.
12317         * math/w_scalbln.c: Likewise.
12318         * math/w_scalblnl.c: Likewise.
12319         * math/Makefile (libm-calls): Add w_scalbln.
12320         * sysdeps/ieee754/flt-32/s_scalblnf.c:
12321         Remove weak_alias for corresponding scalbln function.
12322         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12323         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12324         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12325         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12326         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12327         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12328         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12329         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12330         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12331         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12332         Remove long_double_symbol for scalblnl function in libm, libc.
12333         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12334         Add wrapper which checks for setting errno to ERANGE.
12335         Add long_double_symbol for scalblnl function in libm, libc.
12336         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12337         Remove long_double_symbol for scalblnl in libm.
12338         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12339         Add wrapper which checks for setting errno to ERANGE.
12340         Add long_double_symbol for scalblnl function in libm.
12341         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12342         Do not use wrapper because of own implementation.
12344 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
12346         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12347         3 bytes for __pad1 for x32.
12348         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12350 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
12351             H.J. Lu  <hongjiu.lu@intel.com>
12353         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12354         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12355         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12356         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12357         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12359 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
12361         [BZ #17069]
12362         * posix/regcomp.c (parse_expression): Deallocate partially
12363         constructed tree before returning error.
12364         * posix/Makefile.c (tests): Add bug-regex36.
12365         (generated): Add bug-regex36.mtrace.
12366         (tests-special): Add $(objpfx)bug-regex36-mem.out
12367         (bug-regex36-ENV): New variable.
12368         ($(objpfx)bug-regex36-mem.out): New rule.
12369         * posix/bug-regex36.c: New file.
12371 2014-06-19  Will Newton  <will.newton@linaro.org>
12373         * malloc/malloc.c (systrim): If extra is zero then return
12374         early.
12376 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12378         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12380 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
12382         * sysdeps/aarch64/strchr.S: New file.
12384 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
12386         [BZ #17022]
12387         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12388         from arguments -2 or below.
12389         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12390         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12392 2014-06-18  Andreas Schwab  <schwab@suse.de>
12394         [BZ #17062]
12395         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12396         of a bracket expr not to run off the end of the string.
12397         * posix/Makefile (tests): Add tst-fnmatch3.
12398         * posix/tst-fnmatch3.c: New file.
12400 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
12402         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12403         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12404         [$(cross-compiling) = no]: Likewise.
12405         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12406         [$(cross-compiling) = no]: Likewise.
12408 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12410         [BZ #17031]
12411         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12412         double, adjusted for any remainder from the high double.
12413         * math/libm-test.inc (nearbyint): Add tests.
12414         (rint): Likewise.
12416 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12418         * nptl/sysdeps/powerpc/Makefile: Moved ...
12419         * sysdeps/powerpc/nptl/Makefile: ... here.
12420         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12421         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12422         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12423         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12424         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12425         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12426         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12427         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12428         * nptl/sysdeps/powerpc/tls.h: Moved ...
12429         * sysdeps/powerpc/nptl/tls.h: ... here.
12431 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
12433         [BZ #16681]
12434         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12435         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12436         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12437         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12438         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12439         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12440         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12441         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12442         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12444 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
12446         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12448 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
12450         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12451         defined operator.
12453         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12454         $TIMEOUTFACTOR.
12456 2014-06-16  Florian Weimer  <fweimer@redhat.com>
12458         [BZ #17058]
12459         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12460         non-executed part of the test.
12462 2014-06-16  Andreas Schwab  <schwab@suse.de>
12464         * string/bits/string2.h (strdup, strndup): Update feature guard.
12466 2014-06-14  David S. Miller  <davem@davemloft.net>
12468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12470 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
12472         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12473         that was previously under [RESET_PID].
12474         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12476         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12477         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12478         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12479         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12480         (__libc_vfork): New strong alias.
12481         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12483 2014-06-14 Andi Kleen  <ak@linux.intel.com>
12485         * sysdeps/generic/elide.h: New file.
12487 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12489         * Makefile (installed-headers): Adjust path of pthread.h header.
12491 2014-06-13  Roland McGrath  <roland@hack.frob.com>
12493         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12494         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12495         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12496         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12498         * nptl/sysdeps/s390/Makefile: Moved ...
12499         * sysdeps/s390/nptl/Makefile: ... here.
12500         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12501         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12502         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12503         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12504         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12505         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12506         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12507         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12508         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12509         * sysdeps/s390/nptl/pthreaddef.h: ... here.
12510         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12511         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12512         * nptl/sysdeps/s390/tls.h: Moved ...
12513         * sysdeps/s390/nptl/tls.h: ... here.
12515         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12516         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12518 2014-06-13  David S. Miller  <davem@davemloft.net>
12520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12523         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12527         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12528         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12529         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12530         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12531         Remove RESET_PID cpp guards.
12532         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12533         Remove RESET_PID cpp guards.
12534         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12536 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
12538         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12539         __sp to uintptr_t.
12541 2014-06-13  Andi Kleen  <ak@linux.intel.com>
12543         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12544         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12545         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12546         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12547         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12548         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12549         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12550         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12551         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12552         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12553         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12555         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12556         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12557         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12558         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12559         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12560         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12561         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12562         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12564         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12565         (pthread_rwlock_rdlock): Add elision.
12566         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12567         (pthread_rwlock_wrlock): Add elision.
12568         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12569         (pthread_rwlock_trywrlock): Add elision.
12570         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12571         (pthread_rwlock_tryrdlock): Add elision.
12572         * nptl/pthread_rwlock_unlock.c: Include elide.h.
12573         (pthread_rwlock_tryrdlock): Add elision unlock.
12574         * nptl/sysdeps/pthread/pthread.h:
12575         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12576         (PTHREAD_RWLOCK_INITIALIZER,
12577         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12578         Handle new elision field.
12579         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12580         * sysdeps/arm/nptl/bits/pthreadtypes.h
12581         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12582         * sysdeps/sh/nptl/bits/pthreadtypes.h
12583         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12584         * sysdeps/tile/nptl/bits/pthreadtypes.h
12585         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12586         * sysdeps/a/nptl/bits/pthreadtypes.h
12587         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12588         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12589         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12590         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12591         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12592         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12593         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12594         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12595         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12596         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12598         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12599         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12600         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12601         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12602         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12603         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12604         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12605         (elision_init): Set try_xbegin to zero when no RTM.
12606         * sysdeps/x86/nptl/bits/pthreadtypes.h
12607         (pthread_rwlock_t): Change __pad1 to __rwelision.
12608         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12610 2014-06-13  Andi Kleen  <ak@linux.intel.com>
12612         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12613         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12614         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12615         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12617 2014-06-13  Meador Inge  <meadori@codesourcery.com>
12619         [BZ #16996]
12620         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12621         that the cached result has been set before returning it.
12623 2014-06-12  Roland McGrath  <roland@hack.frob.com>
12625         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12626         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12627         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12628         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12629         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12630         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12632         * nptl/sysdeps/sparc/Makefile: Moved ...
12633         * sysdeps/sparc/nptl/Makefile: ... here.
12634         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12635         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12636         * nptl/sysdeps/sparc/tls.h: Moved ...
12637         * sysdeps/sparc/nptl/tls.h: ... here.
12638         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12639         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12640         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12641         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12642         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12643         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12644         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12645         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12646         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12647         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12648         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12649         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12650         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12651         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12652         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12653         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12654         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12655         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12656         Update #include.
12657         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12658         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12659         Update #include.
12660         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12661         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12662         Update #include.
12663         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12664         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12665         Update #include.
12667         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12669         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12670         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12672         * sysdeps/pthread/posix-timer.h: Include <list.h>.
12673         (struct list_links): Type removed.
12674         (struct thread_node, struct timer_node): Replace struct list_links
12675         with struct list_head.
12676         (list_unlink_ip): Likewise.
12677         * sysdeps/pthread/timer_routines.c
12678         (timer_free_list, thread_free_list, thread_active_list): Likewise.
12679         (list_append, list_insbefore): Likewise.
12680         (list_init): Function removed.
12681         (thread_init, init_module): Use INIT_LIST_HEAD instead.
12682         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12683         * sysdeps/pthread/Makefile: ... here, new file.
12685         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12686         * sysdeps/nptl/Implies: ... here.
12687         * sysdeps/unix/sysv/linux/Implies: Add nptl.
12688         * nptl/sysdeps/pthread/list.h: Moved ...
12689         * include/list.h: ... here.
12690         * nptl/sysdeps/pthread/createthread.c: Moved ...
12691         * nptl/createthread.c: ... here.
12692         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12693         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12694         * nptl/pt-longjmp.c: ... here.
12695         * nptl/sysdeps/pthread/Makefile: Moved ...
12696         * sysdeps/nptl/Makefile: ... here.
12697         * nptl/sysdeps/pthread/Subdirs: Moved ...
12698         * sysdeps/nptl/Subdirs: ... here.
12699         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12700         * sysdeps/nptl/aio_misc.h: ... here.
12701         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12702         * sysdeps/nptl/bits/libc-lock.h: ... here.
12703         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12704         * sysdeps/nptl/bits/libc-lockP.h: ... here.
12705         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12706         * sysdeps/nptl/bits/stdio-lock.h: ... here.
12707         * nptl/sysdeps/pthread/configure: Moved ...
12708         * sysdeps/nptl/configure: ... here.
12709         * nptl/sysdeps/pthread/configure.ac: Moved ...
12710         * sysdeps/nptl/configure.ac: ... here.
12711         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12712         * sysdeps/nptl/gai_misc.h: ... here.
12713         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12714         * sysdeps/nptl/librt-cancellation.c: ... here.
12715         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12716         * sysdeps/nptl/malloc-machine.h: ... here.
12717         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12718         * sysdeps/nptl/pthread-functions.h: ... here.
12719         * nptl/sysdeps/pthread/pthread.h: Moved ...
12720         * sysdeps/nptl/pthread.h: ... here.
12721         * nptl/sysdeps/pthread/setxid.h: Moved ...
12722         * sysdeps/nptl/setxid.h: ... here.
12723         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12724         * sysdeps/nptl/sigfillset.c: ... here.
12725         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12726         * sysdeps/nptl/tcb-offsets.h: ... here.
12727         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12728         * sysdeps/nptl/tst-mqueue8x.c: ... here.
12729         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12730         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12731         * nptl/sysdeps/pthread/allocalim.h: Moved ...
12732         * sysdeps/pthread/allocalim.h: ... here.
12733         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12734         * sysdeps/pthread/bits/sigthread.h: ... here.
12735         * nptl/sysdeps/pthread/flockfile.c: Moved ...
12736         * sysdeps/pthread/flockfile.c: ... here.
12737         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12738         * sysdeps/pthread/ftrylockfile.c: ... here.
12739         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12740         * sysdeps/pthread/funlockfile.c: ... here.
12741         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12742         * sysdeps/pthread/posix-timer.h: ... here.
12743         * nptl/sysdeps/pthread/timer_create.c: Moved ...
12744         * sysdeps/pthread/timer_create.c: ... here.
12745         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12746         * sysdeps/pthread/timer_delete.c: ... here.
12747         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12748         * sysdeps/pthread/timer_getoverr.c: ... here.
12749         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12750         * sysdeps/pthread/timer_gettime.c: ... here.
12751         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12752         * sysdeps/pthread/timer_routines.c: ... here.
12753         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12754         * sysdeps/pthread/timer_settime.c: ... here.
12755         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12756         * sysdeps/pthread/tst-timer.c: ... here.
12757         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12758         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12760         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12761         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12763         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12764         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12765         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12766         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12767         Update #include target.
12768         * nptl/sysdeps/i386/i686/Makefile: Moved ...
12769         * sysdeps/i386/i686/nptl/Makefile: ... here.
12770         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12771         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12772         Update #include target.
12773         * nptl/sysdeps/i386/i686/tls.h: Moved ...
12774         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
12775         * nptl/sysdeps/i386/Makefile: Moved ...
12776         * sysdeps/i386/nptl/Makefile: ... here.
12777         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12778         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12779         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12780         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12781         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12782         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12783         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12784         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12785         * sysdeps/i386/nptl/pthreaddef.h: ... here.
12786         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12787         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12788         * nptl/sysdeps/i386/tls.h: Moved ...
12789         * sysdeps/i386/nptl/tls.h: ... here.
12791         * sysdeps/sh/Makefile [$(subdir) = csu]
12792         (gen-as-const-headers): Add tcb-offsets.sym.
12793         * nptl/sysdeps/sh/Makefile: File removed.
12794         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12795         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12796         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12797         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12798         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12799         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12800         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12801         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12802         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12803         * sysdeps/sh/nptl/pthreaddef.h: ... here.
12804         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12805         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12806         * nptl/sysdeps/sh/tls.h: Moved ...
12807         * sysdeps/sh/nptl/tls.h: ... here.
12808         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12809         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12810         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12811         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12812         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12813         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12814         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12815         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12816         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12817         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12818         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12819         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12820         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12821         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12822         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12823         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12824         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12825         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12826         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12827         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12828         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12829         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12830         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12831         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12832         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12833         Moved ...
12834         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12835         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12836         Moved ...
12837         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12838         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12839         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12840         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12841         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12842         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12843         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12844         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12845         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12846         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12847         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12848         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12849         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12850         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12851         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12852         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12853         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12854         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12855         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12857 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12859         * posix/spawn_faction_addopen.c: Include string.h.
12861 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12863         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12864         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12865         * nptl/sysdeps/x86_64/Makefile: Moved ...
12866         * sysdeps/x86_64/nptl/Makefile: ... here.
12867         * nptl/sysdeps/x86_64/configure: Moved ...
12868         * sysdeps/x86_64/nptl/configure: ... here.
12869         * nptl/sysdeps/x86_64/configure.ac: Moved ...
12870         * sysdeps/x86_64/nptl/configure.ac: ... here.
12871         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12872         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12873         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12874         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12875         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12876         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12877         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12878         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12879         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12880         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12881         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12882         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12883         * nptl/sysdeps/x86_64/tls.h: Moved ...
12884         * sysdeps/x86_64/nptl/tls.h: ... here.
12885         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12886         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12887         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12888         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12890         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12892 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12896 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
12898         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12899         type.
12900         [POSIX] (off_t): Likewise.
12901         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12902         [POSIX] (S_ISBLK): Require macro.
12903         [POSIX] (S_ISCHR): Likewise.
12904         [POSIX] (S_ISDIR): Likewise.
12905         [POSIX] (S_ISFIFO): Likewise.
12906         [POSIX] (S_ISREG): Likewise.
12907         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12908         optional-macro.
12909         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12910         type.
12911         [POSIX] (time_t): Likewise.
12912         [POSIX] (timer_t): Likewise.
12914 2014-06-11  Florian Weimer  <fweimer@redhat.com>
12916         [BZ #17048]
12917         * posix/spawn_int.h (struct __spawn_action): Make the path string
12918         non-const to support deallocation.
12919         * posix/spawn_faction_addopen.c
12920         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12921         * posix/spawn_faction_destroy.c
12922         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
12923         path in all spawn_do_open actions.
12924         * posix/tst-spawn.c (do_test): Exercise the copy operation in
12925         posix_spawn_file_actions_addopen.
12927 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
12929         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12930         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12931         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12932         conditional code always true.
12933         (__libc_vfork): New alias.
12935 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12937         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12938         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12940         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12942         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12943         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12945         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12946         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12948         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12949         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12951 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12953         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12954         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12955         multiarch strcmp for PPC64.
12956         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12957         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12959         multiarch optimizations.
12960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12961         (__libc_ifunc_impl_list): Likewise.
12963 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12965         * benchtests/scripts/validate_benchout.py: New script.
12966         * benchtests/Makefile (bench-func): Call it.
12967         * benchtests/scripts/benchout.schema.json: New file.
12969 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
12971         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12972         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12973         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12974         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12975         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12976         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12977         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12978         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12979         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12980         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12981         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12982         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12983         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12984         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12985         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12986         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12988         Moved ...
12989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12990         ... here.
12991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12992         Moved ...
12993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12995         Moved ...
12996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12997         ... here.
12998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12999         Moved ...
13000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
13001         ... here.
13002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
13003         Moved ...
13004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
13006         Moved ...
13007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
13008         ... here.
13009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
13010         Moved ...
13011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
13012         ... here.
13013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
13014         Moved ...
13015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
13017         Moved ...
13018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
13019         ... here.
13020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
13021         Moved ...
13022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
13023         ... here.
13024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
13025         Moved ...
13026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
13027         ... here.
13028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
13029         Moved ...
13030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
13032         Moved ...
13033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
13034         ... here.
13035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
13036         Moved ...
13037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
13038         ... here.
13039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
13040         Moved ...
13041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
13042         ... here.
13043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
13044         Moved ...
13045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
13047         Moved ...
13048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
13049         ... here.
13050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
13051         Moved ...
13052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
13053         ... here.
13054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
13055         Moved ...
13056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
13058         Moved ...
13059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
13060         ... here.
13061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
13062         Moved ...
13063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
13065         Moved ...
13066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
13068         Moved ...
13069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
13070         ... here.
13071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
13072         Moved ...
13073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
13074         ... here.
13075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
13076         Moved ...
13077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
13078         ... here.
13079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
13080         Moved ...
13081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
13083         Moved ...
13084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
13085         ... here.
13086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
13087         Moved ...
13088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
13089         ... here.
13090         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13091         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13092         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13093         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13094         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
13095         Moved ...
13096         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
13097         ... here.
13098         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13099         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13100         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13101         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13102         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13103         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13104         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13105         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
13106         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
13107         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
13108         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
13109         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
13110         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
13111         Moved ...
13112         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
13113         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
13114         Moved ...
13115         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
13116         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
13117         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
13118         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
13119         Moved ...
13120         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
13121         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
13122         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
13123         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
13124         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
13125         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
13126         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
13128 2014-06-10  Wilco  <wdijkstr@arm.com>
13130         * math/test-fenv-return.c: New file.
13131         * math/Makefile: Add new test test-fenv-return.
13133 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
13135         [BZ #17042]
13136         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
13137         when x - 1 is zero.
13138         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
13139         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13140         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
13141         0.0L for an argument of 1.0L.
13142         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13143         Likewise.
13144         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
13145         value when x - 1 is zero.
13146         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
13147         * sysdeps/i386/fpu/libm-test-ulps: Update.
13148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13150 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
13152         [BZ #15119]
13153         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
13155 2014-06-09  Roland McGrath  <roland@hack.frob.com>
13157         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
13158         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
13160 2014-06-09  Roland McGrath  <roland@hack.frob.com>
13162         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13163         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
13165         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13166         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
13168         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13169         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
13171         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13172         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
13174         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
13175         if not already defined.
13176         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
13177         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
13178         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
13179         (TLS_INIT_TP): Use it.
13180         (TLS_DEFINE_INIT_TP): New macro.
13181         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
13183 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
13185         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
13186         constant.
13187         [POSIX] (IXANY): Likewise.
13188         [POSIX] (OLCUC): Likewise.
13189         [POSIX || POSIX2008] (CBAUD): Do not allow.
13190         [POSIX || POSIX2008] (DEFECHO): Likewise.
13191         [POSIX || POSIX2008] (ECHOCTL): Likewise.
13192         [POSIX || POSIX2008] (ECHOKE): Likewise.
13193         [POSIX || POSIX2008] (ECHOPRT): Likewise.
13194         [POSIX || POSIX2008] (EXTA): Likewise.
13195         [POSIX || POSIX2008] (EXTB): Likewise.
13196         [POSIX || POSIX2008] (FLUSHO): Likewise.
13197         [POSIX || POSIX2008] (LOBLK): Likewise.
13198         [POSIX || POSIX2008] (PENDIN): Likewise.
13199         [POSIX || POSIX2008] (SWTCH): Likewise.
13200         [POSIX || POSIX2008] (VDISCARD): Likewise.
13201         [POSIX || POSIX2008] (VDSUSP): Likewise.
13202         [POSIX || POSIX2008] (VLNEXT): Likewise.
13203         [POSIX || POSIX2008] (VREPRINT): Likewise.
13204         [POSIX || POSIX2008] (VSTATUS): Likewise.
13205         [POSIX || POSIX2008] (VWERASE): Likewise.
13206         (B*): Change to B[0123456789]*.
13207         * conform/data/time.h-data [POSIX || UNIX98]
13208         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
13209         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13210         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
13211         [POSIX] (tm_*): Do not allow.
13213 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
13215         * Makefile (install): Don't set LANGUAGE.
13216         * Makefile.in (install): Likewise.
13217         * assert/Makefile (test-assert-ENV): Remove variable.
13218         (test-assert-perr-ENV): Likewise.
13219         * elf/Makefile (neededtest4-ENV): Likewise.
13220         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13221         [$(cross-compiling) = no]: Don't set LANGUAGE.
13222         * io/ftwtest-sh (LANG): Remove variable.
13223         * libio/Makefile (tst-widetext-ENV): Likewise.
13224         * manual/install.texi (Running make install): Don't refer to
13225         environment settings for make install.
13226         * INSTALL: Regenerated.
13227         * nptl/tst-tls6.sh: Don't set LANG.
13228         * posix/globtest.sh (LANG): Remove variable.
13229         * string/Makefile (tester-ENV): Likewise.
13230         (inl-tester-ENV): Likewise.
13231         (noinl-tester-ENV): Likewise.
13232         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13233         [$(cross-compiling) = no]: Don't set LANGUAGE.
13234         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13235         without explicit environment settings.
13237 2014-06-06  Roland McGrath  <roland@hack.frob.com>
13239         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13240         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13241         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13242         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13244 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
13246         * crypt/crypt-private.h [DOS]: Add some includes taken from the
13247         other files in the crypt directory.
13248         * crypt/crypt.c: Remove duplicate includes.
13249         * crypt/crypt-entry.c: Likewise.
13250         * crypt/crypt_util.c: Likewise.
13252 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
13254         * Makeconfig (run-program-env): New variable.
13255         (run-program-prefix-before-env): Likewise.
13256         (run-program-prefix-after-env): Likewise.
13257         (run-program-prefix): Define in terms of new variables.
13258         (built-program-cmd-before-env): New variable.
13259         (built-program-cmd-after-env): Likewise.
13260         (built-program-cmd): Define in terms of new variables.
13261         (test-program-prefix-before-env): New variable.
13262         (test-program-prefix-after-env): Likewise.
13263         (test-program-prefix): Define in terms of new variables.
13264         (test-program-cmd-before-env): New variable.
13265         (test-program-cmd-after-env): Likewise.
13266         (test-program-cmd): Define in terms of new variables.
13267         * Rules (make-test-out): Use $(run-program-env).
13268         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13269         (help): Do not mention environment variables.  Mention
13270         --timeoutfactor option.
13271         (timeoutfactor): New variable.
13272         (blacklist_exports): Remove function.
13273         (exports): Remove variable.
13274         (command): Do not include ${exports}.
13275         * manual/install.texi (Configuring and compiling): Do not mention
13276         test wrappers preserving environment variables.  Mention that last
13277         assignment to a variable must take precedence.
13278         * INSTALL: Regenerated.
13279         * benchtests/Makefile (run-bench): Use $(run-program-env).
13280         * catgets/Makefile ($(objpfx)test1.cat): Use
13281         $(built-program-cmd-before-env), $(run-program-env) and
13282         $(built-program-cmd-after-env).
13283         ($(objpfx)test2.cat): Do not specify environment variables
13284         explicitly.
13285         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13286         $(run-program-env) and $(built-program-cmd-after-env).
13287         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13288         $(run-program-env) and $(test-program-cmd-after-env).
13289         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13290         explicitly.
13291         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13292         run_program_env and test_program_cmd_after_env arguments.
13293         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13294         * elf/tst-pathopt.sh: Use run_program_env argument.
13295         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13296         $(test-wrapper-env) and $(run-program-env).
13297         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13298         run_program_env arguments.
13299         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13300         * intl/Makefile ($(objpfx)tst-gettext.out): Use
13301         $(test-program-prefix-before-env), $(run-program-env) and
13302         $(test-program-prefix-after-env).
13303         ($(objpfx)tst-gettext2.out): Likewise.
13304         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13305         run_program_env and test_program_prefix_after_env arguments.
13306         * intl/tst-gettext2.sh: Likewise.
13307         * intl/tst-gettext4.sh: Do not set environment variables
13308         explicitly.
13309         * intl/tst-gettext6.sh: Likewise.
13310         * intl/tst-translit.sh: Likewise.
13311         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13312         $(test-program-prefix-before-env), $(run-program-env) and
13313         $(test-program-prefix-after-env).
13314         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13315         run_program_env and test_program_prefix_after_env arguments.
13316         * math/Makefile (run-regen-ulps): Use $(run-program-env).
13317         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13318         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
13319         explicitly with each use of ${test_wrapper_env}.
13320         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13321         $(test-program-prefix-before-env), $(run-program-env) and
13322         $(test-program-prefix-after-env).
13323         * posix/tst-getconf.sh: Do not set environment variables
13324         explicitly.
13325         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13326         run_program_env and test_program_prefix_after_env arguments.
13327         * stdio-common/tst-printf.sh: Do not set environment variables
13328         explicitly.
13329         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13330         $(test-program-prefix-before-env), $(run-program-env) and
13331         $(test-program-prefix-after-env).
13332         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13333         run_program_env and test_program_prefix_after_env arguments.
13334         Split $test calls into $test_pre and $test.
13335         * timezone/Makefile (build-testdata): Use
13336         $(built-program-cmd-before-env), $(run-program-env) and
13337         $(built-program-cmd-after-env).
13339 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13341         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13342         strlen for non SHARED builds.
13344 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13346         * nptl/allocatestack.c (check_list): Inlined function...
13347         (__reclaim_stacks): ... here.
13349 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
13351         [BZ #15698]
13352         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13353         memory overrun.
13355 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
13357         * Rules (make-test-out): Include
13358         LOCPATH=$(common-objpfx)localedata in default environment.
13359         * debug/Makefile (tst-chk1-ENV): Remove variable.
13360         (tst-chk2-ENV): Likewise.
13361         (tst-chk3-ENV): Likewise.
13362         (tst-chk4-ENV): Likewise.
13363         (tst-chk5-ENV): Likewise.
13364         (tst-chk6-ENV): Likewise.
13365         (tst-lfschk1-ENV): Likewise.
13366         (tst-lfschk2-ENV): Likewise.
13367         (tst-lfschk3-ENV): Likewise.
13368         (tst-lfschk4-ENV): Likewise.
13369         (tst-lfschk5-ENV): Likewise.
13370         (tst-lfschk6-ENV): Likewise.
13371         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13372         (tst-iconv7-ENV): Likewise.
13373         * intl/Makefile (LOCPATH-ENV): Likewise.
13374         (tst-codeset-ENV): Likewise.
13375         (tst-gettext3-ENV): Likewise.
13376         (tst-gettext5-ENV): Likewise.
13377         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13378         (tst-fopenloc-ENV): Likewise.
13379         (tst-fgetws-ENV): Remove variable.
13380         (tst-ungetwc1-ENV): Likewise.
13381         (tst-ungetwc2-ENV): Likewise.
13382         (bug-ungetwc2-ENV): Likewise.
13383         (tst-swscanf-ENV): Likewise.
13384         (bug-ftell-ENV): Likewise.
13385         (tst-fgetwc-ENV): Likewise.
13386         (tst-fseek-ENV): Likewise.
13387         (tst-ftell-partial-wide-ENV): Likewise.
13388         (tst-ftell-active-handler-ENV): Likewise.
13389         (tst-ftell-append-ENV): Likewise.
13390         * posix/Makefile (tst-fnmatch-ENV): Likewise.
13391         (tst-regexloc-ENV): Likewise.
13392         (bug-regex1-ENV): Likewise.
13393         (tst-regex-ENV): Likewise.
13394         (tst-regex2-ENV): Likewise.
13395         (bug-regex5-ENV): Likewise.
13396         (bug-regex6-ENV): Likewise.
13397         (bug-regex17-ENV): Likewise.
13398         (bug-regex18-ENV): Likewise.
13399         (bug-regex19-ENV): Likewise.
13400         (bug-regex20-ENV): Likewise.
13401         (bug-regex22-ENV): Likewise.
13402         (bug-regex23-ENV): Likewise.
13403         (bug-regex25-ENV): Likewise.
13404         (bug-regex26-ENV): Likewise.
13405         (bug-regex30-ENV): Likewise.
13406         (bug-regex32-ENV): Likewise.
13407         (bug-regex33-ENV): Likewise.
13408         (bug-regex34-ENV): Likewise.
13409         (bug-regex35-ENV): Likewise.
13410         (tst-rxspencer-ENV): Likewise.
13411         (tst-rxspencer-no-utf8-ENV): Likewise.
13412         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13413         (tst-sscanf-ENV): Likewise.
13414         (tst-swprintf-ENV): Likewise.
13415         (tst-swscanf-ENV): Likewise.
13416         (test-vfprintf-ENV): Likewise.
13417         (scanf13-ENV): Likewise.
13418         (bug14-ENV): Likewise.
13419         (tst-grouping-ENV): Likewise.
13420         * stdlib/Makefile (tst-strtod-ENV): Likewise.
13421         (tst-strtod3-ENV): Likewise.
13422         (tst-strtod4-ENV): Likewise.
13423         (tst-strtod5-ENV): Likewise.
13424         (testmb2-ENV): Likewise./
13425         * string/Makefile (tst-strxfrm-ENV): Likewise.
13426         (tst-strxfrm2-ENV): Likewise.
13427         (bug-strcoll1-ENV): Likewise.
13428         (test-strcasecmp-ENV): Likewise.
13429         (test-strncasecmp-ENV): Likewise.
13430         * time/Makefile (tst-strptime-ENV): Likewise.
13431         (tst-ftime_l-ENV): Likewise.
13432         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13433         (tst-mbrtowc-ENV): Likewise.
13434         (tst-wcrtomb-ENV): Likewise.
13435         (tst-mbrtowc2-ENV): Likewise.
13436         (tst-c16c32-1-ENV): Likewise.
13437         (tst-mbsnrtowcs-ENV): Likewise.
13439 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
13441         * manual/resource.texi (How to get information about the memory
13442         subsystem?): Fix typo.
13443         Reported by Peon de la Parra Ivan <peon@keba.com>
13445 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
13447         [BZ #16882]
13448         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13449         (pthread_spin_lock): Branch out of spin loop to proper location.
13450         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13451         (pthread_spin_lock): Likewise.
13453         * nptl/tst-spin4.c: New test.
13454         * nptl/Makefile (tests): Add tst-spin4.
13456 2014-06-03  Andreas Schwab  <schwab@suse.de>
13458         [BZ #15946]
13459         * resolv/res_send.c (send_dg): Reload file descriptor after
13460         calling reopen.
13462 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
13464         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13466 2014-06-03  Richard Henderson  <rth@redhat.com>
13468         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13469         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13470         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13471         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
13472         in the SAVE_PID block.
13473         (__libc_vfork): New alias.
13474         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13476         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13477         child in registers, not on the stack.  Remove RESET_PID conditionals.
13478         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13480 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13482         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13484 2014-06-03  Wilco  <wdijkstr@arm.com>
13486         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13487         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13488         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13489         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13490         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13491         Likewise.
13493 2014-06-03  Wilco  <wdijkstr@arm.com>
13495         * sysdeps/aarch64/fpu/math_private.h
13496         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13497         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13498         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13499         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13500         Fix declarations.
13502 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13504         * crypt/crypt-private.h: Include ufc-crypt.h.
13505         (__b64_from_24bit): Declare extern.
13506         * crypt/crypt_util.c(__b64_from_24bit): New function.
13507         (b64t): New static const variable.
13508         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13509         (b64t): Remove variable.
13510         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13511         * crypt/sha256-crypt.c: Include crypt-private.h.
13512         (b64t): Remove variable.
13513         (__sha256_crypt_r): Remove b64_from_24bit and replace
13514         with __b64_from_24bit.
13515         * crypt/sha512-crypt.c: Likewise.
13517 2014-06-02  Roland McGrath  <roland@hack.frob.com>
13519         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13520         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13521         Label the code __libc_vfork rather than __vfork.
13522         [!NOT_IN_libc] (vfork): Define as weak alias.
13523         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13524         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13525         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13527 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13529         * malloc/malloc.c (malloc_info): Fix format specifier for
13530         n_mmaps.
13532 2014-06-02  Wilco  <wdijkstr@arm.com>
13534         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13535         FPCR write.
13537 2014-06-02  Wilco  <wdijkstr@arm.com>
13539         [BZ #17009]
13540         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13541         Rewrite to reduce FPCR/FPSR accesses.
13543 2014-06-01  David S. Miller  <davem@davemloft.net>
13545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13547 2014-05-31  David S. Miller  <davem@davemloft.net>
13549         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13550         to occur in round to nearest mode when |x| >= 2.0
13552 2014-05-30  Richard Henderson  <rth@twiddle.net>
13554         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13555         (PSEUDO_RET_NOERRNO): Remove.
13556         (ret): Don't redefine.
13557         (ret_NOERRNO): Define in terms of ret.
13558         (ret_ERRVAL): Likewise.
13560         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13561         use of PSEUDO_RET; perform the error check directly.
13563 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
13565         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13566         with __int128_t.
13568 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13570         * malloc/malloc (malloc_info): Fix formatting.
13572 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13573             Roland McGrath  <roland@hack.frob.com>
13575         * malloc/malloc (malloc_info): Also print mmapped statistics.
13577 2014-05-30  Roland McGrath  <roland@hack.frob.com>
13579         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13580         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13582 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
13584         * malloc/malloc.c (malloc_info): Inline mi_arena.
13586 2014-05-29  Richard Henderson  <rth@twiddle.net>
13588         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13589         Remove comma before expanding ASM_ARGS_##nr.
13590         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13591         Make _x0 a strict output; make _x8 a strict input; adjust expansion
13592         of ASM_ARGS_##nr.
13593         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13594         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13595         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13596         (ASM_ARGS_1): Add leading comma.
13598         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13599         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13600         to __errno_location.
13601         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13602         Remove the expected plt for __errno_location.
13604         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13605         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
13606         call to __read_tp.
13608         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13609         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
13610         it and break it down.
13611         (DOCARGS_0, DOCARGS_1): Do nothing.
13612         (DOCARGS_2): Update to store into the new stack frame.
13613         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13614         (UNDOCARGS_1): Update to restore from the new stack frame.
13615         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13616         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13618         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13619         (SINGLE_THREAD_P): New parameter for result regno.
13620         (PSEUDO): Update to match; use cbz instead of beq.
13622         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13623         Use ENTRY to define the _nocancel entry point.  Share the syscall
13624         and syscall error check paths with the cancel path.
13625         (PSEUDO_END): New.
13627         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13628         whitespace; tabs before and after asm mnemonics.
13630 2014-05-29  Eric Wong  <normalperson@yhbt.net>
13632         [BZ #15132]
13633         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13634         Call fstat64 or stat64 internally, depending on arguments passed.
13635         Replace stat buffer argument with file descriptor argument.
13636         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13637         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13638         Pass fd to __internal_statvfs instead of calling fstat64.
13639         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13640         Pass fd to __internal_statvfs64 instead of calling fstat64.
13641         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13642         Pass -1 to __internal_statvfs instead of calling stat64.
13643         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13644         Pass -1 to __internal_statvfs64 instead of calling stat64.
13646 2014-05-28  Roland McGrath  <roland@hack.frob.com>
13648         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13649         that was previously under [RESET_PID].
13650         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13652         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13653         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13655 2014-05-27  Roland McGrath  <roland@hack.frob.com>
13657         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13659         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13660         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13662 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
13664         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13666 2014-05-27  Andreas Schwab  <schwab@suse.de>
13668         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13669         TLS_INIT_TP macro.
13670         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13671         * elf/rtld.c (init_tls, dl_main): Likewise.
13672         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13673         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13674         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13675         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13676         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13677         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13678         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13679         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13680         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13681         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13682         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13683         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13684         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13685         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13686         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13687         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13688         * sysdeps/generic/tls.h: Update description.
13690 2014-05-27  Will Newton  <will.newton@linaro.org>
13692         [BZ #16990]
13693         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13694         and restore r2 rather than just restoring.
13696 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13698         [BZ #16724]
13699         * libio/tst-ftell-append.c: New test case.
13700         * libio/Makefile (tests): Add test case.
13701         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13702         append mode.
13703         * libio/wfileops.c (do_ftell_wide): Likewise.
13705 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13709         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13710         ...
13711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13713         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13714         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13715         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13716         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13717         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13718         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13720         Moved ...
13721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13723         Moved ...
13724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13725         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13726         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13727         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13728         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13729         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13730         ...
13731         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13732         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13733         Moved ...
13734         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13735         here.
13736         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13737         ...
13738         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13739         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13740         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13742         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13743         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13744         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13745         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13748         merge into ...
13749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13750         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13751         ...
13752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13754         ...
13755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13756         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13757         Moved ...
13758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13759         here.
13760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13761         Moved ...
13762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13763         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13764         Moved ...
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13768         conditional [RESET_PID].
13769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13771         removed.
13772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13773         removed.
13775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13776         <tcb-offsets.h>.
13777         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13778         (__libc_vfork): New strong alias.
13779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13780         removed.
13781         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13782         Removed.
13784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13785         <tcb-offsets.h>.
13786         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13787         (__libc_vfork): New strong alias.
13788         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13789         removed.
13790         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13791         removed.
13793 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
13795         * malloc/malloc.c (mi_arena): New function.
13796         (malloc_info): Remove nested function mi_arena. Call non-nosted
13797         function mi_arena.
13799 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13801         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13802         by insrwi.
13803         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13804         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13805         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13806         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13807         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13808         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13809         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13811 2014-05-26  Andreas Schwab  <schwab@suse.de>
13813         [BZ #16984]
13814         * locale/programs/repertoire.c (repertoire_read): Add slash
13815         between I18NPATH element and file name.
13816         * locale/programs/locfile.c (locfile_read): Likewise.
13818 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13820         * nptl/pthread_mutexattr_settype.c
13821         (__pthread_mutexattr_settype):
13822         Disable lock elision for PTHREAD_MUTEX_NORMAL.
13824 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13826         * nptl/tst-mutex5 (do_test):
13827         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13829 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13831         * benchtests/README: Document 'init' directive.
13832         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13833         BENCH_INIT.
13834         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13835         (parse_file): Recognize 'init' directive.
13837 2014-05-26  Kyle McMartin  <kyle@redhat.com>
13839         [BZ #16796]
13840         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13841         alignment of struct pthread.
13843 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13845         [BZ #16878]
13846         * nscd/netgroupcache.c (addgetnetgrentX): Look for
13847         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13848         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13849         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13851 2014-05-25  Richard Henderson  <rth@twiddle.net>
13853         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13854         (SINGLE_THREAD_P_PIC): Remove.
13855         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13856         (SINGLE_THREAD_P_PIC): Remove.
13858         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13859         branch to syscall error ...
13860         (PSEUDO): ... here.
13861         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13862         from __local_syscall_error to .Lsyscall_error.
13863         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13864         (SYSCALL_ERROR): Update label name.
13866         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13867         Do not use DOARGS/UNDOARGS.
13868         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13869         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13870         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13871         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13872         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13874         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13875         block comment.
13877         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13878         define if !NOT_IN_libc.
13879         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13880         define with non-default symbol versions.
13882 2014-05-23  Richard Henderson  <rth@twiddle.net>
13884         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13885         (vfork, __vfork): Define via compat_symbol.
13887         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13888         [!HAVE_IFUNC] (vfork_compat): Remove.
13889         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13891 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13893         [BZ #16978]
13894         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13895         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13896         variable.
13898 2014-05-23  Richard Henderson  <rth@twiddle.net>
13900         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13901         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13902         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13903         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13905         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13906         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13907         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13908         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13909         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13910         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13911         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13912         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13913         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13914         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13915         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13916         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13917         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13918         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13919         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13920         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13921         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13922         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13923         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13924         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13925         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13926         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13927         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13928         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13929         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13930         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13931         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13932         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13933         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13934         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13935         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13936         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13937         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13938         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13939         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13940         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13941         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13942         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13943         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13944         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13945         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13946         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13947         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13948         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13949         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13950         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13951         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13952         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13953         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13954         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13955         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13956         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13957         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13958         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13959         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13960         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13962         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13963         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13964         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
13965         before exiting on error.
13966         (__libc_vfork): New strong alias.
13967         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13968         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13970         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13971         that was previously under [RESET_PID].
13972         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13974         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13976 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13978         [BZ #16977]
13979         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13980         value when x - 1 is zero.
13981         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13982         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13983         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13984         0.0L for an argument of 1.0L.
13985         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13986         Likewise.
13987         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13988         value when x - 1 is zero.
13989         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13990         * sysdeps/i386/fpu/libm-test-ulps: Update.
13991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13993 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13995         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13996         alphasort and versionsort.
13998 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14000         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14001         macro.
14002         [copysignf]: Likewise.
14004 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14006         * crypt/md5-crypt.c: Fix formatting.
14008 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14010         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14011         (b64_from_24bit): New function.
14013 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14015         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14016         libc_hidden_builtin_def to ifunc.
14017         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14018         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14020 2014-05-21  Roland McGrath  <roland@hack.frob.com>
14022         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14023         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14025 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
14027         * nscd/Depend (linuxthreads): Remove.
14028         (nptl): Add.
14029         * resolv/Depend (linuxthreads): Remove.
14030         * rt/Depend (linuxthreads): Remove.
14032         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14033         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14034         $(common-objpfx)elf/.
14035         (link-libc-before-gnulib): Likewise.
14036         (elfobjdir): Remove variable.
14037         * Makefile (install): Use $(elf-objpfx) instead of
14038         $(common-objpfx)elf/.
14039         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14040         $(elfobjdir)/.
14041         (link-libc-deps): Likewise.
14042         ($(common-objpfx)libc.so): Likewise.
14043         ($(common-objpfx)linkobj/libc.so): Likewise.
14044         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14045         instead of $(common-objpfx)elf/.
14046         (symbolic-link-list): Likewise.
14047         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14048         [$(cross-compiling) = no]: Likewise.
14049         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14050         $(elfobjdir)/.
14051         (static-gnulib-arch): Likewise.
14052         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14053         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14054         $(common-objpfx)elf/.
14056 2014-05-21  Richard Henderson  <rth@redhat.com>
14058         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14059         (SINGLE_THREAD_P): Use the correct width load.  Fold
14060         into the ldr offset.
14062         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14063         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14065 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
14067         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14068         (libgcc_s_resume): Use __attribute_used__.
14069         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14070         Likewise.
14072 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14074         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14075         optimization when used with float constants.
14077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14079 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
14081         [BZ #16915]
14082         * locale/nl_langinfo_l.c: Make direct reference to every
14083         _nl_current_CATEGORY symbol.
14084         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14085         (tests-static): Add tst-langinfo-static.
14086         (tests-special): Add tst-langinfo-static.out.
14087         ($(objpfx)tst-langinfo.out): Redirect output.
14088         ($(objpfx)tst-langinfo-static.out): New.
14089         * localedata/tst-langinfo.sh: Send output to stdout.
14090         * localedata/tst-langinfo-static.c: New file.
14092         [BZ #16965]
14093         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14094         when the shift amount is modulo the limb size.
14096 2014-05-20  Richard Henderson  <rth@redhat.com>
14098         [BZ #16967]
14099         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14100         Change type of sa_flags from unsigned int to int.
14102         [BZ #16966]
14103         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
14105         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
14107 2014-05-20  Will Newton  <will.newton@linaro.org>
14109         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14110         Test the return value of the system call in the nocancel case.
14112 2014-05-20  Will Newton  <will.newton@linaro.org>
14113             Yvan Roux  <yvan.roux@linaro.org>
14115         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
14116         #include of asm/ptrace.h.
14117         (PTRACE_GET_THREAD_AREA): Remove #undef.
14118         (PTRACE_GETHBPREGS): Likewise.
14119         (PTRACE_SETHBPREGS): Likewise.
14120         (struct user_regs_struct): New structure.
14121         (struct user_fpsimd_struct): New structure.
14122         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
14123         #include of asm/ptrace.h and second #include of sys/user.h.
14124         (PTRACE_GET_THREAD_AREA): Remove #undef.
14125         (PTRACE_GETHBPREGS): Likewise.
14126         (PTRACE_SETHBPREGS): Likewise.
14127         (ELF_NGREG): Use new struct user_regs_struct.
14128         (elf_fpregset_t): Use new struct user_fpsimd_struct.
14130 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14132         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
14133         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
14135 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
14137         [BZ #16958]
14138         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
14139         membar to avoid block loads/stores to overlap previous stores.
14141 2014-05-17  Richard Henderson  <rth@redhat.com>
14143         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
14144         Create the __##syscall_name##_nocancel entry point.
14145         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
14146         Remove; let the sysdep-cancel.h code create it.
14148 2014-05-17  David S. Miller  <davem@davemloft.net>
14150         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
14151         Protect with __USE_GNU.
14152         (TIOCSET_TEMPT): Likewise.
14153         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14154         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
14155         these are already provided in bits/ioctl-types.h
14157 2014-05-16  Roland McGrath  <roland@hack.frob.com>
14159         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
14160         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
14162         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
14163         Use wait4 regardless of [__NR_waitpid].
14165 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
14167         PR libgcc/60166
14168         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14169         (_FP_NANSIGN_Q): Set the quiet bit.
14171 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
14173         * benchtests/Makefile
14174         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
14175         not $(common-objpfx)math/libm.so.
14176         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
14177         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
14178         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
14179         $(common-objpfx)dlfcn/libdl.so.
14180         ($(objpfx)tst-audit8): Depend on $(libm), not
14181         $(common-objpfx)math/libm.so.
14182         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
14183         not $(common-objpfx)dlfcn/libdl.so.
14184         * math/Makefile
14185         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14186         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
14187         [$(build-shared) = yes].
14188         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
14189         $(common-objpfx)nptl/libpthread.so.
14190         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
14191         $(common-objpfx)math/libm.so$(libm.so-version) or
14192         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
14193         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
14194         $(common-objpfx)dlfcn/libdl.so.
14195         * setjmp/Makefile (link-libm): Remove variable.
14196         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
14197         * stdio-common/Makefile (link-libm): Remove variable.
14198         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
14199         * stdlib/Makefile (link-libm): Remove variable.
14200         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
14201         ($(objpfx)tst-strtod-round): Likewise.
14202         ($(objpfx)tst-tininess): Likewise.
14203         ($(objpfx)tst-strtod-underflow): Likewise.
14204         ($(objpfx)tst-strtod6): Likewise.
14205         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
14206         $(libdl), not $(common-objpfx)nptl/libpthread.so and
14207         $(common-objpfx)dlfcn/libdl.so.
14209 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14211         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
14212         BSD terminal modes definitions.
14214 2014-05-16  Roland McGrath  <roland@hack.frob.com>
14216         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14217         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14219         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
14220         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14221         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14222         Don't do #include_next.
14223         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14224         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14225         Don't do #include_next.
14226         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14227         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14228         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14229         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14231 2014-05-16  Allan McRae  <allan@archlinux.org>
14233         * po/sv.po: Update Swedish translation from translation project.
14235         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14236         in sed expression.
14238 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
14240         [BZ #16917]
14241         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14242         errno if the TIOCGPTN ioctl fails with an error different than
14243         EINVAL.
14244         * login/tst-ptsname.c: New file.
14245         * login/Makefile (tests): Add tst-ptsname.
14247         [BZ #16943]
14248         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14249         and prlimit64.
14251 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14253         [BZ #16849]
14254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14255         herrno to return EAI_AGAIN.
14257 2014-05-14  Roland McGrath  <roland@hack.frob.com>
14259         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14260         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14261         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14262         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14263         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14264         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14265         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14266         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14267         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14268         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14269         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14270         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14271         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14272         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14273         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14274         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14275         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14276         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14277         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14278         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14279         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14280         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14281         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14282         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14283         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14284         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14285         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14286         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14287         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14288         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14290         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14292         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14294         Moved ...
14295         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14297         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14299         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14301         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14303         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14305         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14307         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14309         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14311         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14313         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14315         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14317         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14319         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14321         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14323         Moved ...
14324         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14326         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14328         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14330         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14332         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14334         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14336         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14338         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14340         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14342         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14344         Moved ...
14345         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14347         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14349         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14350         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14351         (libpthread-sysdep_routines): Add elision-related stuff here instead.
14352         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14353         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14354         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14355         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14356         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14357         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14358         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14359         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14360         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14361         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14362         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14363         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14364         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14365         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14366         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14367         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14368         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14369         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14370         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14371         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14372         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14373         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14374         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14375         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14376         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14377         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14378         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14379         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14381         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14382         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14384         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14385         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14386         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14387         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14388         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14389         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14390         Moved ...
14391         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14392         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14393         Moved ...
14394         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14395         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14396         Moved ...
14397         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14398         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14399         Moved ...
14400         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14401         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14402         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14403         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14404         Moved ...
14405         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14406         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14407         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14408         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14409         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14410         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14411         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14412         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14413         Moved ...
14414         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14415         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14416         Moved ...
14417         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14418         ... here.
14419         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14420         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14421         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14422         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14423         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14424         Moved ...
14425         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14426         ... here.
14427         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14428         Moved ...
14429         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14430         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14431         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14432         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14433         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14434         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14435         Moved ...
14436         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14437         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14438         Moved ...
14439         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14440         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14441         Moved ...
14442         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14443         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14444         Moved ...
14445         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14446         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14447         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14448         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14449         Moved ...
14450         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14451         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14452         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14453         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14454         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14455         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14456         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14457         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14458         Moved ...
14459         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14460         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14461         Moved ...
14462         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14463         ... here.
14464         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14465         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14466         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14467         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14468         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14469         Moved ...
14470         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14471         ... here.
14472         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14473         Moved ...
14474         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14475         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14476         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14477         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14478         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14479         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14480         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14481         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14482         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14483         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14484         Moved ...
14485         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14486         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14487         Moved ...
14488         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14489         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14490         Moved ...
14491         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14492         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14493         Moved ...
14494         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14495         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14496         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14497         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14498         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14499         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14500         Moved ...
14501         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14502         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14503         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14504         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14505         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14506         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14507         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14508         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14509         Moved ...
14510         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14511         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14512         Moved ...
14513         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14514         ... here.
14515         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14516         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14517         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14518         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14519         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14520         Moved ...
14521         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14522         ... here.
14523         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14524         Moved ...
14525         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14526         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14527         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14528         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14529         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14530         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14531         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14532         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14533         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14534         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14535         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14537         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14538         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14540         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14541         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14543         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14544         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14545         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14546         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14547         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14548         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14549         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14550         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14551         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14552         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14553         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14554         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14555         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14556         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14557         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14558         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14559         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14560         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14561         Moved ...
14562         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14563         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14564         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14566         Moved ...
14567         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14568         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14569         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14570         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14571         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14572         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14573         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14574         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14575         Moved ...
14576         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14577         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14578         Moved ...
14579         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14580         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14581         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14582         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14583         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14585         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14586         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14587         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14588         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14589         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14590         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14591         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14592         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14593         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14594         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14595         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14597         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14598         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14599         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14600         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14601         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14603         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14604         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14605         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14606         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14607         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14608         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14609         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14610         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14611         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14612         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14614         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14617         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14618         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14619         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14620         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14621         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14622         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14623         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14624         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14625         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14626         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14627         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14628         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14629         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14630         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14631         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14632         Update #include.
14633         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14634         Likewise.
14635         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14636         Likewise.
14637         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14638         Likewise.
14639         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14640         Likewise.
14641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14642         Likewise.
14643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14644         Likewise.
14645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14646         Likewise.
14647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14648         Likewise.
14649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14650         Likewise.
14651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14658         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14659         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14660         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14661         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14662         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14663         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14664         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
14665         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
14667         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14668         that was previously under [RESET_PID].
14669         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14670         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14671         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14673         * sysdeps/i386/nptl/Implies: New file.
14674         * sysdeps/x86_64/nptl/Implies: New file.
14675         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14676         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14677         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14678         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14680         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14681         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14682         (__libc_vfork): New strong alias.
14683         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14684         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14686         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14687         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14688         (__libc_vfork): New strong alias.
14689         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14690         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14692         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14693         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14694         (__libc_vfork): New strong alias.
14695         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14696         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14697         * nptl/pt-vfork.c: New file.
14698         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14699         (libpthread: GLIBC_2.20): New version set (empty).
14701 2014-05-14  Will Newton  <will.newton@linaro.org>
14703         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14704         rather than #if.
14706 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14708         [BZ #16564]
14709         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14710         arguments with exponent 65 or above.
14711         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14712         arguments 0x1p113L or above.
14713         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14714         to arguments 0x1p107L or above.
14715         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14716         positive arguments with exponent 65 or above.
14717         * math/auto-libm-test-in: Add more tests of log1p.
14718         * math/auto-libm-test-out: Regenerated.
14720         [BZ #16928]
14721         * math/s_cacos.c (__cacos): Ensure zero real part of result from
14722         non-finite arguments is +0.
14723         * math/s_cacosf.c (__cacosf): Likewise.
14724         * math/s_cacosl.c (__cacosl): Likewise.
14725         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14726         * sysdeps/i386/fpu/libm-test-ulps: Update.
14727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14729         [BZ #16927]
14730         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14731         value.
14732         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14733         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14734         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14735         for explicit high bit of mantissa when testing for argument equal
14736         to 1.
14737         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14738         * sysdeps/i386/fpu/libm-test-ulps: Update.
14739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14741         [BZ #16516]
14742         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14743         (__erf): Scale by 16 instead of 8 in potentially underflowing
14744         case.  Ensure exception if result actually underflows.
14745         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14746         (__erff): Scale by 16 instead of 8 in potentially underflowing
14747         case.  Ensure exception if result actually underflows.
14748         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14749         (efx8): Remove variable.
14750         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14751         case.  Ensure exception if result actually underflows.
14752         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14753         (efx8): Remove variable.
14754         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14755         case.  Ensure exception if result actually underflows.
14756         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14757         (efx8): Remove variable.
14758         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14759         case.  Ensure exception if result actually underflows.
14760         * math/auto-libm-test-in: Add more tests of erf.
14761         * math/auto-libm-test-out: Regenerated.
14763 2014-05-14  Andreas Schwab  <schwab@suse.de>
14765         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14766         Remove code conditionalized on USE___THREAD.
14768         * config.h.in (HAVE_PT_CHOWN): Define as 0.
14769         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14770         not definedness.
14772 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14774         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14775         Define unconditionally.
14776         (__ASSUME_O_CLOEXEC): Likewise.
14777         (__ASSUME_SOCK_CLOEXEC): Likewise.
14778         (__ASSUME_IN_NONBLOCK): Likewise.
14779         (__ASSUME_PIPE2): Likewise.
14780         (__ASSUME_EVENTFD2): Likewise.
14781         (__ASSUME_SIGNALFD4): Likewise.
14782         (__ASSUME_DUP3): Likewise.
14783         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14784         (__ASSUME_DUP3): Do not define.
14785         (__ASSUME_EVENTFD2): Likewise.
14786         (__ASSUME_IN_NONBLOCK): Likewise.
14787         (__ASSUME_O_CLOEXEC): Likewise.
14788         (__ASSUME_PIPE2): Likewise.
14789         (__ASSUME_SIGNALFD4): Likewise.
14790         (__ASSUME_SOCK_CLOEXEC): Likewise.
14791         (__ASSUME_UTIMES): Undefine.
14792         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14793         (__ASSUME_UTIMES): Do not define.
14794         (__ASSUME_O_CLOEXEC): Likewise.
14795         (__ASSUME_SOCK_CLOEXEC): Likewise.
14796         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14797         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14798         0x020621].
14799         (__ASSUME_PIPE2): Likewise.
14800         (__ASSUME_EVENTFD2): Likewise.
14801         (__ASSUME_SIGNALFD4): Likewise.
14802         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14803         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14804         Do not define.
14805         (__ASSUME_EVENTFD2): Likewise.
14806         (__ASSUME_SIGNALFD4): Likewise.
14807         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14808         (__ASSUME_32BITUIDS): Likewise.
14809         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14810         (__ASSUME_IPC64): Likewise.
14811         (__ASSUME_ST_INO_64_BIT): Likewise.
14812         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14813         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14814         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14815         (__ASSUME_UTIMES): Do not define.
14816         (__ASSUME_PSELECT): Likewise.
14817         (__ASSUME_PPOLL): Likewise.
14818         (__ASSUME_O_CLOEXEC): Likewise.
14819         (__ASSUME_SOCK_CLOEXEC): Likewise.
14820         (__ASSUME_IN_NONBLOCK): Likewise.
14821         (__ASSUME_PIPE2): Likewise.
14822         (__ASSUME_EVENTFD2): Likewise.
14823         (__ASSUME_SIGNALFD4): Likewise.
14824         (__ASSUME_DUP3): Likewise.
14825         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14826         (__ASSUME_UTIMES): Likewise.
14827         (__ASSUME_O_CLOEXEC): Likewise.
14828         (__ASSUME_SOCK_CLOEXEC): Likewise.
14829         (__ASSUME_IN_NONBLOCK): Likewise.
14830         (__ASSUME_PIPE2): Likewise.
14831         (__ASSUME_EVENTFD2): Likewise.
14832         (__ASSUME_SIGNALFD4): Likewise.
14833         (__ASSUME_DUP3): Likewise.
14834         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14835         (__ASSUME_UTIMES): Likewise.
14836         (__ASSUME_O_CLOEXEC): Likewise.
14837         (__ASSUME_SOCK_CLOEXEC): Likewise.
14838         (__ASSUME_IN_NONBLOCK): Likewise.
14839         (__ASSUME_PIPE2): Likewise.
14840         (__ASSUME_EVENTFD2): Likewise.
14841         (__ASSUME_SIGNALFD4): Likewise.
14842         (__ASSUME_DUP3): Likewise.
14843         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14844         Likewise.
14845         (__ASSUME_UTIMES): Likewise.
14846         (__ASSUME_EVENTFD2): Likewise.
14847         (__ASSUME_SIGNALFD4): Likewise.
14848         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14849         (__ASSUME_O_CLOEXEC): Likewise.
14850         (__ASSUME_SOCK_CLOEXEC): Likewise.
14851         (__ASSUME_IN_NONBLOCK): Likewise.
14852         (__ASSUME_PIPE2): Likewise.
14853         (__ASSUME_EVENTFD2): Likewise.
14854         (__ASSUME_SIGNALFD4): Likewise.
14855         (__ASSUME_DUP3): Likewise.
14856         (__ASSUME_UTIMES): Undefine.
14858         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14859         feclearexcept.  Remove symbol versioning code.
14860         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
14861         symbol versioning code.
14862         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
14863         symbol versioning code.
14864         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14865         feupdateenv.  Remove symbol versioning code.
14866         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14867         fegetexceptflag.  Remove symbol versioning code.
14868         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14869         fesetexceptflag.  Remove symbol versioning code.
14870         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14871         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
14872         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14873         (__posix_fadvise64_l32): Remove prototype.
14874         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14875         code.
14877 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14879         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14880         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14881         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14882         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14884 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
14886         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14887         current working directory
14889 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14891         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14892         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14893         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14894         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14895         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14896         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14897         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14898         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14899         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14900         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14901         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14902         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14903         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14904         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14905         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14906         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14907         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14908         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14909         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14910         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14911         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14912         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14913         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14914         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14915         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14916         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14917         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14918         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14919         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14920         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14921         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14922         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14923         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14924         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14925         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14926         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14927         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14928         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14929         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14930         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14931         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14932         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14934         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14935         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14937         * sysdeps/unix/sysv/linux/arm/Makefile
14938         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14939         Add rt-aeabi_unwind_cpp_pr1.
14940         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14941         Add nptl-aeabi_unwind_cpp_pr1.
14942         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14943         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14944         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14945         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14946         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14947         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14949         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14950         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14951         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14952         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14954         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14955         Deconditionalize the code that was previously under [RESET_PID].
14956         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14958         * sysdeps/generic/exit-thread.h: New file.
14959         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14960         * include/unistd.h (__exit_thread): Remove declaration.
14961         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14962         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14963         * csu/libc-start.c: Include <exit-thread.h>.
14964         (LIBC_START_MAIN): Pass no argument to __exit_thread.
14965         * nptl/pthread_create.c: Include <exit-thread.h>.
14966         (start_thread): Call __exit_thread in place of __exit_thread_inline.
14967         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14968         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14969         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14970         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14971         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14972         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14973         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14974         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14975         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14976         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14977         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14978         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14979         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14980         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14981         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14982         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14984 2014-05-13  Andreas Schwab  <schwab@suse.de>
14986         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14988 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
14990         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14991         (__ASSUME_UTIMES): Do not condition on kernel version.
14992         (__ASSUME_PSELECT): Define unconditionally.
14993         (__ASSUME_PPOLL): Likewise.
14994         (__ASSUME_ATFCTS): Likewise.
14995         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14996         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14997         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14998         (__ASSUME_UTIMENSAT): Define unconditionally.
14999         (__ASSUME_PRIVATE_FUTEX): Likewise.
15000         (__ASSUME_FALLOCATE): Likewise.
15001         (__ASSUME_O_CLOEXEC): Likewise.
15002         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15003         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15004         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15005         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15006         (__ASSUME_IN_NONBLOCK): Likewise.
15007         (__ASSUME_PIPE2): Likewise.
15008         (__ASSUME_EVENTFD2): Likewise.
15009         (__ASSUME_SIGNALFD4): Likewise.
15010         (__ASSUME_DUP3): Likewise.
15011         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15012         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15013         (__ASSUME_AT_RANDOM): Likewise.
15014         (__ASSUME_PREADV): Likewise.
15015         (__ASSUME_PWRITEV): Likewise.
15016         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15017         (__ASSUME_F_GETOWN_EX): Define unconditionally.
15018         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15019         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15020         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15021         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15022         (__ASSUME_O_CLOEXEC): Define unconditionally.
15023         (__ASSUME_PSELECT): Do not undefine conditionally.
15024         (__ASSUME_PPOLL): Likewise.
15025         (__ASSUME_ATFCTS): Likewise.
15026         (__ASSUME_SET_ROBUST_LIST): Likewise.
15027         (__ASSUME_UTIMENSAT): Likewise.
15028         (__ASSUME_FDATASYNC): Define unconditionally.
15029         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15030         (__ASSUME_SIGFRAME_V2): Likewise.
15031         )__ASSUME_EVENTFD2): Likewise.
15032         (__ASSUME_SIGNALFD4): Likewise.
15033         (__ASSUME_PSELECT): Do not undefine conditionally.
15034         (__ASSUME_PPOLL): Likewise.
15035         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15036         (__ASSUME_PSELECT): Define unconditionally.
15037         (__ASSUME_PPOLL): Likewise.
15038         (__ASSUME_O_CLOEXEC): Likewise.
15039         (__ASSUME_SOCK_CLOEXEC): Likewise.
15040         (__ASSUME_IN_NONBLOCK): Likewise.
15041         (__ASSUME_PIPE2): Likewise.
15042         (__ASSUME_EVENTFD2): Likewise.
15043         (__ASSUME_SIGNALFD4): Likewise.
15044         (__ASSUME_DUP3): Likewise.
15045         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15046         (__ASSUME_O_CLOEXEC): Likewise.
15047         (__ASSUME_SOCK_CLOEXEC): Likewise.
15048         (__ASSUME_IN_NONBLOCK): Likewise.
15049         (__ASSUME_PIPE2): Likewise.
15050         (__ASSUME_EVENTFD2): Likewise.
15051         (__ASSUME_SIGNALFD4): Likewise.
15052         (__ASSUME_DUP3): Likewise.
15053         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15054         (__ASSUME_EVENTFD2): Likewise.
15055         (__ASSUME_SIGNALFD4): Likewise.
15056         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15058 2014-05-12  Andreas Schwab  <schwab@suse.de>
15060         [BZ #16932]
15061         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15062         (_nss_nis_gethostbyname4_r): Return error if item length is larger
15063         than maximum RPC packet size.
15064         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15065         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15066         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15067         (_nss_nis_getservbyport_r): Likewise.
15069 2014-05-12  Will Newton  <will.newton@linaro.org>
15071         * malloc/Makefile (tests): Add tst-mallopt.
15072         * malloc/tst-mallopt.c: New file.
15074 2014-05-09  Roland McGrath  <roland@hack.frob.com>
15076         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15077         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15079 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15081         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15082         (tst-tlsmod6.so): Likewise.
15084 2014-05-09  Roland McGrath  <roland@hack.frob.com>
15086         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15088 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
15090         [BZ #16064]
15091         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15092         and <dl-procinfo.h>.
15093         (__fegetenv): Save SSE state in envp->__eip if supported.
15094         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15095         envp->__eip if supported.
15096         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15097         and <dl-procinfo.h>.
15098         (__fesetenv): Always set __eip, __cs_selector, __opcode,
15099         __data_offset and __data_selector in environment to 0.  Set SSE
15100         state if supported.
15101         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15102         test-fenv-sse.
15103         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15104         -mfpmath=sse.
15105         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
15107 2014-05-09  Will Newton  <will.newton@linaro.org>
15109         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
15110         and libc_relro_required for ARM.
15111         * sysdeps/arm/preconfigure: Regenerate.
15113 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
15114             Stefan Liebler  <stli@linux.vnet.ibm.com>
15116         * config.make.in (enable-lock-elision): New Makefile variable.
15117         * configure.ac: Likewise.
15118         * configure: Regenerate.
15119         * sysdeps/s390/configure.ac:
15120         Add check for gcc transactions support.
15121         * sysdeps/s390/configure: Regenerate.
15122         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
15123         Build elision files if enabled.
15124         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
15125         Add lock elision support for s390.
15126         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15127         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
15128         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
15129         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15130         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
15131         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15132         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15133         Likewise.
15134         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
15135         Likewise.
15136         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
15137         Likewise.
15138         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
15139         Likewise.
15140         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
15141         (__lll_timedlock_elision, __lll_lock_elision)
15142         (__lll_unlock_elision, __lll_trylock_elision)
15143         (lll_timedlock_elision, lll_lock_elision)
15144         (lll_unlock_elision, lll_trylock_elision): Add.
15145         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15146         (pthread_mutex_t): Add lock elision support for s390.
15148 2014-05-14  Wilco  <wdijkstr@arm.com>
15150         * sysdeps/arm/fclrexcpt.c: Cleanup.
15151         * sysdeps/arm/fedisblxcpt.c: Cleanup.
15152         * sysdeps/arm/feenablxcpt.c: Cleanup.
15153         * sysdeps/arm/fegetenv.c: Cleanup.
15154         * sysdeps/arm/fegetexcept.c: Cleanup.
15155         * sysdeps/arm/fegetround.c: Cleanup.
15156         * sysdeps/arm/feholdexcpt.c: Cleanup.
15157         * sysdeps/arm/fesetenv.c: Cleanup.
15158         * sysdeps/arm/fesetround.c: Cleanup.
15159         * sysdeps/arm/feupdateenv.c: Cleanup.
15160         * sysdeps/arm/fgetexcptflg.c: Cleanup.
15161         * sysdeps/arm/fraiseexcpt.c: Cleanup.
15162         * sysdeps/arm/fsetexcptflg.c: Cleanup.
15163         * sysdeps/arm/ftestexcept.c: Cleanup.
15164         * sysdeps/arm/get-rounding-mode.h: Cleanup.
15165         * sysdeps/arm/setfpucw.c: Cleanup.
15167 2014-05-09  Will Newton  <will.newton@linaro.org>
15169         * sysdeps/arm/armv7/strcmp.S: New file.
15170         * NEWS: Mention addition of ARMv7 optimized strcmp.
15172 2014-05-08  Roland McGrath  <roland@hack.frob.com>
15174         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
15175         look for %.ac rather than %.in.
15177         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
15178         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
15179         * sysdeps/mach/hurd/configure: Regenerated.
15180         * sysdeps/unix/sysv/linux/configure: Regenerated.
15182         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
15184 2014-05-07  Steve Ellcey  <sellcey@mips.com>
15186         [BZ# 16922]
15187         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
15188         (LONG_SUB): Ditto.
15189         (PTR_SUB): Ditto.
15191 2014-05-07  Andreas Schwab  <schwab@suse.de>
15193         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15194         when skipping over non-matching result from nscd.
15196 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
15198         [BZ #16876]
15199         * nptl/sockperf.c (client): Check socket return value.
15201         [BZ #16877]
15202         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
15203         nscd security class.
15205 2014-05-06  Roland McGrath  <roland@hack.frob.com>
15207         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
15208         * sysdeps/arm/unwind.h: ... here.
15210 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
15212         [BZ# 16916]
15213         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15214         Define.
15216 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15218         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15219         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15220         multiarch strncpy for PPC64.
15221         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15222         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15224         multiarch optimizations.
15225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15226         (__libc_ifunc_impl_list): Likewise.
15227         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15228         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15229         multiarch stpncpy for PPC64.
15230         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15231         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15233 2014-05-06  Andreas Schwab  <schwab@suse.de>
15235         [BZ #16912]
15236         * gmon/mcount.c (_MCOUNT_DECL): Use
15237         atomic_compare_and_exchange_bool_acq instead of
15238         catomic_compare_and_exchange_bool_acq.
15240 2014-05-05  Roland McGrath  <roland@hack.frob.com>
15242         * elf/Makefile (others, install-bin): Remove pldd.
15243         (pldd-modules): Variable removed.
15244         ($(objpfx)pldd): Target removed.
15245         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15246         (others, install-bin): Append pldd here.
15247         ($(objpfx)pldd): New target.
15249         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15250         to 0, so the first #if test emitted later doesn't see it undefined.
15251         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15252         * sysdeps/gnu/errlist.c: Regenerated.
15254 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15256         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15257         [libc_hidden_builtin_def]: Define to empty value.
15258         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15259         [libc_hidden_builtin_def]: Likewise.
15260         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15261         [libc_hidden_builtin_def]: Likewise.
15262         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15263         [libc_hidden_builtin_def]: Likewise.
15264         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15265         __redirect_memcpy and define ifunc as default hidden symbol.
15266         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15267         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15269 2014-05-04  Adam Conrad  <adconrad@0c3.net>
15271         * locale/iso-4217.def: Reintroduce XDR currency.
15273 2014-05-04  Allan McRae  <allan@archlinux.org>
15275         * po/eo.po: Update Esperanto translation from translation project.
15277 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
15279         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15280         and FEATURE_INDEX_MAX to 1.
15281         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15283 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15285         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15286         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15287         * iconvdata/big5.c (ONE_DIRECTION): Define.
15288         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15289         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15290         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15291         * iconvdata/cp932.c (ONE_DIRECTION): Define.
15292         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15293         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15294         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15295         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15296         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15297         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15298         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15299         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15300         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15301         * iconvdata/gbk.c (ONE_DIRECTION): Define.
15302         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15303         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15304         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15305         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15306         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15307         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15308         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15309         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15310         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15311         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15312         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15313         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15314         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15315         * iconvdata/iso646.c (ONE_DIRECTION): Define.
15316         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15317         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15318         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15319         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15320         * iconvdata/johab.c (ONE_DIRECTION): Define.
15321         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15322         * iconvdata/sjis.c (ONE_DIRECTION): Define.
15323         * iconvdata/t.61.c (ONE_DIRECTION): Define.
15324         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15325         * iconvdata/tscii.c (ONE_DIRECTION): Define.
15326         * iconvdata/uhc.c (ONE_DIRECTION): Define.
15327         * iconvdata/unicode.c (ONE_DIRECTION): Define.
15328         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15329         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15330         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15332 2014-05-01  Roland McGrath  <roland@hack.frob.com>
15334         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15335         (_IO_JUMPS_OFFSET): Define to 0.
15337         * nptl/sysdeps/pthread/bits/libc-lock.h
15338         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15339         (__libc_lock_define_initialized_recursive): Always define using
15340         initializer.  Modern compilers treat uninitialized (implicit zero) and
15341         explicit zero initializers the same (i.e. put the datum in bss).
15343 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15345         * nscd/nscd-client.h: Include <string.h>.
15347 2014-05-01  David S. Miller  <davem@davemloft.net>
15349         [BZ #16885]
15350         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15351         multiple zero bytes exist at the end of a string.
15352         Reported by Aurelien Jarno <aurelien@aurel32.net>
15354         * string/test-strcmp.c (check): Add explicit test for situations where
15355         there are multiple zero bytes after the first.
15357 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15359         [BZ #16890]
15360         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15361         when compiling wprintf.
15362         * stdio-common/tstdiomisc.c (t3): New function.
15363         (main): Call it.
15365 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15367         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15368         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15369         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15370         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15372 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15374         * stdlib/longlong.h: Updated from GCC.
15376 2014-05-01  Will Newton  <will.newton@linaro.org>
15377             Bernard Ogden  <bernie.ogden@linaro.org>
15379         * NEWS: Update fixed bug list.
15381         [BZ #15119]
15382         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15384 2014-04-30  David S. Miller  <davem@davemloft.net>
15386         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15387         (libc_feholdexcept_setround_sparc_ctx): New function.
15388         (libc_fesetenv_sparc_ctx): Likewise.
15389         (libc_feupdateenv_sparc_ctx): Likewise.
15390         (libc_feholdsetround_sparc_ctx): Likewise.
15391         (libc_feholdexcept_setround_ctx): Define.
15392         (libc_feholdexcept_setroundf_ctx): Likewise.
15393         (libc_feholdexcept_setroundl_ctx): Likewise.
15394         (libc_fesetenv_ctx): Likewise.
15395         (libc_fesetenvf_ctx): Likewise.
15396         (libc_fesetenvl_ctx): Likewise.
15397         (libc_feupdateenv_ctx): Likewise.
15398         (libc_feupdateenvf_ctx): Likewise.
15399         (libc_feupdateenvl_ctx): Likewise.
15400         (libc_feresetround_ctx): Likewise.
15401         (libc_feresetroundf_ctx): Likewise.
15402         (libc_feresetroundl_ctx): Likewise.
15403         (libc_feholdsetround_ctx): Likewise.
15404         (libc_feholdsetroundf_ctx): Likewise.
15405         (libc_feholdsetroundl_ctx): Likewise.
15407         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15408         with __USE_GNU instead of XOPEN cpp guards.
15410         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15411         0.
15413         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15414         with XOPEN cpp guards.
15416 2014-04-30  Julian Brown  <julian@codesourcery.com>
15418         [BZ #16888]
15419         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15420         handling.
15422 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
15424         [BZ #9894]
15425         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15426         Change to 2.6.32.
15427         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15428         * sysdeps/unix/sysv/linux/configure: Regenerated.
15429         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15430         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15431         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15432         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15433         * README: Update reference to required Linux kernel version.
15434         * manual/install.texi (Linux): Update reference to required Linux
15435         kernel headers version.
15436         * INSTALL: Regenerated.
15438         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15439         header inclusion.
15440         [POSIX] (limits.h): Likewise.
15441         [POSIX] (math.h): Likewise.
15442         [POSIX] (sys/wait.h): Likewise.
15443         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15444         function.
15445         [POSIX] (stddef.h): Do not allow header inclusion.
15447 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15449         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
15451 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
15453         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15454         Return immediately after lll_futex_wake.
15456 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15458         [BZ #16791]
15459         * nscd/nscd-client.h (datahead_init_common): Initialize entire
15460         structure.
15461         (datahead_init_pos): Call datahead_init_common early.
15462         (datahead_init_neg): Likewise.
15464         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15465         datahead_init_neg): New functions.
15466         * nscd/aicache.c (addhstaiX): Use them.
15467         * nscd/grpcache.c (cache_addgr): Likewise.
15468         * nscd/hstcache.c (cache_addhst): Likewise.
15469         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15470         * nscd/netgroupcache.c (do_notfound): Likewise.
15471         (addgetnetgrentX): Likewise.
15472         (addinnetgrX): Likewise.
15473         * nscd/pwdcache.c (cache_addpw): Likewise.
15474         * nscd/servicescache.c (cache_addserv): Likewise.
15476 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15477             Atsushi Onoe  <atsushi@onoe.org>
15479         [BZ #14308]
15480         [BZ #12994]
15481         [BZ #13651]
15482         * resolv/res_query.c (__libc_res_nsearch): Return if at least
15483         one response is valid.
15484         * resolv/res_send.c (send_dg): Check for validity of other
15485         response if the current response is a referral.
15487 2014-04-29  Steve Ellcey  <sellcey@mips.com>
15489         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15491 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
15493         [BZ #16823]
15494         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15495         Always divide by positive zero when computing -Inf result.
15496         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15497         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15499 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15501         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15502         FPSCR if value do not change.
15503         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15504         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15505         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15506         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15507         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15508         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15509         function.
15511 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
15513         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15514         * sysdeps/unix/sysv/linux/hppa: Move directory from
15515         ports/systeps/unix/sysv/linux/hppa.
15516         * README: Update listing for hppa-*-linux-gnu.
15518 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
15520         [BZ #16754]
15521         * manual/stdio.texi (Hook functions): Fix types of stream hook
15522         functions.
15523         [BZ #16854]
15524         * socket/sys/socket.h: Fix typo in comment.
15526 2014-04-28  Wilco  <wdijkstr@arm.com>
15528         * sysdeps/arm/fenv_private.h: New file.
15529         * sysdeps/arm/math_private.h: New file.
15530         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15532 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
15534         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15535         with __int128_t.
15536         (La_x86_64_retval): Likewise.
15538 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
15540         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15541         fpsr if value didn't change.
15542         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15543         to fpcr if value didn't change.
15544         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15545         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15546         fpsr or fpcr if value didn't change.
15547         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15548         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15549         fpcr if value didn't change.
15550         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15551         to fpsr if value didn't change.
15553 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15555         * nptl/tst-sem3.c: Use test-skeleton.c
15556         (main): Rename to do_test.  Use return instead of
15557         exit.
15558         * nptl/tst-sem4.c: Use test-skeleton.c
15559         (main): Rename to do_test.
15561 2014-04-22  David S. Miller  <davem@davemloft.net>
15563         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15564         (struct sigaction): New struct member __glibc_reserved0, change
15565         type of sa_flags to int.
15567 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
15569         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15570         (COUNT_LEADING_ZEROS_0): Define for AArch64.
15572 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15574         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15575         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15577 2014-04-22  Will Newton  <will.newton@linaro.org>
15578             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
15580         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15581         (__longjmp): Add longjmp and longjmp_target SystemTap
15582         probes.
15583         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15584         (__sigsetjmp): Add setjmp SystemTap probe.
15586 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
15588         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15589         match manual order.
15591 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15593         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15595         * sysdeps/powerpc/fpu/fenv_private.h
15596         (libc_feholdexcept_setroundl_ctx): Define to
15597         libc_feholdexcept_setround_ppc_ctx.
15598         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15599         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15600         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15601         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15603 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
15605         * sysdeps/aarch64/math-tests.h: New file.
15607 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
15609         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15610         New.
15611         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15612         Check and set bit_AVX2_Usable.
15613         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15614         macro.
15615         (bit_AVX2): Likewise.
15616         (index_AVX2_Usable): Likewise.
15617         (CPUID_AVX2): Likewise.
15618         (HAS_AVX2): Likewise.
15620 2014-04-17  Will Newton  <will.newton@linaro.org>
15622         * manual/setjmp.texi (System V contexts): Add note that
15623         calling setcontext on a context created by a call to a
15624         signal handler is undefined.  Update text to note that
15625         setcontext from a signal handler is possible but not
15626         recommended.
15628         [BZ #16629]
15629         * stdlib/tst-setcontext.c: Include signal.h.
15630         (main): Check that the signal stack before and
15631         after swapcontext is the same.
15633         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15634         Re-implement to restore registers in user code and avoid
15635         rt_sigreturn system call.
15637 2014-04-17  Wilco  <wdijkstr@arm.com>
15639         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15640         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15641         * math/test-fenv.c: Skip exception trap tests on targets which only
15642         support non-stop mode.
15644 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
15645             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15647         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15648         (libc_feholdsetround_aarch64_ctx)
15649         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15650         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15651         (libc_feresetround_ctx, libc_feresetroundf_ctx)
15652         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15653         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15654         (libc_feresetround_noexl_ctx): Define.
15656 2014-04-16  Richard Henderson  <rth@redhat.com>
15658         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15660         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15661         unwind tables.
15663         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15664         const from the non-libc, non-ldso copy.
15666         * sysdeps/alpha/libm-test-ulps: Regenerate.
15668 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
15669             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15671         * sysdeps/aarch64/fpu/math_private.h: New file.
15673 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15675         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15677 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
15679         [BZ #16275]
15680         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15681         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15682         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15683         Intel MPX bound registers before _dl_profile_fixup.
15684         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15685         registers after _dl_profile_fixup.  Save and restore bound
15686         registers bnd0/bnd1 when calling _dl_call_pltexit.
15687         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15688         (LR_BND_OFFSET): Likewise.
15689         (LRV_BND0_OFFSET): Likewise.
15690         (LRV_BND1_OFFSET): Likewise.
15692 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15694         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15695         to...
15696         * sysdeps/mach/hurd/i386/tls.h: ... here.
15697         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15698         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15699         fields.
15701 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15703         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15705 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15707         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15709 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15711         [BZ #14770]
15712         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15713         * sysdeps/s390/configure: Regenerate.
15715         [BZ #16824]
15716         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15717         Set round-to-nearest internally to reduce error accumulation.
15719 2014-04-16  Alan Modra  <amodra@gmail.com>
15721         [BZ #16740]
15722         [BZ #16619]
15723         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15724         * math/libm-test.inc (frexp_test_data): Add tests.
15725         * NEWS: Update fixed bug list.
15727 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15729         * benchtests/Makefile: Depend on libraries in build directory.
15730         (bench-math): Separate out math tests.
15731         (bench-pthread): Separate out pthread tests.
15732         (bench): Include math and pthread tests.
15734 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
15736         [BZ #16831]
15737         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15738         _dl_debug_initialize.
15740         * configure.ac: Remove SELinux header check.
15741         * configure: Regenerate.
15742         * nscd/selinux.c (perms): Array of const char* to permission names.
15743         (nscd_request_avc_has_perm): Call security_deny_unknown to find
15744         default policy. Call string_to_security_class and string_to_av_perm to
15745         translate strings. Enforce default policy and call avs_has_perm with
15746         results of translated strings.
15748 2014-04-13  David S. Miller  <davem@davemloft.net>
15750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15752 2014-04-12  Allan McRae  <allan@archlinux.org>
15754         [BZ #16838]
15755         * manual/string.texi (Collation Functions): Fix qsort argument
15756         order in example.
15757         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15759 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
15761         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15762         Make the test a no-op if there are no exceptions defined.
15764 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15766         * elf/Makefile (tests): make tst-dlopen-aout conditional on
15767         enable-hardcoded-path-in-tests
15769 2014-04-11  Will Newton  <will.newton@linaro.org>
15771         * benchtests/Makefile (extra-objs): Add json-lib.o.
15772         (bench-func): Tidy up JSON output.
15773         * benchtests/bench-skeleton.c: Include json-lib.h.
15774         (main): Use JSON library functions to do output of
15775         benchmark results.
15776         * benchtests/bench-timing-type.c (main): Output the
15777         timing type simply, leaving formatting to the user.
15778         * benchtests/json-lib.c: New file.
15779         * benchtests/json-lib.h: Likewise.
15781 2014-04-11  Torvald Riegel  <triegel@redhat.com>
15783         [BZ #15215]
15784         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15785         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
15786         memory barriers.  Add comments.
15787         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15788         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15789         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15790         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15791         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15792         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15794 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15796         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15797         * sysdeps/s390/s390-64/configure.ac: ... this ...
15798         * sysdeps/s390/configure.ac: ... to here.
15799         * sysdeps/s390/s390-32/configure: Delete file.
15800         * sysdeps/s390/s390-64/configure: Delete file.
15801         * sysdeps/s390/configure: Regenerate.
15803 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
15805         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15807 2014-04-11  Will Newton  <will.newton@linaro.org>
15809         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15810         to zero if it is not defined elsewhere.  (mtrim): Test
15811         the value of MALLOC_DEBUG with #if rather than #ifdef.
15813 2014-04-10 Torvald Riegel  <triegel@redhat.com>
15815         * benchtests/pthread_once-inputs: New file.
15816         * benchtests/pthread_once-source.c: New file.
15817         * benchtests/README: Update documentation.
15819 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15820             H.J. Lu  <hongjiu.lu@intel.com>
15822         [BZ #16275]
15823         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15824         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15825         * sysdeps/x86_64/configure: Regenerated.
15826         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15827         macro.
15828         (REGISTER_SAVE_RAX): Likewise.
15829         (REGISTER_SAVE_RCX): Likewise.
15830         (REGISTER_SAVE_RDX): Likewise.
15831         (REGISTER_SAVE_RSI): Likewise.
15832         (REGISTER_SAVE_RDI): Likewise.
15833         (REGISTER_SAVE_R8): Likewise.
15834         (REGISTER_SAVE_R9): Likewise.
15835         (REGISTER_SAVE_BND0): Likewise.
15836         (REGISTER_SAVE_BND1): Likewise.
15837         (REGISTER_SAVE_BND2): Likewise.
15838         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
15839         bound registers when calling _dl_fixup.
15841 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15843         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15844         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15845         of its definition.
15846         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15847         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15848         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15849         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15850         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15851         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15852         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15854 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
15856         [BZ #15514]
15857         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15858         pathconf(_PC_NAME_MAX).
15860 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15862         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15863         Remove macro usage.
15864         (__PTHREAD_SPINS): Move definition to ...
15865         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15866         (__PTHREAD_SPINS): ... here.
15867         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15868         (__PTHREAD_SPIN): Likewise.
15869         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15870         (__PTHREAD_SPIN): Likewise.
15871         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15872         (__PTHREAD_SPIN): Likewise.
15873         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15874         (__PTHREAD_SPIN): Likewise.
15875         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15876         (__PTHREAD_SPIN): Likewise.
15877         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15878         (__PTHREAD_SPIN): Likewise.
15879         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15880         (__PTHREAD_SPIN): Likewise.
15881         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15882         (__PTHREAD_SPIN): Likewise.
15883         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15884         (__PTHREAD_SPIN): Likewise.
15885         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15886         (__PTHREAD_SPIN): Likewise.
15887         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15888         (__PTHREAD_SPIN): Likewise.
15889         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15890         (__PTHREAD_SPIN): Likewise.
15892         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15893         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15894         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15895         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15896         imply folder.
15897         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15898         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15899         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15900         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15901         correct imply path.
15902         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15903         strlen symbol for non multi-arch builds.
15904         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15905         missing hidden_def and weak_alias.
15907 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
15909         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15911 2014-04-07  Will Newton  <will.newton@linaro.org>
15913         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15914         and contents.  [!_LIBC] Remove #ifndef and contents.
15915         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
15916         * string/memccpy.c (__memccpy): Use ANSI prototype.
15917         * string/memfrob.c (memfrob): Likewise.
15918         * string/strcoll.c (STRCOLL): Likewise.
15919         * string/strlen.c (strlen): Likewise.
15920         * string/strtok.c (STRTOK): Likewise.
15921         * string/strcat.c: Remove unused #include of memcopy.h.
15922         (strcat): Use ANSI prototype.
15923         * string/strchr.c: Remove unused #include of memcopy.h.
15924         (strchr): Use ANSI prototype.
15925         * string/strcmp.c: Remove unused #include of memcopy.h.
15926         (strcmp): Use ANSI prototype.
15927         * string/strcpy.c: Remove unused #include of memcopy.h.
15928         (strcpy): Use ANSI prototype.
15930 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15932         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15933         * config.make.in (config-extra-cppflags): Set it from
15934         libc_extra_cppflags.
15935         * configure.ac (libc_extra_cflags): Make it accumulate over
15936         configure fragments.
15937         (libc_extra_cppflags): New flag.
15938         * configure. Regenerate.
15939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15940         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15941         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15944         [BZ #16815]
15945         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15946         result for FE_DOWNWARD rounding mode.
15947         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15948         Likewise.
15949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15951 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
15953         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15954         in function argument name.
15956 2014-04-03  David Svoboda  <svoboda@cert.org>
15958         [BZ #5666]
15959         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15960         explicitly.
15962 2014-04-03  Roland McGrath  <roland@hack.frob.com>
15964         * elf/dl-unmap-segments.h: New file.
15965         * sysdeps/generic/ldsodefs.h
15966         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15967         * elf/dl-close.c: Include <dl-unmap-segments.h>.
15968         * elf/dl-fptr.c: Likewise.
15969         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15970         * sysdeps/aarch64/tlsdesc.c: Likewise.
15971         * sysdeps/arm/tlsdesc.c: Likewise.
15972         * sysdeps/i386/tlsdesc.c: Likewise.
15973         * sysdeps/tile/dl-runtime.c: Likewise.
15974         * sysdeps/x86_64/tlsdesc.c: Likewise.
15975         * elf/dl-load.h: New file.
15976         * elf/dl-load.c: Include it.
15977         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15978         Macros moved to dl-load.h.
15979         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15980         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15981         Use _dl_unmap_segments in place of __munmap.
15982         Break out segment-mapping loop into ...
15983         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15985 2014-04-03  Will Newton  <will.newton@linaro.org>
15987         * elf/dl-lookup.c (do_lookup_x): Remove comment
15988         referring to nested function and move variable
15989         declarations down to before first use.
15991 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
15993         [BZ #16799]
15994         [BZ #16800]
15995         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15996         with 0 numerator.
15997         * math/s_catanf.c (__catanf): Likewise.
15998         * math/s_catanh.c (__catanh): Likewise.
15999         * math/s_catanhf.c (__catanhf): Likewise.
16000         * math/s_catanhl.c (__catanhl): Likewise.
16001         * math/s_catanl.c (__catanl): Likewise.
16002         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16003         by positive zero when computing -Inf result.
16004         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16005         (catanh_test): Likewise.
16006         * sysdeps/i386/fpu/libm-test-ulps: Update.
16007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16009         [BZ #16789]
16010         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16011         instead of using underflowing value in computing result.
16012         * math/s_clog10.c (__clog10): Likewise.
16013         * math/s_clog10f.c (__clog10f): Likewise.
16014         * math/s_clog10l.c (__clog10l): Likewise.
16015         * math/s_clogf.c (__clogf): Likewise.
16016         * math/s_clogl.c (__clogl): Likewise.
16017         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16018         (clog10_test): Likewise.
16019         * sysdeps/i386/fpu/libm-test-ulps: Update.
16020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16022 2014-04-02  Alan Modra  <amodra@gmail.com>
16024         [BZ #16739]
16025         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16026         output when value is near a power of two.  Use int64_t for lx and
16027         remove casts.  Use decimal rather than hex exponent constants.
16028         Don't use long double multiplication when double will suffice.
16029         * math/libm-test.inc (nextafter_test_data): Add tests.
16030         * NEWS: Add 16739 and 16786 to bug list.
16032         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16034         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16036 2014-04-01  Will Newton  <will.newton@linaro.org>
16038         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16039         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
16041 2014-04-01  Florian Weimer  <fweimer@redhat.com>
16043         [BZ #13347]
16044         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16045         * nptl/tst-setuid2.c: New file.
16046         * nptl/Makefile (xtests): Add tst-setuid2.
16048 2014-04-01  Alan Modra  <amodra@gmail.com>
16050         [BZ #16786]
16051         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16053 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
16055         [BZ #6803]
16056         [BZ #6804]
16057         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16058         set errno as appropriate.
16059         * math/w_scalbf.c (__scalbf): Likewise.
16060         * math/w_scalbl.c (__scalbl): Likewise.
16061         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16062         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16063         * math/libm-test.inc (scalb_test_data): Add errno expectations.
16064         Add more NaN tests.
16066         [BZ #16349]
16067         * math/w_atan2.c: Include <errno.h>.
16068         (__atan2): Set errno for result underflowing to zero.
16069         * math/w_atan2f.c: Include <errno.h>.
16070         (__atan2f): Set errno for result underflowing to zero.
16071         * math/w_atan2l.c: Include <errno.h>.
16072         (__atan2l): Set errno for result underflowing to zero.
16073         * math/auto-libm-test-in: Don't allow missing errno for some atan2
16074         tests.
16075         * math/auto-libm-test-out: Regenerated.
16077 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16079         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16080         Encode instruction correctly in little endian.
16081         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16082         Likewise.
16083         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16084         Likewise.
16085         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16086         Likewise.
16087         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16088         Likewise.
16090 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
16092         [BZ #9894]
16093         * sysdeps/unix/sysv/linux/kernel-features.h
16094         [__sparc__ && !__arch64__ && !__sparc_v9__]
16095         (__ASSUME_SET_ROBUST_LIST): Do not define.
16096         [__sparc__ && !__arch64__ && !__sparc_v9__]
16097         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16098         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16099         Likewise.
16100         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16101         (__ASSUME_FUTEX_LOCK_PI): Undefine.
16102         (__ASSUME_REQUEUE_PI): Likewise.
16103         (__ASSUME_SET_ROBUST_LIST): Likewise.
16104         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16105         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
16106         Undefine.
16107         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16108         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
16109         Likewise.
16110         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
16111         Likewise.
16112         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
16113         Likewise.
16114         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16115         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
16116         Undefine.
16117         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
16118         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
16119         Likewise.
16121         [BZ #16648]
16122         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16123         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
16124         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
16126 2014-03-31  Will Newton  <will.newton@linaro.org>
16128         * benchtests/Makefile (bench): Add ffs and ffsll to list
16129         of tests.
16130         * benchtests/ffs-inputs: New file.
16131         * benchtests/ffsll-inputs: Likewise.
16133 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
16135         [BZ #16770]
16136         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
16137         too large before casting to int.
16138         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
16139         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
16140         * math/libm-test.inc (scalb_test_data): Add more tests.
16142 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16144         * benchtests/Makefile (DETAILED_OPT): New make option.
16145         (bench-func): Run benchmark program with -d if DETAILED_OPT is
16146         set.
16147         * benchtests/bench-skeleton.c: Include stdbool.h.
16148         (main): Store and print timings per input.
16149         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
16150         member to each argument value.
16151         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
16152         (_print_arg_data): Initialize per-input timing to 0.
16154         * benchtests/Makefile (timing-type): New binary.
16155         (bench-clean): Also remove bench-timing-type.
16156         (bench): New target for timing-type.
16157         (bench-func): Print output in JSON format.
16158         * benchtests/bench-skeleton.c (main): Print output in JSON
16159         format.
16160         * benchtests/bench-timing-type.c: New file.
16161         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
16162         (TIMING_PRINT_STATS): Remove.
16163         * benchtests/scripts/bench.py (_print_arg_data): Store variant
16164         name separately.
16166         * benchtests/bench-modf.c: Remove.
16167         * benchtests/modf-inputs: New inputs file.
16169 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
16171         [BZ #16362]
16172         * math/s_clog10.c (M_PI_LOG10E): New macro.
16173         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
16174         imaginary parts are 0.
16175         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
16176         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
16177         imaginary parts are 0.
16178         * math/s_clog10l.c (M_PI_LOG10El): New macro.
16179         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
16180         imaginary parts are 0.
16181         * math/libm-test.inc (clog10_test_data): Update expected results
16182         for when real and imaginary parts are 0.
16184 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
16186         * elf/dl-load.c: Finish conversion of __builtin_expect into
16187         __glibc_{un}likely.
16189 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
16191         [BZ #16348]
16192         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
16193         1+x for argument with exponent below -67.
16194         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
16195         Likewise.
16196         * math/auto-libm-test-in: Add more tests of exp.
16197         * math/auto-libm-test-out: Regenerated.
16199 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16201         [BZ #16759]
16202         * inet/getnetgrent_r.c (get_nonempty_val): New function.
16203         (nscd_getnetgrent): Use it.
16205         [BZ #16760]
16206         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
16207         of stpcpy.
16209 2014-03-27  Andi Kleen  <ak@linux.intel.com>
16211         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
16212         (lll_robust_lock, lll_cond_lock, lll_timedlock)
16213         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16214         (lll_robust_unlock): Remove out of line section. Use cfi
16215         intrinsics.
16216         (LLL_STUB_UNWIND_INFO*): Remove.
16217         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16218         (lll_robust_lock, lll_cond_lock, lll_timedlock)
16219         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16220         (lll_robust_unlock): Remove out of line section. Use cfi
16221         intrinsics.
16222         (LLL_STUB_UNWIND_INFO*): Remove.
16224 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16226         [BZ #16758]
16227         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16228         blank values.
16230 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
16232         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16234 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
16236         [BZ #16198]
16237         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16238         fnstenv.
16239         * math/test-fenv-preserve.c: New file.
16240         * math/Makefile (tests): Add test-fenv-preserve.
16242 2014-03-26  Will Newton <will.newton@linaro.org>
16244         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16246 2014-03-25  Roland McGrath  <roland@hack.frob.com>
16248         * scripts/versionlist.awk: Partition the version sets and emit all
16249         GLIBC_* (sorted) before all others (sorted).
16251 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
16253         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16254         GLIBC_2.2.5 version.
16256 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16258         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16259         calls.
16261         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16262         previous change.
16264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16266 2014-03-25  Andreas Schwab  <schwab@suse.de>
16268         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16269         label to be used after in6ailist is initialized.
16271 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16273         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16274         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16276 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
16278         [BZ #16357]
16279         [BZ #16599]
16280         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16281         min_plus_half.
16282         (fp_formats): Update initializers.
16283         (init_fp_formats): Initialize new field.
16284         (output_for_one_input_case): Allow underflow for results up to
16285         min_plus_half.
16286         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16287         * math/auto-libm-test-in: Don't mark some underflows from asin and
16288         atanh as spurious.
16289         * math/auto-libm-test-out: Regenerated.
16290         * sysdeps/i386/fpu/libm-test-ulps: Update.
16291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16293 2014-03-25  Andreas Schwab  <schwab@suse.de>
16295         * libio/Makefile (tst-ftell-partial-wide-ENV)
16296         (tst-ftell-active-handler-ENV): Define.
16298 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
16300         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16302 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16304         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16306 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
16308         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16309         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16310         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16312 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16314         [BZ #16634]
16315         * elf/dl-load.c (open_verify): Add mode parameter.
16316         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16317         (open_path): Change from boolean 'secure' to complete flag 'mode'
16318         (_dl_map_object): Adjust.
16319         * elf/Makefile (tests): Add tst-dlopen-aout.
16320         * elf/tst-dlopen-aout.c: New test.
16322 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
16324         [BZ #16714]
16325         * sysdeps/unix/sysv/linux/s390/bits/stat.h
16326         (struct stat): Rename member pad0 to __glibc_reserved0.
16328         [BZ #16712]
16329         * sysdeps/s390/s390-32/bits/wordsize.h
16330         (__WORDSIZE32_SIZE_ULONG): New define.
16331         * sysdeps/s390/s390-64/bits/wordsize.h
16332         (__WORDSIZE32_SIZE_ULONG): Likewise.
16333         * sysdeps/generic/stdint.h (SIZE_MAX):
16334         Define as UL if __WORDSIZE32_SIZE_ULONG.
16336         [BZ #16713]
16337         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16338         (__glibc_reserved0): New variable.
16339         (sa_flags): Change type to int.
16341         * posix/Makefile (before-compile): Use += before-compile instead
16342         of a :=.
16344         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16345         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16347 2014-03-20  Andreas Schwab  <schwab@suse.de>
16349         [BZ #16743]
16350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16351         non-matching result from nscd.
16353 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16355         * scripts/bench.py: Moved to ...
16356         * benchtests/scripts/bench.py: ... here.
16357         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16359 2014-03-24  Andreas Schwab  <schwab@suse.de>
16361         [BZ #16002]
16362         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16363         alloca_account and account alloca use for struct in6ailist.
16365 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
16367         [BZ #16284]
16368         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16369         rounding mode to recompute results that overflow to infinity or
16370         underflow to zero.
16371         * math/auto-libm-test-in: Don't mark tests as expected to fail for
16372         bug 16284.
16373         * math/auto-libm-test-out: Regenerated.
16374         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16375         (ccosh_test): Likewise.
16376         (csin_test_data): Use plus_oflow.
16377         (csin_test): Use ALL_RM_TEST.
16378         (csinh_test_data): Use plus_oflow.
16379         (csinh_test): Use ALL_RM_TEST.
16380         * sysdeps/i386/fpu/libm-test-ulps: Update.
16381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16383 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
16385         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16386         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16387         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16389         [BZ #16731]
16390         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16391         when x - 1 is zero.
16392         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16393         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16394         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16395         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16396         argument is 1.
16397         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16398         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16399         zero.
16400         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16401         * sysdeps/i386/fpu/libm-test-ulps: Update.
16402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16404 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16406         * scripts/bench.pl: Remove file.
16407         * scripts/bench.py: New benchmark script.
16408         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16409         * benchtests/README: Mention python dependency.
16410         * scripts/pylintrc: New file.
16411         * scripts/pylint: New file.
16413         * bits/mathdef.h: Use #ifdef instead of #if.
16414         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16415         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16416         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16417         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16418         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16419         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16421 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16422             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16424         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16426         and strpbrk-ppc64 objects.
16427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16428         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16429         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16430         multiarch strpbrk for POWER7.
16431         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16432         multiarch strpbrk for PPC64.
16433         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16434         ifunc selector.
16435         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16436         strpbrk for POWER7.
16438 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
16440         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16441         (atan_test): Likewise.
16442         (atanh_test_data): Use NO_TEST_INLINE for two tests.
16443         (atanh_test): Use ALL_RM_TEST.
16444         (atan2_test_data): Likewise.
16445         (cabs_test): Likewise.
16446         (cacosh_test): Likewise.
16447         (carg_test): Likewise.
16448         (casin_test): Likewise.
16449         (casinh_test): Likewise.
16450         (cbrt_test): Likewise.
16451         (csqrt_test): Likewise.
16452         (erf_test): Likewise.
16453         (erfc_test): Likewise.
16454         (pow10_test): Likewise.
16455         (exp2_test): Likewise.
16456         (hypot_test): Likewise.
16457         (j0_test): Likewise.
16458         (j1_test): Likewise.
16459         (lgamma_test): Likewise.
16460         (gamma_test): Likewise.
16461         (sincos_test): Likewise.
16462         (tanh_test): Likewise.
16463         (y0_test): Likewise.
16464         (y1_test): Likewise.
16465         * sysdeps/i386/fpu/libm-test-ulps: Update.
16466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16468 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16470         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16472         and strcspn-ppc64 objects.
16473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16474         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16475         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16476         multiarch strcspn for POWER7.
16477         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16478         multiarch strcspn for PPC64.
16479         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16480         ifunc selector.
16481         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16482         strcspn for POWER7.
16484 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
16486         * math/gen-libm-test.pl (generate_testfile): Expect only function
16487         name as argument to AUTO_TESTS_* and pass results for all rounding
16488         modes to parse_args.
16489         (parse_auto_input): Separate inputs of automatic tests from
16490         outputs before storing in %auto_tests.
16491         * math/libm-test.inc (acos_test_data): Update call to
16492         AUTO_TESTS_f_f.
16493         (acos_test): Use ALL_RM_TEST.
16494         (acos_tonearest_test_data): Remove.
16495         (acos_test_tonearest): Likewise.
16496         (acos_towardzero_test_data): Likewise.
16497         (acos_test_towardzero): Likewise.
16498         (acos_downward_test_data): Likewise.
16499         (acos_test_downward): Likewise.
16500         (acos_upward_test_data): Likewise.
16501         (acos_test_upward): Likewise.
16502         (acosh_test_data): Update call to AUTO_TESTS_f_f.
16503         (asin_test_data): Likewise.
16504         (asin_test): Use ALL_RM_TEST.
16505         (asin_tonearest_test_data): Remove.
16506         (asin_test_tonearest): Likewise.
16507         (asin_towardzero_test_data): Likewise.
16508         (asin_test_towardzero): Likewise.
16509         (asin_downward_test_data): Likewise.
16510         (asin_test_downward): Likewise.
16511         (asin_upward_test_data): Likewise.
16512         (asin_test_upward): Likewise.
16513         (asinh_test_data): Update call to AUTO_TESTS_f_f.
16514         (atan_test_data): Likewise.
16515         (atanh_test_data): Likewise.
16516         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16517         (cabs_test_data): Update call to AUTO_TESTS_c_f.
16518         (carg_test_data): Likewise.
16519         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16520         (ccos_test_data): Update call to AUTO_TESTS_c_c.
16521         (ccosh_test_data): Likewise.
16522         (cexp_test_data): Likewise.
16523         (clog_test_data): Likewise.
16524         (clog10_test_data): Likewise.
16525         (cos_test_data): Update call to AUTO_TESTS_f_f.
16526         (cos_test): Use ALL_RM_TEST.
16527         (cos_tonearest_test_data): Remove.
16528         (cos_test_tonearest): Likewise.
16529         (cos_towardzero_test_data): Likewise.
16530         (cos_test_towardzero): Likewise.
16531         (cos_downward_test_data): Likewise.
16532         (cos_test_downward): Likewise.
16533         (cos_upward_test_data): Likewise.
16534         (cos_test_upward): Likewise.
16535         (cosh_test_data): Update call to AUTO_TESTS_f_f.
16536         (cosh_test): Use ALL_RM_TEST.
16537         (cosh_tonearest_test_data): Remove.
16538         (cosh_test_tonearest): Likewise.
16539         (cosh_towardzero_test_data): Likewise.
16540         (cosh_test_towardzero): Likewise.
16541         (cosh_downward_test_data): Likewise.
16542         (cosh_test_downward): Likewise.
16543         (cosh_upward_test_data): Likewise.
16544         (cosh_test_upward): Likewise.
16545         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16546         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16547         (ctan_test_data): Likewise.
16548         (ctan_test): Use ALL_RM_TEST.
16549         (ctan_tonearest_test_data): Remove.
16550         (ctan_test_tonearest): Likewise.
16551         (ctan_towardzero_test_data): Likewise.
16552         (ctan_test_towardzero): Likewise.
16553         (ctan_downward_test_data): Likewise.
16554         (ctan_test_downward): Likewise.
16555         (ctan_upward_test_data): Likewise.
16556         (ctan_test_upward): Likewise.
16557         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16558         (ctanh_test): Use ALL_RM_TEST.
16559         (ctanh_tonearest_test_data): Remove.
16560         (ctanh_test_tonearest): Likewise.
16561         (ctanh_towardzero_test_data): Likewise.
16562         (ctanh_test_towardzero): Likewise.
16563         (ctanh_downward_test_data): Likewise.
16564         (ctanh_test_downward): Likewise.
16565         (ctanh_upward_test_data): Likewise.
16566         (ctanh_test_upward): Likewise.
16567         (erf_test_data): Update call to AUTO_TESTS_f_f.
16568         (erfc_test_data): Likewise.
16569         (exp_test_data): Likewise.
16570         (exp_test): Use ALL_RM_TEST.
16571         (exp_tonearest_test_data): Remove.
16572         (exp_test_tonearest): Likewise.
16573         (exp_towardzero_test_data): Likewise.
16574         (exp_test_towardzero): Likewise.
16575         (exp_downward_test_data): Likewise.
16576         (exp_test_downward): Likewise.
16577         (exp_upward_test_data): Likewise.
16578         (exp_test_upward): Likewise.
16579         (exp10_test_data): Update call to AUTO_TESTS_f_f.
16580         (exp10_test): Use ALL_RM_TEST.
16581         (exp10_tonearest_test_data): Remove.
16582         (exp10_test_tonearest): Likewise.
16583         (exp10_towardzero_test_data): Likewise.
16584         (exp10_test_towardzero): Likewise.
16585         (exp10_downward_test_data): Likewise.
16586         (exp10_test_downward): Likewise.
16587         (exp10_upward_test_data): Likewise.
16588         (exp10_test_upward): Likewise.
16589         (exp2_test_data): Update call to AUTO_TESTS_f_f.
16590         (expm1_test_data): Likewise.
16591         (expm1_test): Use ALL_RM_TEST.
16592         (expm1_tonearest_test_data): Remove.
16593         (expm1_test_tonearest): Likewise.
16594         (expm1_towardzero_test_data): Likewise.
16595         (expm1_test_towardzero): Likewise.
16596         (expm1_downward_test_data): Likewise.
16597         (expm1_test_downward): Likewise.
16598         (expm1_upward_test_data): Likewise.
16599         (expm1_test_upward): Likewise.
16600         (fma_test_data): Update call to AUTO_TESTS_fff_f.
16601         (fma_test): Use ALL_RM_TEST.
16602         (fma_towardzero_test_data): Remove.
16603         (fma_test_towardzero): Likewise.
16604         (fma_downward_test_data): Likewise.
16605         (fma_test_downward): Likewise.
16606         (fma_upward_test_data): Likewise.
16607         (fma_test_upward): Likewise.
16608         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16609         (j0_test_data): Update call to AUTO_TESTS_f_f.
16610         (j1_test_data): Likewise.
16611         (jn_test_data): Update call to AUTO_TESTS_if_f.
16612         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16613         (log_test_data): Update call to AUTO_TESTS_f_f.
16614         (log10_test_data): Likewise.
16615         (log1p_test_data): Likewise.
16616         (log2_test_data): Likewise.
16617         (pow_test_data): Update call to AUTO_TESTS_ff_f.
16618         (pow_tonearest_test_data): Likewise.
16619         (sin_test_data): Update call to AUTO_TESTS_f_f.
16620         (sin_test): Use ALL_RM_TEST.
16621         (sin_tonearest_test_data): Remove.
16622         (sin_test_tonearest): Likewise.
16623         (sin_towardzero_test_data): Likewise.
16624         (sin_test_towardzero): Likewise.
16625         (sin_downward_test_data): Likewise.
16626         (sin_test_downward): Likewise.
16627         (sin_upward_test_data): Likewise.
16628         (sin_test_upward): Likewise.
16629         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16630         (sinh_test_data): Update call to AUTO_TESTS_f_f.
16631         (sinh_test): Use ALL_RM_TEST.
16632         (sinh_tonearest_test_data): Remove.
16633         (sinh_test_tonearest): Likewise.
16634         (sinh_towardzero_test_data): Likewise.
16635         (sinh_test_towardzero): Likewise.
16636         (sinh_downward_test_data): Likewise.
16637         (sinh_test_downward): Likewise.
16638         (sinh_upward_test_data): Likewise.
16639         (sinh_test_upward): Likewise.
16640         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16641         (sqrt_test): Use ALL_RM_TEST.
16642         (sqrt_tonearest_test_data): Remove.
16643         (sqrt_test_tonearest): Likewise.
16644         (sqrt_towardzero_test_data): Likewise.
16645         (sqrt_test_towardzero): Likewise.
16646         (sqrt_downward_test_data): Likewise.
16647         (sqrt_test_downward): Likewise.
16648         (sqrt_upward_test_data): Likewise.
16649         (sqrt_test_upward): Likewise.
16650         (tan_test_data): Update call to AUTO_TESTS_f_f.
16651         (tan_test): Use ALL_RM_TEST.
16652         (tan_tonearest_test_data): Remove.
16653         (tan_test_tonearest): Likewise.
16654         (tan_towardzero_test_data): Likewise.
16655         (tan_test_towardzero): Likewise.
16656         (tan_downward_test_data): Likewise.
16657         (tan_test_downward): Likewise.
16658         (tan_upward_test_data): Likewise.
16659         (tan_test_upward): Likewise.
16660         (tanh_test_data): Update call to AUTO_TESTS_f_f.
16661         (tgamma_test_data): Likewise.
16662         (y0_test_data): Likewise.
16663         (y1_test_data): Likewise.
16664         (yn_test_data): Update call to AUTO_TESTS_if_f.
16665         (main): Do not call removed functions.
16667 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16669         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16670         (ldexp_test_data): Remove.
16671         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
16672         scalbn_test_data.
16673         (scalb_test): Use ALL_RM_TEST.
16675 2014-03-19  Andreas Schwab  <schwab@suse.de>
16677         * nscd/nscd.service: Also invalidate netgroup cache on reload.
16679 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16681         [BZ #16649]
16682         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16683         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16684         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16685         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16686         (__ASSUME_PREADV): Undefine.
16687         (__ASSUME_PWRITEV): Likewise.
16689 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16691         * bits/mman-linux.h: Add comment about non-Linux use.
16692         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16693         bits/mman-linux.h resting place.
16695         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16696         * bits/mman-linux.h: ... here.
16698 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16700         * conform/conformtest.pl: Add standard definition when calling C
16701         preprocessor on data files.
16702         (checknamespace): Remove unused variable.
16704 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16706         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16707         minus_oflow, plus_uflow and minus_uflow in expected results.
16708         * math/libm-test.inc (scalbn_test_data): Add more tests of
16709         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
16710         minus_uflow.
16711         (scalbn_test): Use ALL_RM_TEST.
16712         (scalbln_test_data): Add more tests of negative arguments.  Use
16713         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16714         (scalbln_test): Use ALL_RM_TEST.
16716 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16718         * scripts/abilist.awk: Ignore symbols marked with .hidden.
16720 2014-03-18  Will Newton  <will.newton@linaro.org>
16722         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16723         inaccurate comment.
16725 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16727         * Makerules [!subdir] (check-abi): Exit with error status if a
16728         test failed.
16730 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16732         * math/libm-test.inc (nearbyint_test_data): Include all tests used
16733         for rint.  Include results for all rounding modes.
16734         (nearbyint_test): Use ALL_RM_TEST.
16735         (rint_test_data): Include all tests used for nearbyint.
16737 2014-03-17  Will Newton  <will.newton@linaro.org>
16739         * nptl/sysdeps/pthread/pthread.h: Revert previous
16740         change.
16742         * sysdeps/generic/ldsodefs.h: Revert previous
16743         change.
16745         * libio/genops.c: Revert previous change.
16746         * libio/libioP.h: Likewise.
16747         * stdio-common/vfprintf.c: Likewise.
16749         * sysdeps/generic/math_private.h: Revert previous
16750         change.
16752         * sysdeps/generic/math_private.h: Check whether
16753         HAVE_RM_CTX is defined with #ifdef rather
16754         than #if.
16756         * argp/argp-fmtstream.h: Check whether
16757         __STRICT_ANSI__ is defined with #ifdef rather
16758         than #if.
16759         * argp/argp.h: Likewise.
16761         * libio/genops.c: Check whether
16762         _IO_JUMPS_OFFSET is defined with #ifdef rather
16763         than #if.
16764         * libio/libioP.h: Likewise.
16765         * stdio-common/vfprintf.c: Likewise.
16767         * sysdeps/generic/ldsodefs.h: Check whether
16768         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16769         than #if.
16771         * nptl/sysdeps/pthread/pthread.h: Check
16772         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16773         its value.
16775 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16777         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16778         setting O_APPEND.
16779         * libio/tst-ftell-active-handler.c (do_append_test): Add a
16780         test case.
16782         [BZ #16680]
16783         * libio/fileops.c (_IO_file_open): Seek to end of file but
16784         don't cache the offset.
16785         (get_file_offset): Remove function.
16786         (do_ftell): Use cached offset when available.
16787         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16788         don't cache the offset.
16789         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16790         case.
16791         (do_one_test): Call it.
16792         (do_ftell_test): Fix up expected old offset for a+ mode.
16793         * libio/wfileops.c (do_ftell_wide): Used cached offset when
16794         available.
16796         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16797         up test status with function return status.
16798         (do_write_test): Likewise.
16799         (do_append_test): Likewise.
16801         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16802         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16803         Remove.
16805 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16807         * math/gen-libm-test.pl (parse_args): Handle results specified for
16808         each rounding mode separately.
16809         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16810         tests and results from lrint_tonearest_test_data,
16811         lrint_towardzero_test_data, lrint_downward_test_data and
16812         lrint_upward_test_data.
16813         (lrint_test): Use ALL_RM_TEST.
16814         (lrint_tonearest_test_data): Remove.
16815         (lrint_test_tonearest): Likewise.
16816         (lrint_towardzero_test_data): Likewise.
16817         (lrint_test_towardzero): Likewise.
16818         (lrint_downward_test_data): Likewise.
16819         (lrint_test_downward): Likewise.
16820         (lrint_upward_test_data): Likewise.
16821         (lrint_test_upward): Likewise.
16822         (llrint_test_data): Merge in per-rounding-mode tests and results
16823         from llrint_tonearest_test_data, llrint_towardzero_test_data,
16824         llrint_downward_test_data and llrint_upward_test_data.
16825         (llrint_test): Use ALL_RM_TEST.
16826         (llrint_tonearest_test_data): Remove.
16827         (llrint_test_tonearest): Likewise.
16828         (llrint_towardzero_test_data): Likewise.
16829         (llrint_test_towardzero): Likewise.
16830         (llrint_downward_test_data): Likewise.
16831         (llrint_test_downward): Likewise.
16832         (llrint_upward_test_data): Likewise.
16833         (llrint_test_upward): Likewise.
16834         (rint_test_data): Merge in per-rounding-mode tests and results
16835         from rint_tonearest_test_data, rint_towardzero_test_data,
16836         rint_downward_test_data and rint_upward_test_data.  Add
16837         per-rounding-mode results for tests not in those arrays.
16838         (rint_test): Use ALL_RM_TEST.
16839         (rint_tonearest_test_data): Remove.
16840         (rint_test_tonearest): Likewise.
16841         (rint_towardzero_test_data): Likewise.
16842         (rint_test_towardzero): Likewise.
16843         (rint_downward_test_data): Likewise.
16844         (rint_test_downward): Likewise.
16845         (rint_upward_test_data): Likewise.
16846         (rint_test_upward): Likewise.
16847         (main): Don't call removed functions.
16849 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16851         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16852         "Compiled on ..." crapola.  It is anti-useful.
16854 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
16856         * scripts/evaluate-test.sh: Handle fourth argument to determine
16857         whether test run should stop on failure.
16858         * Makeconfig (stop-on-test-failure): New variable.
16859         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16860         $(stop-on-test-failure).
16861         * Makefile (tests): Give a summary of results from testing and
16862         exit with failure status if they include an ERROR or FAIL.
16863         (xtests): Likewise.
16864         * manual/install.texi (Configuring and compiling): Mention
16865         stop-on-test-failure=y.
16866         * INSTALL: Regenerated.
16868 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16870         * scripts/versionlist.awk: New file.
16871         * Makerules [$(build-shared) = yes]
16872         (postclean-generated): Add Versions.def, not Versions.def.v and
16873         Versions.def.v.i.
16874         ($(common-objpfx)Versions.def.v.i): Target removed.
16875         ($(common-objpfx)Versions.def): New target.
16876         ($(common-objpfx)Versions.all): Depend on that rather that
16877         $(common-objpfx)Versions.def.v.
16878         * Versions.def: File removed.
16880         * Makeconfig (+gccwarn): Add -Wundef.
16881         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16882         a dl-sysdep.h breaking its contract.
16883         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16884         * include/stackinfo.h: New file.
16885         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16886         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16887         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16888         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16889         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16890         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16891         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16892         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16893         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16894         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16895         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16896         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16897         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16898         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16899         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16901 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16903         [BZ #16707]
16904         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16905         implementation.
16906         * math/libm-test.inc (round_test_data): Add more tests.
16908         [BZ #16706]
16909         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16910         implementation.
16911         * math/libm-test.inc (nearbyint_test_data): Add more tests.
16913         [BZ #16701]
16914         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16915         implementation.
16916         * math/libm-test.inc (ceil_test_data): Add more tests.
16918         * math/libm-test.inc (trunc_test_data): Add more tests related to
16919         BZ#16414.
16921 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16923         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16924         with #if rather than #ifdef.
16925         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16927 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
16929         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16930         first.  Disable AVX-512 GCC support if assembler doesn't support
16931         it.
16932         * sysdeps/x86_64/configure: Regenerated.
16934 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
16936         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16937         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16938         (__old_pthread_attr_setstack): Likewise.
16939         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16940         [!_STACK_GROWS_DOWN]: Likewise.
16942 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
16944         * config.make.in (have-bash2): Delete.
16945         * configure.ac (libc_cv_have_bash2): Delete.
16946         * configure: Regenerate.
16947         * elf/Makefile (common-ldd-rewrite): Rename to ...
16948         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
16949         (sh-ldd-rewrite): Delete.
16950         (bash-ldd-rewrite): Delete.
16951         (have-bash2): Delete checks.
16952         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16953         ldd-rewrite.
16955         * config.make.in (have-ksh): Delete.
16956         (KSH): Delete.
16957         * configure.ac (libc_cv_have_ksh): Delete.
16958         * configure: Regenerate.
16960         * elf/Makefile: Delete $(have-ksh) check.
16961         ($(objpfx)sotruss): Change KSH to BASH.
16962         * elf/sotruss.ksh: Rename to ...
16963         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
16964         function style to match POSIX.  Drop ksh vim mode setting.
16966         * manual/time.texi (Specifying the Time Zone with TZ): Change
16967         Tuesday to Thursday.
16969         * debug/tst-longjmp_chk2.c: Update header comment.
16970         (stackoverflow_handler): Add comment.  Call assert on pass value.
16972 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
16974         [BZ #16194]
16975         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16976         (HAVE_AVX512_ASM_SUPPORT): Likewise.
16977         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16978         (La_x86_64_vector): Add zmm.
16979         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16980         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16981         ($(objpfx)tst-audit10): New target.
16982         ($(objpfx)tst-audit10.out): Likewise.
16983         (tst-audit10-ENV): New.
16984         (AVX512-CFLAGS): Likewise.
16985         (CFLAGS-tst-audit10.c): Likewise.
16986         (CFLAGS-tst-auditmod10a.c): Likewise.
16987         (CFLAGS-tst-auditmod10b.c): Likewise.
16988         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16989         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16990         * sysdeps/x86_64/configure: Regenerated.
16991         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16992         AVX-512 zmm register support.
16993         (_dl_x86_64_save_sse): Likewise.
16994         (_dl_x86_64_restore_sse): Likewise.
16995         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16996         size vector registers.
16997         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16998         (ZMM_SIZE): Likewise.
16999         * sysdeps/x86_64/tst-audit10.c: New file.
17000         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17001         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17003 2014-03-13  Roland McGrath  <roland@hack.frob.com>
17005         * configure.ac (HAVE_EHDR_START): New check.
17006         * configure: Regenerated.
17007         * config.h.in (HAVE_EHDR_START): New #undef.
17008         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17009         assuming the lowest-addressed segment maps the start of the file.
17011 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
17013         * INSTALL: Regenerated.
17015 2014-03-13  Will Newton  <will.newton@linaro.org>
17017         * manual/setjmp.texi (System V contexts): Improve
17018         clarity and grammar of documentation.
17020 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17022         [BZ #16381]
17023         * elf/Makefile (tests): Add tst-pie2.
17024         (tests-pie): Add tst-pie2.
17025         * elf/tst-pie2.c: New file.
17026         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17027         for ET_EXEC.
17028         * elf/rtld.c (map_doit): Load executable as lt_executable.
17029         (dl_main): Likewise.
17031 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
17033         [BZ #16642]
17034         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17035         (__ASSUME_PSELECT): Undefine.
17037 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17039         [BZ #16689]
17040         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17041         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17042         static build.
17043         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17044         selector for static builds.
17046 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17048         [BZ #16695]
17049         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17050         key in the buffer.
17052 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17054         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17055         IFUNC selector for static builds.
17057 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
17059         * sysdeps/mips/math_private.h [__mips_hard_float]
17060         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17061         libc_feresetround_mips_ctx.
17062         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17063         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17064         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17066         [BZ #16677]
17067         * math/s_nextafter.c (__nextafter): Do not return value from
17068         overflowing computation.
17069         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17070         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17071         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17072         Likewise.
17073         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17074         Likewise.
17075         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17076         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17078 2014-03-11  Roland McGrath  <roland@hack.frob.com>
17080         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17081         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17082         Move sfi_sp use from the load-multiple (that no longer sets sp) to
17083         the new mov targetting sp.
17085 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17087         [BZ #16683]
17088         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17089         Define it for static builds as well.
17090         (NO_BZERO_IMPL): Likewise.
17092 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17094         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17095         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17096         multiarch strspn for PPC64.
17097         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17098         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17100         (__libc_ifunc_impl_list): Likewise.
17101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17102         multiarch optimizations
17103         * string/strspn.c (strspn): Using macro to redefine symbol name.
17105 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17106             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17108         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
17109         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
17110         multiarch strncat for PPC64.
17111         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
17112         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
17113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17114         (__libc_ifunc_impl_list): Likewise.
17115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
17116         multiarch optimizations
17118 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17120         [BZ #16639]
17121         * nscd/nscd.service: Make service type forking.
17123 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17125         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
17126         sign in non default rounding modes.
17127         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
17129 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
17131         * math/libm-test.inc (ALL_RM_TEST): New macro.
17132         (ceil_test): Use ALL_RM_TEST.
17133         (cimag_test): Likewise.
17134         (conj_test): Likewise.
17135         (copysign_test): Likewise.
17136         (cproj_test): Likewise.
17137         (creal_test): Likewise.
17138         (fabs_test): Likewise.
17139         (floor_test): Likewise.
17140         (fmax_test): Likewise.
17141         (fmin_test): Likewise.
17142         (fmod_test): Likewise.
17143         (fpclassify_test): Likewise.
17144         (frexp_test): Likewise.
17145         (ilogb_test): Likewise.
17146         (isfinite_test): Likewise.
17147         (finite_test): Likewise.
17148         (isgreater_test): Likewise.
17149         (isgreaterequal_test): Likewise.
17150         (isinf_test): Likewise.
17151         (isless_test): Likewise.
17152         (islessequal_test): Likewise.
17153         (islessgreater_test): Likewise.
17154         (isnan_test): Likewise.
17155         (isnormal_test): Likewise.
17156         (issignaling_test): Likewise.
17157         (isunordered_test): Likewise.
17158         (logb_test): Likewise.
17159         (logb_downward_test_data): Remove.
17160         (logb_test_downward): Likewise.
17161         (lround_test): Use ALL_RM_TEST.
17162         (llround_test): Likewise.
17163         (modf_test): Likewise.
17164         (nexttoward_test): Likewise.
17165         (remainder_test): Likewise.
17166         (drem_test): Likewise.
17167         (remainder_tonearest_test_data): Likewise.
17168         (remainder_test_tonearest): Likewise.
17169         (drem_test_tonearest): Likewise.
17170         (remainder_towardzero_test_data): Likewise.
17171         (remainder_test_towardzero): Likewise.
17172         (drem_test_towardzero): Likewise.
17173         (remainder_downward_test_data): Likewise.
17174         (remainder_test_downward): Likewise.
17175         (drem_test_downward): Likewise.
17176         (remainder_upward_test_data): Likewise.
17177         (remainder_test_upward): Likewise.
17178         (drem_test_upward): Likewise.
17179         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
17180         (round_test): Use ALL_RM_TEST.
17181         (signbit_test): Likewise.
17182         (trunc_test): Likewise.
17183         (significand_test): Likewise.
17184         (main): Don't call removed functions.
17186 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
17188         [BZ #16674]
17189         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
17190         || __USE_XOPEN2K8].
17191         (ILL_ILLOPN): Likewise.
17192         (ILL_ILLADR): Likewise.
17193         (ILL_ILLTRP): Likewise.
17194         (ILL_PRVOPC): Likewise.
17195         (ILL_PRVREG): Likewise.
17196         (ILL_COPROC): Likewise.
17197         (ILL_BADSTK): Likewise.
17198         (FPE_INTDIV): Likewise.
17199         (FPE_INTOVF): Likewise.
17200         (FPE_FLTDIV): Likewise.
17201         (FPE_FLTOVF): Likewise.
17202         (FPE_FLTUND): Likewise.
17203         (FPE_FLTRES): Likewise.
17204         (FPE_FLTINV): Likewise.
17205         (FPE_FLTSUB): Likewise.
17206         (SEGV_MAPERR): Likewise.
17207         (SEGV_ACCERR): Likewise.
17208         (BUS_ADRALN): Likewise.
17209         (BUS_ADRERR): Likewise.
17210         (BUS_OBJERR): Likewise.
17211         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17212         (TRAP_TRACE): Likewise.
17213         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17214         __USE_XOPEN2K8].
17215         (CLD_KILLED): Likewise.
17216         (CLD_DUMPED): Likewise.
17217         (CLD_TRAPPED): Likewise.
17218         (CLD_STOPPED): Likewise.
17219         (CLD_CONTINUED): Likewise.
17220         (POLL_IN): Likewise.
17221         (POLL_OUT): Likewise.
17222         (POLL_MSG): Likewise.
17223         (POLL_ERR): Likewise.
17224         (POLL_PRI): Likewise.
17225         (POLL_HUP): Likewise.
17226         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17227         Likewise.
17228         (ILL_ILLOPN): Likewise.
17229         (ILL_ILLADR): Likewise.
17230         (ILL_ILLTRP): Likewise.
17231         (ILL_PRVOPC): Likewise.
17232         (ILL_PRVREG): Likewise.
17233         (ILL_COPROC): Likewise.
17234         (ILL_BADSTK): Likewise.
17235         (FPE_INTDIV): Likewise.
17236         (FPE_INTOVF): Likewise.
17237         (FPE_FLTDIV): Likewise.
17238         (FPE_FLTOVF): Likewise.
17239         (FPE_FLTUND): Likewise.
17240         (FPE_FLTRES): Likewise.
17241         (FPE_FLTINV): Likewise.
17242         (FPE_FLTSUB): Likewise.
17243         (SEGV_MAPERR): Likewise.
17244         (SEGV_ACCERR): Likewise.
17245         (BUS_ADRALN): Likewise.
17246         (BUS_ADRERR): Likewise.
17247         (BUS_OBJERR): Likewise.
17248         (BUS_MCEERR_AR): Likewise.
17249         (BUS_MCEERR_AO): Likewise.
17250         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17251         (TRAP_TRACE): Likewise.
17252         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17253         __USE_XOPEN2K8].
17254         (CLD_KILLED): Likewise.
17255         (CLD_DUMPED): Likewise.
17256         (CLD_TRAPPED): Likewise.
17257         (CLD_STOPPED): Likewise.
17258         (CLD_CONTINUED): Likewise.
17259         (POLL_IN): Likewise.
17260         (POLL_OUT): Likewise.
17261         (POLL_MSG): Likewise.
17262         (POLL_ERR): Likewise.
17263         (POLL_PRI): Likewise.
17264         (POLL_HUP): Likewise.
17265         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17266         (ILL_ILLOPN): Likewise.
17267         (ILL_ILLADR): Likewise.
17268         (ILL_ILLTRP): Likewise.
17269         (ILL_PRVOPC): Likewise.
17270         (ILL_PRVREG): Likewise.
17271         (ILL_COPROC): Likewise.
17272         (ILL_BADSTK): Likewise.
17273         (FPE_INTDIV): Likewise.
17274         (FPE_INTOVF): Likewise.
17275         (FPE_FLTDIV): Likewise.
17276         (FPE_FLTOVF): Likewise.
17277         (FPE_FLTUND): Likewise.
17278         (FPE_FLTRES): Likewise.
17279         (FPE_FLTINV): Likewise.
17280         (FPE_FLTSUB): Likewise.
17281         (SEGV_MAPERR): Likewise.
17282         (SEGV_ACCERR): Likewise.
17283         (BUS_ADRALN): Likewise.
17284         (BUS_ADRERR): Likewise.
17285         (BUS_OBJERR): Likewise.
17286         (BUS_MCEERR_AR): Likewise.
17287         (BUS_MCEERR_AO): Likewise.
17288         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17289         (TRAP_TRACE): Likewise.
17290         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17291         __USE_XOPEN2K8].
17292         (CLD_KILLED): Likewise.
17293         (CLD_DUMPED): Likewise.
17294         (CLD_TRAPPED): Likewise.
17295         (CLD_STOPPED): Likewise.
17296         (CLD_CONTINUED): Likewise.
17297         (POLL_IN): Likewise.
17298         (POLL_OUT): Likewise.
17299         (POLL_MSG): Likewise.
17300         (POLL_ERR): Likewise.
17301         (POLL_PRI): Likewise.
17302         (POLL_HUP): Likewise.
17303         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17304         Likewise.
17305         (ILL_ILLOPN): Likewise.
17306         (ILL_ILLADR): Likewise.
17307         (ILL_ILLTRP): Likewise.
17308         (ILL_PRVOPC): Likewise.
17309         (ILL_PRVREG): Likewise.
17310         (ILL_COPROC): Likewise.
17311         (ILL_BADSTK): Likewise.
17312         (ILL_BADIADDR): Likewise.
17313         (ILL_BREAK): Likewise.
17314         (FPE_INTDIV): Likewise.
17315         (FPE_INTOVF): Likewise.
17316         (FPE_FLTDIV): Likewise.
17317         (FPE_FLTOVF): Likewise.
17318         (FPE_FLTUND): Likewise.
17319         (FPE_FLTRES): Likewise.
17320         (FPE_FLTINV): Likewise.
17321         (FPE_FLTSUB): Likewise.
17322         (FPE_DECOVF): Likewise.
17323         (FPE_DECDIV): Likewise.
17324         (FPE_DECERR): Likewise.
17325         (FPE_INVASC): Likewise.
17326         (FPE_INVDEC): Likewise.
17327         (SEGV_MAPERR): Likewise.
17328         (SEGV_ACCERR): Likewise.
17329         (SEGV_PSTKOVF): Likewise.
17330         (BUS_ADRALN): Likewise.
17331         (BUS_ADRERR): Likewise.
17332         (BUS_OBJERR): Likewise.
17333         (BUS_MCEERR_AR): Likewise.
17334         (BUS_MCEERR_AO): Likewise.
17335         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17336         (TRAP_TRACE): Likewise.
17337         (TRAP_BRANCH): Likewise.
17338         (TRAP_HWBKPT): Likewise.
17339         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17340         __USE_XOPEN2K8].
17341         (CLD_KILLED): Likewise.
17342         (CLD_DUMPED): Likewise.
17343         (CLD_TRAPPED): Likewise.
17344         (CLD_STOPPED): Likewise.
17345         (CLD_CONTINUED): Likewise.
17346         (POLL_IN): Likewise.
17347         (POLL_OUT): Likewise.
17348         (POLL_MSG): Likewise.
17349         (POLL_ERR): Likewise.
17350         (POLL_PRI): Likewise.
17351         (POLL_HUP): Likewise.
17352         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17353         (ILL_ILLOPN): Likewise.
17354         (ILL_ILLADR): Likewise.
17355         (ILL_ILLTRP): Likewise.
17356         (ILL_PRVOPC): Likewise.
17357         (ILL_PRVREG): Likewise.
17358         (ILL_COPROC): Likewise.
17359         (ILL_BADSTK): Likewise.
17360         (FPE_INTDIV): Likewise.
17361         (FPE_INTOVF): Likewise.
17362         (FPE_FLTDIV): Likewise.
17363         (FPE_FLTOVF): Likewise.
17364         (FPE_FLTUND): Likewise.
17365         (FPE_FLTRES): Likewise.
17366         (FPE_FLTINV): Likewise.
17367         (FPE_FLTSUB): Likewise.
17368         (SEGV_MAPERR): Likewise.
17369         (SEGV_ACCERR): Likewise.
17370         (BUS_ADRALN): Likewise.
17371         (BUS_ADRERR): Likewise.
17372         (BUS_OBJERR): Likewise.
17373         (BUS_MCEERR_AR): Likewise.
17374         (BUS_MCEERR_AO): Likewise.
17375         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17376         (TRAP_TRACE): Likewise.
17377         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17378         __USE_XOPEN2K8].
17379         (CLD_KILLED): Likewise.
17380         (CLD_DUMPED): Likewise.
17381         (CLD_TRAPPED): Likewise.
17382         (CLD_STOPPED): Likewise.
17383         (CLD_CONTINUED): Likewise.
17384         (POLL_IN): Likewise.
17385         (POLL_OUT): Likewise.
17386         (POLL_MSG): Likewise.
17387         (POLL_ERR): Likewise.
17388         (POLL_PRI): Likewise.
17389         (POLL_HUP): Likewise.
17390         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17391         (ILL_ILLOPN): Likewise.
17392         (ILL_ILLADR): Likewise.
17393         (ILL_ILLTRP): Likewise.
17394         (ILL_PRVOPC): Likewise.
17395         (ILL_PRVREG): Likewise.
17396         (ILL_COPROC): Likewise.
17397         (ILL_BADSTK): Likewise.
17398         (FPE_INTDIV): Likewise.
17399         (FPE_INTOVF): Likewise.
17400         (FPE_FLTDIV): Likewise.
17401         (FPE_FLTOVF): Likewise.
17402         (FPE_FLTUND): Likewise.
17403         (FPE_FLTRES): Likewise.
17404         (FPE_FLTINV): Likewise.
17405         (FPE_FLTSUB): Likewise.
17406         (SEGV_MAPERR): Likewise.
17407         (SEGV_ACCERR): Likewise.
17408         (BUS_ADRALN): Likewise.
17409         (BUS_ADRERR): Likewise.
17410         (BUS_OBJERR): Likewise.
17411         (BUS_MCEERR_AR): Likewise.
17412         (BUS_MCEERR_AO): Likewise.
17413         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17414         (TRAP_TRACE): Likewise.
17415         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17416         __USE_XOPEN2K8].
17417         (CLD_KILLED): Likewise.
17418         (CLD_DUMPED): Likewise.
17419         (CLD_TRAPPED): Likewise.
17420         (CLD_STOPPED): Likewise.
17421         (CLD_CONTINUED): Likewise.
17422         (POLL_IN): Likewise.
17423         (POLL_OUT): Likewise.
17424         (POLL_MSG): Likewise.
17425         (POLL_ERR): Likewise.
17426         (POLL_PRI): Likewise.
17427         (POLL_HUP): Likewise.
17428         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17429         (ILL_ILLOPN): Likewise.
17430         (ILL_ILLADR): Likewise.
17431         (ILL_ILLTRP): Likewise.
17432         (ILL_PRVOPC): Likewise.
17433         (ILL_PRVREG): Likewise.
17434         (ILL_COPROC): Likewise.
17435         (ILL_BADSTK): Likewise.
17436         (FPE_INTDIV): Likewise.
17437         (FPE_INTOVF): Likewise.
17438         (FPE_FLTDIV): Likewise.
17439         (FPE_FLTOVF): Likewise.
17440         (FPE_FLTUND): Likewise.
17441         (FPE_FLTRES): Likewise.
17442         (FPE_FLTINV): Likewise.
17443         (FPE_FLTSUB): Likewise.
17444         (SEGV_MAPERR): Likewise.
17445         (SEGV_ACCERR): Likewise.
17446         (BUS_ADRALN): Likewise.
17447         (BUS_ADRERR): Likewise.
17448         (BUS_OBJERR): Likewise.
17449         (BUS_MCEERR_AR): Likewise.
17450         (BUS_MCEERR_AO): Likewise.
17451         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17452         (TRAP_TRACE): Likewise.
17453         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17454         __USE_XOPEN2K8].
17455         (CLD_KILLED): Likewise.
17456         (CLD_DUMPED): Likewise.
17457         (CLD_TRAPPED): Likewise.
17458         (CLD_STOPPED): Likewise.
17459         (CLD_CONTINUED): Likewise.
17460         (POLL_IN): Likewise.
17461         (POLL_OUT): Likewise.
17462         (POLL_MSG): Likewise.
17463         (POLL_ERR): Likewise.
17464         (POLL_PRI): Likewise.
17465         (POLL_HUP): Likewise.
17466         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17467         (ILL_ILLOPN): Likewise.
17468         (ILL_ILLADR): Likewise.
17469         (ILL_ILLTRP): Likewise.
17470         (ILL_PRVOPC): Likewise.
17471         (ILL_PRVREG): Likewise.
17472         (ILL_COPROC): Likewise.
17473         (ILL_BADSTK): Likewise.
17474         (ILL_DBLFLT): Likewise.
17475         (ILL_HARDWALL): Likewise.
17476         (FPE_INTDIV): Likewise.
17477         (FPE_INTOVF): Likewise.
17478         (FPE_FLTDIV): Likewise.
17479         (FPE_FLTOVF): Likewise.
17480         (FPE_FLTUND): Likewise.
17481         (FPE_FLTRES): Likewise.
17482         (FPE_FLTINV): Likewise.
17483         (FPE_FLTSUB): Likewise.
17484         (SEGV_MAPERR): Likewise.
17485         (SEGV_ACCERR): Likewise.
17486         (BUS_ADRALN): Likewise.
17487         (BUS_ADRERR): Likewise.
17488         (BUS_OBJERR): Likewise.
17489         (BUS_MCEERR_AR): Likewise.
17490         (BUS_MCEERR_AO): Likewise.
17491         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17492         (TRAP_TRACE): Likewise.
17493         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17494         __USE_XOPEN2K8].
17495         (CLD_KILLED): Likewise.
17496         (CLD_DUMPED): Likewise.
17497         (CLD_TRAPPED): Likewise.
17498         (CLD_STOPPED): Likewise.
17499         (CLD_CONTINUED): Likewise.
17500         (POLL_IN): Likewise.
17501         (POLL_OUT): Likewise.
17502         (POLL_MSG): Likewise.
17503         (POLL_ERR): Likewise.
17504         (POLL_PRI): Likewise.
17505         (POLL_HUP): Likewise.
17506         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17507         (ILL_ILLOPN): Likewise.
17508         (ILL_ILLADR): Likewise.
17509         (ILL_ILLTRP): Likewise.
17510         (ILL_PRVOPC): Likewise.
17511         (ILL_PRVREG): Likewise.
17512         (ILL_COPROC): Likewise.
17513         (ILL_BADSTK): Likewise.
17514         (FPE_INTDIV): Likewise.
17515         (FPE_INTOVF): Likewise.
17516         (FPE_FLTDIV): Likewise.
17517         (FPE_FLTOVF): Likewise.
17518         (FPE_FLTUND): Likewise.
17519         (FPE_FLTRES): Likewise.
17520         (FPE_FLTINV): Likewise.
17521         (FPE_FLTSUB): Likewise.
17522         (SEGV_MAPERR): Likewise.
17523         (SEGV_ACCERR): Likewise.
17524         (BUS_ADRALN): Likewise.
17525         (BUS_ADRERR): Likewise.
17526         (BUS_OBJERR): Likewise.
17527         (BUS_MCEERR_AR): Likewise.
17528         (BUS_MCEERR_AO): Likewise.
17529         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17530         (TRAP_TRACE): Likewise.
17531         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17532         __USE_XOPEN2K8].
17533         (CLD_KILLED): Likewise.
17534         (CLD_DUMPED): Likewise.
17535         (CLD_TRAPPED): Likewise.
17536         (CLD_STOPPED): Likewise.
17537         (CLD_CONTINUED): Likewise.
17538         (POLL_IN): Likewise.
17539         (POLL_OUT): Likewise.
17540         (POLL_MSG): Likewise.
17541         (POLL_ERR): Likewise.
17542         (POLL_PRI): Likewise.
17543         (POLL_HUP): Likewise.
17544         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17545         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17547         [BZ #16670]
17548         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17549         before #include of <time.h>.
17550         [!__USE_XOPEN2K] (__need_timespec): Likewise.
17551         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17552         (test-xfail-UNIX98/sched.h/conform): Likewise.
17554 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17556         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17557         error absence of trapping exception support.
17558         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17560 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
17562         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17563         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17564         * timezone/Makefile (testdata): Move definition above include of
17565         Rules.
17566         (test-zones): New variable.
17567         (tests-special): Add zone files.
17568         (build-testdata): Use $(evaluate-test).
17570         * elf/Makefile (tests-special): Rename tests to end with .out.
17571         ($(objpfx)noload-mem): Likewise.
17572         ($(objpfx)tst-leaks1-mem): Likewise.
17573         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17574         * iconv/Makefile (xtests-special): Change test-iconvconfig to
17575         $(objpfx)test-iconvconfig.out.
17576         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
17577         set -e inside subshell and redirect output to file.
17578         * iconvdata/Makefile (generated): Rename tests to end with .out.
17579         Correct type.
17580         (tests-special): Rename tests to end with .out.
17581         ($(objpfx)mtrace-tst-loading): Likewise.
17582         * intl/Makefile (generated): Likewise.
17583         (tests-special): Likewise.
17584         ($(objpfx)mtrace-tst-gettext): Likewise.
17585         * misc/Makefile (generated): Likewise.
17586         (tests-special): Likewise.
17587         ($(objpfx)tst-error1-mem): Likewise.
17588         * nptl/Makefile (tests-special): Likewise.
17589         ($(objpfx)tst-stack3-mem): Likewise.
17590         (generated): Likewise.
17591         * posix/Makefile (generated): Likewise.
17592         (tests-special): Likewise.
17593         (xtests-special): Likewise.
17594         ($(objpfx)tst-fnmatch-mem): Likewise.
17595         ($(objpfx)bug-regex2-mem): Likewise.
17596         ($(objpfx)bug-regex14-mem): Likewise.
17597         ($(objpfx)bug-regex21-mem): Likewise.
17598         ($(objpfx)bug-regex31-mem): Likewise.
17599         ($(objpfx)tst-vfork3-mem): Likewise.
17600         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17601         ($(objpfx)tst-pcre-mem): Likewise.
17602         ($(objpfx)tst-boost-mem): Likewise.
17603         ($(objpfx)bug-ga2-mem): Likewise.
17604         ($(objpfx)bug-glob2-mem): Likewise.
17605         * resolv/Makefile (generate): Likewise.
17606         (tests-special): Likewise.
17607         (xtests-special): Likewise.
17608         (generated): Likewise.
17609         ($(objpfx)mtrace-tst-leaks): Likewise.
17610         ($(objpfx)mtrace-tst-leaks2): Likewise.
17612         * scripts/merge-test-results.sh: New file.
17613         * Makefile (tests-special-notdir): New variable.
17614         (tests): Run merge-test-results.sh.
17615         (xtests): Likewise.
17616         * Rules (tests-special-notdir): New variable.
17617         (xtests-special-notdir): Likewise.
17618         (tests): Run merge-test-results.sh
17619         (xtests): Likewise.
17621         * Makeconfig (test-xfail-name): New variable.
17622         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17623         compute variable name for expected failures.
17624         * conform/Makefile (conformtest-headers-data): New variable.
17625         (conformtest-standards): Likewise.
17626         (conformtest-headers-ISO): Likewise.
17627         (conformtest-headers-ISO99): Likewise.
17628         (conformtest-headers-ISO11): Likewise.
17629         (conformtest-headers-POSIX): Likewise.
17630         (conformtest-headers-XPG3): Likewise.
17631         (conformtest-headers-XPG4): Likewise.
17632         (conformtest-headers-UNIX98): Likewise.
17633         (conformtest-headers-XOPEN2K): Likewise.
17634         (conformtest-headers-POSIX2008): Likewise.
17635         (conformtest-headers-XOPEN2K8): Likewise.
17636         (conformtest-header-list-base): Likewise.
17637         (conformtest-header-list-tests): Likewise.
17638         (conformtest-header-base): Likewise.
17639         (conformtest-header-tests): Likewise.
17640         (tests-special): Add $(conformtest-header-list-tests).  If
17641         [$(fast-check) && !$(cross-compiling)], add
17642         $(conformtest-header-tests) instead of
17643         $(objpfx)run-conformtest.out.
17644         (generated): Add $(conformtest-header-list-base).  If
17645         [$(fast-check) && !$(cross-compiling)], add
17646         $(conformtest-header-base).  Remove previous setting.
17647         ($(conformtest-header-list-tests)): New target.
17648         (test-xfail-run-conformtest): Remove variable.
17649         ($(objpfx)run-conformtest.out): Remove target.
17650         (test-xfail-ISO11/complex.h/conform): New variable.
17651         (test-xfail-ISO11/stdalign.h/conform): Likewise.
17652         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17653         (test-xfail-XPG3/varargs.h/conform): Likewise.
17654         (test-xfail-XPG4/varargs.h/conform): Likewise.
17655         (test-xfail-UNIX98/varargs.h/conform): Likewise.
17656         (test-xfail-XPG4/ndbm.h/conform): Likewise.
17657         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17658         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17659         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17660         (test-xfail-XPG3/fcntl.h/conform): Likewise.
17661         (test-xfail-XPG3/ftw.h/conform): Likewise.
17662         (test-xfail-XPG3/grp.h/conform): Likewise.
17663         (test-xfail-XPG3/langinfo.h/conform): Likewise.
17664         (test-xfail-XPG3/limits.h/conform): Likewise.
17665         (test-xfail-XPG3/pwd.h/conform): Likewise.
17666         (test-xfail-XPG3/search.h/conform): Likewise.
17667         (test-xfail-XPG3/signal.h/conform): Likewise.
17668         (test-xfail-XPG3/stdio.h/conform): Likewise.
17669         (test-xfail-XPG3/stdlib.h/conform): Likewise.
17670         (test-xfail-XPG3/string.h/conform): Likewise.
17671         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17672         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17673         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17674         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17675         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17676         (test-xfail-XPG3/sys/types.h/conform): Likewise.
17677         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17678         (test-xfail-XPG3/termios.h/conform): Likewise.
17679         (test-xfail-XPG3/time.h/conform): Likewise.
17680         (test-xfail-XPG3/unistd.h/conform): Likewise.
17681         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17682         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17683         (test-xfail-XPG4/langinfo.h/conform): Likewise.
17684         (test-xfail-XPG4/netdb.h/conform): Likewise.
17685         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17686         (test-xfail-XPG4/signal.h/conform): Likewise.
17687         (test-xfail-XPG4/stdio.h/conform): Likewise.
17688         (test-xfail-XPG4/stdlib.h/conform): Likewise.
17689         (test-xfail-XPG4/stropts.h/conform): Likewise.
17690         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17691         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17692         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17693         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17694         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17695         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17696         (test-xfail-XPG4/sys/time.h/conform): Likewise.
17697         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17698         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17699         (test-xfail-XPG4/termios.h/conform): Likewise.
17700         (test-xfail-XPG4/ucontext.h/conform): Likewise.
17701         (test-xfail-XPG4/unistd.h/conform): Likewise.
17702         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17703         (test-xfail-POSIX/sched.h/conform): Likewise.
17704         (test-xfail-POSIX/signal.h/conform): Likewise.
17705         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17706         (test-xfail-POSIX/tar.h/conform): Likewise.
17707         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17708         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17709         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17710         (test-xfail-UNIX98/netdb.h/conform): Likewise.
17711         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17712         (test-xfail-UNIX98/sched.h/conform): Likewise.
17713         (test-xfail-UNIX98/signal.h/conform): Likewise.
17714         (test-xfail-UNIX98/stdio.h/conform): Likewise.
17715         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17716         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17717         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17718         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17719         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17720         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17721         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17722         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17723         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17724         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17725         (test-xfail-UNIX98/unistd.h/conform): Likewise.
17726         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17727         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17728         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17729         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17730         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17731         (test-xfail-XOPEN2K/math.h/conform): Likewise.
17732         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17733         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17734         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17735         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17736         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17737         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17738         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17739         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17740         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17741         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17742         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17743         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17744         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17745         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17746         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17747         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17748         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17749         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17750         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17751         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17752         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17753         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17754         (test-xfail-POSIX2008/signal.h/conform): Likewise.
17755         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17756         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17757         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17758         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17759         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17760         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17761         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17762         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17763         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17764         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17765         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17766         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17767         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17768         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17769         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17770         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17771         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17772         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17773         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17774         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17775         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17776         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17777         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17778         (conformtest-cc-flags): Likewise.
17779         ($(conformtest-header-tests): New target.
17780         * conform/check-header-lists.sh: New file.
17781         * conform/run-conformtest.sh: Remove.
17783         * conform/conformtest.pl: Allow ' and \ in values given for
17784         constants.
17785         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17786         inclusion.
17787         [POSIX] (sys/types.h): Likewise.
17788         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17789         inclusion.
17790         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17791         inclusion.
17792         * conform/data/signal.h-data (SIGIO): Remove expectation.
17793         [XPG3] (SIGBUS): Do not expect.
17794         [POSIX || XPG3] (SIGPOLL): Likewise.
17795         [POSIX || XPG3] (SIGPROF): Likewise.
17796         [POSIX || XPG3] (SIGSYS): Likewise.
17797         [XPG3] (SIGTRAP): Likewise.
17798         [POSIX || XPG3] (SIGURG): Likewise.
17799         [POSIX || XPG3] (SIGVTALRM): Likewise.
17800         [POSIX || XPG3] (SIGXCPU): Likewise.
17801         [POSIX || XPG3] (SIGXFSZ): Likewise.
17802         [POSIX] (SA_SIGINFO): Expect.
17803         [XPG3] (siginfo_t): Do not expect type or contents.
17804         [POSIX] (si_pid): Do not expect element.
17805         [POSIX] (si_uid): Likewise.
17806         [POSIX] (si_addr): Likewise.
17807         [POSIX] (si_status): Likewise.
17808         [POSIX] (si_band): Likewise.
17809         [XPG4] (si_value): Likewise.
17810         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17811         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17812         [POSIX || XPG3] (ILL_ILLADR): Likewise.
17813         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17814         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17815         [POSIX || XPG3] (ILL_PRVREG): Likewise.
17816         [POSIX || XPG3] (ILL_COPROC): Likewise.
17817         [POSIX || XPG3] (ILL_BADSTK): Likewise.
17818         [POSIX || XPG3] (FPE_INTDIV): Likewise.
17819         [POSIX || XPG3] (FPE_INTOVF): Likewise.
17820         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17821         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17822         [POSIX || XPG3] (FPE_FLTUND): Likewise.
17823         [POSIX || XPG3] (FPE_FLTRES): Likewise.
17824         [POSIX || XPG3] (FPE_FLTINV): Likewise.
17825         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17826         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17827         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17828         [POSIX || XPG3] (BUS_ADRALN): Likewise.
17829         [POSIX || XPG3] (BUS_ADRERR): Likewise.
17830         [POSIX || XPG3] (BUS_OBJERR): Likewise.
17831         [POSIX || XPG3] (CLD_EXITED): Likewise.
17832         [POSIX || XPG3] (CLD_KILLED): Likewise.
17833         [POSIX || XPG3] (CLD_DUMPED): Likewise.
17834         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17835         [POSIX || XPG3] (CLD_STOPPED): Likewise.
17836         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17837         [POSIX || XPG3] (POLL_IN): Likewise.
17838         [POSIX || XPG3] (POLL_OUT): Likewise.
17839         [POSIX || XPG3] (POLL_MSG): Likewise.
17840         [POSIX || XPG3] (POLL_ERR): Likewise.
17841         [POSIX || XPG3] (POLL_PRI): Likewise.
17842         [POSIX || XPG3] (POLL_HUP): Likewise.
17843         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17844         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17845         (SIG*): Do not allow.
17846         [XPG3] (si_*): Likewise.
17847         [XPG3] (SI_*): Likewise.
17848         [XPG3 || XPG4] (sigev_*): Likewise.
17849         [XPG3 || XPG4] (SIGEV_*): Likewise.
17850         [XPG3 || XPG4] (sival_*): Likewise.
17851         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17852         [POSIX || XPG3] (BUS_*): Likewise.
17853         [POSIX || XPG3] (CLD_*): Likewise.
17854         [POSIX || XPG3] (FPE_*): Likewise.
17855         [POSIX || XPG3] (ILL_*): Likewise.
17856         [POSIX || XPG3] (POLL_*): Likewise.
17857         [POSIX || XPG3] (SEGV_*): Likewise.
17858         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17859         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17860         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17861         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17862         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17863         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17864         Specify type and value.
17865         (TVERSLEN): Likewise.
17866         (REGTYPE): Likewise.
17867         (AREGTYPE): Likewise.
17868         (LNKTYPE): Likewise.
17869         (SYMTYPE): Likewise.
17870         (CHRTYPE): Likewise.
17871         (BLKTYPE): Likewise.
17872         (DIRTYPE): Likewise.
17873         (FIFOTYPE): Likewise.
17874         (CONTTYPE): Likewise.
17875         (TSUID): Likewise.
17876         (TSGID): Likewise.
17877         (TSVTX): Likewise.
17878         (TUREAD): Likewise.
17879         (TUWRITE): Likewise.
17880         (TUEXEC): Likewise.
17881         (TGREAD): Likewise.
17882         (TGWRITE): Likewise.
17883         (TGEXEC): Likewise.
17884         (TOREAD): Likewise.
17885         (TOWRITE): Likewise.
17886         (TOEXEC): Likewise.
17887         [POSIX] (TSVTX): Expect constant.
17889 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
17891         * Makefile (tests): Change dependencies to ....
17892         (tests-special): ... additions to this variable.
17893         (tests): Depend on $(tests-special).
17894         * Makerules (check-abi-list): New variable.
17895         (check-abi): Depend on $(check-abi-list).
17896         [$(subdir) = elf] (tests-special): Add
17897         $(objpfx)check-abi-libc.out.
17898         [$(build-shared) = yes && subdir] (tests-special): Add
17899         $(check-abi-list).
17900         [$(build-shared) = yes && subdir] (tests): Do not depend on
17901         check-abi.
17902         * Rules (tests): Depend on $(tests-special).
17903         (xtests): Depend on $(xtests-special).
17904         * catgets/Makefile (tests): Change dependencies to ....
17905         (tests-special): ... additions to this variable.
17906         * conform/Makefile (tests): Change dependencies to ....
17907         (tests-special): ... additions to this variable.
17908         * elf/Makefile (tests): Change dependencies to ....
17909         (tests-special): ... additions to this variable.
17910         * grp/Makefile (tests): Change dependencies to ....
17911         (tests-special): ... additions to this variable.
17912         * iconv/Makefile (xtests): Change dependencies to ....
17913         (xtests-special): ... additions to this variable.
17914         * iconvdata/Makefile (tests): Change dependencies to ....
17915         (tests-special): ... additions to this variable.
17916         * intl/Makefile (tests): Change dependencies to ....
17917         (tests-special): ... additions to this variable.  Also add
17918         $(objpfx)tst-gettext.out.
17919         * io/Makefile (tests): Change dependencies to ....
17920         (tests-special): ... additions to this variable.
17921         * libio/Makefile (tests): Change dependencies to ....
17922         (tests-special): ... additions to this variable.
17923         * malloc/Makefile (tests): Change dependencies to ....
17924         (tests-special): ... additions to this variable.
17925         * misc/Makefile (tests): Change dependencies to ....
17926         (tests-special): ... additions to this variable.
17927         * nptl/Makefile (tests): Change dependencies to ....
17928         (tests-special): ... additions to this variable.
17929         * nptl_db/Makefile (tests): Change dependencies to ....
17930         (tests-special): ... additions to this variable.
17931         * posix/Makefile (tests): Change dependencies to ....
17932         (tests-special): ... additions to this variable.
17933         (xtests): Change dependencies to ....
17934         (xtests-special): ... additions to this variable.
17935         * resolv/Makefile (tests): Change dependencies to ....
17936         (tests-special): ... additions to this variable.
17937         (xtests): Change dependencies to ....
17938         (xtests-special): ... additions to this variable.
17939         * stdio-common/Makefile (tests): Change dependencies to ....
17940         (tests-special): ... additions to this variable.
17941         (do-tst-unbputc): Remove target.
17942         (do-tst-printf): Likewise.
17943         * stdlib/Makefile (tests): Change dependencies to ....
17944         (tests-special): ... additions to this variable.
17945         * string/Makefile (tests): Change dependencies to ....
17946         (tests-special): ... additions to this variable.
17947         * sysdeps/x86/Makefile (tests): Change dependencies to ....
17948         (tests-special): ... additions to this variable.
17950         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17951         whole file.
17952         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17953         whole file.
17954         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17955         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17957         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17958         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17959         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17960         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17961         * conform/data/libgen.h-data [XPG3]: Likewise.
17962         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17963         * conform/data/ndbm.h-data [XPG3]: Likewise.
17964         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17965         * conform/data/netdb.h-data [XPG3]: Likewise.
17966         * conform/data/netinet/in.h-data [XPG3]: Likewise.
17967         * conform/data/poll.h-data [XPG3]: Likewise.
17968         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17969         * conform/data/strings.h-data [XPG3]: Likewise.
17970         * conform/data/stropts.h-data [XPG3]: Likewise.
17971         * conform/data/sys/mman.h-data [XPG3]: Likewise.
17972         * conform/data/sys/resource.h-data [XPG3]: Likewise.
17973         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17974         Likewise.
17975         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17976         * conform/data/sys/time.h-data [XPG3]: Likewise.
17977         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17978         * conform/data/sys/uio.h-data [XPG3]: Likewise.
17979         * conform/data/sys/un.h-data [XPG3]: Likewise.
17980         * conform/data/syslog.h-data [XPG3]: Likewise.
17981         * conform/data/ucontext.h-data [XPG3]: Likewise.
17982         * conform/data/utmpx.h-data [XPG3]: Likewise.
17983         * conform/data/varargs.h-data [UNIX98]: Enable file.
17985         * manual/Makefile (INSTALL_INFO): Remove variable setting.
17987         * math/libm-test.inc (struct test_f_f_data): Move expected results
17988         into structure for each rounding mode.
17989         (struct test_ff_f_data): Likewise.
17990         (struct test_ff_f_data_nexttoward): Likewise.
17991         (struct test_fi_f_data): Likewise.
17992         (struct test_fl_f_data): Likewise.
17993         (struct test_if_f_data): Likewise.
17994         (struct test_fff_f_data): Likewise.
17995         (struct test_c_f_data): Likewise.
17996         (struct test_f_f1_data): Likewise.
17997         (struct test_fF_f1_data): Likewise.
17998         (struct test_ffI_f1_data): Likewise.
17999         (struct test_c_c_data): Likewise.
18000         (struct test_cc_c_data): Likewise.
18001         (struct test_f_i_data): Likewise.
18002         (struct test_ff_i_data): Likewise.
18003         (struct test_f_l_data): Likewise.
18004         (struct test_f_L_data): Likewise.
18005         (struct test_fFF_11_data): Likewise.
18006         (RM_): New macro.
18007         (RM_FE_DOWNWARD): Likewise.
18008         (RM_FE_TONEAREST): Likewise.
18009         (RM_FE_TOWARDZERO): Likewise.
18010         (RM_FE_UPWARD): Likewise.
18011         (RUN_TEST_LOOP_f_f): Update references to expected results.
18012         (RUN_TEST_LOOP_2_f): Likewise.
18013         (RUN_TEST_LOOP_fff_f): Likewise.
18014         (RUN_TEST_LOOP_c_f): Likewise.
18015         (RUN_TEST_LOOP_f_f1): Likewise.
18016         (RUN_TEST_LOOP_fF_f1): Likewise.
18017         (RUN_TEST_LOOP_fI_f1): Likewise.
18018         (RUN_TEST_LOOP_ffI_f1): Likewise.
18019         (RUN_TEST_LOOP_c_c): Likewise.
18020         (RUN_TEST_LOOP_cc_c): Likewise.
18021         (RUN_TEST_LOOP_f_i): Likewise.
18022         (RUN_TEST_LOOP_f_i_tg): Likewise.
18023         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18024         (RUN_TEST_LOOP_f_b): Likewise.
18025         (RUN_TEST_LOOP_f_b_tg): Likewise.
18026         (RUN_TEST_LOOP_f_l): Likewise.
18027         (RUN_TEST_LOOP_f_L): Likewise.
18028         (RUN_TEST_LOOP_fFF_11): Likewise.
18029         * math/gen-libm-test.pl (parse_args): Output four copies of
18030         expected results for each test.
18032         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18033         (__ASSUME_UTIMES): Remove.
18034         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18035         (__ASSUME_UTIMES): Likewise.
18037         * math/gen-auto-libm-tests.c: Update comment on output format.
18038         (output_for_one_input_case): Generate before-rounding and
18039         after-rounding information as conditions on output flags not
18040         floating-point format.
18041         * math/auto-libm-test-out: Regenerated.
18042         * math/gen-libm-test.pl (cond_value): New function.
18043         (or_cond_value): Use cond_value.
18044         (generate_testfile): Handle conditional exceptions.
18046 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
18048         * math/libm-test.inc (max_valid_error): New variable.
18049         (init_max_error): Take new argument specifying whether function
18050         results are exactly determined.  Set max_valid_error and bound
18051         other variables for errors based on this argument.
18052         (set_max_error): Do not record results above max_valid_error.
18053         (check_float_internal): Only accept errors of up to 0.5ulps if
18054         also at most max_valid_error.
18055         (START): Take new argument EXACT and pass it to init_max_error.
18056         (acos_test): Update call to START.
18057         (acos_test_tonearest): Likewise.
18058         (acos_test_towardzero): Likewise.
18059         (acos_test_downward): Likewise.
18060         (acos_test_upward): Likewise.
18061         (acosh_test): Likewise.
18062         (asin_test): Likewise.
18063         (asin_test_tonearest): Likewise.
18064         (asin_test_towardzero): Likewise.
18065         (asin_test_downward): Likewise.
18066         (asin_test_upward): Likewise.
18067         (asinh_test): Likewise.
18068         (atan_test): Likewise.
18069         (atanh_test): Likewise.
18070         (atan2_test): Likewise.
18071         (cabs_test): Likewise.
18072         (cacos_test): Likewise.
18073         (cacosh_test): Likewise.
18074         (carg_test): Likewise.
18075         (casin_test): Likewise.
18076         (casinh_test): Likewise.
18077         (catan_test): Likewise.
18078         (catanh_test): Likewise.
18079         (cbrt_test): Likewise.
18080         (ccos_test): Likewise.
18081         (ccosh_test): Likewise.
18082         (ceil_test): Likewise.
18083         (cexp_test): Likewise.
18084         (cimag_test): Likewise.
18085         (clog_test): Likewise.
18086         (clog10_test): Likewise.
18087         (conj_test): Likewise.
18088         (copysign_test): Likewise.
18089         (cos_test): Likewise.
18090         (cos_test_tonearest): Likewise.
18091         (cos_test_towardzero): Likewise.
18092         (cos_test_downward): Likewise.
18093         (cos_test_upward): Likewise.
18094         (cosh_test): Likewise.
18095         (cosh_test_tonearest): Likewise.
18096         (cosh_test_towardzero): Likewise.
18097         (cosh_test_downward): Likewise.
18098         (cosh_test_upward): Likewise.
18099         (cpow_test): Likewise.
18100         (cproj_test): Likewise.
18101         (creal_test): Likewise.
18102         (csin_test): Likewise.
18103         (csinh_test): Likewise.
18104         (csqrt_test): Likewise.
18105         (ctan_test): Likewise.
18106         (ctan_test_tonearest): Likewise.
18107         (ctan_test_towardzero): Likewise.
18108         (ctan_test_downward): Likewise.
18109         (ctan_test_upward): Likewise.
18110         (ctanh_test): Likewise.
18111         (ctanh_test_tonearest): Likewise.
18112         (ctanh_test_towardzero): Likewise.
18113         (ctanh_test_downward): Likewise.
18114         (ctanh_test_upward): Likewise.
18115         (erf_test): Likewise.
18116         (erfc_test): Likewise.
18117         (exp_test): Likewise.
18118         (exp_test_tonearest): Likewise.
18119         (exp_test_towardzero): Likewise.
18120         (exp_test_downward): Likewise.
18121         (exp_test_upward): Likewise.
18122         (exp10_test): Likewise.
18123         (exp10_test_tonearest): Likewise.
18124         (exp10_test_towardzero): Likewise.
18125         (exp10_test_downward): Likewise.
18126         (exp10_test_upward): Likewise.
18127         (pow10_test): Likewise.
18128         (exp2_test): Likewise.
18129         (expm1_test): Likewise.
18130         (expm1_test_tonearest): Likewise.
18131         (expm1_test_towardzero): Likewise.
18132         (expm1_test_downward): Likewise.
18133         (expm1_test_upward): Likewise.
18134         (fabs_test): Likewise.
18135         (fdim_test): Likewise.
18136         (floor_test): Likewise.
18137         (fma_test): Likewise.
18138         (fma_test_towardzero): Likewise.
18139         (fma_test_downward): Likewise.
18140         (fma_test_upward): Likewise.
18141         (fmax_test): Likewise.
18142         (fmin_test): Likewise.
18143         (fmod_test): Likewise.
18144         (fpclassify_test): Likewise.
18145         (frexp_test): Likewise.
18146         (hypot_test): Likewise.
18147         (ilogb_test): Likewise.
18148         (isfinite_test): Likewise.
18149         (finite_test): Likewise.
18150         (isgreater_test): Likewise.
18151         (isgreaterequal_test): Likewise.
18152         (isinf_test): Likewise.
18153         (isless_test): Likewise.
18154         (islessequal_test): Likewise.
18155         (islessgreater_test): Likewise.
18156         (isnan_test): Likewise.
18157         (isnormal_test): Likewise.
18158         (issignaling_test): Likewise.
18159         (isunordered_test): Likewise.
18160         (j0_test): Likewise.
18161         (j1_test): Likewise.
18162         (jn_test): Likewise.
18163         (ldexp_test): Likewise.
18164         (lgamma_test): Likewise.
18165         (gamma_test): Likewise.
18166         (lrint_test): Likewise.
18167         (lrint_test_tonearest): Likewise.
18168         (lrint_test_towardzero): Likewise.
18169         (lrint_test_downward): Likewise.
18170         (lrint_test_upward): Likewise.
18171         (llrint_test): Likewise.
18172         (llrint_test_tonearest): Likewise.
18173         (llrint_test_towardzero): Likewise.
18174         (llrint_test_downward): Likewise.
18175         (llrint_test_upward): Likewise.
18176         (log_test): Likewise.
18177         (log10_test): Likewise.
18178         (log1p_test): Likewise.
18179         (log2_test): Likewise.
18180         (logb_test): Likewise.
18181         (logb_test_downward): Likewise.
18182         (lround_test): Likewise.
18183         (llround_test): Likewise.
18184         (modf_test): Likewise.
18185         (nearbyint_test): Likewise.
18186         (nextafter_test): Likewise.
18187         (nexttoward_test): Likewise.
18188         (pow_test): Likewise.
18189         (pow_test_tonearest): Likewise.
18190         (pow_test_towardzero): Likewise.
18191         (pow_test_downward): Likewise.
18192         (pow_test_upward): Likewise.
18193         (remainder_test): Likewise.
18194         (drem_test): Likewise.
18195         (remainder_test_tonearest): Likewise.
18196         (drem_test_tonearest): Likewise.
18197         (remainder_test_towardzero): Likewise.
18198         (drem_test_towardzero): Likewise.
18199         (remainder_test_downward): Likewise.
18200         (drem_test_downward): Likewise.
18201         (remainder_test_upward): Likewise.
18202         (drem_test_upward): Likewise.
18203         (remquo_test): Likewise.
18204         (rint_test): Likewise.
18205         (rint_test_tonearest): Likewise.
18206         (rint_test_towardzero): Likewise.
18207         (rint_test_downward): Likewise.
18208         (rint_test_upward): Likewise.
18209         (round_test): Likewise.
18210         (scalb_test): Likewise.
18211         (scalbn_test): Likewise.
18212         (scalbln_test): Likewise.
18213         (signbit_test): Likewise.
18214         (sin_test): Likewise.
18215         (sin_test_tonearest): Likewise.
18216         (sin_test_towardzero): Likewise.
18217         (sin_test_downward): Likewise.
18218         (sin_test_upward): Likewise.
18219         (sincos_test): Likewise.
18220         (sinh_test): Likewise.
18221         (sinh_test_tonearest): Likewise.
18222         (sinh_test_towardzero): Likewise.
18223         (sinh_test_downward): Likewise.
18224         (sinh_test_upward): Likewise.
18225         (sqrt_test): Likewise.
18226         (sqrt_test_tonearest): Likewise.
18227         (sqrt_test_towardzero): Likewise.
18228         (sqrt_test_downward): Likewise.
18229         (sqrt_test_upward): Likewise.
18230         (tan_test): Likewise.
18231         (tan_test_tonearest): Likewise.
18232         (tan_test_towardzero): Likewise.
18233         (tan_test_downward): Likewise.
18234         (tan_test_upward): Likewise.
18235         (tanh_test): Likewise.
18236         (tgamma_test): Likewise.
18237         (trunc_test): Likewise.
18238         (y0_test): Likewise.
18239         (y1_test): Likewise.
18240         (yn_test): Likewise.
18241         (significand_test): Likewise.
18243         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18244         individual tests in comment.
18245         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18246         (prev_max_error): New variable.
18247         (prev_real_max_error): Likewise.
18248         (prev_imag_max_error): Likewise.
18249         (compare_ulp_data): Don't refer to test names in comment.
18250         (find_test_ulps): Remove function.
18251         (find_function_ulps): Likewise.
18252         (find_complex_function_ulps): Likewise.
18253         (init_max_error): Take function name as argument.  Look up ulps
18254         for that function.
18255         (print_ulps): Remove function.
18256         (print_max_error): Use prev_max_error instead of calling
18257         find_function_ulps.
18258         (print_complex_max_error): Use prev_real_max_error and
18259         prev_imag_max_error instead of calling find_complex_function_ulps.
18260         (check_float_internal): Take max_ulp parameter instead of calling
18261         find_test_ulps.  Don't call print_ulps.
18262         (check_float): Update call to check_float_internal.
18263         (check_complex): Update calls to check_float_internal.
18264         (START): Pass argument to init_max_error.
18265         * math/gen-libm-test.pl (%results): Don't include "kind"
18266         information.
18267         (parse_ulps): Don't handle ulps of individual tests.
18268         (print_ulps_file): Likewise.
18269         (output_ulps): Likewise.
18270         * math/README.libm-test: Update.
18271         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18272         individual tests.
18273         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18274         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18275         * sysdeps/arm/libm-test-ulps: Likewise.
18276         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18277         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18278         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18279         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18280         * sysdeps/microblaze/libm-test-ulps: Likewise.
18281         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18282         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18283         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18284         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18285         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18286         * sysdeps/sh/libm-test-ulps: Likewise.
18287         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18288         * sysdeps/tile/libm-test-ulps: Likewise.
18289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18291 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
18293         * math/libm-test.inc (print_complex_max_error): Check separately
18294         whether real and imaginary errors are within allowed range and
18295         pass 0 to print_complex_function_ulps instead of value within
18296         allowed range.
18298 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18300         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18301         formatting.
18302         (get_handles_fopen): Likewise.
18303         (do_write_test): Likewise.
18305         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18307         * libio/fileops.c (do_ftell): Use cached offset when
18308         available.
18309         * libio/iofwide.c (do_ftell_wide): Likewise.
18310         * libio/iofdopen.c (_IO_new_fdopen): Don't use
18311         _IO_file_attach.
18312         * libio/wfileops.c (_IO_fwide): Don't cache offset.
18314         [BZ #16532]
18315         * libio/libioP.h (get_file_offset): New function.
18316         * libio/fileops.c (get_file_offset): Likewise.
18317         (do_ftell): Likewise.
18318         (_IO_new_file_seekoff): Split out ftell logic.
18319         * libio/wfileops.c (do_ftell_wide): Likewise.
18320         (_IO_wfile_seekoff): Split out ftell logic.
18321         * libio/tst-ftell-active-handler.c: New test case.
18322         * libio/Makefile (tests): Add it.
18324 2014-03-03  Roland McGrath  <roland@hack.frob.com>
18326         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18327         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18329 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18331         [BZ #16639]
18332         * nscd/connections.c (nscd_init): Call do_exit.
18333         (start_threads): Call do_exit and notify_parent.
18334         (begin_drop_privileges): Call do_exit.
18335         (finish_drop_privileges): Likewise.
18336         * nscd/selinux.c (preserve_capabilities): Likewise.
18337         (install_real_capabilities): Likewise.
18338         (nscd_selinux_enabled): Likewise.
18339         (avc_create_thread): Likewise.
18340         (avc_alloc_lock): Likewise.
18341         (nscd_avc_init): Likewise.
18342         * nscd/nscd.c (parent_fd): New static variable.
18343         (main): Create a pipe between parent and child processes.
18344         Skip closing parent_fd.
18345         (monitor_child): New function.
18346         (do_exit): Likewise.
18347         (notify_parent): Likewise.
18348         * nscd/nscd.h (notify_parent): Likewise.
18349         (do_exit): Likewise.
18351 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
18353         * malloc/malloc.c (__libc_calloc): Revert last change.
18355 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18359 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18361         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18363         implementation.
18364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18365         (__libc_ifunc_impl_list): Likewise.
18366         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18367         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18368         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18369         * string/strrchr.c: Define STRRCHR.
18371 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
18373         * benchtest/bench-strtok.c (simple_strtok): Delete.
18374         (strtok_string): Use as benchmark.
18375         * string/strtok (STRTOK): New macro.
18377 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
18379         * manual/threads.texi: Add header and standard comments to all
18380         functions.
18382         * elf/dl-lookup.c (check_match): New function.
18383         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18384         (do_lookup_x): Remove nested function check_match. Use non-nested
18385         function check_match.
18387 2014-02-28  Roland McGrath  <roland@hack.frob.com>
18389         * csu/Makefile (generated, before-compile): Use += rather than =.
18390         * catgets/Makefile (generated, generated-dirs): Likewise.
18391         * debug/Makefile (generated): Likewise.
18392         * dlfcn/Makefile (generated): Likewise.
18393         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18394         * iconvdata/Makefile (before-compile, generated): Likewise.
18395         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18396         * libio/Makefile (generated): Likewise.
18397         * malloc/Makefile (generated): Likewise.
18398         * manual/Makefile (generated, generated-dirs): Likewise.
18399         * misc/Makefile (generated): Likewise.
18400         * posix/Makefile (generated): Likewise.
18401         * resolv/Makefile (generated): Likewise.
18402         * sunrpc/Makefile (generated, generated-dirs): Likewise.
18403         * timezone/Makefile (generated, generated-dirs): Likewise.
18405         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18407 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18409         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18410         power8 implementation.
18411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18412         file: POWER8 llround ifunc implementation.
18413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18414         (__lllround): Add POWER8 implementation.
18415         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18416         POWER8 llround implementation.
18418         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18419         power8 implementation.
18420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18421         file: POWER8 llrint ifunc implementation.
18422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18423         Add POWER8 implementation.
18424         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18425         POWER8 llrint implementation.
18427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18428         power8 implementation.
18429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18430         file: POWER8 finite ifunc implementation.
18431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18432         Add POWER8 implementation.
18433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18434         Likewise.
18435         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18436         POWER8 finite implementation.
18437         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18440         power8 implementation.
18441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18442         file: POWER8 isinf ifunc implementation.
18443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18444         POWER8 implementation.
18445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18446         Likewise.
18447         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18448         isinf implementation.
18449         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18451         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18452         (INIT_ARCH): Add hwcap2 initialization.
18453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18454         power8 implementation.
18455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18456         file: POWER8 isnan ifunc implementation.
18457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18458         POWER8 implementation.
18459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18460         Likewise.
18461         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18462         isnan implementation.
18463         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18465 2014-02-27  Joey Ye  <joey.ye@arm.com>
18467         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18468         (_FP_NANFRAC_Q): Set to zero.
18470 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18472         [BZ #16623]
18473         * math/auto-libm-test-in: New test inputs.
18474         * math/auto-libm-test-out: Regenerate.
18475         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18476         and DA.
18477         (__cos): Likewise.
18478         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18480 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
18482         * scripts/evaluate-test.sh: Take new argument indicating whether
18483         failure is expected.
18484         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18485         indicating whether failure is expected.
18486         * conform/Makefile (test-xfail-run-conformtest): New variable.
18487         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18488         level.
18489         * posix/Makefile (test-xfail-annexc): New variable.
18490         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18492 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
18494         * argp/Makefile: Include Makeconfig immediately after defining
18495         subdir.
18496         * assert/Makefile: Likewise.
18497         * benchtests/Makefile: Likewise.
18498         * catgets/Makefile: Likewise.
18499         * conform/Makefile: Likewise.
18500         * crypt/Makefile: Likewise.
18501         * csu/Makefile: Likewise.
18502         (all): Remove target.
18503         * ctype/Makefile: Include Makeconfig immediately after defining
18504         subdir.
18505         * debug/Makefile: Likewise.
18506         * dirent/Makefile: Likewise.
18507         * dlfcn/Makefile: Likewise.
18508         * gmon/Makefile: Likewise.
18509         * gnulib/Makefile: Likewise.
18510         * grp/Makefile: Likewise.
18511         * gshadow/Makefile: Likewise.
18512         * hesiod/Makefile: Likewise.
18513         * hurd/Makefile: Likewise.
18514         (all): Remove target.
18515         * iconvdata/Makefile: Include Makeconfig immediately after
18516         defining subdir.
18517         * inet/Makefile: Likewise.
18518         * intl/Makefile: Likewise.
18519         * io/Makefile: Likewise.
18520         * libio/Makefile: Likewise.
18521         (all): Remove target.
18522         * locale/Makefile: Include Makeconfig immediately after defining
18523         subdir.
18524         * login/Makefile: Likewise.
18525         * mach/Makefile: Likewise.
18526         (all): Remove target.
18527         * malloc/Makefile: Include Makeconfig immediately after defining
18528         subdir.
18529         (all): Remove target.
18530         * manual/Makefile: Include Makeconfig immediately after defining
18531         subdir.
18532         * math/Makefile: Likewise.
18533         * misc/Makefile: Likewise.
18534         * nis/Makefile: Likewise.
18535         * nss/Makefile: Likewise.
18536         * po/Makefile: Likewise.
18537         (all): Remove target.
18538         * posix/Makefile: Include Makeconfig immediately after defining
18539         subdir.
18540         * pwd/Makefile: Likewise.
18541         * resolv/Makefile: Likewise.
18542         * resource/Makefile: Likewise.
18543         * rt/Makefile: Likewise.
18544         * setjmp/Makefile: Likewise.
18545         * shadow/Makefile: Likewise.
18546         * signal/Makefile: Likewise.
18547         * socket/Makefile: Likewise.
18548         * soft-fp/Makefile: Likewise.
18549         * stdio-common/Makefile: Likewise.
18550         * stdlib/Makefile: Likewise.
18551         * streams/Makefile: Likewise.
18552         * string/Makefile: Likewise.
18553         * sunrpc/Makefile: Likewise.
18554         (all): Remove target.
18555         * sysvipc/Makefile: Include Makeconfig immediately after defining
18556         subdir.
18557         * termios/Makefile: Likewise.
18558         * time/Makefile: Likewise.
18559         * timezone/Makefile: Likewise.
18560         (all): Remove target.
18561         * wcsmbs/Makefile: Include Makeconfig immediately after defining
18562         subdir.
18563         * wctype/Makefile: Likewise.
18565 2014-02-26  Steve Ellcey  <sellcey@mips.com>
18567         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18568         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18569         (libc_feholdexcept_setround_mips): Ditto.
18570         (libc_feholdsetround): New.
18571         (libc_feholdsetroundf): New.
18572         (libc_feholdsetroundl): New.
18573         (libc_feupdateenv_test_mips): New.
18574         (libc_feupdateenv_test): New.
18575         (libc_feupdateenv_testf): New.
18576         (libc_feupdateenv_testl): New.
18577         (libc_feresetround): New.
18578         (libc_feresetroundf): New.
18579         (libc_feresetroundl): New.
18580         (libc_fetestexcept_mips): New.
18581         (libc_fetestexcept): New.
18582         (libc_fetestexceptf): New.
18583         (libc_fetestexceptl): New.
18584         (HAVE_RM_CTX): New.
18585         (libc_feholdexcept_setround_mips_ctx): New.
18586         (libc_feholdexcept_setround_ctx): New.
18587         (libc_feholdexcept_setroundf_ctx): New.
18588         (libc_feholdexcept_setroundl_ctx): New.
18589         (libc_fesetenv_mips_ctx): New.
18590         (libc_fesetenv_ctx): New.
18591         (libc_fesetenv_ctxf): New.
18592         (libc_fesetenv_ctxl): New.
18593         (libc_feupdateenv_mips_ctx): New.
18594         (libc_feupdateenv_ctx): New.
18595         (libc_feupdateenvf_ctx): New.
18596         (libc_feupdateenvl_ctx): New.
18597         (libc_feholdsetround_mips_ctx): New.
18598         (libc_feholdsetround_ctx): New.
18599         (libc_feholdsetroundf_ctx): New.
18600         (libc_feholdsetroundl_ctx): New.
18601         (libc_feresetround_mips_ctx): New.
18602         (libc_feresetround_ctx): New.
18603         (libc_feresetroundf_ctx): New.
18604         (libc_feresetroundl_ctx): New.
18606 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
18608         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18610         * manual/ipc.texi: New file.
18611         * manual/Makefile (chapters): Add ipc.
18612         * manual/job.texi: Add "Inter-Process Communication" to next.
18613         * manual/process.texi: Add "Inter-Process Communication" to prev.
18615 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18619 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
18621         * malloc/malloc.c (__libc_calloc): Simplify implementation.
18623         * manual/arith.texi: Fix spaces after sentences.
18624         * manual/charset.texi: Likewise.
18625         * manual/errno.texi: Likewise.
18626         * manual/install.texi: Likewise.
18627         * manual/llio.texi: Likewise.
18628         * manual/locale.texi: Likewise.
18629         * manual/maint.texi: Likewise.
18630         * manual/math.texi: Likewise.
18631         * manual/memory.texi: Likewise.
18632         * manual/message.texi: Likewise.
18633         * manual/probes.texi: Likewise.
18634         * manual/resource.texi: Likewise.
18635         * manual/signal.texi: Likewise.
18636         * manual/socket.texi: Likewise.
18637         * manual/stdio.texi: Likewise.
18638         * manual/string.texi: Likewise.
18639         * manual/time.texi: Likewise.
18640         * manual/users.texi: Likewise.
18642 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
18644         [BZ #16632]
18645         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18646         _DEFAULT_SOURCE is defined.
18648 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
18649             Carlos O'Donell  <carlos@redhat.com>
18651         [BZ #16613]
18652         * elf/dl-tls.c (_dl_count_modids): New function.
18653         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18654         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18655         audit library and increment generation counter.
18656         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18657         * elf/tst-audit9.c: New file.
18658         * elf/tst-auditmod9a.c: New file.
18659         * elf/tst-auditmod9b.c: New file.
18660         * elf/Makefile: Add rules to build and run tst-audit9.
18662 2014-02-25  Florian Weimer  <fweimer@redhat.com>
18664         [BZ #15347]
18665         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18667 2014-02-25  Will Newton  <will.newton@linaro.org>
18669         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18670         (__longjmp): Restore sp and lr before restoring callee
18671         saved registers.  Add longjmp and longjmp_target
18672         SystemTap probe point.
18673         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18674         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18675         Define to zero to match jmpbuf layout.
18676         * sysdeps/arm/setjmp.S: Include stap-probe.h.
18677         (__sigsetjmp): Save sp and lr before saving callee
18678         saved registers.  Add setjmp SystemTap probe point.
18680 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18682         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18684 2014-02-24  Andreas Schwab  <schwab@suse.de>
18686         [BZ #15804]
18687         * elf/pldd.c (wait_for_ptrace_stop): New function.
18688         (main): Call it after attaching.
18690 2014-02-22  Roland McGrath  <roland@hack.frob.com>
18692         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18693         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18694         Versions files is now verboten.
18695         * hurd/Versions (libc: GLIBC_2.0):
18696         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18697         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18698         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18699         * mach/Versions: Likewise.
18701         * csu/Versions: Remove unused %include.
18702         * resolv/Versions: Likewise.
18704 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
18706         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18707         ($(objpfx)check-local-headers.out): Likewise.
18708         ($(objpfx)begin-end-check.out): Likewise.
18709         * Makerules (check-abi-%.out): Likewise.
18710         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18711         ($(objpfx)test2.cat): Likewise.
18712         ($(objpfx)de/libc.cat): Likewise.
18713         ($(objpfx)test-gencat.out): Likewise.
18714         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18715         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18716         ($(objpfx)noload-mem): Likewise.
18717         ($(objpfx)tst-pathopt.out): Likewise.
18718         ($(objpfx)tst-rtld-load-self.out): Likewise.
18719         ($(objpfx)tst-array1-cmp.out): Likewise.
18720         ($(objpfx)tst-array1-static-cmp.out): Likewise.
18721         ($(objpfx)tst-array2-cmp.out): Likewise.
18722         ($(objpfx)tst-array3-cmp.out): Likewise.
18723         ($(objpfx)tst-array4-cmp.out): Likewise.
18724         ($(objpfx)tst-array5-cmp.out): Likewise.
18725         ($(objpfx)tst-array5-static-cmp.out): Likewise.
18726         ($(objpfx)check-textrel.out): Likewise.
18727         ($(objpfx)check-execstack.out): Likewise.
18728         ($(objpfx)check-localplt.out): Likewise.
18729         ($(objpfx)order2-cmp.out): Likewise.
18730         ($(objpfx)tst-leaks1-mem): Likewise.
18731         ($(objpfx)tst-leaks1-static-mem): Likewise.
18732         ($(objpfx)tst-initorder-cmp.out): Likewise.
18733         ($(objpfx)tst-initorder2-cmp.out): Likewise.
18734         ($(objpfx)tst-unused-dep.out): Likewise.
18735         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18736         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18737         * iconv/Makefile (test-iconvconfig): Likewise.
18738         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18739         ($(objpfx)iconv-test.out): Likewise.
18740         ($(objpfx)tst-tables.out): Likewise.
18741         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18742         ($(objpfx)tst-gettext.out): Likewise.
18743         ($(objpfx)tst-translit.out): Likewise.
18744         ($(objpfx)tst-gettext2.out): Likewise.
18745         ($(objpfx)tst-gettext4.out): Likewise.
18746         ($(objpfx)tst-gettext6.out): Likewise.
18747         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18748         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18749         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18750         ($(objpfx)tst-fopenloc-mem.out): Likewise.
18751         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18752         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18753         * posix/Makefile ($(objpfx)globtest.out): Likewise.
18754         ($(objpfx)wordexp-tst.out): Likewise.
18755         ($(objpfx)annexc.out): Likewise.
18756         ($(objpfx)tst-fnmatch-mem): Likewise.
18757         ($(objpfx)bug-regex2-mem): Likewise.
18758         ($(objpfx)bug-regex14-mem): Likewise.
18759         ($(objpfx)bug-regex21-mem): Likewise.
18760         ($(objpfx)bug-regex31-mem): Likewise.
18761         ($(objpfx)tst-vfork3-mem): Likewise.
18762         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18763         ($(objpfx)tst-pcre-mem): Likewise.
18764         ($(objpfx)tst-boost-mem): Likewise.
18765         ($(objpfx)tst-getconf.out): Likewise.
18766         ($(objpfx)bug-ga2-mem): Likewise.
18767         ($(objpfx)bug-glob2-mem): Likewise.
18768         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18769         ($(objpfx)mtrace-tst-leaks2): Likewise.
18770         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18771         ($(objpfx)tst-printf.out): Likewise.
18772         ($(objpfx)tst-setvbuf1.out): Likewise.
18773         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18774         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18775         ($(objpfx)tst-fmtmsg.out): Likewise.
18776         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18777         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18779         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18780         * bits/sigaction.h [__USE_MISC]: Likewise.
18781         * bits/waitstatus.h: Update #endif comments.
18782         * ctype/ctype.h: Likewise.
18783         * dirent/dirent.h: Likewise.
18784         [__USE_MISC]: Remove redundant conditionals.
18785         * grp/grp.h: Update #endif comments.
18786         [__USE_GNU]: Remove redundant conditionals.
18787         [__USE_MISC]: Likewise.
18788         * inet/netinet/in.h [__USE_GNU]: Likewise.
18789         * io/sys/stat.h [__USE_MISC]: Likewise.
18790         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18791         * libio/bits/stdio.h: Update #endif comments.
18792         [__USE_MISC]: Remove redundant conditionals.
18793         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18794         * libio/stdio.h: Update #endif comments.
18795         [__USE_MISC]: Remove redundant conditionals.
18796         * math/bits/math-finite.h [__USE_MISC]: Likewise.
18797         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18798         * math/math.h: Update #else and #endif comments.
18799         [__USE_MISC]: Remove redundant conditionals.
18800         * misc/sys/uio.h: Update #endif comments.
18801         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18802         * posix/glob.h [__USE_MISC]: Likewise.
18803         * posix/sys/types.h: Update #endif comments.
18804         [__USE_MISC]: Remove redundant conditionals.
18805         * posix/sys/wait.h: Update #endif comments.
18806         [__USE_MISC]: Remove redundant conditionals.
18807         * posix/unistd.h: Update #endif comments.
18808         [__USE_MISC]: Remove redundant conditionals.
18809         * pwd/pwd.h [__USE_GNU]: Likewise.
18810         [__USE_MISC]: Likewise.
18811         * resolv/netdb.h [__USE_GNU]: Likewise.
18812         * signal/signal.h: Update #endif comments.
18813         [__USE_MISC]: Remove redundant conditionals.
18814         * stdlib/stdlib.h: Update #else and #endif comments.
18815         [__USE_MISC]: Remove redundant conditionals.
18816         [__USE_GNU]: Likewise.
18817         * string/bits/string2.h [__USE_MISC]: Likewise.
18818         * string/string.h: Update #endif comments.
18819         [__USE_MISC]: Remove redundant conditionals.
18820         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18821         Likewise.
18822         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18823         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18824         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18825         Likewise.
18826         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18827         Likewise.
18828         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18829         comments.
18830         [__USE_MISC]: Remove redundant conditionals.
18831         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18832         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18833         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18834         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18835         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18836         Likewise.
18837         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18838         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18839         Likewise.
18840         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18841         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18842         Likewise.
18843         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18844         Likewise.
18845         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18846         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18847         Likewise.
18848         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18849         Likewise.
18850         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18851         * sysdeps/x86/bits/string.h: Update #endif comments.
18852         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18853         conditionals.
18854         * time/sys/time.h: Update #endif comments.
18855         * time/time.h: Likewise.
18856         [__USE_MISC]: Remove redundant conditionals.
18858 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
18860         [BZ #16600]
18861         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18863 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
18865         * Versions.def (librt): Add GLIBC_2.17.
18867 2014-02-21  Adam Conrad  <adconrad@0c3.net>
18869         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18870         synonym for _SYS_AUXV_H to allow direct inclusion.
18871         * sysdeps/sparc/bits/hwcap.h: Likewise.
18872         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18873         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18874         * sysdeps/sparc/sysdep.h: Likewise.
18876 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18878         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18880 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18882         * benchtests/bench-strrchr.c: Print length instead of position.
18884 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
18886         [BZ #16611]
18887         * sysdeps/unix/sysv/linux/kernel-features.h
18888         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18889         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18890         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18891         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18892         Likewise.
18893         [__i386__ || __powerpc__ || __sh__ || __sparc__]
18894         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18895         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18896         (__ASSUME_SENDMMSG): Define instead of using previous
18897         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18898         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18899         (__ASSUME_SENDMMSG_SYSCALL): Define.
18900         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18901         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18902         Likewise.
18903         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18904         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18905         Likewise.
18906         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18907         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18908         Likewise.
18909         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18910         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18911         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18912         [__ASSUME_SENDMMSG]: Change conditionals to
18913         [__ASSUME_SENDMMSG_SOCKETCALL].
18914         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18915         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18916         Define.
18917         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18918         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18919         Likewise.
18920         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18921         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18922         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18923         [!__ASSUME_SENDMMSG]: Change conditional to
18924         [!__ASSUME_SENDMMSG_SOCKETCALL].
18925         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18926         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18927         Define.
18929         [BZ #16610]
18930         * sysdeps/unix/sysv/linux/kernel-features.h
18931         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18932         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18933         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18934         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18935         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18936         [__i386__ || __sparc__]
18937         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18938         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18939         (__ASSUME_RECVMMSG): Define instead of using previous
18940         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18941         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18942         (__ASSUME_RECVMMSG_SYSCALL): Define.
18943         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18944         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18945         Likewise.
18946         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18947         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18948         Likewise.
18949         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18950         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18951         Likewise.
18952         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18953         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18954         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18955         [__ASSUME_RECVMMSG]: Change condition to
18956         [__ASSUME_RECVMMSG_SOCKETCALL].
18957         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18958         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18959         Define.
18960         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18961         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18962         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18963         Likewise.
18964         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18965         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18966         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18967         [!__ASSUME_RECVMMSG]: Change condition to
18968         [!__ASSUME_RECVMMSG_SOCKETCALL].
18969         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18970         (__ASSUME_RECVMMSG_SYSCALL): Define.
18972         [BZ #16609]
18973         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18974         __powerpc__ || __s390__ || __sh__ || __sparc__]
18975         (__ASSUME_SOCKETCALL): Define.
18976         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18977         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18978         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18979         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18980         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18981         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18982         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18983         (__ASSUME_ACCEPT4): Define instead of using previous
18984         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18985         __powerpc__ || __sparc__ || __s390__)] condition.
18986         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18987         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18988         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18989         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18990         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18991         [!__ASSUME_ACCEPT4]: Change condition to
18992         [!__ASSUME_ACCEPT4_SOCKETCALL].
18993         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18994         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
18995         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18996         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18997         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18998         __ASSUME_ACCEPT4_SYSCALL.
18999         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19000         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19001         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19002         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19003         __ASSUME_ACCEPT4_SYSCALL.
19004         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19005         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19006         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19007         [__ASSUME_ACCEPT4]: Change condition to
19008         [__ASSUME_ACCEPT4_SOCKETCALL].
19009         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19010         (__ASSUME_SOCKETCALL): Define.
19011         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19012         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19013         (__ASSUME_SOCKETCALL): Define.
19014         (__ASSUME_ACCEPT4): Remove.
19015         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19016         Define.
19017         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19018         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19019         Likewise.
19020         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19021         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19023         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19024         macro.
19025         (HWCAP_ARM_LPAE): Likewise.
19026         (HWCAP_ARM_EVTSTRM): Likewise.
19027         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19028         Add vpfd32, lpae and evtstrm.
19029         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19030         Increase to 22.
19032 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
19034         * math/auto-libm-test-in: Add tests of clog10.
19035         * math/auto-libm-test-out: Regenerated.
19036         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19037         * sysdeps/i386/fpu/libm-test-ulps: Update.
19038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19040 2014-02-18  Andreas Schwab  <schwab@suse.de>
19042         [BZ #16574]
19043         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19044         Store non-zero if the second buffer was newly allocated.
19045         (send_dg): Likewise.
19046         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19047         to send_vc and send_dg.
19048         (res_nsend): Pass NULL for ansp2_malloced.
19049         * resolv/res_query.c (__libc_res_nquery): Add parameter
19050         answerp2_malloced and pass it down to __libc_res_nsend.
19051         (res_nquery): Pass additional NULL to __libc_res_nquery.
19052         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19053         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
19054         second answer buffer if answerp2_malloced was set.
19055         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19056         (__libc_res_nquerydomain): Add parameter
19057         answerp2_malloced and pass it down to __libc_res_nquery.
19058         (res_nquerydomain): Pass additional NULL to
19059         __libc_res_nquerydomain.
19060         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19061         additional NULL to __libc_res_nsend and __libc_res_nquery.
19062         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19063         additional NULL to __libc_res_nsearch.
19064         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
19065         parameter of __libc_res_nsearch to check for separately allocated
19066         second buffer.
19067         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19068         __libc_res_nquery.
19069         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19070         additional NULL to __libc_res_nquery.
19071         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19072         __libc_res_nsearch.
19073         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19074         * include/resolv.h: Update prototypes of __libc_res_nquery,
19075         __libc_res_nsearch, __libc_res_nsend.
19077 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
19079         * math/auto-libm-test-in: Add tests of fma.
19080         * math/auto-libm-test-out: Regenerated.
19081         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19082         (fma_towardzero_test_data): Likewise.
19083         (fma_downward_test_data): Likewise.
19084         (fma_upward_test_data): Likewise.
19085         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19086         mpc_mode.
19087         (rounding_modes): Add values for new field.
19088         (func_calc_method): Add value mpfr_fff_f.
19089         (func_calc_desc): Add mpfr_fff_f union field.
19090         (test_function): Add field exact_args.
19091         (FUNC): Add macro argument EXACT_ARGS.
19092         (FUNC_mpfr_f_f): Update call to FUNC.
19093         (FUNC_mpfr_f_f): Likewise.
19094         (FUNC_mpfr_ff_f): Likewise.
19095         (FUNC_mpfr_if_f): Likewise.
19096         (FUNC_mpc_c_f): Likewise.
19097         (FUNC_mpc_c_c): Likewise.
19098         (test_functions): Add fma.  Update calls to FUNC.
19099         (handle_input_arg): Add argument exact_args.
19100         (add_test): Update call to handle_input_arg.
19101         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
19102         (output_for_one_input_case): Update call to calc_generic_results.
19103         Recalculate exact zero results in each rounding mode.
19105         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
19106         non-negative before setting low bit.
19107         * math/auto-libm-test-in: Mark one asin test possibly having
19108         spurious underflow.
19109         * math/auto-libm-test-out: Regenerated.
19110         * sysdeps/i386/fpu/libm-test-ulps: Update.
19111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19113 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
19115         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
19116         * sysdeps/unix/sysv/linux/microblaze: Move directory from
19117         ports/sysdeps/unix/sysv/linux/microblaze.
19118         * README: Add missing listing for microblaze*-*-linux-gnu.
19120 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
19122         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
19123         duplicate code
19125 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
19127         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
19128         * sysdeps/unix/sysv/linux/ia64: Move directory from
19129         ports/sysdeps/unix/sysv/linux/ia64.
19130         * README: Update listing for ia64-*-linux-gnu.
19132 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
19133             Joseph Myers  <joseph@codesourcery.com>
19135         * Makeconfig (test-name): New variable.
19136         (evaluate-test): Likewise.
19137         * Makerules (do-test-clean): Remove .test-result files.
19138         (common-mostlyclean): Likewise.
19139         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
19140         * scripts/evaluate-test.sh: New file.
19142 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
19144         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
19145         separate $(objpfx)tst-fopenloc-cmp.out and
19146         $(objpfx)tst-fopenloc-mem.out targets.
19147         (tests): Update dependencies.
19148         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
19149         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
19150         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
19151         (tst-rxspencer-no-utf8-ARGS): New variable.
19152         (tst-rxspencer-no-utf8-ENV): Likewise.
19153         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
19154         instead of $(objpfx)tst-rxspencer-mem.
19155         ($(objpfx)tst-rxspencer-mem): Change target to
19156         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
19157         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
19158         * posix/tst-rxspencer-no-utf8.c: New file.
19160         * elf/Makefile ($(objpfx)order.out): Remove rule.
19161         [$(run-built-tests) = yes] (tests): Depend on
19162         $(objpfx)order-cmp.out.
19163         ($(objpfx)order-cmp.out): New rule.
19164         [$(run-built-tests) = yes] (tests): Depend on
19165         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
19166         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
19167         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
19168         $(objpfx)tst-array5-static-cmp.out.
19169         ($(objpfx)tst-array1.out): Remove rule.
19170         ($(objpfx)tst-array1-cmp.out): New rule.
19171         ($(objpfx)tst-array1-static.out): Remove rule.
19172         ($(objpfx)tst-array1-static-cmp.out): New rule.
19173         ($(objpfx)tst-array2.out): Remove rule.
19174         ($(objpfx)tst-array2-cmp.out): New rule.
19175         ($(objpfx)tst-array3.out): Remove rule.
19176         ($(objpfx)tst-array3-cmp.out): New rule.
19177         ($(objpfx)tst-array4.out): Remove rule.
19178         ($(objpfx)tst-array4-cmp.out): New rule.
19179         ($(objpfx)tst-array5.out): Remove rule.
19180         ($(objpfx)tst-array5-cmp.out): New rule.
19181         ($(objpfx)tst-array5-static.out): Remove rule.
19182         ($(objpfx)tst-array5-static-cmp.out): New rule.
19183         [$(run-built-tests) = yes] (tests): Depend on
19184         $(objpfx)order2-cmp.out.
19185         ($(objpfx)order2.out): Remove rule.
19186         ($(objpfx)order2-cmp.out): New rule.
19187         ($(objpfx)tst-initorder.out): Remove rule.
19188         [$(run-built-tests) = yes] (tests): Depend on
19189         $(objpfx)tst-initorder-cmp.out.
19190         ($(objpfx)tst-initorder-cmp.out): New rule.
19191         ($(objpfx)tst-initorder2.out): Remove rule.
19192         [$(run-built-tests) = yes] (tests): Depend on
19193         $(objpfx)tst-initorder2-cmp.out.
19194         ($(objpfx)tst-initorder2-cmp.out): New rule.
19195         [$(run-built-tests) = yes] (tests): Depend on
19196         $(objpfx)tst-unused-dep-cmp.out.
19197         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
19198         ($(objpfx)tst-unused-dep-cmp.out): New rule.
19199         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
19200         on $(objpfx)tst-setvbuf1-cmp.out.
19201         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
19202         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
19203         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
19204         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
19205         ($(objpfx)tst-svc.out): Remove rule.
19206         ($(objpfx)tst-svc-cmp.out): New rule.
19208 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
19210         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
19211         * ctype/ctype.h [__USE_MISC]: Likewise.
19212         * dirent/dirent.h [__USE_MISC]: Likewise.
19213         * grp/grp.h [__USE_MISC]: Likewise.
19214         * io/fcntl.h [__USE_MISC]: Likewise.
19215         * io/sys/stat.h [__USE_MISC]: Likewise.
19216         * libio/stdio.h [__USE_MISC]: Likewise.
19217         * posix/unistd.h [__USE_MISC]: Likewise.
19218         * pwd/pwd.h [__USE_MISC]: Likewise.
19219         * stdlib.h [__USE_MISC]: Likewise.
19220         * string/bits/string2.h [__USE_MISC]: Likewise.
19221         * string/string.h [__USE_MISC]: Likewise.
19222         * time/time.h [__USE_MISC]: Likewise.
19224 2014-02-13  Andreas Schwab  <schwab@suse.de>
19226         [BZ #16574]
19227         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19228         second answer buffer if it was separately allocated.
19230 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
19232         * sysdeps/mips/math-tests.h: Include <features.h>.
19233         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19234         (ROUNDING_TESTS_long_double): Do not define.
19235         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19236         (EXCEPTION_TESTS_long_double): Likewise.
19237         * sysdeps/mips/mips64/libm-test-ulps: Update.
19239         * include/features.h (__USE_BSD): Remove macro definitions.
19240         (__USE_SVID): Likewise.
19241         (_BSD_SOURCE): Likewise.
19242         (_SVID_SOURCE): Likewise.
19243         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19244         from definition of _DEFAULT_SOURCE.
19245         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19246         [_DEFAULT_SOURCE].
19247         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19248         * bits/mman.h [__USE_BSD]: Likewise.
19249         * bits/termios.h [__USE_BSD]: Likewise.
19250         * bits/waitstatus.h [__USE_BSD]: Likewise.
19251         * ctype/ctype.h [__USE_SVID]: Likewise.
19252         * dirent/dirent.h [__USE_BSD]: Likewise.
19253         * grp/grp.h [__USE_SVID]: Likewise.
19254         [__USE_BSD]: Likewise.
19255         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19256         * io/fcntl.h [__USE_BSD]: Likewise.
19257         * io/ftw.h [__USE_BSD]: Likewise.
19258         * io/sys/stat.h [__USE_BSD]: Likewise.
19259         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19260         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19261         * libio/stdio.h [__USE_SVID]: Likewise.
19262         [__USE_BSD]: Likewise.
19263         * math/math.h [__USE_SVID]: Likewise.
19264         [__USE_BSD]: Likewise.
19265         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19266         * misc/bits/syslog.h [__USE_BSD]: Likewise.
19267         * misc/search.h [__USE_SVID]: Likewise.
19268         * misc/sys/mman.h [__USE_BSD]: Likewise.
19269         * misc/sys/syslog.h [__USE_BSD]: Likewise.
19270         * misc/sys/uio.h [__USE_BSD]: Likewise.
19271         * posix/bits/unistd.h [__USE_BSD]: Likewise.
19272         * posix/glob.h [__USE_BSD]: Likewise.
19273         * posix/regex.h [__USE_BSD]: Likewise.
19274         * posix/sys/types.h [__USE_BSD]: Likewise.
19275         [__USE_SVID]: Likewise.
19276         * posix/sys/utsname.h [__USE_SVID]: Likewise.
19277         * posix/sys/wait.h [__USE_BSD]: Likewise.
19278         [__USE_SVID]: Likewise.
19279         * posix/unistd.h [__USE_BSD]: Likewise.
19280         [__USE_SVID]: Likewise.
19281         * pwd/pwd.h [__USE_SVID]: Likewise.
19282         * resolv/netdb.h [__USE_BSD]: Likewise.
19283         * setjmp/setjmp.h [__USE_BSD]: Likewise.
19284         * signal/signal.h [__USE_BSD]: Likewise.
19285         [__USE_SVID]: Likewise.
19286         * socket/sys/socket.h [__USE_BSD]: Likewise.
19287         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19288         * stdlib/stdlib.h [__USE_BSD]: Likewise.
19289         [__USE_SVID]: Likewise.
19290         * string/bits/string2.h [__USE_BSD]: Likewise.
19291         [__USE_SVID]: Likewise.
19292         * string/bits/string3.h [__USE_BSD]: Likewise.
19293         * string/endian.h [__USE_BSD]: Likewise.
19294         * string/string.h [__USE_SVID]: Likewise.
19295         [__USE_BSD]: Likewise.
19296         * string/strings.h [__USE_BSD]: Likewise.
19297         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19298         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19299         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19300         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19301         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19302         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19303         Likewise.
19304         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19305         Likewise.
19306         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19307         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19308         Likewise.
19309         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19310         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19311         Likewise.
19312         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19313         Likewise.
19314         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19315         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19316         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19317         Likewise.
19318         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19319         Likewise.
19320         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19321         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19322         * termios/termios.h [__USE_BSD]: Likewise.
19323         * time/sys/time.h [__USE_BSD]: Likewise.
19324         * time/time.h [__USE_BSD]: Likewise.
19325         [__USE_SVID]: Likewise.
19327         * Makefile (subdir_targets): Remove subdir_lint.out.
19329         * stdio-common/Makefile (do-tst-unbputc): Remove target.
19330         (do-tst-printf): Likewise.
19331         (tests): Depend directly on $(objpfx)tst-unbputc.out and
19332         $(objpfx)tst-printf.out.
19334         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19336         * Makerules (check-abi-%): Change target to
19337         $(objpfx)check-abi-%.out.
19338         (check-abi target): Update dependencies.
19339         (check-abi-pattern variable): Redirect output of diff to $@.
19340         (check-abi variable): Likewise.
19341         * elf/Makefile (check-abi): Update dependencies.
19343         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19344         unused.
19345         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19346         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19347         subnormal range.
19348         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19349         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19350         value has largest subnormal exponent.
19351         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19352         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19353         * sysdeps/aarch64/soft-fp/sfp-machine.h
19354         (_FP_TININESS_AFTER_ROUNDING): New macro.
19355         * sysdeps/alpha/soft-fp/sfp-machine.h
19356         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19357         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19358         Likewise.
19359         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19360         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19361         * sysdeps/mips/soft-fp/sfp-machine.h
19362         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19363         * sysdeps/powerpc/soft-fp/sfp-machine.h
19364         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19365         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19366         Likewise.
19367         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19368         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19369         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19370         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19371         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19372         Likewise.
19374 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
19376         [BZ #16545]
19377         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19378         model 1.
19380 2014-02-12  Richard Henderson  <rth@redhat.com>
19382         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
19383         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19384         * sysdeps/unix/sysv/linux/alpha: Move directory from
19385         ports/sysdeps/unix/sysv/linux/alpha.
19386         * README: Update listing for alpha-*-linux-gnu.
19388 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
19390         * include/features.h: Update comment documenting feature test
19391         macros.
19392         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
19393         _DEFAULT_SOURCE.
19394         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19395         (_SVID_SOURCE): Likewise.
19396         (_DEFAULT_SOURCE): Update description of default features.
19397         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19398         with _GNU_SOURCE.
19399         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19400         (S_ISVTX): Likewise.
19401         * manual/math.texi (Mathematical Constants): Likewise.
19402         * manual/signal.texi (Interrupted Primitives): Likewise.
19403         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19404         * math/test-matherr.c (_SVID_SOURCE): Do not define.
19405         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19406         Don't refer to _SVID_SOURCE in warning text.
19408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19410         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19411         already defined.
19412         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19413         * sysdeps/mips/dl-lookup.c: Remove.
19414         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19416 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19418         [BZ #16447]
19419         * math/auto-libm-test-in: Add testcase for expl.
19420         * math/auto-libm-test-out: Regenerate.
19421         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19422         calculation of unsafe.
19423         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19425 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19427         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19428         * sysdeps/unix/sysv/linux/aarch64: Move directory from
19429         ports/sysdeps/unix/sysv/linux/aarch64.
19430         * README: Update listing for aarch64*-*-linux-gnu.
19432 2014-02-11  Will Newton  <will.newton@linaro.org>
19434         * manual/probes.texi (Mathematical Function Probes): Use
19435         "triggered" instead of "hit".
19437         * manual/probes.texi (Internal Probes): Add documentation
19438         of setjmp, longjmp and longjmp_target probes.
19440         * include/stap-probe.h: Add comment about probe argument
19441         format.
19443         * malloc/mtrace.c (attribute_hidden): Remove unused macro
19444         definition.  (tr_where, tr_freehook, tr_mallochook,
19445         tr_reallochook, tr_memalignhook): Use ANSI protoype.
19447 2014-02-11  David S. Miller  <davem@davemloft.net>
19449         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19450         processing int_tests.
19452 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
19454         * sysdeps/mips: Move directory from ports/sysdeps/mips.
19455         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19456         * sysdeps/unix/sysv/linux/mips: Move directory from
19457         ports/sysdeps/unix/sysv/linux/mips.
19458         * README: Update listing for mips-*-linux-gnu and
19459         mips64-*-linux-gnu.
19461 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
19463         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19464         * sysdeps/unix/sysv/linux/m68k: Move directory from
19465         ports/sysdeps/unix/sysv/linux/m68k.
19466         * README: Update listing for m68k-*-linux-gnu.
19468 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
19470         * sysdeps/tile: Move directory from ports/sysdeps/tile.
19471         * sysdeps/unix/sysv/linux/generic: Move directory from
19472         ports/sysdeps/unix/sysv/linux/generic.
19473         * sysdeps/unix/sysv/linux/tile: Move directory from
19474         ports/sysdeps/unix/sysv/linux/tile.
19475         * README: Update listing for tile*-*-linux-gnu.
19477 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
19479         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19480         __builtin_expect.
19481         * benchtests/bench-memmem.c (simple_memmem): Likewise.
19482         * catgets/open_catalog.c (__open_catalog): Likewise.
19483         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19484         * debug/confstr_chk.c: Likewise.
19485         * debug/fread_chk.c (__fread_chk): Likewise.
19486         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19487         * debug/getgroups_chk.c: Likewise.
19488         * debug/mbsnrtowcs_chk.c: Likewise.
19489         * debug/mbsrtowcs_chk.c: Likewise.
19490         * debug/mbstowcs_chk.c: Likewise.
19491         * debug/memcpy_chk.c: Likewise.
19492         * debug/memmove_chk.c: Likewise.
19493         * debug/mempcpy_chk.c: Likewise.
19494         * debug/memset_chk.c: Likewise.
19495         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19496         * debug/strcat_chk.c (__strcat_chk): Likewise.
19497         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19498         * debug/strncat_chk.c (__strncat_chk): Likewise.
19499         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19500         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19501         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19502         * debug/wcpncpy_chk.c: Likewise.
19503         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19504         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19505         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19506         * debug/wcsncpy_chk.c: Likewise.
19507         * debug/wcsnrtombs_chk.c: Likewise.
19508         * debug/wcsrtombs_chk.c: Likewise.
19509         * debug/wcstombs_chk.c: Likewise.
19510         * debug/wmemcpy_chk.c: Likewise.
19511         * debug/wmemmove_chk.c: Likewise.
19512         * debug/wmempcpy_chk.c: Likewise.
19513         * debug/wmemset_chk.c: Likewise.
19514         * dirent/scandirat.c (SCANDIRAT): Likewise.
19515         * dlfcn/dladdr1.c (dladdr1): Likewise.
19516         * dlfcn/dladdr.c (dladdr): Likewise.
19517         * dlfcn/dlclose.c (dlclose_doit): Likewise.
19518         * dlfcn/dlerror.c (__dlerror): Likewise.
19519         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19520         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19521         * dlfcn/dlopen.c (dlopen_doit): Likewise.
19522         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19523         * dlfcn/dlsym.c (dlsym_doit): Likewise.
19524         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19525         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19526         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19527         Likewise.
19528         * elf/dl-conflict.c: Likewise.
19529         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19530         * elf/dl-dst.h: Likewise.
19531         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19532         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19533         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19534         * elf/dl-init.c (call_init, _dl_init): Likewise.
19535         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19536         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19537         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19538         Likewise.
19539         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19540         Likewise.
19541         * elf/dl-minimal.c (__libc_memalign): Likewise.
19542         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19543         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19544         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19545         * elf/dl-sym.c (do_sym): Likewise.
19546         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19547         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19548         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19549         * elf/dl-writev.h (_dl_writev): Likewise.
19550         * elf/ldconfig.c (search_dir): Likewise.
19551         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19552         (dl_main): Likewise.
19553         * elf/setup-vdso.h (setup_vdso): Likewise.
19554         * grp/compat-initgroups.c (compat_call): Likewise.
19555         * grp/fgetgrent.c (fgetgrent): Likewise.
19556         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19557         * grp/putgrent.c (putgrent): Likewise.
19558         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19559         Likewise.
19560         * hurd/hurdinit.c: Likewise.
19561         * iconvdata/8bit-gap.c (struct): Likewise.
19562         * iconvdata/ansi_x3.110.c : Likewise.
19563         * iconvdata/big5.c : Likewise.
19564         * iconvdata/big5hkscs.c : Likewise.
19565         * iconvdata/cp1255.c: Likewise.
19566         * iconvdata/cp1258.c : Likewise.
19567         * iconvdata/cp932.c : Likewise.
19568         * iconvdata/euc-cn.c: Likewise.
19569         * iconvdata/euc-jisx0213.c : Likewise.
19570         * iconvdata/euc-jp.c: Likewise.
19571         * iconvdata/euc-jp-ms.c : Likewise.
19572         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19573         * iconvdata/gb18030.c : Likewise.
19574         * iconvdata/gbbig5.c (const): Likewise.
19575         * iconvdata/gbgbk.c: Likewise.
19576         * iconvdata/gbk.c : Likewise.
19577         * iconvdata/ibm1364.c : Likewise.
19578         * iconvdata/ibm930.c : Likewise.
19579         * iconvdata/ibm932.c: Likewise.
19580         * iconvdata/ibm933.c : Likewise.
19581         * iconvdata/ibm935.c : Likewise.
19582         * iconvdata/ibm937.c : Likewise.
19583         * iconvdata/ibm939.c : Likewise.
19584         * iconvdata/ibm943.c: Likewise.
19585         * iconvdata/iso_11548-1.c: Likewise.
19586         * iconvdata/iso-2022-cn.c : Likewise.
19587         * iconvdata/iso-2022-cn-ext.c : Likewise.
19588         * iconvdata/iso-2022-jp-3.c: Likewise.
19589         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19590         * iconvdata/iso-2022-kr.c : Likewise.
19591         * iconvdata/iso646.c (gconv_end): Likewise.
19592         * iconvdata/iso_6937-2.c : Likewise.
19593         * iconvdata/iso_6937.c : Likewise.
19594         * iconvdata/iso8859-1.c: Likewise.
19595         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19596         * iconvdata/shift_jisx0213.c : Likewise.
19597         * iconvdata/sjis.c : Likewise.
19598         * iconvdata/t.61.c : Likewise.
19599         * iconvdata/tcvn5712-1.c : Likewise.
19600         * iconvdata/tscii.c: Likewise.
19601         * iconvdata/uhc.c : Likewise.
19602         * iconvdata/unicode.c (gconv_end): Likewise.
19603         * iconvdata/utf-16.c (gconv_end): Likewise.
19604         * iconvdata/utf-32.c (gconv_end): Likewise.
19605         * iconvdata/utf-7.c (base64): Likewise.
19606         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19607         * iconv/gconv_close.c (__gconv_close): Likewise.
19608         * iconv/gconv_open.c (__gconv_open): Likewise.
19609         * iconv/gconv_simple.c (internal_ucs4_loop_single)
19610         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19611         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19612         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19613         (ucs4le_internal_loop_single): Likewise.
19614         * iconv/iconv.c (iconv): Likewise.
19615         * iconv/iconv_close.c: Likewise.
19616         * iconv/loop.c (SINGLE): Likewise.
19617         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19618         * include/atomic.h: Likewise.
19619         * inet/inet6_option.c (option_alloc): Likewise.
19620         * intl/bindtextdom.c (set_binding_values): Likewise.
19621         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19622         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19623         * intl/localealias.c (read_alias_file): Likewise.
19624         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19625         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19626         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19627         * libio/fmemopen.c (fmemopen): Likewise.
19628         * libio/iofgets.c (_IO_fgets): Likewise.
19629         * libio/iofgets_u.c (fgets_unlocked): Likewise.
19630         * libio/iofgetws.c (fgetws): Likewise.
19631         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19632         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19633         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19634         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19635         * locale/findlocale.c (_nl_find_locale): Likewise.
19636         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19637         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19638         Likewise.
19639         * locale/setlocale.c (setlocale): Likewise.
19640         * login/programs/pt_chown.c (main): Likewise.
19641         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19642         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19643         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19644         (mmap, mmap64, mremap, munmap): Likewise.
19645         * math/e_exp2l.c: Likewise.
19646         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19647         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19648         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19649         * math/s_catan.c (__catan): Likewise.
19650         * math/s_catanf.c (__catanf): Likewise.
19651         * math/s_catanh.c (__catanh): Likewise.
19652         * math/s_catanhf.c (__catanhf): Likewise.
19653         * math/s_catanhl.c (__catanhl): Likewise.
19654         * math/s_catanl.c (__catanl): Likewise.
19655         * math/s_ccosh.c (__ccosh): Likewise.
19656         * math/s_ccoshf.c (__ccoshf): Likewise.
19657         * math/s_ccoshl.c (__ccoshl): Likewise.
19658         * math/s_cexp.c (__cexp): Likewise.
19659         * math/s_cexpf.c (__cexpf): Likewise.
19660         * math/s_cexpl.c (__cexpl): Likewise.
19661         * math/s_clog10.c (__clog10): Likewise.
19662         * math/s_clog10f.c (__clog10f): Likewise.
19663         * math/s_clog10l.c (__clog10l): Likewise.
19664         * math/s_clog.c (__clog): Likewise.
19665         * math/s_clogf.c (__clogf): Likewise.
19666         * math/s_clogl.c (__clogl): Likewise.
19667         * math/s_csin.c (__csin): Likewise.
19668         * math/s_csinf.c (__csinf): Likewise.
19669         * math/s_csinh.c (__csinh): Likewise.
19670         * math/s_csinhf.c (__csinhf): Likewise.
19671         * math/s_csinhl.c (__csinhl): Likewise.
19672         * math/s_csinl.c (__csinl): Likewise.
19673         * math/s_csqrt.c (__csqrt): Likewise.
19674         * math/s_csqrtf.c (__csqrtf): Likewise.
19675         * math/s_csqrtl.c (__csqrtl): Likewise.
19676         * math/s_ctan.c (__ctan): Likewise.
19677         * math/s_ctanf.c (__ctanf): Likewise.
19678         * math/s_ctanh.c (__ctanh): Likewise.
19679         * math/s_ctanhf.c (__ctanhf): Likewise.
19680         * math/s_ctanhl.c (__ctanhl): Likewise.
19681         * math/s_ctanl.c (__ctanl): Likewise.
19682         * math/w_pow.c: Likewise.
19683         * math/w_powf.c: Likewise.
19684         * math/w_powl.c: Likewise.
19685         * math/w_scalb.c (sysv_scalb): Likewise.
19686         * math/w_scalbf.c (sysv_scalbf): Likewise.
19687         * math/w_scalbl.c (sysv_scalbl): Likewise.
19688         * misc/error.c (error_tail): Likewise.
19689         * misc/pselect.c (__pselect): Likewise.
19690         * nis/nis_callback.c (__nis_create_callback): Likewise.
19691         * nis/nis_call.c (__nisfind_server): Likewise.
19692         * nis/nis_creategroup.c (nis_creategroup): Likewise.
19693         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19694         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19695         * nis/nis_getservlist.c (nis_getservlist): Likewise.
19696         * nis/nis_lookup.c (nis_lookup): Likewise.
19697         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19698         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19699         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19700         * nis/nis_xdr.c (xdr_endpoint): Likewise.
19701         * nis/nss_compat/compat-grp.c (getgrent_next_file)
19702         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19703         * nis/nss_compat/compat-initgroups.c (add_group)
19704         (internal_getgrent_r): Likewise.
19705         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19706         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19707         * nis/nss_compat/compat-spwd.c (getspent_next_file)
19708         (internal_getspnam_r): Likewise.
19709         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19710         (_nss_nis_getaliasbyname_r): Likewise.
19711         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19712         (_nss_nis_getntohost_r): Likewise.
19713         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19714         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19715         (_nss_nis_getgrgid_r): Likewise.
19716         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19717         (internal_nis_gethostent_r, internal_gethostbyname2_r)
19718         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19719         (_nss_nis_gethostbyname4_r): Likewise.
19720         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19721         (initgroups_netid): Likewise.
19722         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19723         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19724         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19725         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19726         (_nss_nis_getprotobynumber_r): Likewise.
19727         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19728         (_nss_nis_getsecretkey): Likewise.
19729         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19730         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19731         (_nss_nis_getpwuid_r): Likewise.
19732         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19733         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19734         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19735         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19736         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19737         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19738         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19739         Likewise.
19740         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19741         (_nss_nisplus_getntohost_r): Likewise.
19742         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19743         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19744         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19745         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19746         Likewise.
19747         * nis/nss_nisplus/nisplus-initgroups.c
19748         (_nss_nisplus_initgroups_dyn): Likewise.
19749         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19750         (_nss_nisplus_getnetbyaddr_r): Likewise.
19751         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19752         (_nss_nisplus_getprotobynumber_r): Likewise.
19753         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19754         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19755         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19756         Likewise.
19757         * nis/nss_nisplus/nisplus-service.c
19758         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19759         (_nss_nisplus_getservbyport_r): Likewise.
19760         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19761         (_nss_nisplus_getspnam_r): Likewise.
19762         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19763         Likewise.
19764         * nscd/aicache.c (addhstaiX): Likewise.
19765         * nscd/cache.c (cache_search, prune_cache): Likewise.
19766         * nscd/connections.c (register_traced_file, send_ro_fd)
19767         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19768         (main_loop_epoll): Likewise.
19769         * nscd/grpcache.c (addgrbyX): Likewise.
19770         * nscd/hstcache.c (addhstbyX): Likewise.
19771         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19772         * nscd/mem.c (gc, mempool_alloc): Likewise.
19773         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19774         (addinnetgrX): Likewise.
19775         * nscd/nscd-client.h (__nscd_acquire_maplock)
19776         (__nscd_drop_map_ref): Likewise.
19777         * nscd/nscd_getai.c (__nscd_getai): Likewise.
19778         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19779         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19780         Likewise.
19781         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19782         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19783         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19784         (__nscd_get_map_ref): Likewise.
19785         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19786         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19787         Likewise.
19788         * nscd/pwdcache.c (addpwbyX): Likewise.
19789         * nscd/selinux.c (preserve_capabilities): Likewise.
19790         * nscd/servicescache.c (addservbyX): Likewise.
19791         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19792         * posix/fnmatch.c (fnmatch): Likewise.
19793         * posix/getopt.c (_getopt_internal_r): Likewise.
19794         * posix/glob.c (glob, glob_in_dir): Likewise.
19795         * posix/wordexp.c (exec_comm_child): Likewise.
19796         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19797         (getanswer_r, gaih_getanswer_slice): Likewise.
19798         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19799         * resolv/res_init.c: Likewise.
19800         * resolv/res_mkquery.c (res_nmkquery): Likewise.
19801         * resolv/res_query.c (__libc_res_nquery): Likewise.
19802         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19803         Likewise.
19804         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19805         * stdio-common/perror.c (perror): Likewise.
19806         * stdio-common/printf_fp.c (___printf_fp): Likewise.
19807         * stdio-common/tmpnam.c (tmpnam): Likewise.
19808         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19809         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19810         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19811         Likewise.
19812         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19813         * stdlib/putenv.c (putenv): Likewise.
19814         * stdlib/setenv.c (__add_to_environ): Likewise.
19815         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19816         * stdlib/strtol_l.c (INTERNAL): Likewise.
19817         * string/memmem.c (memmem): Likewise.
19818         * string/strerror.c (strerror): Likewise.
19819         * string/strnlen.c (__strnlen): Likewise.
19820         * string/test-memmem.c (simple_memmem): Likewise.
19821         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19822         * sunrpc/pm_getport.c (__get_socket): Likewise.
19823         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19824         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19825         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19826         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19827         Likewise.
19828         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19829         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19830         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19831         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19832         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19833         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19834         Likewise.
19835         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19836         Likewise.
19837         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19838         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19839         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19840         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19841         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19843         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19844         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19845         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19846         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19847         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19848         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19849         Likewise.
19850         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19851         Likewise.
19852         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19853         Likewise.
19854         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19855         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19856         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19857         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19858         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19859         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19860         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19861         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19862         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19863         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19864         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19865         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19866         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19867         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19868         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19869         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19870         Likewise.
19871         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19872         Likewise.
19873         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19874         Likewise.
19875         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19876         Likewise.
19877         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19879         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19880         Likewise.
19881         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19882         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19883         * sysdeps/posix/opendir.c (__opendirat): Likewise.
19884         * sysdeps/posix/sleep.c: Likewise.
19885         * sysdeps/posix/tempname.c: Likewise.
19886         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19887         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19888         Likewise.
19889         * sysdeps/powerpc/powerpc32/dl-machine.h
19890         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19891         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19892         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19893         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19894         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19895         Likewise.
19896         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19897         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19898         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19899         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19900         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19901         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19902         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19903         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19904         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19905         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19906         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19907         (elf_machine_lazy_rel): Likewise.
19908         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19909         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19910         (elf_machine_lazy_rel): Likewise.
19911         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19912         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19913         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19914         * sysdeps/unix/grantpt.c (grantpt): Likewise.
19915         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19916         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19917         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19918         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19919         Likewise.
19920         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19921         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19922         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19923         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19924         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19925         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19926         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19927         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19928         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19929         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19930         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19931         Likewise.
19932         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19933         (__posix_fallocate64_l64): Likewise.
19934         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19935         (posix_fallocate): Likewise.
19936         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19937         Likewise.
19938         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19939         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19940         (getifaddrs_internal): Likewise.
19941         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19942         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19943         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19944         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19945         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19946         (__posix_fallocate64_l64): Likewise.
19947         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19948         Likewise.
19949         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19950         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19951         (__get_clockfreq): Likewise.
19952         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19953         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19954         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19955         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19956         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19957         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19958         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19959         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19960         Likewise.
19961         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19962         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19963         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19964         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19965         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19966         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19967         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19968         Likewise.
19969         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19970         (posix_fallocate): Likewise.
19971         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19972         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19973         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19974         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19975         (elf_machine_rela, elf_machine_rela_relative)
19976         (elf_machine_lazy_rel): Likewise.
19977         * time/asctime.c (asctime_internal): Likewise.
19978         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19979         * time/tzset.c (__tzset_parse_tz): Likewise.
19980         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19981         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19982         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19983         * wcsmbs/wcsmbsload.h: Likewise.
19985         [BZ #15894]
19986         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19988         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19989         (arena_get2): Remove THREAD_STATS conditionals.
19990         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19991         (__malloc_stats, int): Likewise.
19993 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
19995         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19996         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
19998         * manual/setjmp.texi: Fix typos/grammar errors.
20000         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20001         Only return early when n is <= 0.  Delete unused return statement.
20003         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20004         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20005         * debug/tst-longjmp_chk3.c: New file.
20007         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20008         (test_main): Replace code with set_fortify_handler call.
20009         * debug/test-strcpy_chk.c: Likewise.
20010         * debug/tst-chk1.c: Likewise.
20011         * debug/tst-longjmp_chk.c: Likewise.
20012         * test-skeleton.c: Include fcntl.h & paths.h
20013         (set_fortify_handler): Define.
20015         * debug/tst-longjmp_chk.c: Add header comment and include
20016         ../test-skeleton.c.
20017         (do_test): Mark static.
20018         (TEST_FUNCTION): Define.
20020         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20021         (IP_PMTUDISC_INTERFACE): Likewise.
20022         (IP_MULTICAST_IF): Likewise.
20023         (IP_MULTICAST_TTL): Likewise.
20024         (IP_MULTICAST_LOOP): Likewise.
20025         (IP_ADD_MEMBERSHIP): Likewise.
20026         (IP_DROP_MEMBERSHIP): Likewise.
20027         (IP_UNBLOCK_SOURCE): Likewise.
20028         (IP_BLOCK_SOURCE): Likewise.
20029         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20030         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20031         (IP_MSFILTER): Likewise.
20032         (MCAST_JOIN_GROUP): Likewise.
20033         (MCAST_BLOCK_SOURCE): Likewise.
20034         (MCAST_UNBLOCK_SOURCE): Likewise.
20035         (MCAST_LEAVE_GROUP): Likewise.
20036         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20037         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20038         (MCAST_MSFILTER): Likewise.
20039         (IP_MULTICAST_ALL): Likewise.
20040         (IP_UNICAST_IF): Likewise.
20042         * timezone/Makefile: Delete $(have-ksh) check.
20043         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20044         * timezone/tzselect.ksh: Add +x mode bits.
20046         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20047         (ANON_INODE_FS_MAGIC): Likewise.
20048         (BDEVFS_MAGIC): Likewise.
20049         (BINFMTFS_MAGIC): Likewise.
20050         (BTRFS_TEST_MAGIC): Likewise.
20051         (CRAMFS_MAGIC_WEND): Likewise.
20052         (DEBUGFS_MAGIC): Likewise.
20053         (ECRYPTFS_SUPER_MAGIC): Likewise.
20054         (EXT3_SUPER_MAGIC): Likewise.
20055         (EXT4_SUPER_MAGIC): Likewise.
20056         (FUTEXFS_SUPER_MAGIC): Likewise.
20057         (HOSTFS_SUPER_MAGIC): Likewise.
20058         (HUGETLBFS_MAGIC): Likewise.
20059         (MINIX3_SUPER_MAGIC): Likewise.
20060         (MTD_INODE_FS_MAGIC): Likewise.
20061         (NILFS_SUPER_MAGIC): Likewise.
20062         (OPENPROM_SUPER_MAGIC): Likewise.
20063         (PIPEFS_MAGIC): Likewise.
20064         (PSTOREFS_MAGIC): Likewise.
20065         (QNX6_SUPER_MAGIC): Likewise.
20066         (RAMFS_MAGIC): Likewise.
20067         (REISERFS_SUPER_MAGIC_STRING): Likewise.
20068         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20069         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20070         (SECURITYFS_MAGIC): Likewise.
20071         (SELINUX_MAGIC): Likewise.
20072         (SMACK_MAGIC): Likewise.
20073         (SOCKFS_MAGIC): Likewise.
20074         (SQUASHFS_MAGIC): Likewise.
20075         (STACK_END_MAGIC): Likewise.
20076         (TMPFS_MAGIC): Likewise.
20077         (USBDEVICE_SUPER_MAGIC): Likewise.
20078         (V9FS_MAGIC): Likewise.
20079         (XENFS_SUPER_MAGIC): Likewise.
20080         (CRAMFS_MAGIC): Fix typo in comment.
20081         (EXT2_SUPER_MAGIC): Update comment.
20082         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20084 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
20086         * sysdeps/arm: Move directory from ports/sysdeps/arm.
20087         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20088         * sysdeps/unix/sysv/linux/arm: Move directory from
20089         ports/sysdeps/unix/sysv/linux/arm.
20090         * README: Update listing for arm-*-linux-gnueabi.
20092         * README: Remove mention of am33.
20094 2014-02-07  Roland McGrath  <roland@hack.frob.com>
20096         * bits/sigset.h (__sigemptyset): Use a statement expression rather
20097         than the comma operator, to avoid "rhs of comma has no effect"
20098         compiler warnings.
20099         (__sigfillset, __sigandset, __sigorset): Likewise.
20100         * include/signal.h (__sigemptyset): Likewise.
20101         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20103 2014-02-07  Allan McRae  <allan@archlinux.org>
20105         * version.h (RELEASE): Set to "development".
20106         (VERSION): Set to "2.19.90"
20107         * NEWS: Add 2.20 section.
20109 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
20111         [BZ #16529]
20112         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
20114 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20116         * manual/contrib.texi: Update entry for Carlos O'Donell,
20117         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
20119 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
20121         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
20123         * sysdeps/unix/sysv/linux/kernel-features.h
20124         [__LINUX_KERNEL_VERSION >= 0x020621]
20125         (__ASSUME_PROC_PID_TASK_COMM): Define.
20127 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20129         [BZ #16398]
20130         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
20131         conversion when destination buffer does not have enough space.
20132         * libio/tst-ftell-partial-wide.c: New test case.
20133         * libio/Makefile (tests): Add tst-ftell-partial-wide.
20135         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
20136         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
20137         Leonard and Allan McRae.
20139 2014-02-04  David S. Miller  <davem@davemloft.net>
20141         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
20142         32-bit.
20144 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
20147         New file
20148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20149         New file
20150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20151         New file.
20152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20153         New file.
20154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20155         New file.
20156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20157         New file.
20158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20159         New file.
20160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20161         New file.
20162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20163         New file.
20164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20165         New file.
20166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20167         New file.
20168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20169         New file.
20170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20171         New file.
20173 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20175         * nptl/shlib-versions: Change powerpc*le start to 2.17.
20176         * shlib-versions: Likewise.
20178 2014-02-04  Roland McGrath  <roland@hack.frob.com>
20179             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20181         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
20182         (abilist-pattern): New variable, set to %-le.abilist.
20184         * Makerules (abilist-pattern): New variable.
20185         (vpath): Use $(abilist-pattern) in place of %.abilist.
20186         (check-abi-% pattern rule): Likewise.
20187         (check-abi, update-abi): Likewise.
20189 2014-02-04  Eric Wong  <normalperson@yhbt.net>
20191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20193 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
20195         * manual/startup.texi: Add next, previous, and top entries for
20196         the `Program Arguments' and `Environment Variables' nodes.
20198 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
20200         * manual/macros.texi: Add comments before MTASC-safety macros.
20202         * manual/users.texi: Document MTASC-safety properties.
20204         * manual/threads.texi (pthread_key_create, pthread_key_delete)
20205         (pthread_getspecific, pthread_setspecific): Format with
20206         @deftypefun, and add @safety note.
20207         * manual/signal.texi: Move comments that analyze the above
20208         functions to their home place.
20210 2014-02-03  Allan McRae  <allan@archlinux.org>
20212         * po/sl.po: Update Slovenian translation from translation project.
20214 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
20216         * manual/time.texi (timegm): Add missing blank after @c.
20217         Reported by Joseph Myers <joseph@codesourcery.com>.
20219 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
20221         * manual/check-safety.sh: New.
20222         * manual/Makefile ($(objpfx)stamp-summary): Run it.
20224         * manual/terminal.texi: Document MTASC-safety properties.
20226         * manual/filesys.texi: Document MTASC-safety properties.
20228         * manual/errno.texi: Document MTASC-safety properties.
20230         * manual/intro.texi: Document safety identifiers and
20231         conditionals.
20233         * manual/string.texi (wcstok): Fix prototype.
20234         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20236         * manual/time.texi: Document MTASC-safety properties.
20238         * manual/string.texi: Document MTASC-safety properties.
20240         * manual/threads.texi: Document MTASC-safety properties.
20242         * manual/stdio.texi: Document MTASC-safety properties.
20244         * manual/syslog.texi: Document MTASC-safety properties.
20246         * manual/sysinfo.texi: Document MTASC-safety properties.
20248         * manual/startup.texi: Document MTASC-safety properties.
20250         * manual/socket.texi: Document MTASC-safety properties.
20252         * manual/signal.texi: Document MTASC-safety properties.
20254 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
20256         * manual/setjmp.texi: Document MTASC-safety properties.
20258         * manual/search.texi: Document MTASC-safety properties.
20260         * manual/resource.texi: Document MTASC-safety properties.
20262         * manual/process.texi: Document MTASC-safety properties.
20264         * manual/platform.texi: Document MTASC-safety properties.
20266         * manual/pipe.texi: Document MTASC-safety properties.
20268         * manual/pattern.texi: Document MTASC-safety properties.
20270         * manual/message.texi: Document MTASC-safety properties.
20272         [BZ #12751]
20273         * manual/memory.texi: Document MTASC-safety properties.
20275         * manual/math.texi: Document MTASC-safety properties.
20277         * manual/locale.texi: Document MTASC-safety properties.
20279         * manual/llio.texi: Document MTASC-safety properties.
20281         * manual/libdl.texi: New.
20283         * manual/lang.texi: Document MTASC-safety properties.
20285         * manual/job.texi: Document MTASC-safety properties.
20287         * manual/getopt.texi: Document MTASC-safety properties.
20289         * manual/ctype.texi: Document MTASC-safety properties.
20291 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
20293         [BZ #16046]
20294         * csu/libc-tls.c (static_map): Remove variable.
20295         (__libc_setup_tls): Use main executable's link map for TLS data.
20296         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20297         casing for LM_ID_BASE and GL(dl_nns).
20298         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20299         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
20300         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20301         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20302         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20303         member.
20304         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20305         l_phnum members.
20307 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
20309         * manual/debug.texi: Document MTASC-safety properties.
20311 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
20313         [BZ #16510]
20314         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20315         of __x86_64__ when disabling x87 inline functions.
20317 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
20319         * manual/charset.texi: Document MTASC-safety properties.
20321         * manual/crypt.texi: Document MTASC-safety properties.
20323         * manual/conf.texi: Document MTASC-safety properties.
20325         * manual/arith.texi: Document MTASC-safety properties.
20327         * manual/argp.texi: Document MTASC-safety properties.
20329         * manual/macros.texi: Introduce macros to document multi
20330         thread, asynchronous signal and asynchronous cancellation
20331         safety properties.
20332         * manual/intro.texi: Introduce the properties themselves.
20334 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20336         * sysdeps/sh/sh4/Makefile: New file.
20338 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
20340         * math/gen-libm-test.pl ($srcdir): New variable.
20341         ($auto_input): Use it.
20343 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20345         [BZ #16506]
20346         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20347         access beyond array bounds when parsing netgroups file.
20349         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20350         the old buffer before realloc.
20352 2014-01-27  Allan McRae  <allan@archlinux.org>
20354         * po/fr.po: Update French translation from translation project.
20356 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20358         * sysdeps/sh/libm-test-ulps: Regenerate.
20360 2014-01-24  David S. Miller  <davem@davemloft.net>
20362         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20364 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20366         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20367         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20369 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20371         [BZ #16474]
20372         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20373         string pointers after reallocation.
20375 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20377         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20378         __SH4A__ instead of __SH_FPU_ANY__.
20380 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20382         * sysdeps/sh/fpu_control.h: New file.
20383         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20384         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20385         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20386         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20387         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20388         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20389         * sysdeps/sh/sys/ucontext.h: Remove.
20390         * sysdeps/sh/sys: Remove directory.
20392 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20394         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20395         s390/sys/ucontext.h.
20396         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20397         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20399 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
20401         [BZ #15605]
20402         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20404 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20406         [BZ#16431]
20407         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20408         Adjust the vDSO correctly for internal calls.
20409         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20411 2014-01-20  Allan McRae  <allan@archlinux.org>
20413         * po/ca.po: Update Catalan translation from translation project.
20415 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
20417         * sysdeps/s390/sotruss-lib.c: New file.
20419 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20421         [BZ#16430]
20422         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
20423         (__GI___gettimeofday): Alias for a different internal symbol to avoid
20424         local calls issues by not having a PLT stub required for IFUNC calls.
20425         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20427 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
20429         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20430         * math/test-fpucw-static.c: Likewise.
20432 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20434         [BZ #16453]
20435         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20437 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20439         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20440         implementation for powerpc.
20442 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
20444         [BZ #14782]
20445         * sysdeps/posix/system.c (__libc_system): Do not enable
20446         asynchronous cancellation.
20448 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20450         [BZ #16427]
20451         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20452         handling only for numbers special also in the IEEE case.
20454 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20456         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20458 2014-01-11  Allan McRae  <allan@archlinux.org>
20460         * po/bg.po: Update Bulgarian translation from translation project.
20462         * po/de.po: Update German translation from translation project.
20464 2014-01-10  Roland McGrath  <roland@hack.frob.com>
20466         * sysdeps/generic/gcc-compat.h: New file.
20468 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20470         * benchtests/asin-inputs: Correct slow inputs.
20471         * benchtests/acos-inputs: Likewise.
20473 2014-01-10  Allan McRae  <allan@archlinux.org>
20475         * po:sv.po: Update Swedish translation from translation project.
20477         * po/vi.po: Update Vietnamese translation from translation project.
20479         * po/eo.po: Update Esperanto translation from translation project.
20481         * po/cs.po: Update Czech translation from translation project.
20483         * po/nl.po: Update Dutch translation from translation project.
20485         * po/pl.po: Update Polish translation from translation project.
20487         * po/ru.po: Update Russian translation from translation project.
20489         * po/uk.po: Update Ukrainian translation from translation project.
20491 2014-01-08  Brooks Moses  <bmoses@google.com>
20493         * elf/dl-load.c: Fix comment typo.
20495 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
20497         * po/header.pot: Rename to...
20498         * po/pot.header: ... this.
20499         * po/Makefile: Use pot.header.
20501 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
20502             Maxim Kuvyrkov  <maxim@kugelworks.com>
20504         [BZ #16394]
20505         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20506         SRC and DEST against LEN.
20508 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20510         [BZ #16414]
20511         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20512         implementation.
20513         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20515 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20519 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
20521         [BZ #16408]
20522         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20523         for large positive arguments.
20525 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
20527         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20529         * math/auto-libm-test-in: Mark various tests with
20530         xfail-rounding:ldbl-128ibm.
20531         * math/auto-libm-test-out: Regenerated.
20533         [BZ #16407]
20534         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20535         Increase overflow threshold.
20537 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
20539         [BZ #14286]
20540         * stdio-common/vfprintf.c: Check for integer overflow.
20542 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20544         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20545         the first argument and return value of __tls_get_addr_internal.
20547 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20549         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20550         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20552 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20554         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20555         * sysdeps/s390/rtld-global-offsets.sym: New file.
20556         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20557         GLIBC_2.19 symbol.
20558         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20559         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20560         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20561         ... this.
20562         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20563         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20564         ... this.
20565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20566         Regenerate.
20567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20568         Regenerate.
20569         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20570         halfs of GPRs for high_gprs contexts.
20571         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20572         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
20573         field.
20574         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20575         uc_flags field.
20576         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20577         64 bit versions:
20578         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20579         for high GPRs (uc_high_gprs) and for future extensions
20580         (__reserved).
20581         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20582         for future extensions (__reserved).
20583         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20584         64 bit versions:
20585         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20586         SC_HIGHGPRS offset definition.
20587         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20588         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20590         * Versions.def: Add GLIBC_2.19 for libpthread.
20591         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20592         siglongjmp for libpthread with GLIBC_2.19 symver.
20593         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20594         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20595         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20596         * sysdeps/s390/__longjmp.c: New file.
20597         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20598         * sysdeps/s390/longjmp.c: New file.
20599         * sysdeps/s390/setjmp.S: New file.
20600         * sysdeps/s390/sigjmp.S: New file.
20601         * sysdeps/s390/v1-longjmp.c: New file.
20602         * sysdeps/s390/v1-setjmp.h: New file.
20603         * sysdeps/s390/v1-sigjmp.c: New file.
20604         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20605         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20606         GLIBC_2.19 version.
20607         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20608         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20609         versioned symbols for ____longjmp_chk.
20610         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20611         Likewise.
20612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20613         Regenerate.
20614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20615         Regenerate.
20616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20617         Regenerate.
20618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20619         Regenerate.
20620         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20621         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20622         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20623         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20624         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20625         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20626         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20627         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20628         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20629         * sysdeps/s390/rtld-__longjmp.c: New file.
20630         * sysdeps/s390/rtld-setjmp.S: New file.
20632 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
20634         [BZ #16400]
20635         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20636         Return -__logl (x) for small positive arguments without evaluating
20637         a polynomial.
20639 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
20641         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20642         Rename to ...
20643         (__ptrace_peeksiginfo_args): ... this.
20644         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20645         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20646         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20648 2014-01-06  Allan McRae  <allan@archlinux.org>
20650         * inet/netinet/in.h: Fix typo in comment.
20652 2014-01-05  Andreas Jaeger  <aj@suse.de>
20654         * sysdeps/i386/fpu/libm-test-ulps: Update.
20656 2014-01-05  Allan McRae  <allan@archlinux.org>
20658         * po/libc.pot: Regenerated.
20660         * malloc/memusagestat.c: Fix gettext call formatting.
20662 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
20664         * nscd/nscd.c: Improve usage() output.
20666 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
20668         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20669         * sysdeps/unix/sysv/linux/configure: Regenerated.
20670         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20671         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20673 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20675         [BZ #16390]
20676         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20677         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20679 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20681         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20682         extra tokens at end of #undef directive.
20683         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20684         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20685         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20687 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20689         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20691         * math/auto-libm-test-in: Mark various tests with
20692         xfail-rounding:ldbl-128ibm.
20693         * math/auto-libm-test-out: Regenerated.
20695 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
20697         [BZ #16386]
20698         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20699         numbers with subnormal high part when calculating exponent.
20701         [BZ #16385]
20702         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20703         fabs.
20705         [BZ #16384]
20706         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20707         M_LN2l.
20708         (__ieee754_acoshl): Use __log1pl not __log1p.
20710 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
20712         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20713         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20714         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20715         (grow_heap, heap_trim, _int_new_arena, get_free_list)
20716         (reused_arena, arena_get2): Convert to GNU style.
20717         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20718         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20719         (memalign_check, __malloc_set_state): Likewise.
20720         * malloc/mallocbug.c (main): Likewise.
20721         * malloc/malloc.c (__malloc_assert, malloc_init_state)
20722         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20723         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20724         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20725         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20726         (__posix_memalign, malloc_info): Likewise.
20727         * malloc/malloc.h: Likewise.
20728         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20729         (mallochook, memalignhook, reallochook, mabort): Likewise.
20730         * malloc/mcheck.h: Likewise.
20731         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20732         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20733         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20734         * malloc/morecore.c (__default_morecore): Likewise.
20735         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20736         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20737         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20738         (print_and_abort): Likewise.
20739         * malloc/obstack.h: Likewise.
20740         * malloc/set-freeres.c (__libc_freeres): Likewise.
20741         * malloc/tst-mallocstate.c (main): Likewise.
20742         * malloc/tst-mtrace.c (main): Likewise.
20743         * malloc/tst-realloc.c (do_test): Likewise.
20745 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20747         [BZ #16366]
20748         * nscd/netgroupcache.c (do_notfound): New function.
20749         (addgetnetgrentX): Use it.
20751         [BZ # 16365]
20752         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20753         NSS_STATUS_NOTFOUND.
20755 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
20757         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20760 2014-01-01  Allan McRae  <allan@archlinux.org>
20762         * scripts/update-copyrights: Update configure input file suffix.
20764         * NEWS: Update copyright year.
20765         * catgets/gencat.c: Likewise.
20766         * csu/version.c: Likewise.
20767         * debug/catchsegv.sh: Likewise.
20768         * debug/pcprofiledump.c: Likewise.
20769         * debug/xtrace.sh: Likewise.
20770         * elf/ldconfig.c: Likewise.
20771         * elf/ldd.bash.in: Likewise.
20772         * elf/pldd.c: Likewise.
20773         * elf/sotruss.ksh: Likewise.
20774         * elf/sprof.c: Likewise.
20775         * iconv/iconv_prog.c: Likewise.
20776         * iconv/iconvconfig.c: Likewise.
20777         * locale/programs/locale.c: Likewise.
20778         * locale/programs/localedef.c: Likewise.
20779         * login/programs/pt_chown.c: Likewise.
20780         * malloc/memusage.sh: Likewise.
20781         * malloc/memusagestat.c: Likewise.
20782         * malloc/mtrace.pl: Likewise.
20783         * manual/libc.texinfo: Likewise.
20784         * nscd/nscd.c: Likewise.
20785         * nss/getent.c: Likewise.
20786         * nss/makedb.c: Likewise.
20787         * posix/getconf.c: Likewise.
20788         * scripts/test-installation.pl: Likewise.
20790         * All files with FSF copyright notices: Update copyright dates
20791         using scripts/update-copyrights.
20792         * intl/plural.c: Regenerated.
20793         * locale/programs/charmap-kw.h: Likewise.
20794         * locale/programs/locfile-kw.h: Likewise.
20796 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
20798         * sysdeps/unix/sysv/linux/configure: Regenerated.
20799         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20800         the linux/fanotify.h header.
20801         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20802         HAVE_LINUX_FANOTIFY_H is defined.
20804 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20806         * benchtests/cos-inputs: New inputs.
20807         * benchtests/sin-inputs: Likewise.
20809         * benchtests/atan-inputs: New inputs. Fix name of multiple
20810         precision fallback inputs.
20812         * benchtests/atanh-inputs: New inputs.
20813         * benchtests/tanh-inputs: Likewise.
20815         * benchtests/acosh-inputs: New inputs.
20816         * benchtests/asinh-inputs: Likewise.
20818         * benchtests/cosh-inputs: New inputs.
20819         * benchtests/sinh-inputs: Likewise.
20821         * benchtests/acos-inputs: Add more inputs.
20822         * benchtests/asin-inputs: Likewise.
20824 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
20826         [BZ #16375]
20827         * manual/arith.texi: Fix spelling.
20828         * manual/charset.texi: Likewise.
20829         * manual/errno.texi: Likewise.
20830         * manual/filesys.texi: Likewise.
20831         * manual/lang.texi: Likewise.
20832         * manual/llio.texi: Likewise.
20833         * manual/locale.texi: Likewise.
20834         * manual/message.texi: Likewise.
20835         * manual/resource.texi: Likewise.
20836         * manual/search.texi: Likewise.
20837         * manual/setjmp.texi: Likewise.
20838         * manual/stdio.texi: Likewise.
20839         * manual/string.texi: Likewise.
20840         * manual/sysinfo.texi: Likewise.
20841         * manual/time.texi: Likewise.
20843 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
20845         * po/sl.po: New file.
20847 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
20849         * .gitignore: Add core/.gdbinit/.gdb_history.
20851 2013-12-27  Allan McRae  <allan@archlinux.org>
20853         [BZ #16369]
20854         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20855         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20857 2013-12-24  Brooks Moses  <bmoses@google.com>
20859         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20860         all compilers that claim C++98 compliance, not just GCC.
20861         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20862         Likewise.
20864 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20866         * NEWS: Restore accidentally deleted bug-fix entries.
20868 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20869             Ondřej Bílka  <neleai@seznam.cz>
20871         [BZ #15073]
20872         * malloc/malloc.c (_int_free): Perform sanity check only if we
20873         have_lock.
20875 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
20877         [BZ #12986]
20878         * manual/stdio.texi (String Input Conversions): Clarify that character
20879         classes are not supported.
20881 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20885 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
20887         [BZ #16337]
20888         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20889         Calculate results for small negative arguments directly rather
20890         than using reflection formula with special underflow handling.
20892         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20893         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20894         sysdeps/unix/bsd/bsd4.4/syscalls.list.
20895         (fchflags): Likewise.
20896         (revoke): Likewise.
20897         (setlogin): Likewise.
20898         (sigaltstack): Likewise.
20899         (wait4): Likewise.
20900         (sigblock): Remove.
20901         (sigsetmask): Likewise.
20902         (wait3): Likewise.
20903         (waitpid): Likewise.
20904         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20905         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20906         file.
20907         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20908         * sysdeps/unix/bsd/Makefile: ... here.
20909         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20910         * sysdeps/unix/bsd/Versions: ... here.
20911         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20912         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20913         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20914         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20915         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20916         * sysdeps/unix/bsd/sigblock.c: ... here.
20917         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20918         * sysdeps/unix/bsd/sigsetmask.c: ... here.
20919         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20920         * sysdeps/unix/bsd/sigvec.c: ... here.
20921         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20922         * sysdeps/unix/bsd/tcdrain.c: ... here.
20923         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20924         * sysdeps/unix/bsd/tcgetattr.c: ... here.
20925         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20926         * sysdeps/unix/bsd/tcsetattr.c: ... here.
20927         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20928         * sysdeps/unix/bsd/wait.c: ... here.
20929         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20930         * sysdeps/unix/bsd/wait3.c: ... here.
20931         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20932         * sysdeps/unix/bsd/waitpid.c: ... here.
20934 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
20936         [BZ #16356]
20937         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20938         round-to-nearest for [!USE_AS_EXPM1L].
20939         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20940         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
20941         more tests of exp and exp10.  Expect some exp10 tests to miss
20942         exceptions or fail in directed rounding modes.
20943         * math/auto-libm-test-out: Regenerated.
20944         * math/libm-test.inc (exp10_tonearest_test_data): New array.
20945         (exp10_test_tonearest): New function.
20946         (exp10_towardzero_test_data): New array.
20947         (exp10_test_towardzero): New function.
20948         (exp10_downward_test_data): New array.
20949         (exp10_test_downward): New function.
20950         (exp10_upward_test_data): New array.
20951         (exp10_test_upward): New function.
20952         (main): Call the new functions.
20953         * sysdeps/i386/fpu/libm-test-ulps: Update.
20954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20956 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
20958         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20959         asinh, atan, atan2, atanh, cbrt, cos and cosh.
20960         * math/auto-libm-test-out: Regenerated.
20961         * math/libm-test.inc (acosh_test_data): Add more tests.
20962         (atanh_test_data): Likewise.
20963         (ceil_test_data): Likewise.
20964         (copysign_test_data): Likewise.
20965         * sysdeps/i386/fpu/libm-test-ulps: Update.
20966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20968         * timezone/checktab.awk: Update from tzcode 2013i.
20969         * timezone/private.h: Likewise.
20970         * timezone/scheck.c: Likewise.
20971         * timezone/tzfile.h: Likewise.
20972         * timezone/tzselect.ksh: Likewise.
20973         * timezone/zdump.c: Likewise.
20974         * timezone/zic.c: Likewise.
20976         * math/auto-libm-test-in: Add tests of cpow.
20977         * math/auto-libm-test-out: Regenerated.
20978         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20979         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20980         mpc_cc_c.
20981         (func_calc_desc): Add mpc_cc_c union field.
20982         (test_functions): Add cpow.
20983         (special_fill_2pi): New function.
20984         (special_real_inputs): Add 2pi.
20985         (calc_generic_results): Handle mpc_cc_c.
20986         * sysdeps/i386/fpu/libm-test-ulps: Update.
20987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20989         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20990         csqrt, ctan and ctanh.
20991         * math/auto-libm-test-out: Regenerated.
20992         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20993         (TEST_COND_x86): Likewise.
20994         (ccos_test_data): Use AUTO_TESTS_c_c.
20995         (ccosh_test_data): Likewise.
20996         (cexp_test_data): Likewise.
20997         (clog_test_data): Likewise.
20998         (csqrt_test_data): Likewise.
20999         (ctan_test_data): Likewise.
21000         (ctan_tonearest_test_data): Likewise.
21001         (ctan_towardzero_test_data): Likewise.
21002         (ctan_downward_test_data): Likewise.
21003         (ctan_upward_test_data): Likewise.
21004         (ctanh_test_data): Likewise.
21005         (ctanh_tonearest_test_data): Likewise.
21006         (ctanh_towardzero_test_data): Likewise.
21007         (ctanh_downward_test_data): Likewise.
21008         (ctanh_upward_test_data): Likewise.
21009         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21010         mpc_c_c.
21011         (func_calc_desc): Add mpc_c_c union field.
21012         (FUNC_mpc_c_c): New macro.
21013         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21014         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21015         ctanh.
21016         (special_fill_min_subnorm_p120): New function.
21017         (special_real_inputs): Add min_subnorm_p120.
21018         (calc_generic_results): Handle mpc_c_c.
21019         * sysdeps/i386/fpu/libm-test-ulps: Update.
21020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21022 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21024         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21025         (do_sin_slow): New functions.
21026         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21027         (cslow2, csloww1, csloww2): Use the new functions.
21029         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21030         Use M to change sign of result instead of X.  Assume X is
21031         positive.
21032         (csloww1): Likewise.
21033         (__sin): Adjust.
21034         (__cos): Adjust.
21036         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21037         arguments A and DA.
21038         (__sin): Adjust.
21039         (__cos): Likewise.
21041         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21042         (__cos): Likewise.
21043         (sloww1): Don't adjust sign of DX.
21044         (csloww1): Likewise.
21045         (sloww2): Use X directly and don't adjust sign of DX.
21046         (csloww2): Likewise.
21048 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21050         * math/auto-libm-test-in: Add tests of cabs and carg.
21051         * math/auto-libm-test-out: Regenerated.
21052         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21053         (carg_test_data): Likewise.
21054         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21055         mpc_c_f.
21056         (func_calc_desc): Add mpc_c_f union field.
21057         (test_functions): Add cabs and carg.
21058         (calc_generic_results): Handle mpc_c_f.
21060         * sysdeps/powerpc/powerpc32/libgcc-compat.S
21061         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21062         as a macro and a compat symbol.
21063         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21064         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21065         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21066         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21067         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21068         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21069         not use .hidden.
21070         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21071         Likewise.
21072         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21073         Likewise.
21074         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21075         Likewise.
21076         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21077         Likewise.
21078         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21079         Likewise.
21080         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21081         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21082         from GLIBC_2.3.2.
21084 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21088 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21090         * manual/texinfo.tex: Update to version 2013-11-26.10 with
21091         trailing whitespace removed.
21092         * scripts/config.guess: Update to version 2013-11-29.
21093         * scripts/config.sub: Update to version 2013-10-01.
21095         * math/auto-libm-test-in: Add tests of sincos.
21096         * math/auto-libm-test-out: Regenerated.
21097         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21098         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21099         mpfr_f_11.
21100         (func_calc_desc): Add mpfr_f_11 union field.
21101         (test_functions): Add sincos.
21102         (calc_generic_results): Handle mpfr_f_11.
21103         * sysdeps/i386/fpu/libm-test-ulps: Update.
21104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21106 2013-12-19  Andreas Schwab  <schwab@suse.de>
21108         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
21109         CALL_MCOUNT.
21110         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21111         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
21112         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
21114 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21116         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
21117         * sysdeps/i386/fpu/libm-test-ulps: Update.
21118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21120         [BZ #16293]
21121         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
21122         round-to-nearest mode when using frndint.
21123         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
21124         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21125         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21126         Likewise.
21127         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
21128         sinh test to fail.
21129         * math/auto-libm-test-out: Regenerated.
21130         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
21131         (TEST_COND_x86): Likewise.
21132         (expm1_tonearest_test_data): New array.
21133         (expm1_test_tonearest): New function.
21134         (expm1_towardzero_test_data): New array.
21135         (expm1_test_towardzero): New function.
21136         (expm1_downward_test_data): New array.
21137         (expm1_test_downward): New function.
21138         (expm1_upward_test_data): New array.
21139         (expm1_test_upward): New function.
21140         (main): Run the new test functions.
21141         * sysdeps/i386/fpu/libm-test-ulps: Update.
21142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21144         * include/features.h: Update comment documenting feature test
21145         macros.  Mention _DEFAULT_SOURCE in comment.
21146         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
21147         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
21148         _BSD_SOURCE and _SVID_SOURCE.
21149         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
21150         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
21151         !_SVID_SOURCE]: Likewise.
21152         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21153         (__USE_POSIX_IMPLICITLY): Define.
21154         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21155         (_POSIX_SOURCE): Undefine and redefine.
21156         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21157         (_POSIX_C_SOURCE): Likewise.
21158         * manual/creature.texi (_DEFAULT_SOURCE): Document.
21159         (Feature Test Macros): Update documentation of default features.
21161 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21163         * benchtests/Makefile: Add bench-strtok.
21164         * benchtests/bench-strtok.c: New file: strtok benchtest.
21166 2013-12-19  Allan McRae  <allan@archlinux.org>
21168         * manual/install.texi: Suppress menu for plain text output.
21169         * INSTALL: Regenerated.
21171 2013-12-18  Brooks Moses  <bmoses@google.com>
21173         [BZ #15846]
21174         * misc/getauxval.c: Include errno.h.
21175         (__getauxval): Set errno to ENOENT if the requested type is not
21176         found.
21177         * misc/sys/auxv.h (getauxval): Document that it may set errno;
21178         don't declare with __attribute_const__.
21179         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
21180         * manual/startup.texi: Document that getauxval sets errno.
21182 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
21184         * math/auto-libm-test-in: Add tests of jn and yn.
21185         * math/auto-libm-test-out: Regenerated.
21186         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
21187         (yn_test_data): Likewise.
21188         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21189         mpfr_if_f.
21190         (func_calc_desc): Add mpfr_if_f union field.
21191         (FUNC_mpfr_if_f): New macro.
21192         (test_functions): Add jn and yn.
21193         (calc_generic_results): Assert type of second input for
21194         mpfr_ff_f.  Handle mpfr_if_f.
21195         (output_for_one_input_case): Disable all checking for arguments
21196         fitting floating-point types in case of an integer argument.
21197         * sysdeps/i386/fpu/libm-test-ulps: Update.
21198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21201         Don't expect fegetround reference in libm.so.
21203 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21205         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
21206         $(config-cflags-nofma).
21208 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
21210         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
21211         * math/auto-libm-test-out: Regenerated.
21213         [BZ #16338]
21214         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21215         to determine exponent and adjust argument to have exponent of -1.
21216         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21217         log2.
21218         * math/auto-libm-test-out: Regenerated.
21219         * sysdeps/i386/fpu/libm-test-ulps: Update.
21220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21222 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
21224         * manual/probes.texi: Remove cases when per-thread arenas are
21225         disabled.
21227 2013-12-18  Andreas Schwab  <schwab@suse.de>
21229         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21230         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21231         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21232         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21233         * sysdeps/i386/i686/multiarch/Makefile: Update.
21234         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21236 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21238         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21239         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21241 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
21243         [BZ #15968]
21244         Support TZ transition times < 00:00:00.
21245         This is needed for version-3 tz-format files; it supports time
21246         stamps past 2037 for America/Godthab (the only entry in the tz
21247         database for which this change is relevant).
21248         * manual/time.texi (TZ Variable): Document transition times
21249         from -167:59:59 through -00:00:01.
21250         * time/tzset.c (tz_rule): Time of day is now signed.
21251         (__tzset_parse_tz): Parse negative time of day.
21253         Document TZ transition times >= 25:00:00.
21254         * manual/time.texi (TZ Variable): Document transition times from
21255         25:00:00 through 167:59:59.  These are already supported, and this
21256         support will help with version-3 tz-format files.
21258         * manual/time.texi (TZ Variable): Modernize North America example
21259         to reflect current (i.e., 2007-and-later) daylight saving rules.
21261         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21263 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21265         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21266         * sysdeps/unix/bsd/bits/stat.h: Likewise.
21267         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21268         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21269         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21270         * sysdeps/unix/bsd/bsdstat.h: Likewise.
21271         * sysdeps/unix/bsd/clock.c: Likewise.
21272         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21273         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21274         * sysdeps/unix/bsd/init-posix.c: Likewise.
21275         * sysdeps/unix/bsd/poll.c: Likewise.
21276         * sysdeps/unix/bsd/ptsname.c: Likewise.
21277         * sysdeps/unix/bsd/seekdir.c: Likewise.
21278         * sysdeps/unix/bsd/setegid.c: Likewise.
21279         * sysdeps/unix/bsd/seteuid.c: Likewise.
21280         * sysdeps/unix/bsd/setgid.c: Likewise.
21281         * sysdeps/unix/bsd/setrgid.c: Likewise.
21282         * sysdeps/unix/bsd/setruid.c: Likewise.
21283         * sysdeps/unix/bsd/setsid.c: Likewise.
21284         * sysdeps/unix/bsd/setuid.c: Likewise.
21285         * sysdeps/unix/bsd/sigaction.c: Likewise.
21286         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21287         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21288         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21289         * sysdeps/unix/bsd/telldir.c: Likewise.
21290         * sysdeps/unix/bsd/times.c: Likewise.
21291         * sysdeps/unix/bsd/usleep.c: Likewise.
21293         * misc/Makefile (install-lib): Remove libbsd-compat.a.
21294         ($(objpfx)libbsd-compat.a): Remove rule.
21296         * include/features.h (__FAVOR_BSD): Do not define.
21297         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21298         features conflicting with POSIX.
21299         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21300         (_BSD_SOURCE): Remove description of not being a subset of other
21301         feature test macros.
21302         * manual/job.texi (getpgrp): Do not document BSD version.
21303         (getpgid): Do not document by reference to BSD getpgrp.
21304         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21305         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21306         * signal/signal.h [__FAVOR_BSD]: Likewise.
21307         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21308         instead of making contents conditional on [__FAVOR_BSD].
21309         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21311 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21315 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21317         [BZ #16314]
21318         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21319         values below 2**-450, not 2**-500.
21320         * math/auto-libm-test-in: Don't allow spurious underflow from
21321         hypot.
21322         * math/auto-libm-test-out: Regenerated.
21324         [BZ #16316]
21325         [BZ #16330]
21326         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21327         values of ha and hb and sort them after adjusting subnormal
21328         arguments.
21329         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21330         Likewise.
21331         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21332         values of ea and eb and sort them after adjusting subnormal
21333         arguments.
21334         * math/auto-libm-test-in: Do not expect some hypot tests of
21335         subnormals to fail.  Add more hypot tests.
21336         * math/auto-libm-test-out: Regenerated.
21338 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21340         [BZ #13304]
21341         * sysdeps/sh/s_fma.c: New file.
21342         * sysdeps/sh/s_fmaf.c: New file.
21343         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
21344         version.
21345         * sysdeps/sh/Implies: Add sh/soft-fp.
21347 2013-12-16  Roland McGrath  <roland@hack.frob.com>
21349         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
21350         level of indirection to members `objname', `errstring', `malloced'.
21351         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21352         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
21353         it as the __longjmp argument (just pass 1 instead).
21354         (_dl_catch_error): Initialize C with argument pointers and address of
21355         volatile local ERRCODE rather than copying values out of C at return.
21357 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
21359         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21360         * math/auto-libm-test-out: Regenerated.
21361         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21362         (hypot_test_data): Likewise.
21363         (pow_test_data): Likewise.
21364         (pow_tonearest_test_data): Likewise.
21365         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21366         mpfr_ff_f.
21367         (func_calc_desc): Add mpfr_ff_f union field.
21368         (FUNC_mpfr_ff_f): New macro.
21369         (test_functions): Add atan2, hypot and pow.
21370         (special_fill_min): New function.
21371         (special_fill_minus_min): Likewise.
21372         (special_fill_min_subnorm): Likewise.
21373         (special_fill_minus_min_subnorm): Likewise.
21374         (special_real_inputs): Add min, -min, min_subnorm and
21375         -min_subnorm.
21376         (calc_generic_results): Handle mpfr_ff_f.
21377         * sysdeps/i386/fpu/libm-test-ulps: Update.
21378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21380 2013-12-16  Will Newton  <will.newton@linaro.org>
21382         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21383         (Aligned Memory Blocks): Add documentation for aligned_alloc
21384         and suggest it as an alternative to posix_memalign.
21385         (Hooks for Malloc): Document __memalign_hook is also called
21386         for aligned_alloc.  (Summary of Malloc): Add summary for
21387         aligned alloc.  Document __memalign_hook is also called
21388         for aligned_alloc.
21390 2013-12-16  Will Newton  <will.newton@linaro.org>
21392         * manual/memory.texi (Malloc Examples): Clarify default
21393         alignment documentation.  Suggest posix_memalign rather
21394         than memalign or valloc.
21395         (Aligned Memory Blocks): Remove suggestion to use memalign
21396         or valloc.  Remove obsolete comment about BSD.
21397         Document memalign errno values and mark the function obsolete.
21398         Document posix_memalign returned error codes.  Mark valloc
21399         as obsolete.  (Hooks for Malloc): __memalign_hook is also
21400         called for posix_memalign and valloc.
21401         (Summary of Malloc): Add posix_memalign to function summary.
21402         __memalign_hook is also called for posix_memalign and valloc.
21404 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21406         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21407         TAYLOR_SIN.
21408         (__sin): Adjust.
21409         (__cos): Likewise.
21410         (sloww): Use mynumber union.  Expand ternary operator into
21411         if-else statements.
21412         (cslow): use mynumber union.
21414 2013-12-16  Allan McRae  <allan@archlinux.org>
21416         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21417         * configure: Regenerated.
21419         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21421         [BZ #14120]
21422         * configure.ac: Added --enable-maintainer-mode. Check for
21423         autoconf when enabled.
21424         * configure: Regenerated.
21426         * nscd/nscd.service: New file.
21427         * nscd/nscd.tmpfiles: New file.
21429 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
21431         [BZ #12100]
21432         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21433         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21434         * sysdeps/x86_64/multiarch/strstr.c: ... here.
21435         (strstr): Add __strstr_sse2_unaligned ifunc.
21436         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21437         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21438         (strcasestr): Remove __strcasestr_sse42 ifunc.
21439         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21440         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21443 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21445         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21446         * sysdeps/sh/bits/fenv.h: ... here.
21447         * sysdeps/sh/sh4/fpu/bits: Remove directory.
21449 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21451         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21454         hypotf multiarch implementations.
21455         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21456         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21457         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21458         multiarch hypot for PPC64.
21459         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21460         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21461         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21462         multiarch hypotf for PPC64.
21464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21465         modff multiarch implementations.
21466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21469         multiarch modf for PPC64.
21470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21473         multiarch modff for PPC64.
21475         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21476         and logl multiarch implementations.
21477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21480         multiarch logb for PPC64.
21481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21484         multiarch logb for PPC64.
21485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21488         multiarch logb for PPC64.
21490         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21491         isinff multiarch implementation.
21492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21493         file.
21494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21496         multiarch isinf for PPC64.
21497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21498         file.
21499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21500         multiarch isinff for PPC64.
21502         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21503         finitef multiarch implementation.
21504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21505         file.
21506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21508         multiarch finite for PPC64.
21509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21510         file.
21511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21512         multiarch finitef for PPC64.
21514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21515         lrint multiarch implementation.
21516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21517         file.
21518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21520         multiarch llrint for PPC64.
21521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21522         multiarch lrint for PPC64.
21524         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21525         copysignf multiarch implementation.
21526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21527         file.
21528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21529         file.
21530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21531         multiarch copysign for PPC64.
21532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21533         multiarch copysignf for PPC64.
21535         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21536         multiarch implementation.
21537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21538         file.
21539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21540         file.
21541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21542         file.
21543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21544         file.
21545         multiarch llround for PPC64.
21546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21547         multiarch trunc for PPC64.
21548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21549         multiarch truncf for PPC64.
21551         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21552         multiarch implementation.
21553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21554         file.
21555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21556         file.
21557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21558         file.
21559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21560         file.
21561         multiarch llround for PPC64.
21562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21563         multiarch round for PPC64.
21564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21565         multiarch roundf for PPC64.
21567         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21568         multiarch implementation.
21569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21570         file.
21571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21572         file.
21573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21574         file.
21575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21576         file.
21577         multiarch llround for PPC64.
21578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21579         multiarch floor for PPC64.
21580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21581         multiarch floorf for PPC64.
21583         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21584         multiarch implementation.
21585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21586         file.
21587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21588         file.
21589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21590         file.
21591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21592         file.
21593         multiarch llround for PPC64.
21594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21595         multiarch ceil for PPC64.
21596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21597         multiarch ceilf for PPC64.
21599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21600         multiarch implementation.
21601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21602         file.
21603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21604         file.
21605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21606         file.
21607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21608         multiarch llround for PPC64.
21609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21610         multiarch lround for PPC64.
21612         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21613         multiarch implementation.
21614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21617         file.
21618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21621         multiarch isnan for PPC64.
21622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21623         multiarch isnanf for PPC64.
21625         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21626         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21627         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21628         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21629         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21632         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21633         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21634         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21635         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21638         multiarch implementations.
21639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21640         (__libc_ifunc_impl_list): Likewise.
21641         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21642         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21643         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21644         multiarch stpcpy for PPC64.
21646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21647         multiarch implementations.
21648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21649         (__libc_ifunc_impl_list): Likewise.
21650         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21651         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21652         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21653         multiarch strcpy for PPC64.
21655         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21656         redefine function name.
21657         (_wordcopy_fwd_dest_aligned): Likewise.
21658         (_wordcopy_bwd_aligned): Likewise.
21659         (_wordcopy_bwd_dest_aligned): Likewise.
21660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21661         multiarch implementations.
21662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21663         (__libc_ifunc_impl_list): Likewise.
21664         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21665         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21666         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21667         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21668         multiarch wcscpy for PPC64.
21670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21671         multiarch implementations.
21672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21673         (__libc_ifunc_impl_list): Likewise.
21674         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21675         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21676         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21677         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21678         multiarch wcscpy for PPC64.
21680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21681         multiarch implementations.
21682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21683         (__libc_ifunc_impl_list): Likewise.
21684         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21685         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21686         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21687         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21688         multiarch wcsrchr for PPC64.
21690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21691         multiarch implementations.
21692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21693         (__libc_ifunc_impl_list): Likewise.
21694         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21695         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21696         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21697         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21698         multiarch wcschr for PPC64.
21700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21701         multiarch implementations.
21702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21703         (__libc_ifunc_impl_list): Likewise.
21704         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21705         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21706         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21707         multiarch strchrnul for PPC64.
21709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21710         implementations.
21711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21712         (__libc_ifunc_impl_list): Likewise.
21713         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21714         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21715         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21716         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21717         strchr for PPC64.
21719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21720         implementations.
21721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21722         (__libc_ifunc_impl_list): Likewise.
21723         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21724         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21725         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21726         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21727         strncmp for PPC64.
21729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21730         multiarch implementations.
21731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21732         (__libc_ifunc_impl_list): Likewise.
21733         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21734         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21735         strncasecmp for PPC64.
21736         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21737         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21738         multiarch strncasecmp_l for PPC64.
21740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21741         multiarch implementations.
21742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21743         (__libc_ifunc_impl_list): Likewise.
21744         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21745         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21746         multiarch strcasecmp for PPC64.
21747         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21748         file.
21749         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21750         multiarch strcasecmp_l for PPC64.
21752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21753         implementations.
21754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21755         (__libc_ifunc_impl_list): Likewise.
21756         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21757         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21758         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21759         strnlen for PPC64.
21761         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21762         implementations.
21763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21764         (__libc_ifunc_impl_list): Likewise.
21765         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21766         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21767         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21768         strlen for PPC64.
21770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21771         implementations.
21772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21773         (__libc_ifunc_impl_list): Likewise.
21774         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21775         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21776         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21777         rawmemrchr for PPC64.
21779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21780         implementation.
21781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21782         (__libc_ifunc_impl_list): Likewise.
21783         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21784         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21785         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21786         memrchr for PPC64.
21788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21789         implementation.
21790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21791         (__libc_ifunc_impl_list): Likewise.
21792         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21793         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21794         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21795         memchr for PPC64.
21797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21798         implementation.
21799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21800         (__libc_ifunc_impl_list): Likewise.
21801         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21802         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21803         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21804         mempcpy for PPC64.
21806         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21807         avoid cretion of __bzero symbol.
21808         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21809         Likewise.
21810         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21811         Likewise.
21812         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21813         Likewise.
21814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21815         multiarch implementations.
21816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21817         (__libc_ifunc_impl_list): Likewise.
21818         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21819         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21820         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21821         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21822         bzero for PPC32.
21823         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21824         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21825         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21826         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21827         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21828         memset for PPC64.
21829         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21831         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21833         implementations.
21834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21835         (__libc_ifunc_impl_list): Likewise.
21836         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21837         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21838         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21839         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21840         memcmp for PPC64.
21842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21843         multiarch for POWER/PPC64.
21844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21845         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21846         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21847         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21848         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21849         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21850         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21851         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21852         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21853         memcpy for PPC64.
21855         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21856         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21857         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21858         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21859         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21860         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21861         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21862         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21863         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21864         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21865         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21866         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21867         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21868         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21869         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21878 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21880         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21882 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21884         * benchtests/Makefile (bench): Add exp2 and log2.
21885         (LDLIBS-bench-exp2): Add -lm.
21886         (LDLIBS-bench-log2): Likewise.
21887         * benchtests/exp2-inputs: New inputs file.
21888         * benchtests/log2-inputs: New inputs file.
21889         * benchtests/log-inputs: Add new inputs.
21890         * benchtests/tan-inputs: Likewise.
21892 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21894         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21895         definition...
21896         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21897         (csloww2): ... from here.
21899         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21900         instead of structures.
21901         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21902         (POLYNOMIAL): Likewise.
21903         (TAYLOR_SLOW): Likewise.
21904         (__sin): Likewise.
21905         (__cos): Likewise.
21906         (slow1): Likewise.
21907         (slow2): Likewise.
21908         (sloww): Likewise.
21909         (sloww1); Likewise.
21910         (sloww2): Likewise.
21911         (bsloww1): Likewise.
21912         (bsloww2): Likewise.
21913         (cslow2): Likewise.
21914         (csloww): Likewise.
21915         (csloww1): Likewise.
21916         (csloww2): Likewise.
21918 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
21920         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21921         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21922         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21923         * malloc/hooks.c (realloc_check): Likewise.
21925         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21926         * malloc/arena.c: Remove PER_THREAD conditional.
21927         [!PER_THREAD]: Remove code.
21928         (ptmalloc_unlock_all2): Likewise.
21929         (ptmalloc_init): Likewise.
21930         (_int_new_arena): Likewise.
21931         (arena_get2): Likewise.
21932         * malloc/hooks.c (__malloc_get_state): Likewise.
21933         (__malloc_set_state): Likewise.
21934         * malloc/malloc.c: Likewise.
21935         (struct malloc_state): Likewise.
21936         (struct malloc_par): Likewise.
21937         (__libc_realloc): Likewise.
21938         (__libc_mallopt): Likewise.
21940 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21942         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21944 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
21946         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21947         macro to a function.  Check for zero perturb_byte.
21948         (_int_malloc, _int_free): Remove zero perturb_byte checks.
21950         * malloc/malloc.c: (force_reg): Remove.
21951         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21952         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21953         force_reg by atomic_forced_read.
21954         * malloc/arena.c (ptmalloc_init): Likewise.
21955         * malloc/hooks.c (top_check): Likewise.
21957 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21961 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
21963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21965 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
21967         * math/auto-libm-test-in: Add tests of lgamma.
21968         * math/auto-libm-test-out: Regenerated.
21969         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21970         (M_LOG_2_SQRT_PIl): Likewise.
21971         (lgamma_test_data): Use AUTO_TESTS_f_f1.
21972         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21973         mpfr_f_f1.
21974         (func_calc_desc): Add mpfr_f_f1 union field.
21975         (ARGS1): New macro.
21976         (ARGS2): Likewise.
21977         (ARGS3): Likewise.
21978         (ARGS4): Likewise.
21979         (RET1): Likewise.
21980         (RET2): Likewise.
21981         (CALC): Likewise.
21982         (FUNC): Likewise.
21983         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21984         (test_functions): Add lgamma.
21985         (calc_generic_results): Handle mpfr_f_f1.
21986         * sysdeps/i386/fpu/libm-test-ulps: Update.
21987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21989 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21991         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21992         __mpn_add_n for PowerPC64/POWER7.
21993         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21994         __mpn_sub_n for PowerPC64/POWER7.
21996         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21997         __mpn_addmul_1 for PowerPC64.
21998         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21999         __mpn_submul_1 for PowerPC64.
22000         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22001         for PowerPC64.
22002         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22003         for PowerPC64.
22005 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
22007         [BZ #15089]
22008         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22010 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22012         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22014         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22015         add multiarch folders.
22016         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22017         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22018         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22019         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22020         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22021         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22022         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22023         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22024         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22025         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22026         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22035         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22037         New file.
22038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22039         New file.
22040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22041         multiarch __ieee754_hypot for PowerPC32.
22042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22043         New file.
22044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22045         New file.
22046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22047         multiarch __ieee754_hypotf for PowerPC32.
22049         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22050         long_double_symbol only if __logbl is defined.
22051         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22052         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22053         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22054         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22055         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22056         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22057         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22058         path for implementation.
22059         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22060         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22062         logb, and logbl multiarch implementations for PowerPC32.
22063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22064         file.
22065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22066         file.
22067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22068         multiarch logb for PowerPC32.
22069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22070         file.
22071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22072         file.
22073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22074         multiarch logbf for PowerPC32.
22075         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22077         file.
22078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22079         multiarch logbl implementation for PowerPC32.
22081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22082         and modff multiarch implementations.
22083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22084         New file.
22085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22086         New file.
22087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22088         multiarch modf for PowerPC32.
22089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22090         New file.
22091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22092         New file.
22093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22094         multiarch modff for PowerPC32.
22096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22097         and lrintf multiarch implementations.
22098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22099         New file.
22100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22101         New file.
22102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22103         multiarch lrint for PowerPC32.
22104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22105         file: multiarch lrintf for PowerPC32.
22107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
22108         and lroundf multiarch implementations.
22109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
22110         New file.
22111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
22112         New file.
22113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
22114         New file.
22115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
22116         multiarch lround for PowerPC32.
22117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
22118         file: multiarch lroundf for PowerPC32.
22120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22121         copysign and copysignf multiarch implementations.
22122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
22123         New file.
22124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
22125         New file.
22126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
22127         file: multiarch copysign for PowerPC32.
22128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
22129         file: multiarch copysignf for PowerPC32.
22131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
22132         and truncf multiarch implementations.
22133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
22134         New file.
22135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
22136         file.
22137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
22138         multiarch trunc for PowerPC32.
22139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
22140         New file.
22141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
22142         New file.
22143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
22144         multiarch truncf for PowerPC32.
22146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
22147         and roundf multiarch implementations.
22148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
22149         New file.
22150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
22151         file.
22152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
22153         multiarch round for PowerPC32.
22154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
22155         New file.
22156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
22157         New file.
22158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
22159         multiarch roundf for PowerPC32.
22161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
22162         and floorf multiarch implementations.
22163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
22164         New file.
22165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
22166         file.
22167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
22168         multiarch floor for PowerPC32.
22169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
22170         New file.
22171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
22172         New file.
22173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
22174         multiarch floorf for PowerPC32.
22176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
22177         and ceilf multiarch implementations.
22178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
22179         New file.
22180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
22181         file.
22182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
22183         multiarch ceil for PowerPC32.
22184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
22185         New file.
22186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
22187         file.
22188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
22189         multiarch ceilf for PowerPC32.
22191         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
22192         is defined.
22193         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
22194         FINITEF is defined.
22195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
22196         and finitef multiarch implementations.
22197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
22198         New file.
22199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
22200         file.
22201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
22202         multiarch finite for PowerPC32.
22203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
22204         New file.
22205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
22206         file: multiarch finitef for PowerPC32.
22208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
22209         and isinff multiarch implementations.
22210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
22211         file.
22212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22213         file.
22214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22215         multiarch isinf for PowerPC32.
22216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22217         New file.
22218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22219         multiarch isinff for PowerPC32.
22221         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22222         alias when __isnan is defined.
22223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22224         and isnanf multiarch implementations.
22225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22226         file.
22227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22228         file.
22229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22230         file.
22231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22232         file.
22233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22234         multiarch isnan for PowerPC32.
22235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22236         New file.
22237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22238         New file.
22239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22240         multiarch isnanf for PowerPC32.
22242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22243         and sqrtf multiarch implementations.
22244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22245         file.
22246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22247         file.
22248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22249         multiarch sqrt for PowerPC32.
22250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22251         file.
22252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22253         file.
22254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22255         multiarch sqrtf for PowerPC32.
22257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22258         and llroundf multiarch implementations.
22259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22260         New file.
22261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22262         New file.
22263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22264         New file.
22265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22266         file: multiarch llround for PowerPC32.
22267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22268         file: multiarch llroundf for PowerPC32.
22270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22271         multiarch PowerPC32 fpu implementations.
22272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22273         New file.
22274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22275         New file.
22276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22277         multiarch llrint for PowerPC32.
22278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22279         New file.
22280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22281         New file.
22282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22283         file.
22285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22287         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22288         file.
22289         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22290         file.
22291         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22292         file.
22293         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22294         multiarch wordcopy for PPC32.
22295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22296         wordcopy objects.
22297         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22298         (__libc_ifunc_impl_list): Likewise.
22299         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22300         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22301         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22302         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22303         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22304         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22306         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22308         file.
22309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22310         file.
22311         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22312         file.
22313         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22314         multiarch wcscpy for PPC32.
22315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22316         multiarch objects.
22317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22318         (__libc_ifunc_impl_list): Likewise.
22319         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22320         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22321         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22322         sysdeps/powerpc/power6/wcscpy.c.
22324         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22326         file.
22327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22328         file.
22329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22330         file.
22331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22332         multiarch wcsrchr for PPC32.
22333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22334         multiarch objects.
22335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22336         (__libc_ifunc_impl_list): Likewise.
22337         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22338         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22339         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22340         sysdeps/powerpc/power6/wcsrchr.c.
22342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22343         file.
22344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22345         file.
22346         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22347         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22348         multiarch wcschr for PPc32.
22349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22350         multiarch objects.
22351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22352         (__libc_ifunc_impl_list): Likewise.
22353         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22354         * sysdeps/powerpc/power6/wcschr.c: ... to here.
22355         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22356         sysdeps/powerpc/power6/wcschr.c.
22358         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22359         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22360         file.
22361         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22362         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22363         file: multiarch strchr for PPC32.
22364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22365         multiarch objects.
22366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22367         (__libc_ifunc_impl_list): Likewise.
22369         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22370         name.
22371         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22372         file.
22373         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22374         file.
22375         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22376         multiarch strchrnul for PPC32.
22377         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22378         multiarch objects.
22379         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22380         (__libc_ifunc_impl_list): Likewise.
22382         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22383         file.
22384         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22385         multiarch strncasecmp for PPC32.
22386         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22387         file.
22388         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22389         multiarch strncasecmp_l for PPC32.
22390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22391         strncasecmp multiarch objects.
22392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22393         (__libc_ifunc_impl_list): Likewise.
22395         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22396         file.
22397         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22398         multiarch strncasecmp for PPC32.
22399         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22400         New file.
22401         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22402         multiarch strcasecmp_l for PPC32.
22403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22404         multiarch objects.
22405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22406         (__libc_ifunc_impl_list): Likewise.
22408         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22409         file.
22410         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22411         file.
22412         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22413         multiarch strncmp for PPC32.
22414         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22415         multiarch objects.
22416         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22417         (__libc_ifunc_impl_list): Likewise.
22419         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22420         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22421         file.
22422         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22423         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22424         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22425         multiarch objects.
22426         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22427         (__libc_ifunc_impl_list): Likewise.
22429         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22430         file.
22431         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22432         file.
22433         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22435         multiarch objects.
22436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22437         (__libc_ifunc_impl_list): Likewise.
22439         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22440         file.
22441         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22442         file.
22443         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22444         multiarch rawmemchr for PPC32.
22445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22446         multiarch objects.
22447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22448         (__libc_ifunc_impl_list): Likewise.
22450         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22451         file.
22452         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22453         file.
22454         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22455         file: memrchr multiarch for PPC32.
22456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22457         multiarch objects.
22458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22459         (__libc_ifunc_impl_list): Likewise.
22461         * string/memchr.c (__memchr): Using macro to redefine symbol name.
22462         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22463         file.
22464         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22465         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22466         multiarch memchr for PPC32.
22467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22468         multiarch objects.
22469         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22470         (__libc_ifunc_impl_list): Likewise.
22472         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22473         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22474         file.
22475         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22476         file.
22477         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22478         file: multiarch mempcpy for PPC32.
22479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22480         multiarch objects.
22481         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22482         (__libc_ifunc_impl_list): Likewise.
22484         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22485         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22486         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22487         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22488         multiarch bzero for PPC32.
22489         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22490         file.
22491         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22492         file.
22493         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22494         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22495         file: multiarch memset for PPC32.
22496         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22498         memset multiarch objects.
22499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22500         (__libc_ifunc_impl_list): Likewise.
22502         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22503         file.
22504         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22505         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22506         memcmp for PPC32.
22507         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22508         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22509         multiarch objects.
22510         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22511         (__libc_ifunc_impl_list): Likewise.
22513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22516         file.
22517         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22518         file.
22519         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22520         file.
22521         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22522         multiarch memcpy for PPC32.
22523         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22524         multiarch objects.
22525         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22526         (__libc_ifunc_impl_list): Likewise.
22528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22529         support multiarch for POWER/PPC32.
22530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22531         Likewise.
22532         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22534         Implies file to make multiarch folder appers before the fpu and
22535         default folder for power4 configuration.
22537 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22539         * scripts/bench.pl: Append volatile keyword to type.
22541 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22543         * sysdeps/sh/sotruss-lib.c: New file.
22544         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22546 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22550 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
22552         [BZ #6810]
22553         * math/w_tgamma.c: Include <errno.h>.
22554         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
22555         * math/w_tgammaf.c: Include <errno.h>.
22556         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
22557         * math/w_tgammal.c: Include <errno.h>.
22558         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
22559         * math/auto-libm-test-in: Do not allow missing errno on tgamma
22560         underflow.  Add more tgamma tests.
22561         * math/auto-libm-test-out: Regenerated.
22562         * sysdeps/i386/fpu/libm-test-ulps: Update.
22563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22565         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22566         sin, sinh, tan, tanh, tgamma, y0 and y1.
22567         * math/auto-libm-test-out: Regenerated.
22568         * math/libm-test.inc (TEST_COND_x86_64): New macro.
22569         (TEST_COND_x86): Likewise.
22570         (M_E2l): Remove macro.
22571         (M_E3l): Likewise.
22572         (M_2_SQRT_PIl): Likewise.
22573         (M_SQRT_PIl): Likewise.
22574         (M_1_DIV_El): Likewise.
22575         (log_test_data): Use AUTO_TESTS_f_f.
22576         (log10_test_data): Likewise.
22577         (log1p_test_data): Likewise.
22578         (log2_test_data): Likewise.
22579         (sin_test_data): Likewise.
22580         (sin_tonearest_test_data): Likewise.
22581         (sin_towardzero_test_data): Likewise.
22582         (sin_downward_test_data): Likewise.
22583         (sin_upward_test_data): Likewise.
22584         (sinh_test_data): Likewise.
22585         (sinh_tonearest_test_data): Likewise.
22586         (sinh_towardzero_test_data): Likewise.
22587         (sinh_downward_test_data): Likewise.
22588         (sinh_upward_test_data): Likewise.
22589         (tan_test_data): Likewise.
22590         (tan_tonearest_test_data): Likewise.
22591         (tan_towardzero_test_data): Likewise.
22592         (tan_downward_test_data): Likewise.
22593         (tan_upward_test_data): Likewise.
22594         (tanh_test_data): Likewise.
22595         (tgamma_test_data): Likewise.
22596         (y0_test_data): Likewise.
22597         (y1_test_data): Likewise.
22598         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22599         (special_real_inputs): Add pi/4.
22600         * sysdeps/i386/fpu/libm-test-ulps: Update.
22601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22603 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22605         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22606         "longjmp_target" static probes.
22607         (__longjmp): Rename to __longjmp_symbol.
22608         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22609         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22610         on which longjmp to generate.
22611         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22612         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22613         probe.
22614         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22615         (__sigjmp_save): Rename to __sigjmp_save_symbol.
22616         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22617         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22618         and __sigjmp_save_symbol based on which sigsetjmp to generated.
22619         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22621         __longjmp_symbol based on which __longjmp to generate.
22622         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22623         probe.
22624         (setjmp): Rename to setjmp_symbol.
22625         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22626         (_setjmp): Rename to _setjmp_symbol.
22627         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22628         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22629         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22630         which setjmp to generate.
22631         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22632         "longjmp_target" static probes.
22634 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22636         * benchtests/README: Add note about output arguments.
22637         * benchtests/bench-sincos.c: Remove file.
22638         * benchtests/sincos-inputs: New file.
22639         * scripts/bench.pl: Identify output arguments and define
22640         static variables for them.
22642         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22644         [BZ #15941]
22645         * Makefile (INSTALL): Add install-plain.texi as the primary
22646         dependency.
22647         * manual/install-plain.texi: New file.
22648         * manual/install.texi: Include node directive only for
22649         non-plaintext output.
22651 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
22653         * stdlib/longlong.h: Update from GCC.
22655         [BZ #6807]
22656         [BZ #15901]
22657         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22658         * math/w_j0f.c (y0f): Likewise.
22659         * math/w_j0l.c (__y0l): Likewise.
22660         * math/w_j1.c (y1): Likewise.
22661         * math/w_j1f.c (y1f): Likewise.
22662         * math/w_j1l.c (__y1l): Likewise
22663         * math/w_jn.c (yn): Likewise.
22664         * math/w_jnf.c (ynf): Likewise.
22665         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22666         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
22667         value for Bessel function domain errors outside _SVID_ mode.
22668         Adjust sign of return value for yn (negative integer, 0).
22669         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22670         by zero in return for negative x and set sign appropriately for
22671         negative n.
22672         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22673         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22674         * math/libm-test.inc (y0_test_data): Add more tests and adjust
22675         expectations in error cases.
22676         (y1_test_data): Likewise.
22677         (yn_test_data): Likewise.
22678         * sysdeps/i386/fpu/libm-test-ulps: Update.
22679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22681 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22683         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22684         "64" to "64-v1".  Add "64-v2".
22685         (abi-64-options): Rename to ...
22686         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
22687         (abi-64-condition): Rename to ...
22688         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
22689         (abi-64-ld-soname): Rename to ...
22690         (abi-64-v1-ld-soname): ... this.
22691         (abi-64-v2-options): Define.
22692         (abi-64-v2-condition): Likewise.
22693         (abi-64-v2-ld-soname): Likewise.
22694         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22695         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22700 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22701             Alan Modra  <amodra@gmail.com>
22703         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22704         New versions for use with the ELFv2 ABI.
22705         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22706         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22707         declaration.
22708         (struct La_ppc64v2_retval): Likewise.
22709         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22710         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22711         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22712         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22713         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22714         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22715         Do not save or restore CR.
22716         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22717         (_dl_profile_resolve): Do no save or restore CR.  Support extended
22718         return values for ELFv2 ABI.  Fix location of FPR return registers.
22719         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22720         updated values for _CALL_ELF == 2.
22721         (La_regs, La_retval, int_retval): Likewise.
22723 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22725         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22726         (FRAME_MIN_SIZE_PARM): Likewise.
22727         (FRAME_BACKCHAIN): Likewise.
22728         (FRAME_CR_SAVE): Likewise.
22729         (FRAME_LR_SAVE): Likewise.
22730         (FRAME_TOC_SAVE): Likewise.
22731         (FRAME_PARM_SAVE): Likewise.
22732         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22733         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22734         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22735         (call_mcount_parm_offset): New macro.
22736         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22737         (PROF): Use symbolic stack frame offsets.
22738         (TAIL_CALL_SYSCALL_ERROR): Likewise.
22739         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22740         Redefine in terms of FRAME_MIN_SIZE.
22741         (_dl_runtime_resolve): Use symbolic stack frame offsets.
22742         (_dl_profile_resolve): Likewise.  Update comment.
22743         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22744         symbols stack frame offsets.
22745         (__sigsetjmp): Likewise.
22746         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22747         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22748         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22749         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22752         (FRAME_BACKCHAIN): Remove.
22753         (FRAME_CR_SAVE): Likewise.
22754         (FRAME_LR_SAVE): Likewise.
22755         (FRAME_COMPILER_DW): Likewise.
22756         (FRAME_LINKER_DW): Likewise.
22757         (FRAME_TOC_SAVE): Likewise.
22758         (FRAME_PARM_SAVE): Likewise.
22759         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22760         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22761         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22763         (CHECK_SP): Use symbolic stack frame offsets.
22764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22765         zone" instead of caller's parameter save area for temp storage.
22766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22767         Likewise.  Also, use symbolic stack frame offsets.
22768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22769         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22770         our own stack frame instead of the caller's.
22771         (__socket): Use symbolic stack frame offsets.
22773 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22774             Alan Modra  <amodra@gmail.com>
22776         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22777         Define.
22778         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22779         (PPC64_LOCAL_ENTRY_OFFSET): Define.
22780         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22781         New function.
22782         (elf_machine_fixup_plt): Call it.
22783         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
22784         reloc arguments.
22785         (elf_machine_rela): Update call to elf_machine_plt_conflict.
22786         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22787         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22788         r2 before calling target.
22790 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22791             Alan Modra  <amodra@gmail.com>
22793         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22794         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22795         versions of macros to support ELFv2 ABI.
22796         (LOCALENTRY): New macro.
22797         (ENTRY, EALIGN): Use it.
22798         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22799         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22800         fall through into ENTRY entry point.
22801         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22802         Only define if _CALL_ELF != 2.
22804         (elf_machine_matches_host): Verify ABI version matches.
22805         (RTLD_START): Use LOCALENTRY.
22806         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22807         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22808         (PLT_ENTRY_WORDS): New macro.
22809         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22810         (elf_machine_runtime_setup): Support ELFv2 ABI.
22811         (elf_machine_fixup_plt): Likewise.
22812         (elf_machine_plt_conflict): Likewise.
22813         (resolve_ifunc): Likewise.
22814         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22815         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22816         Likewise.
22817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22818         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22820         (makecontext): Support ELFv2 ABI.
22821         * elf/elf.h (EF_PPC64_ABI): Define.
22823 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22825         * sysdeps/powerpc/powerpc64/sysdep.h
22826         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22827         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22828         (ENTRY) [ASSEMBLER]: ... but instead here ...
22829         (EALIGN) [ASSEMBLER]: ... and here.
22830         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22831         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22832         (ENTRY_2) [!ASSEMBLER]: Use it.
22833         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22834         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
22835         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22836         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22837         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22839         Use PPC64_LOAD_FUNCPTR.
22841         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22843 2013-12-04  Alan Modra  <amodra@gmail.com>
22845         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22846         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22847         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22848         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22850         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22851         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22852         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22853         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22854         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22855         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22857 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22860         (__makecontext): Fix incorrect CFI when backtracing out of
22861         context created via makecontext.
22862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22863         (__setcontext): Fix incorrect CFI during switch to new context.
22864         (__novec_setcontext): Likewise.
22866 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22868         [BZ #4772]
22869         * time/strptime_l.c (__strptime_internal): Allow modifiers
22870         in strptime.
22871         * time/tst-strptime.c (day_tests): Add testcase.
22873 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22875         * scripts/bench.pl: Skip over blank lines.
22877 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22879         [BZ #926]
22880         * manual/time.texi (Calendar Time): Clarify what timezone functions
22881         use.
22883 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22887 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22889         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22890         implementation.
22891         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22892         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22893         * debug/memset_chk.c (__memset_chk): Likewise.
22894         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22895         * debug/strncpy_chk.c: Likewise.
22897 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22899         [BZ #15268]
22900         [BZ #15425]
22901         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22902         (__ieee754_exp): For possibly underflowing results, check size of
22903         result and force underflow exception if required.
22904         * math/auto-libm-test-in: Add more tests of exp.
22905         * math/auto-libm-test-out: Regenerated.
22906         * sysdeps/i386/fpu/libm-test-ulps: Update.
22907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22909         [BZ #16283]
22910         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22911         * math/w_exp2f.c (__exp2f): Likewise.
22912         * math/w_exp2l.c (__exp2l): Likewise.
22913         * math/auto-libm-test-in: Do not allow missing errno on exp2
22914         underflow.
22915         * math/auto-libm-test-out: Regenerated.
22917 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
22919         [BZ #16274]
22920         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22921         handle filename validation.
22922         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22923         (do_open): Delete.
22925 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22927         [BZ #6786]
22928         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22929         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22930         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22931         <float.h>.
22932         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22933         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22934         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22935         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22936         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22937         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22938         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22939         * math/auto-libm-test-in: Don't allow missing errno from erfc.
22940         Add more erfc tests.
22941         * math/auto-libm-test-out: Regenerated.
22942         * sysdeps/i386/fpu/libm-test-ulps: Update.
22943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22945         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22946         exp2, expm1, j0 and j1.
22947         * math/auto-libm-test-out: Regenerated.
22948         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22949         (erfc_test_data): Likewise.
22950         (exp_test_data): Likewise.
22951         (exp_tonearest_test_data): Likewise.
22952         (exp_towardzero_test_data): Likewise.
22953         (exp_downward_test_data): Likewise.
22954         (exp_upward_test_data): Likewise.
22955         (exp10_test_data): Likewise.
22956         (exp2_test_data): Likewise.
22957         (expm1_test_data): Likewise.
22958         (j0_test_data): Likewise.
22959         (j1_test_data): Likewise.
22960         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22961         (input_flag_type): Add flag_xfail_rounding.
22962         (input_flags): Add xfail-rounding.
22963         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22964         (output_for_one_input_case): Handle flag_xfail_rounding.
22965         * sysdeps/i386/fpu/libm-test-ulps: Update.
22966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22968 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
22970         [BZ #16289]
22971         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22972         division by 0.
22974 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22976         [BZ #16195]
22977         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22978         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22979         (STAP_PROBE0): New macro.
22980         (STAP_PROBE1): Likewise.
22981         (STAP_PROBE2): Likewise.
22982         (STAP_PROBE3): Likewise.
22983         (STAP_PROBE4): Likewise.
22985 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
22987         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22989 2013-12-02  Steve Ellcey  <sellcey@mips.com>
22991         * benchtests/Makefile (bench): Add sqrt.
22992         (LDLIBS-bench-sqrt): New.
22993         * benchtests/sqrt-input: New.
22995 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
22997         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22998         (GAIH_EAI): Likewise.
22999         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23000         (gaih_inet): Likewise.
23001         (getaddrinfo): Don't use GAIH_EAI.
23003         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23004         (struct gaih): Remove definition.
23006 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23008         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23009         Use HERRNOP directly.
23011 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23015 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
23017         * math/gen-auto-libm-tests.c (test_functions): Add more
23018         single-argument functions.
23019         (special_fill_pi_2): New function.
23020         (special_fill_minus_pi_2): Likewise.
23021         (special_fill_pi_6): Likewise.
23022         (special_fill_minus_pi_6): Likewise.
23023         (special_fill_pi_3): Likewise.
23024         (special_fill_2pi_3): Likewise.
23025         (special_fill_e): Likewise.
23026         (special_fill_1_e): Likewise.
23027         (special_fill_e_minus_1): Likewise.
23028         (special_real_inputs): Add more special inputs.
23029         (output_for_one_input_case): Do not require ERANGE on underflow to
23030         zero if round-to-nearest result does not underflow to zero, unless
23031         exact results required.
23032         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23033         atan, atanh, cbrt, cos and cosh.
23034         * math/auto-libm-test-out: Regenerated.
23035         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23036         (acos_tonearest_test_data): Likewise.
23037         (acos_towardzero_test_data): Likewise.
23038         (acos_downward_test_data): Likewise.
23039         (acos_upward_test_data): Likewise.
23040         (acosh_test_data): Likewise.
23041         (asin_test_data): Likewise.
23042         (asin_tonearest_test_data): Likewise.
23043         (asin_towardzero_test_data): Likewise.
23044         (asin_upward_test_data): Likewise.
23045         (asinh_test_data): Likewise.
23046         (atan_test_data): Likewise.
23047         (atanh_test_data): Likewise.
23048         (cbrt_test_data): Likewise.
23049         (cos_test_data): Likewise.
23050         (cos_tonearest_test_data): Likewise.
23051         (cos_towardzero_test_data): Likewise.
23052         (cos_downward_test_data): Likewise.
23053         (cos_upward_test_data): Likewise.
23054         (cosh_test_data): Likewise.
23055         (cosh_tonearest_test_data): Likewise.
23056         (cosh_towardzero_test_data): Likewise.
23057         (cosh_downward_test_data): Likewise.
23058         (cosh_upward_test_data): Likewise.
23059         * sysdeps/i386/fpu/libm-test-ulps: Update.
23060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23062 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
23064         [BZ #6787]
23065         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23066         * math/w_exp10f.c (__exp10f): Likewise.
23067         * math/w_exp10l.c (__exp10l): Likewise.
23068         * math/libm-test.inc (exp10_test_data): Add more tests and expect
23069         errno settings in existing tests.
23071         [BZ #14032]
23072         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23073         precision control set to double precision.
23074         * sysdeps/i386/fpu/w_sqrt.c: New file.
23075         * math/auto-libm-test-in: Add more tests.
23076         * math/auto-libm-test-out: Update.
23078         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23079         (sqrt_test_tonearest): New function.
23080         (sqrt_towardzero_test_data): New variable.
23081         (sqrt_test_towardzero): New function.
23082         (sqrt_downward_test_data): New variable.
23083         (sqrt_test_downward): New function.
23084         (sqrt_upward_test_data): New variable.
23085         (sqrt_test_upward): New function.
23086         (main): Call the new functions.
23088         * math/gen-auto-libm-tests.c: New file.
23089         * math/auto-libm-test-in: Likewise.
23090         * math/auto-libm-test-out: New generated file.
23091         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23092         variables.
23093         (%beautify): Add generated representations of zero.
23094         (top level): Set $auto_input and call parse_auto_input.
23095         (beautify): Remove trailing "f" from hex float constants.
23096         (parse_args): Handle XFAIL_TEST.
23097         (convert_condition): New function.
23098         (or_value): Likewise.
23099         (or_cond_value): Likewise.
23100         (generate_testfile): Handle AUTO_TESTS_* lines.
23101         (parse_auto_input): New function.
23102         * math/libm-test.inc (XFAIL_TEST): New macro.
23103         (ERRNO_UNCHANGED): Update value.
23104         (ERRNO_EDOM): Likewise.
23105         (ERRNO_ERANGE): Likewise.
23106         (IGNORE_RESULT): Likewise.
23107         (TEST_COND_flt_32): New macro.
23108         (TEST_COND_dbl_64): Likewise.
23109         (TEST_COND_ldbl_96_intel): Likewise.
23110         (TEST_COND_ldbl_96_m68k): Likewise.
23111         (TEST_COND_ldbl_128): Likewise.
23112         (TEST_COND_ldbl_128ibm): Likewise.
23113         (TEST_COND_long32): Likewise.
23114         (TEST_COND_long64): Likewise.
23115         (TEST_COND_before_rounding): Likewise.
23116         (TEST_COND_after_rounding): Likewise.
23117         (enable_test): Handle XFAIL_TEST flag.
23118         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
23119         with finite results.
23120         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
23121         auto-libm-test-out.
23123 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23124             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23126         [BZ #16214]
23127         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
23128         __tls_get_addr_internal instead of __tls_get_offset in order to
23129         avoid GOT pointer dependency.  Make rtld export
23130         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
23131         __tls_get_addr since we are a __tls_get_offset platform.
23132         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
23133         GOT pointer being set up before.
23134         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
23136 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
23138         * manual/math.texi (Errors in Math Functions): Document accuracy
23139         goals.
23141         [BZ #15004]
23142         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
23143         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
23144         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23145         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23146         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23147         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23148         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23149         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23150         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23151         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23152         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23153         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23154         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23155         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23156         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23157         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23159         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
23160         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
23161         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
23162         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
23163         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
23164         Likewise.
23165         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
23166         Likewise.
23167         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
23168         Likewise.
23169         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
23170         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
23171         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
23172         atomic-feupdateenv and flt-rounds.
23173         * sysdeps/powerpc/nofpu/Versions (libc): Add
23174         __atomic_feholdexcept, __atomic_feclearexcept,
23175         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
23176         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
23177         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
23178         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
23179         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
23180         here.
23181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23182         Update.
23184         * manual/arith.texi (FP Exceptions): Document that exceptions may
23185         not be raised when matherr is used.
23186         (Math Error Reporting): Document overflow in directed rounding
23187         modes.  Document that errno may not be set when finite values are
23188         returned on overflow.  Document intent to set errno on underflow
23189         only for underflow to zero.
23191         [BZ #16271]
23192         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
23193         round-to-nearest then adjust result for other rounding modes.
23194         * include/fenv.h (fegetround): Use libm_hidden_proto.
23195         * math/fegetround.c (fegetround): Use libm_hidden_def.
23196         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23197         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23198         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23199         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23200         Likewise.
23201         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
23202         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23203         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23204         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
23206 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23208         [BZ #16077]
23209         * nss/Versions (libnss_files): Add
23210         _nss_files_gethostbyname3_r.
23211         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
23212         New function.
23213         (HOST_DB_LOOKUP): Remove macro.
23214         (_nss_files_gethostbyname_r): Implement function without the
23215         HOST_DB_LOOKUP macro.
23216         (_nss_files_gethostbyname2_r): Likewise.
23218 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
23220         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23222 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
23224         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23225         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23226         warning.
23228 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23230         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23231         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23232         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23233         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23234         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23235         __fe_nomask_env_priv and attribute_hidden.
23236         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23237         (libc_feupdateenv_test_ppc): Likewise.
23238         (libc_feresetround_ppc): Likewise.
23239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23240         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23241         compat_symbol macro.
23242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23243         (__fe_nomask_env): Likewise.
23244         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23246 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23248         * string/Makefile: Remove ifunc tests.
23249         * string/test-string.h: Define TEST_IFUNC.
23250         * string/test-bcopy-ifunc.c: Remove.
23251         * string/test-bzero-ifunc.c: Likewise.
23252         * string/test-memccpy-ifunc.c: Likewise.
23253         * string/test-memchr-ifunc.c: Likewise.
23254         * string/test-memcmp-ifunc.c: Likewise.
23255         * string/test-memcpy-ifunc.c: Likewise.
23256         * string/test-memmem-ifunc.c: Likewise.
23257         * string/test-memmove-ifunc.c: Likewise.
23258         * string/test-mempcpy-ifunc.c: Likewise.
23259         * string/test-memrchr-ifunc.c: Likewise.
23260         * string/test-memset-ifunc.c: Likewise.
23261         * string/test-rawmemchr-ifunc.c: Likewise.
23262         * string/test-stpcpy-ifunc.c: Likewise.
23263         * string/test-stpncpy-ifunc.c: Likewise.
23264         * string/test-strcasecmp-ifunc.c: Likewise.
23265         * string/test-strcasestr-ifunc.c: Likewise.
23266         * string/test-strcat-ifunc.c: Likewise.
23267         * string/test-strchr-ifunc.c: Likewise.
23268         * string/test-strchrnul-ifunc.c: Likewise.
23269         * string/test-strcmp-ifunc.c: Likewise.
23270         * string/test-strcpy-ifunc.c: Likewise.
23271         * string/test-strcspn-ifunc.c: Likewise.
23272         * string/test-strlen-ifunc.c: Likewise.
23273         * string/test-strncasecmp-ifunc.c: Likewise.
23274         * string/test-strncat-ifunc.c: Likewise.
23275         * string/test-strncmp-ifunc.c: Likewise.
23276         * string/test-strncpy-ifunc.c: Likewise.
23277         * string/test-strnlen-ifunc.c: Likewise.
23278         * string/test-strpbrk-ifunc.c: Likewise.
23279         * string/test-strrchr-ifunc.c: Likewise.
23280         * string/test-strspn-ifunc.c: Likewise.
23281         * string/test-strstr-ifunc.c: Likewise.
23283 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23285         * benchtests/Makefile: Remove ifunc tests.
23286         * benchtests/bench-string.h: Define TEST_IFUNC.
23287         * benchtests/bench-bcopy-ifunc.c: Remove.
23288         * benchtests/bench-bzero-ifunc.c: Likewise.
23289         * benchtests/bench-memccpy-ifunc.c: Likewise.
23290         * benchtests/bench-memchr-ifunc.c: Likewise.
23291         * benchtests/bench-memcmp-ifunc.c: Likewise.
23292         * benchtests/bench-memcpy-ifunc.c: Likewise.
23293         * benchtests/bench-memmem-ifunc.c: Likewise.
23294         * benchtests/bench-memmove-ifunc.c: Likewise.
23295         * benchtests/bench-mempcpy-ifunc.c: Likewise.
23296         * benchtests/bench-memrchr-ifunc.c: Likewise.
23297         * benchtests/bench-memset-ifunc.c: Likewise.
23298         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23299         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23300         * benchtests/bench-stpcpy-ifunc.c: Likewise.
23301         * benchtests/bench-stpncpy-ifunc.c: Likewise.
23302         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23303         * benchtests/bench-strcasestr-ifunc.c: Likewise.
23304         * benchtests/bench-strcat-ifunc.c: Likewise.
23305         * benchtests/bench-strchr-ifunc.c: Likewise.
23306         * benchtests/bench-strchrnul-ifunc.c: Likewise.
23307         * benchtests/bench-strcmp-ifunc.c: Likewise.
23308         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23309         * benchtests/bench-strcpy-ifunc.c: Likewise.
23310         * benchtests/bench-strcspn-ifunc.c: Likewise.
23311         * benchtests/bench-strlen-ifunc.c: Likewise.
23312         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23313         * benchtests/bench-strncat-ifunc.c: Likewise.
23314         * benchtests/bench-strncmp-ifunc.c: Likewise.
23315         * benchtests/bench-strncpy-ifunc.c: Likewise.
23316         * benchtests/bench-strnlen-ifunc.c: Likewise.
23317         * benchtests/bench-strpbrk-ifunc.c: Likewise.
23318         * benchtests/bench-strrchr-ifunc.c: Likewise.
23319         * benchtests/bench-strsep-ifunc.c: Likewise.
23320         * benchtests/bench-strspn-ifunc.c: Likewise.
23321         * benchtests/bench-strstr-ifunc.c: Likewise.
23323 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23325         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23327 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23329         * resolv/netdb.h: Use __glibc_reserved instead __unused.
23330         * rt/aio.h: Likewise.
23331         * sysdeps/gnu/bits/utmp.h: Likewise.
23332         * sysdeps/gnu/bits/utmpx.h: Likewise.
23333         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23334         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23335         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23336         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23337         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23338         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23339         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23340         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23341         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23342         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23343         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23344         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23345         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23347         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23348         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23349         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23350         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23351         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23352         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23353         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23354         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23355         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23356         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23357         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23358         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23359         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23360         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23361         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23362         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23363         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23364         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23365         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23366         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23367         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23368         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23369         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23370         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23371         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23372         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23373         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23374         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23376 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
23378         [BZ #16245]
23379         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23380         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23382 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
23384         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23385         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23386         Likewise.
23388 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23390         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23391         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23392         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23393         (__fesetround): Remove define.
23394         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23395         rounding and exceptions handling.
23396         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23397         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23398         (__fe_nomask_env): Likewise.
23399         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23400         __fegetround instead of fegetround.
23401         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23402         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23404 2013-11-21  Roland McGrath  <roland@hack.frob.com>
23406         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23407         it's there.
23409         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23411 2013-11-21  Meador Inge  <meadori@codesourcery.com>
23413         [BZ #11157]
23414         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23415         (encrypt_r): Likewise.
23416         * malloc/obstack.h (obstack_free): Likewise.
23417         * posix/unistd.h (encrypt): Likewise.
23419 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
23421         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23422         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23423         DL_CALL_DT_FINI() that call the functions directly.
23424         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23425         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23426         * elf/dl-fini.c: Likewise.
23428 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
23430         * malloc/hooks.c (memalign_check): Add alignment rounding.
23431         * malloc/malloc.c (_mid_memalign): New function.
23432         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23433         Implement by calling _mid_memalign.
23434         * manual/probes.texi (Memory Allocation Probes): Remove
23435         memory_valloc_retry and memory_pvalloc_retry.
23437 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23439         * locale/programs/locarchive.c (open_archive): Add const
23440         qualifier to ARCHIVEFNAME and copy default fname to
23441         DEFAULT_FNAME.
23443         [BZ #15601]
23444         * libio/tst-widetext.input: Rename Oriya to Odia.
23445         * locale/iso-639.def: Likewise.
23447         * manual/probes.texi (Mathematical Function Probes): Add
23448         documentation for sin, cos, asin and acos probes.
23449         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23450         (__sin32): Add slowasin probe.
23451         (__cos32): Add slowacos probe.
23452         (__mpsin): Add slowsin probe.
23453         (__mpcos): Add slowcos probe.
23455 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
23457         [BZ #15483]
23458         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23459         thread-local __sim_exceptions_thread and global
23460         __sim_exceptions_global.
23461         (__sim_disabled_exceptions): Change to thread-local
23462         __sim_disabled_exceptions_thread and global
23463         __sim_disabled_exceptions_global.
23464         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23465         and global __sim_round_mode_global.
23466         (__simulate_exceptions): Use thread-local floating-point state and
23467         set global state from it as needed.
23468         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23469         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23470         __sim_round_mode_thread.
23471         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23472         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23473         and global __sim_exceptions_global.
23474         (__sim_disabled_exceptions): Change to thread-local
23475         __sim_disabled_exceptions_thread and global
23476         __sim_disabled_exceptions_global.
23477         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23478         and global __sim_round_mode_global.
23479         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23480         (SIM_SET_GLOBAL): Likewise.
23481         * sysdeps/powerpc/soft-fp/sfp-machine.h
23482         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23483         __sim_round_mode_thread.
23484         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23485         __sim_disabled_exceptions_thread.
23486         (__sim_exceptions): Change to __sim_exceptions_thread.
23487         (__sim_disabled_exceptions): Change to
23488         __sim_disabled_exceptions_thread.
23489         (__sim_round_mode): Change to __sim_round_mode_thread.
23490         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23491         thread-local floating-point state and set global state from it as
23492         needed.
23493         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23494         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23495         (__sim_disabled_exceptions): Remove extern declaration.
23496         (feenableexcept): Use thread-local floating-point state and set
23497         global state from it as needed.
23498         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23499         extern declaration.
23500         (__sim_disabled_exceptions): Likewise.
23501         (__sim_round_mode): Likewise.
23502         (__fegetenv): Use thread-local floating-point state.
23503         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23504         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23505         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23506         floating-point state and set global state from it as needed.
23507         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23508         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23509         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23510         Likewise.
23511         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23512         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23513         Likewise.
23514         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23515         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23516         Use __sim_round_mode_thread.
23517         * math/test-fenv-tls.c: New file.
23518         * math/Makefile (tests): Add test-fenv-tls.
23519         ($(objpfx)test-fenv-tls): Depend on
23520         $(common-objpfx)nptl/libpthread.so.
23522 2013-11-19  Andreas Schwab  <schwab@suse.de>
23524         * locale/programs/locale.c (show_info): Decode wordarray elements.
23525         * locale/categories.def (LC_MONETARY): Add element for
23526         _NL_MONETARY_CRNCYSTR.
23527         * locale/C-monetary.c (conversion_rate): New variable.
23528         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23529         element.
23531 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
23533         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23534         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23536 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23538         * elf/Makefile (tst-auxv): New test.
23539         * elf/tst-auxv.c: New
23540         * elf/rtld.c (dl_main): Adjust AT_EXECFN
23542 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
23544         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23545         (hidden_proto): Caller changed.
23546         (hidden_tls_proto): New macro.
23547         (libc_hidden_tls_proto): Likewise.
23548         (rtld_hidden_tls_proto): Likewise.
23549         (libm_hidden_tls_proto): Likewise.
23550         (libresolv_hidden_tls_proto): Likewise.
23551         (librt_hidden_tls_proto): Likewise.
23552         (libdl_hidden_tls_proto): Likewise.
23553         (libnss_files_hidden_tls_proto): Likewise.
23554         (libnsl_hidden_tls_proto): Likewise.
23555         (libnss_nisplus_hidden_tls_proto): Likewise.
23556         (libutil_hidden_tls_proto): Likewise.
23558 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
23560         [BZ #10253]
23561         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23562         (decompose_rpath): Defer expansion to fillin_rpath.
23563         (_dl_init_paths): Pass linkmap to fillin_rpath.
23565 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23567         * benchtests/Makefile: Add strsep.
23568         * benchtests/bench-strsep.c: New file: strsep benchtest.
23569         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23571 2013-11-18  Andreas Schwab  <schwab@suse.de>
23573         * locale/programs/locale.c (show_info) [case byte]: Check for
23574         '\377' instead of '\177'.
23575         * locale/C-monetary.c (not_available): Always use "\377".
23576         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23577         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
23578         detect unavailable sign_posn locale elements.
23579         * locale/localeconv.c (__localeconv): For grouping and
23580         mon_grouping handle "\177" and "\377" like no grouping.
23581         (INT_ELEM): New macro.  Use it to set all numeric members.
23582         * locale/programs/ld-monetary.c (monetary_read)
23583         <tok_mon_grouping>: Normalize single -1 to the empty string.
23584         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23585         Likewise.
23587 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23589         [BZ #16055]
23590         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23591         when we match (nil).
23592         * stdio-common/tst-sscanf.c (struct test): Add testcase.
23594 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
23596         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23597         (NO_TEST_INLINE): Update value.
23598         (ERRNO_UNCHANGED): Likewise.
23599         (ERRNO_EDOM): Likewise.
23600         (ERRNO_ERANGE): Likewise.
23601         (IGNORE_RESULT): Likewise.
23602         (check_float_internal): Check signs of NaN results if
23603         TEST_NAN_SIGN used.
23604         (check_complex): Pass TEST_NAN_SIGN flag through to second
23605         check_float_internal call.
23606         (copysign_test_data): Add tests with quiet NaNs as second
23607         argument.  Use TEST_NAN_SIGN.
23608         (fabs_test_data): Add test of negative quiet NaN argument.  Use
23609         TEST_NAN_SIGN.
23610         (signbit_test_data): Add tests of quiet NaN argument.
23611         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23613         * math/gen-libm-test.pl (show_exceptions): Take extra argument
23614         $ignore_result.
23615         (parse_args): Handle function results specified as IGNORE.
23616         * math/libm-test.inc (IGNORE_RESULT): New macro.
23617         (check_float_internal): Do not check numerical result if flag
23618         IGNORE_RESULT set.
23619         (check_complex): Pass through IGNORE_RESULT to second
23620         check_float_internal call.
23621         (check_int): Do not check numerical result if flag IGNORE_RESULT
23622         set.
23623         (check_long): Likewise.
23624         (check_bool): Likewise.
23625         (check_longlong): Likewise.
23626         (lrint_test_data): Add tests of infinite and NaN arguments.
23627         (lrint_tonearest_test_data): Likewise.
23628         (lrint_towardzero_test_data): Likewise.
23629         (lrint_downward_test_data): Likewise.
23630         (lrint_upward_test_data): Likewise.
23631         (llrint_test_data): Likewise.
23632         (llrint_tonearest_test_data): Likewise.
23633         (llrint_towardzero_test_data): Likewise.
23634         (llrint_downward_test_data): Likewise.
23635         (llrint_upward_test_data): Likewise.
23636         (lround_test_data): Likewise.
23637         (llround_test_data): Likewise.
23639         * math/libm-test.inc (NO_TEST_INLINE): New macro.
23640         (ERRNO_UNCHANGED): Update value.
23641         (ERRNO_EDOM): Likewise.
23642         (ERRNO_ERANGE): Likewise.
23643         (NO_TEST_INLINE_FLOAT): New macro.
23644         (NO_TEST_INLINE_DOUBLE): Likewise.
23645         (enable_test): New function.
23646         (RUN_TEST_f_f): Check enable_test before running test.
23647         (RUN_TEST_2_f): Likewise.
23648         (RUN_TEST_fff_f): Likewise.
23649         (RUN_TEST_c_f): Likewise.
23650         (RUN_TEST_f_f1): Likewise.
23651         (RUN_TEST_fF_f1): Likewise.
23652         (RUN_TEST_fI_f1): Likewise.
23653         (RUN_TEST_ffI_f1): Likewise.
23654         (RUN_TEST_c_c): Likewise.
23655         (RUN_TEST_cc_c): Likewise.
23656         (RUN_TEST_f_i): Likewise.
23657         (RUN_TEST_f_i_tg): Likewise.
23658         (RUN_TEST_ff_i_tg): Likewise.
23659         (RUN_TEST_f_b): Likewise.
23660         (RUN_TEST_f_b_tg): Likewise.
23661         (RUN_TEST_f_l): Likewise.
23662         (RUN_TEST_f_L): Likewise.
23663         (RUN_TEST_fFF_11): Likewise.
23664         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23665         conditionals.
23666         (cosh_test_data): Likewise.
23667         (exp_test_data): Likewise.
23668         (expm1_test_data): Likewise.
23669         (hypot_test_data): Likewise.
23670         (pow_test_data): Likewise.
23671         (sinh_test_data): Likewise.
23672         (tanh_test_data): Likewise.
23673         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23674         flags argument.
23676         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23677         tests with quiet NaN input and output.
23678         (acosh_test_data): Likewise.
23679         (asin_test_data): Likewise.
23680         (asinh_test_data): Likewise.
23681         (atan_test_data): Likewise.
23682         (atanh_test_data): Likewise.
23683         (atan2_test_data): Likewise.
23684         (cbrt_test_data): Likewise.
23685         (cos_test_data): Likewise.
23686         (cosh_test_data): Likewise.
23687         (erf_test_data): Likewise.
23688         (erfc_test_data): Likewise.
23689         (exp_test_data): Likewise.
23690         (exp10_test_data): Likewise.
23691         (exp2_test_data): Likewise.
23692         (expm1_test_data): Likewise.
23693         (hypot_test_data): Likewise.
23694         (j0_test_data): Likewise.
23695         (j1_test_data): Likewise.
23696         (jn_test_data): Likewise.
23697         (lgamma_test_data): Likewise.
23698         (log_test_data): Likewise.
23699         (log10_test_data): Likewise.
23700         (log1p_test_data): Likewise.
23701         (log2_test_data): Likewise.
23702         (pow_test_data): Likewise.
23703         (scalb_test_data): Likewise.
23704         (sin_test_data): Likewise.
23705         (sincos_test_data): Likewise.
23706         (sinh_test_data): Likewise.
23707         (tan_test_data): Likewise.
23708         (tanh_test_data): Likewise.
23709         (tgamma_test_data): Likewise.
23710         (y0_test_data): Likewise.
23711         (y1_test_data): Likewise.
23712         (yn_test_data): Likewise.
23714         [BZ #16167]
23715         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23716         argument being NaN and avoid computations with second argument in
23717         that case.
23718         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23719         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23720         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23722 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
23724         * locale/iso-639.def: Add Chitwani Tharu (the).
23726 2013-11-14  Andreas Schwab  <schwab@suse.de>
23728         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23729         word instead of empty string.
23731 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23734         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23736         (__fe_nomask_env): Likewise.
23738 2013-11-13  Steve Ellcey  <sellcey@mips.com>
23740         * benchtests/bench-timing.h: Include time.h.
23742 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
23744         [BZ #15997]
23745         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23746         to 3.4.0 for x32.
23747         * sysdeps/unix/sysv/linux/configure: Regenerated.
23749 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
23751         [BZ #16151]
23752         * stdlib/strtod_l.c (round_and_return): Do not consider
23753         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23754         exponent one less than half the least subnormal exponent.
23755         * stdlib/test-strtod-round-data: Add more tests.
23756         * stdlib/tst-strtod-round.c (tests): Regenerated.
23758 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23760         [BZ #14143]
23761         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23762         (__fe_mask_env): Likewise.
23763         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23764         libm_hidden_proto and add function prototype.
23765         (__fe_mask_env): Add function prototype.
23766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23767         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23769         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23771         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23773 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23775         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23776         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23778 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23780         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23781         of htab_find_slot().
23783 2013-11-11  David S. Miller  <davem@davemloft.net>
23785         [BZ #16150]
23786         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23787         symbol in the non-vis3 case in static builds.
23788         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23789         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23790         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23791         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23793 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
23795         [BZ #387]
23796         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23797         it is empty.
23799 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23801         * benchtests/Makefile: Add bench-strtod.
23802         * benchtests/bench-strtod.c: New file: strtod benchtest
23804 2013-11-11  Andreas Schwab  <schwab@suse.de>
23806         [BZ #16153]
23807         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23808         terminating NUL in key length.
23810 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23812         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23813         Add artificial ODP entry for vDSO symbol for PPC64.
23814         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23815         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23817 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23819         [BZ #15374]
23820         * nss/getent.c (services_keys): Recognize services starting with digit.
23822 2013-11-06  David S. Miller  <davem@davemloft.net>
23824         [BZ #15985]
23825         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23826         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23828 2013-11-06  Will Newton  <will.newton@linaro.org>
23830         * manual/memory.texi (Malloc Examples): Remove register
23831         keyword from examples.
23833 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
23835         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23837 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
23839         [BZ #6981]
23840         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23841         depending on [__GCC_IEC_559 > 0].
23842         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23843         depending on [__GCC_IEC_559_COMPLEX > 0].
23845 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
23847         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23848         to iso-639.def.
23850 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
23852         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23854 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
23856         [BZ #16112]
23857         * malloc/malloc (malloc_info): Do not handle first bin as
23858         special case.
23860 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
23862         * locale/iso-639.def: Add Central Nahuatl (nhn).
23864 2013-11-01  Bruno Haible  <bruno@clisp.org>
23866         [BZ #7003]
23867         * manual/math.texi (BSD Random): Specify range upper bound as
23868         in POSIX.
23870 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
23872         * locale/iso-639.def: Add Meadow Mari (mhr).
23874 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
23876         [BZ #14752], [BZ #15763]
23877         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23878         Validate name.
23879         * rt/tst_shm.c: Add test for escaping directory.
23881 2013-10-31  Andreas Schwab  <schwab@suse.de>
23883         [BZ #15917]
23884         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23885         followed by 'x' as part of digit sequence.
23886         * stdio-common/tst-sscanf.c (double_tests2): New tests.
23888 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23890         [BZ #16037]
23891         * configure.ac: allow GNU Make 4.0 and greater.
23892         * configure: Regenerated.
23894 2013-10-30  Will Newton  <will.newton@linaro.org>
23896         [BZ #16038]
23897         * malloc/hooks.c (memalign_check): Limit alignment to the
23898         maximum representable power of two.
23899         * malloc/malloc.c (__libc_memalign): Likewise.
23900         * malloc/tst-memalign.c (do_test): Add test for very
23901         large alignment values.
23902         * malloc/tst-posix_memalign.c (do_test): Likewise.
23904 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23906         [BZ #11087]
23907         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23908         (munmap_chunk): Likewise.
23909         (mremap_chunk): Likewise.
23911 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23913         [BZ #15799]
23914         * stdlib/div.c (div): Remove obsolete code.
23915         * stdlib/ldiv.c (ldiv): Likewise.
23916         * stdlib/lldiv.c (lldiv): Likewise.
23918 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23920         [BZ #16071]
23921         * nss/nss_files/files-XXX.c (get_contents_ret): New
23922         enumerator.
23923         (get_contents): New function.
23924         (internal_getent): Use it.  Expand size of LINEBUFLEN.
23926 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
23928         * configure.in: Moved to ...
23929         * configure.ac: ... here. Change reference to configure.in
23930         to configure.ac.
23931         * sysdeps/arm/preconfigure.ac: ... here.
23932         configure.in to configure.ac.
23933         * sysdeps/gnu/configure.in: Moved to ...
23934         * sysdeps/gnu/configure.ac: ... here.
23935         * sysdeps/i386/configure.in: Moved to ...
23936         * sysdeps/i386/configure.ac: ... here.
23937         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23938         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23939         * sysdeps/mach/configure.in: Moved to ...
23940         * sysdeps/mach/configure.ac: ... here.
23941         * sysdeps/mach/hurd/configure.in: Moved to ...
23942         * sysdeps/mach/hurd/configure.ac: ... here.
23943         * sysdeps/powerpc/configure.in: Moved to ...
23944         * sysdeps/powerpc/configure.ac: ... here.
23945         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23946         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23947         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23948         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23949         * sysdeps/s390/s390-32/configure.in: Moved to ...
23950         * sysdeps/s390/s390-32/configure.ac: ... here.
23951         * sysdeps/s390/s390-64/configure.in: Moved to ...
23952         * sysdeps/s390/s390-64/configure.ac: ... here.
23953         * sysdeps/sh/configure.in: Moved to ...
23954         * sysdeps/sh/configure.ac: ... here.
23955         * sysdeps/sparc/configure.in: Moved to ...
23956         * sysdeps/sparc/configure.ac: ... here.
23957         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23958         * sysdeps/unix/sysv/linux/configure.ac: ... here.
23959         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23960         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23961         * sysdeps/x86_64/configure.in: Moved to ...
23962         * sysdeps/x86_64/configure.ac: ... here.
23963         * sysdeps/x86_64/preconfigure.in: Moved to ...
23964         * sysdeps/x86_64/preconfigure.ac: ... here.
23965         * aclocal.m4: Change reference to configure.in to configure.ac.
23966         * config.h.in: Likewise.
23967         * manual/install.texi: Likewise.
23968         * manual/maint.texi: Likewise.
23969         * Makefile: Likewise.
23970         * malloc/Makefile: Likewise.
23971         * nscd/Makefile: Likewise.
23972         * Makeconfig: Change reference to configure.in and
23973         preconfigure.in to configure.ac and preconfigure.ac
23974         respectively.
23975         * INSTALL: Regenerated.
23976         * configure: Likewise.
23977         * sysdeps/gnu/configure: Likewise.
23978         * sysdeps/i386/configure: Likewise.
23979         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23980         * sysdeps/mach/configure: Likewise.
23981         * sysdeps/mach/hurd/configure: Likewise.
23982         * sysdeps/powerpc/configure: Likewise.
23983         * sysdeps/powerpc/powerpc32/configure: Likewise.
23984         * sysdeps/powerpc/powerpc64/configure: Likewise.
23985         * sysdeps/s390/s390-32/configure: Likewise.
23986         * sysdeps/s390/s390-64/configure: Likewise.
23987         * sysdeps/sh/configure: Likewise.
23988         * sysdeps/sparc/configure: Likewise.
23989         * sysdeps/unix/sysv/linux/configure: Likewise.
23990         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23991         * sysdeps/x86_64/configure: Likewise.
23992         * sysdeps/x86_64/preconfigure: Likewise.
23994 2013-10-29  Andreas Schwab  <schwab@suse.de>
23996         * stdio-common/Makefile (tst-swscanf-ENV): Define.
23998 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24000         * benchtests/pow-inputs: Add new inputs.
24002         * benchtests/exp-inputs: Add new inputs.
24004         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24005         conditional check for return value.
24006         (__cos32): Likewise.
24008 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24010         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24011         to provide a boost for large inputs with word alignment.
24012         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24013         implementation based on optimized PPC64 strcpy.
24014         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24015         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24016         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24017         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24019 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24021         [BZ #2801]
24022         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24024 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24026         [BZ #14876]
24027         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24028         * time/tst-strptime.c (day_tests): Add testcase.
24030 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24032         [BZ #14029]
24033         * manual/pattern.texi: Acknowledge that fnmatch can fail.
24035 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
24037         [BZ #16074]
24038         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24039         MAP_FAILED on error.
24041 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24043         [BZ #16072]
24044         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24045         heap for large requests.
24047 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
24049         [BZ #9954]
24050         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24051         result if the result has no associated interface.
24052         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24053         interface for all 127.X.Y.Z addresses.
24055 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
24057         * locale/iso-639.def: Add Ligurian (lij)
24059 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
24061         [BZ #15825]
24062         * sunrpc/rpc_main.c: Document rpcgen -5.
24064 2013-10-19  Michael Stahl  <mstahl@redhat.com>
24066         * elf/rtld.c (do_preload): Print the reason why preloading failed.
24068 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
24070         [BZ #10278]
24071         * posix/glob.c: Match only directories when trailing slash is present.
24072         * posix/tst-gnuglob.c (my_opendir): Do not open files.
24073         (main): Add testcase.
24075 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
24077         [BZ #15670]
24078         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24080 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
24082         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24083         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24084         AUTH_DES and cindex for FIPS 140-2.
24085         (DES Encryption): Add cindex FIPS 46-3.
24087         * locale/locarchive.h (struct locarhandle): Add fname.
24088         * locale/programs/localedef.c (main): Pass ARGV[remaining]
24089         if an optional argument was specified to --list-archive,
24090         otherwise NULL.
24091         * locale/programs/locarchive.c (show_archive_content): Take new
24092         argument fname and pass it via ah.fname to open_archive.
24093         * locale/programs/localedef.h: Update decl.
24094         (open_archive): If AH->fname is non-null, open that file
24095         rather than the default file name, and don't ignore ENOENT.
24096         (create_archive): Set AH.fname to NULL.
24097         (delete_locales_from_archive): Likewise.
24098         (add_locales_to_archive): Likewise.
24099         * locale/programs/locfile.c (write_all_categories): Likewise.
24101 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
24102             Aldy Hernandez  <aldyh@redhat.com>
24104         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24105         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
24106         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
24107         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
24108         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
24109         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
24110         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
24111         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
24112         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
24113         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
24114         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
24115         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
24116         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
24117         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
24118         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
24119         Likewise.
24120         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
24121         Likewise.
24122         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
24123         Likewise.
24124         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
24125         Likewise.
24126         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
24127         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
24128         Likewise.
24129         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
24130         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
24131         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
24132         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
24133         Likewise.
24134         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
24135         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
24136         * sysdeps/powerpc/preconfigure: Likewise.
24137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
24138         Likewise.
24139         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
24140         Replace contents of file by #include of <fenv_libc.h>.
24141         * sysdeps/powerpc/soft-fp/sfp-machine.h
24142         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
24143         and <sys/prctl.h>.
24144         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
24145         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
24146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
24147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
24148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
24149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
24150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
24151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
24152         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
24153         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
24154         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
24155         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
24156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24157         Allow copysignl PLT reference to be missing.
24159 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
24160             Joseph Myers  <joseph@codesourcery.com
24162         [BZ #15948]
24163         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
24164         single character.
24165         (add_to_tablewc): Assert sequence of wide characters is nonempty.
24167 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24169         * elf/tst-tls-dlinfo.c: Don't include tls.h.
24170         * elf/tst-tls1.c: Likewise.
24171         * elf/tst-tls10.h: Likewise.
24172         * elf/tst-tls14.c: Likewise.
24173         * elf/tst-tls2.c: Likewise.
24174         * elf/tst-tls3.c: Likewise.
24175         * elf/tst-tls4.c: Likewise.
24176         * elf/tst-tls5.c: Likewise.
24177         * elf/tst-tls6.c: Likewise.
24178         * elf/tst-tls7.c: Likewise.
24179         * elf/tst-tls8.c: Likewise.
24180         * elf/tst-tls9.c: Likewise.
24181         * elf/tst-tlsmod1.c: Likewise.
24182         * elf/tst-tlsmod13.c: Likewise.
24183         * elf/tst-tlsmod13a.c: Likewise.
24184         * elf/tst-tlsmod14a.c: Likewise.
24185         * elf/tst-tlsmod16a.c: Likewise.
24186         * elf/tst-tlsmod16b.c: Likewise.
24187         * elf/tst-tlsmod2.c: Likewise.
24188         * elf/tst-tlsmod3.c: Likewise.
24189         * elf/tst-tlsmod4.c: Likewise.
24190         * elf/tst-tlsmod5.c: Likewise.
24191         * elf/tst-tlsmod6.c: Likewise.
24193 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
24195         [BZ #12486]
24196         * malloc/malloc.c: remove checks for statistics.
24198 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
24200         [BZ #15277]
24201         * inet/inet_net.c (inet_network): Detect additional invalid strings.
24202         * inet/tst-network.c: Add testcase.
24204 2013-10-17  Andreas Schwab  <schwab@suse.de>
24206         [BZ #15218]
24207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
24208         to determine canonical name.
24210 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
24212         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24213         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24214         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24215         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24216         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24217         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24218         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24219         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24220         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24221         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24222         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24223         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24224         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24225         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24226         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24227         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24228         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24229         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24230         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24231         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24232         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24233         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24234         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24235         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24236         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24237         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24238         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24239         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24240         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24241         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24242         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24243         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24244         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24245         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24246         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24247         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24248         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24249         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24250         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24251         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24252         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24253         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24254         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24255         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24256         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24257         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24258         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24259         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24260         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24261         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24262         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24263         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24264         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24265         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24266         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24267         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24268         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24269         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24271 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
24273         [BZ #16041]
24274         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24275         make result into a quiet NaN.
24277 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
24279         * soft-fp/adddf3.c: Fix horizontal whitespace.
24280         * soft-fp/addsf3.c: Likewise.
24281         * soft-fp/addtf3.c: Likewise.
24282         * soft-fp/divdf3.c: Likewise.
24283         * soft-fp/divsf3.c: Likewise.
24284         * soft-fp/divtf3.c: Likewise.
24285         * soft-fp/double.h: Likewise.
24286         * soft-fp/eqdf2.c: Likewise.
24287         * soft-fp/eqsf2.c: Likewise.
24288         * soft-fp/eqtf2.c: Likewise.
24289         * soft-fp/extenddftf2.c: Likewise.
24290         * soft-fp/extended.h: Likewise.
24291         * soft-fp/extendsfdf2.c: Likewise.
24292         * soft-fp/extendsftf2.c: Likewise.
24293         * soft-fp/extendxftf2.c: Likewise.
24294         * soft-fp/fixdfdi.c: Likewise.
24295         * soft-fp/fixdfsi.c: Likewise.
24296         * soft-fp/fixdfti.c: Likewise.
24297         * soft-fp/fixsfdi.c: Likewise.
24298         * soft-fp/fixsfsi.c: Likewise.
24299         * soft-fp/fixsfti.c: Likewise.
24300         * soft-fp/fixtfdi.c: Likewise.
24301         * soft-fp/fixtfsi.c: Likewise.
24302         * soft-fp/fixtfti.c: Likewise.
24303         * soft-fp/fixunsdfdi.c: Likewise.
24304         * soft-fp/fixunsdfsi.c: Likewise.
24305         * soft-fp/fixunsdfti.c: Likewise.
24306         * soft-fp/fixunssfdi.c: Likewise.
24307         * soft-fp/fixunssfsi.c: Likewise.
24308         * soft-fp/fixunssfti.c: Likewise.
24309         * soft-fp/fixunstfdi.c: Likewise.
24310         * soft-fp/fixunstfsi.c: Likewise.
24311         * soft-fp/fixunstfti.c: Likewise.
24312         * soft-fp/floatdidf.c: Likewise.
24313         * soft-fp/floatdisf.c: Likewise.
24314         * soft-fp/floatditf.c: Likewise.
24315         * soft-fp/floatsidf.c: Likewise.
24316         * soft-fp/floatsisf.c: Likewise.
24317         * soft-fp/floatsitf.c: Likewise.
24318         * soft-fp/floattidf.c: Likewise.
24319         * soft-fp/floattisf.c: Likewise.
24320         * soft-fp/floattitf.c: Likewise.
24321         * soft-fp/floatundidf.c: Likewise.
24322         * soft-fp/floatundisf.c: Likewise.
24323         * soft-fp/floatunditf.c: Likewise.
24324         * soft-fp/floatunsidf.c: Likewise.
24325         * soft-fp/floatunsisf.c: Likewise.
24326         * soft-fp/floatunsitf.c: Likewise.
24327         * soft-fp/floatuntidf.c: Likewise.
24328         * soft-fp/floatuntisf.c: Likewise.
24329         * soft-fp/floatuntitf.c: Likewise.
24330         * soft-fp/fmadf4.c: Likewise.
24331         * soft-fp/fmasf4.c: Likewise.
24332         * soft-fp/fmatf4.c: Likewise.
24333         * soft-fp/gedf2.c: Likewise.
24334         * soft-fp/gesf2.c: Likewise.
24335         * soft-fp/getf2.c: Likewise.
24336         * soft-fp/ledf2.c: Likewise.
24337         * soft-fp/lesf2.c: Likewise.
24338         * soft-fp/letf2.c: Likewise.
24339         * soft-fp/muldf3.c: Likewise.
24340         * soft-fp/mulsf3.c: Likewise.
24341         * soft-fp/multf3.c: Likewise.
24342         * soft-fp/negdf2.c: Likewise.
24343         * soft-fp/negsf2.c: Likewise.
24344         * soft-fp/negtf2.c: Likewise.
24345         * soft-fp/op-1.h: Likewise.
24346         * soft-fp/op-2.h: Likewise.
24347         * soft-fp/op-4.h: Likewise.
24348         * soft-fp/op-8.h: Likewise.
24349         * soft-fp/op-common.h: Likewise.
24350         * soft-fp/quad.h: Likewise.
24351         * soft-fp/single.h: Likewise.
24352         * soft-fp/soft-fp.h: Likewise.
24353         * soft-fp/sqrtdf2.c: Likewise.
24354         * soft-fp/sqrtsf2.c: Likewise.
24355         * soft-fp/sqrttf2.c: Likewise.
24356         * soft-fp/subdf3.c: Likewise.
24357         * soft-fp/subsf3.c: Likewise.
24358         * soft-fp/subtf3.c: Likewise.
24359         * soft-fp/truncdfsf2.c: Likewise.
24360         * soft-fp/trunctfdf2.c: Likewise.
24361         * soft-fp/trunctfsf2.c: Likewise.
24362         * soft-fp/trunctfxf2.c: Likewise.
24363         * soft-fp/unorddf2.c: Likewise.
24364         * soft-fp/unordsf2.c: Likewise.
24365         * soft-fp/unordtf2.c: Likewise.
24367 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
24369         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24370         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24372 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
24374         * elf/dl-libc.c: Clear initfini list after freeing.
24376 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
24378         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24379         * soft-fp/addsf3.c: Likewise.
24380         * soft-fp/addtf3.c: Likewise.
24381         * soft-fp/divdf3.c: Likewise.
24382         * soft-fp/divsf3.c: Likewise.
24383         * soft-fp/divtf3.c: Likewise.
24384         * soft-fp/double.h: Likewise.
24385         * soft-fp/eqdf2.c: Likewise.
24386         * soft-fp/eqsf2.c: Likewise.
24387         * soft-fp/eqtf2.c: Likewise.
24388         * soft-fp/extenddftf2.c: Likewise.
24389         * soft-fp/extended.h: Likewise.
24390         * soft-fp/extendsfdf2.c: Likewise.
24391         * soft-fp/extendsftf2.c: Likewise.
24392         * soft-fp/extendxftf2.c: Likewise.
24393         * soft-fp/fixdfdi.c: Likewise.
24394         * soft-fp/fixdfsi.c: Likewise.
24395         * soft-fp/fixdfti.c: Likewise.
24396         * soft-fp/fixsfdi.c: Likewise.
24397         * soft-fp/fixsfsi.c: Likewise.
24398         * soft-fp/fixsfti.c: Likewise.
24399         * soft-fp/fixtfdi.c: Likewise.
24400         * soft-fp/fixtfsi.c: Likewise.
24401         * soft-fp/fixtfti.c: Likewise.
24402         * soft-fp/fixunsdfdi.c: Likewise.
24403         * soft-fp/fixunsdfsi.c: Likewise.
24404         * soft-fp/fixunsdfti.c: Likewise.
24405         * soft-fp/fixunssfdi.c: Likewise.
24406         * soft-fp/fixunssfsi.c: Likewise.
24407         * soft-fp/fixunssfti.c: Likewise.
24408         * soft-fp/fixunstfdi.c: Likewise.
24409         * soft-fp/fixunstfsi.c: Likewise.
24410         * soft-fp/fixunstfti.c: Likewise.
24411         * soft-fp/floatdidf.c: Likewise.
24412         * soft-fp/floatdisf.c: Likewise.
24413         * soft-fp/floatditf.c: Likewise.
24414         * soft-fp/floatsidf.c: Likewise.
24415         * soft-fp/floatsisf.c: Likewise.
24416         * soft-fp/floatsitf.c: Likewise.
24417         * soft-fp/floattidf.c: Likewise.
24418         * soft-fp/floattisf.c: Likewise.
24419         * soft-fp/floattitf.c: Likewise.
24420         * soft-fp/floatundidf.c: Likewise.
24421         * soft-fp/floatundisf.c: Likewise.
24422         * soft-fp/floatunsidf.c: Likewise.
24423         * soft-fp/floatunsisf.c: Likewise.
24424         * soft-fp/floatuntidf.c: Likewise.
24425         * soft-fp/floatuntisf.c: Likewise.
24426         * soft-fp/floatuntitf.c: Likewise.
24427         * soft-fp/fmadf4.c: Likewise.
24428         * soft-fp/fmasf4.c: Likewise.
24429         * soft-fp/fmatf4.c: Likewise.
24430         * soft-fp/gedf2.c: Likewise.
24431         * soft-fp/gesf2.c: Likewise.
24432         * soft-fp/getf2.c: Likewise.
24433         * soft-fp/ledf2.c: Likewise.
24434         * soft-fp/lesf2.c: Likewise.
24435         * soft-fp/letf2.c: Likewise.
24436         * soft-fp/muldf3.c: Likewise.
24437         * soft-fp/mulsf3.c: Likewise.
24438         * soft-fp/multf3.c: Likewise.
24439         * soft-fp/negdf2.c: Likewise.
24440         * soft-fp/negsf2.c: Likewise.
24441         * soft-fp/negtf2.c: Likewise.
24442         * soft-fp/op-1.h: Likewise.
24443         * soft-fp/op-2.h: Likewise.
24444         * soft-fp/op-4.h: Likewise.
24445         * soft-fp/op-8.h: Likewise.
24446         * soft-fp/op-common.h: Likewise.
24447         * soft-fp/quad.h: Likewise.
24448         * soft-fp/single.h: Likewise.
24449         * soft-fp/soft-fp.h: Likewise.
24450         * soft-fp/sqrtdf2.c: Likewise.
24451         * soft-fp/sqrtsf2.c: Likewise.
24452         * soft-fp/sqrttf2.c: Likewise.
24453         * soft-fp/subdf3.c: Likewise.
24454         * soft-fp/subsf3.c: Likewise.
24455         * soft-fp/subtf3.c: Likewise.
24456         * soft-fp/truncdfsf2.c: Likewise.
24457         * soft-fp/trunctfdf2.c: Likewise.
24458         * soft-fp/trunctfsf2.c: Likewise.
24459         * soft-fp/trunctfxf2.c: Likewise.
24460         * soft-fp/unorddf2.c: Likewise.
24461         * soft-fp/unordsf2.c: Likewise.
24462         * soft-fp/unordtf2.c: Likewise.
24464 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
24466         [BZ #15672]
24467         * misc/error.c (error_tail): Fix possible buffer overflow.
24469 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
24471         [BZ #13028]
24472         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24473         address.
24475 2013-10-14  P. J. McDermott  <pj@pehjota.net>
24477         [BZ #832]
24478         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
24479         testing pipefail option.
24481 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
24483         * soft-fp/double.h: Indent preprocessor directives inside #if.
24484         * soft-fp/extended.h: Likewise.
24485         * soft-fp/op-2.h: Likewise.
24486         * soft-fp/op-4.h: Likewise.
24487         * soft-fp/op-common.h: Likewise.
24488         * soft-fp/quad.h: Likewise.
24489         * soft-fp/single.h: Likewise.
24490         * soft-fp/soft-fp.h: Likewise.
24492 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
24494         * iconv/iconv_prog.c: Fix typos.
24495         * stdio-common/psiginfo-data.h: Likewise.
24497 2013-10-12   Reuben Thomas <rrt@sc3d.org>
24499         [BZ #15764]
24500         * locale/setlocale.c: Fix typo.
24502 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
24504         [BZ #16036]
24505         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24506         signaling NaN arguments.
24507         * soft-fp/unordsf2.c (__unordsf2): Likewise.
24508         * soft-fp/unordtf2.c (__unordtf2): Likewise.
24510         [BZ #14910]
24511         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24512         unordered operands.
24513         * soft-fp/gesf2.c (__gesf2): Likewise.
24514         * soft-fp/getf2.c (__getf2): Likewise.
24515         * soft-fp/ledf2.c (__ledf2): Likewise.
24516         * soft-fp/lesf2.c (__lesf2): Likewise.
24517         * soft-fp/letf2.c (__letf2): Likewise.
24519         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24520         * soft-fp/eqsf2.c (__eqsf2): Likewise.
24521         * soft-fp/eqtf2.c (__eqtf2): Likewise.
24522         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24523         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24524         * soft-fp/fixdfti.c (__fixdfti): Likewise.
24525         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24526         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24527         * soft-fp/fixsfti.c (__fixsfti): Likewise.
24528         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24529         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24530         * soft-fp/fixtfti.c (__fixtfti): Likewise.
24531         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24532         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24533         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24534         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24535         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24536         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24537         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24538         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24539         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24540         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24541         * soft-fp/floatdisf.c (__floatdisf): Likewise.
24542         * soft-fp/floatsisf.c (__floatsisf): Likewise.
24543         * soft-fp/floattidf.c (__floattidf): Likewise.
24544         * soft-fp/floattisf.c (__floattisf): Likewise.
24545         * soft-fp/floattitf.c (__floattitf): Likewise.
24546         * soft-fp/floatundidf.c (__floatundidf): Likewise.
24547         * soft-fp/floatundisf.c (__floatundisf): Likewise.
24548         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24549         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24550         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24551         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24552         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24553         * soft-fp/gesf2.c (__gesf2): Likewise.
24554         * soft-fp/getf2.c (__getf2): Likewise.
24555         * soft-fp/ledf2.c (__ledf2): Likewise.
24556         * soft-fp/lesf2.c (__lesf2): Likewise.
24557         * soft-fp/letf2.c (__letf2): Likewise.
24559         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24560         Undefine and redefine.
24561         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24562         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24563         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24564         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24565         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24566         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24567         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24568         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24569         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24570         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24571         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24572         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24573         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24574         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24575         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24577         [BZ #16032]
24578         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24579         without decrementing exponent if mantissa >= that for the
24580         denominator, not >.
24581         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24582         denominator, not >.  Decrement exponent in < case instead of
24583         incrementing in >= case.
24584         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24585         without decrementing exponent if mantissa >= that for the
24586         denominator, not >.
24588         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24589         computing saturated result for unsigned overflow.
24591 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24592             Jeff Law  <law@redhat.com>
24594         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24595         (atan2Mp): Add systemtap probe marker.
24596         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24597         (__ieee754_log): Add systemtap probe marker.
24598         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24599         (atanMp): Add systemtap probe marker.
24600         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24601         (tanMp): Add systemtap probe marker.
24602         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24603         (__slowexp): Add systemtap probe marker.
24604         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24605         (__slowpow): Add systemtap probe marker.
24606         * manual/probes.texi: Document probes.
24608 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
24610         [BZ #15362]
24611         * libio/fileops.c (_IO_new_file_write): Return count of bytes
24612         written.
24613         (_IO_new_file_xsputn): Don't return EOF if nothing has been
24614         written.
24615         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24616         written to buffer but not flushed.
24617         * libio/iofwrite_u.c:  Likewise.
24618         * libio/iopadn.c:  Return bytes returned even if EOF was
24619         encountered.
24620         * libio/iowpadn.c:  Likewise.
24621         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24622         if _IO_padn does not write the whole buffer.
24623         [!COMPILE_WPRINTF] (PAD): Likewise.
24625 2013-10-10  David S. Miller  <davem@davemloft.net>
24627         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24628         directory block.
24630 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24632         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
24633         instead of FSF address.
24634         * soft-fp/fixdfti.c: Likewise.
24635         * soft-fp/fixsfti.c: Likewise.
24636         * soft-fp/fixtfti.c: Likewise.
24637         * soft-fp/fixunsdfti.c: Likewise.
24638         * soft-fp/fixunssfti.c: Likewise.
24639         * soft-fp/fixunstfti.c: Likewise.
24640         * soft-fp/floattidf.c: Likewise.
24641         * soft-fp/floattisf.c: Likewise.
24642         * soft-fp/floattitf.c: Likewise.
24643         * soft-fp/floatuntidf.c: Likewise.
24644         * soft-fp/floatuntisf.c: Likewise.
24645         * soft-fp/floatuntitf.c: Likewise.
24646         * soft-fp/trunctfxf2.c: Likewise.
24648         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
24649         * soft-fp/fixdfti.c: Likewise.
24650         * soft-fp/fixsfti.c: Likewise.
24651         * soft-fp/fixtfti.c: Likewise.
24652         * soft-fp/fixunsdfti.c: Likewise.
24653         * soft-fp/fixunssfti.c: Likewise.
24654         * soft-fp/fixunstfti.c: Likewise.
24655         * soft-fp/floattidf.c: Likewise.
24656         * soft-fp/floattisf.c: Likewise.
24657         * soft-fp/floattitf.c: Likewise.
24658         * soft-fp/floatuntidf.c: Likewise.
24659         * soft-fp/floatuntisf.c: Likewise.
24660         * soft-fp/floatuntitf.c: Likewise.
24661         * soft-fp/trunctfxf2.c: Likewise.
24663 2013-10-10  David S. Miller  <davem@davemloft.net>
24665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24667 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
24669         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24670         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24671         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24672         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24673         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24674         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24675         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24677         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24678         for NaNs before doing comparisons on argument.
24679         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24680         Likewise.
24682 2013-10-10  Will Newton  <will.newton@linaro.org>
24684         * malloc/hooks.c (memalign_check): Ensure the value of bytes
24685         passed to _int_memalign does not overflow.
24687 2013-10-10  Torvald Riegel  <triegel@redhat.com>
24689         * scripts/bench.pl: Add include-sources directive.
24690         * benchtests/README: Update documentation.
24692 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24694         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24695         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24696         instead of FP_INIT_ROUNDMODE.
24697         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24698         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24700         [BZ #16034]
24701         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
24702         copy class of input value.
24703         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
24704         not handle exceptions.
24705         * soft-fp/negsf2.c (__negsf2): Likewise.
24706         * soft-fp/negtf2.c (__negtf2): Likewise.
24707         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24709 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
24711         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24712         semicolon.  From Linux kernel.
24714 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
24716         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24718 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
24720         [BZ #156]
24721         * manual/socket.texi: Added statement about buffer
24722         for gethostbyname2_r.
24724 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
24726         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24727         Use .p2align directive instead, throughout.
24728         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24729         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24730         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24731         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24732         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24733         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24734         * sysdeps/x86_64/strchr.S: Likewise.
24735         * sysdeps/x86_64/strrchr.S: Likewise.
24737 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24739         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24741         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24743         * sysdeps/generic/math_private.h (__mpsin1): Remove
24744         declaration.
24745         (__mpcos1): Likewise.
24746         (__mpsin): New argument __range_reduce.
24747         (__mpcos): Likewise.
24748         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24749         (slow): Use __mpsin and __mpcos.
24750         (slow1): Likewise.
24751         (slow2): Likewise.
24752         (sloww): Likewise.
24753         (sloww1): Likewise.
24754         (sloww2): Likewise.
24755         (bsloww): Likewise.
24756         (bsloww1): Likewise.
24757         (bsloww2): Likewise.
24758         (cslow2): Likewise.
24759         (csloww): Likewise.
24760         (csloww1): Likewise.
24761         (csloww2): Likewise.
24762         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24763         range_reduce.  Merge in __mpsin1.
24764         (__mpcos): Likewise.
24765         (__mpsin1): Remove.
24766         (__mpcos1): Likewise.
24768 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
24770         * locale/loadlocale.c (_nl_intern_locale_data): Use
24771         LOCFILE_ALIGNED_P.
24772         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24773         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24774         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24775         obstack data is appropriately aligned.
24776         (obstack_int32_grow_fast): Likewise.
24777         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24778         * locale/programs/locfile.c (add_locale_uint32): Likewise.
24779         (add_locale_uint32_array): Likewise.
24781 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24783         * benchtests/Makefile: Remove ARGLIST and RET variables.
24784         ($(objpfx)bench-%.c): Pass only function name to the script.
24785         * benchtests/README: Update documentation.
24786         * benchtests/acos-inputs: Add new directives.
24787         * benchtests/acosh-inputs: Likewise.
24788         * benchtests/asin-inputs: Likewise.
24789         * benchtests/asinh-inputs: Likewise.
24790         * benchtests/atan-inputs: Likewise.
24791         * benchtests/atanh-inputs: Likewise.
24792         * benchtests/cos-inputs: Likewise.
24793         * benchtests/cosh-inputs: Likewise.
24794         * benchtests/exp-inputs: Likewise.
24795         * benchtests/log-inputs: Likewise.
24796         * benchtests/pow-inputs: Likewise.
24797         * benchtests/rint-inputs: Likewise.
24798         * benchtests/sin-inputs: Likewise.
24799         * benchtests/sinh-inputs: Likewise.
24800         * benchtests/tan-inputs: Likewise.
24801         * benchtests/tanh-inputs: Likewise.
24802         * scripts/bench.pl: Add support for new directives.
24804 2013-10-07  Alan Modra  <amodra@gmail.com>
24806         * README: Fix careless merge.
24808 2013-10-05  Alan Modra  <amodra@gmail.com>
24810         * NEWS: Mention powerpc64le support and bugs fixed.
24811         * README: Both big-endian and little-endian powerpc64 supported.
24813 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24815         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24816         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24817         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24818         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24820 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
24822         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24823         match prototype.
24825 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
24827         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24828         Move -mhard-float appending from
24829         ports/sysdeps/powerpc/powerpc32/Makefile.
24830         [$(with-fp) = yes] (ASFLAGS): Likewise.
24831         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24832         * sysdeps/powerpc/nofpu: Move directory from
24833         ports/sysdeps/powerpc/nofpu.
24834         * sysdeps/powerpc/soft-fp: Move directory from
24835         ports/sysdeps/powerpc/soft-fp.
24836         * sysdeps/powerpc/powerpc32/405: Move directory from
24837         ports/sysdeps/powerpc/powerpc32/405.
24838         * sysdeps/powerpc/powerpc32/440: Move directory from
24839         ports/sysdeps/powerpc/powerpc32/440.
24840         * sysdeps/powerpc/powerpc32/464: Move directory from
24841         ports/sysdeps/powerpc/powerpc32/464.
24842         * sysdeps/powerpc/powerpc32/476: Move directory from
24843         ports/sysdeps/powerpc/powerpc32/476.
24844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24845         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24847         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24849         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24851         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24853         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24854         * README: Update for powerpc-*-linux-gnu software floating point
24855         support in libc.
24857         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24858         case to powerpc/powerpc32*.
24859         * sysdeps/unix/sysv/linux/configure: Regenerated.
24861         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24862         (_FPU_MASK_OM): Define as 0x04.
24863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24865         0x00c10080.
24866         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24867         0x0000003c.
24868         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24871         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24872         getcontext_e500.
24873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24874         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24875         setcontext_e500.
24876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24877         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24878         and setcontext_e500.
24880 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
24882         * locale/iso-3166.def: Update iso-1366.def and related occurrences
24884 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24886         * manual/threads.texi (Default Thread Attributes): Fix typo.
24888 2013-10-04  Will Newton  <will.newton@linaro.org>
24890         * malloc/Makefile: Add tst-memalign.
24891         * malloc/tst-memalign.c: New file.
24893         * malloc/tst-posix_memalign.c: Add comments.
24894         (do_test): Add comments and call free on all potentially
24895         allocated pointers. Add space after cast.
24897         * malloc/tst-pvalloc.c: Add comments.
24898         (do_test): Add comments and call free on all potentially
24899         allocated pointers. Remove duplicate check for NULL pointer.
24900         Add space after cast.
24902         * malloc/tst-valloc.c: Add comments.
24903         (do_test): Add comments and call free on all potentially
24904         allocated pointers. Remove duplicate check for NULL pointer.
24905         Add space after cast.
24907 2013-10-04  Alan Modra  <amodra@gmail.com>
24909         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24910         Use stdint types in rather than __attribute__((mode())).
24911         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24913 2013-10-04  Alan Modra  <amodra@gmail.com>
24915         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24916         Correct handling of unaligned relocs for little-endian.
24917         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24919 2013-10-04  Alan Modra  <amodra@gmail.com>
24921         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24922         * configure: Regenerate.
24923         * nptl/shlib-versions: Powerpc*le starts at 2.18.
24924         * shlib-versions: Likewise.
24926 2013-10-04  Alan Modra  <amodra@gmail.com>
24928         * string/tester.c (test_memrchr): Increment reported test cycle.
24930 2013-10-04  Alan Modra  <amodra@gmail.com>
24932         * string/test-memcpy.c (do_one_test): When reporting errors, print
24933         string address and don't overrun end of string.
24935 2013-10-04  Alan Modra  <amodra@gmail.com>
24937         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24938         insrdi.  Make better use of reg selection to speed exit slightly.
24939         Schedule entry path a little better.  Remove useless "are we done"
24940         checks on entry to main loop.  Handle wrapping around zero address.
24941         Correct main loop count.  Handle single left-over word from main
24942         loop inline rather than by using loop_small.  Remove extra word
24943         case in loop_small caused by wrong loop count.  Add little-endian
24944         support.
24945         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24946         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
24947         cache hint.
24948         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24949         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24950         support.  Avoid rlwimi.
24951         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24953 2013-10-04  Alan Modra  <amodra@gmail.com>
24955         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24956         insrdi.  Formatting.
24957         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24958         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24959         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24960         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24961         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24962         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24964 2013-10-04  Alan Modra  <amodra@gmail.com>
24966         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24967         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24968         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24969         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24970         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24971         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24972         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24973         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24974         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
24975         use of regs.  Use power7 mtocrf.  Tidy function tails.
24977 2013-10-04  Alan Modra  <amodra@gmail.com>
24979         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24980         Formatting.  Consistently use rXXX register defines or rN defines.
24981         Use early exit labels that avoid restoring unused non-volatile regs.
24982         Make cr field use more consistent with rWORDn compares.  Rename
24983         regs used as shift registers for unaligned loop, using rN defines
24984         for short lifetime/multiple use regs.
24985         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24986         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
24987         addi 1,1,64 to pop stack frame.  Simplify return value code.
24988         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24990 2013-10-04  Alan Modra  <amodra@gmail.com>
24992         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24993         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
24994         rather than rlwimi.
24995         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24996         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24997         little-endian support.  Correct typos.
24998         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
24999         rather than rlwimi.
25000         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
25001         in loop and entry code to keep "and." results.
25002         (strchr): Add little-endian support.  Comment.  Move cntlzd
25003         earlier in tail.
25004         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25006 2013-10-04  Alan Modra  <amodra@gmail.com>
25008         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25009         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25010         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25011         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25013 2013-10-04  Alan Modra  <amodra@gmail.com>
25015         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25016         (rTMP): Define as r11.
25017         (strcmp): Add little-endian support.  Optimise tail.
25018         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25019         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25020         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25021         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25022         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25023         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25024         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25026 2013-10-04  Alan Modra  <amodra@gmail.com>
25028         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25029         little-endian support.  Remove unnecessary "are we done" tests.
25030         Handle "s" wrapping around zero and extremely large "size".
25031         Correct main loop count.  Handle single left-over word from main
25032         loop inline rather than by using small_loop.  Correct comments.
25033         Delete "zero" tail, use "end_max" instead.
25034         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25036 2013-10-04  Alan Modra  <amodra@gmail.com>
25038         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25039         support.  Don't branch over align.
25040         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25041         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25042         support.  Rearrange tmp reg use to suit.  Comment.
25043         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25045 2013-10-04  Alan Modra  <amodra@gmail.com>
25047         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25049 2013-10-04  Alan Modra  <amodra@gmail.com>
25051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25052         conditional form of branch and link when obtaining pc.
25053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25055 2013-10-04  Alan Modra  <amodra@gmail.com>
25057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25058         HIWORD/LOWORD.
25059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25062 2013-10-04  Alan Modra  <amodra@gmail.com>
25064         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25065         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25066         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25067         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25068         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25069         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25070         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25071         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25072         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25073         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25075 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25076             Alistair Popple <alistair@ozlabs.au.ibm.com>
25077             Alan Modra <amodra@gmail.com>
25079         [BZ #15723]
25080         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25081         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25082         _dl_hwcap access for little-endian.
25083         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
25084         destroy vmx regs when saving unaligned.
25085         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25086         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
25087         destroy vmx regs when saving unaligned.
25089 2013-10-04  Alan Modra  <amodra@gmail.com>
25091         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25092         Don't use a union to pack hi/low value.
25094 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25096         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25097         for little-endian.
25098         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25099         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25100         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25101         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25102         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25104 2013-10-04  Alan Modra  <amodra@gmail.com>
25106         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
25107         constants to usual value for .cst8 section, and remove redundant
25108         high address load.
25109         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
25110         constant for 0x1p52.  Load little-endian words of double from
25111         correct stack offsets.
25113 2013-10-04  Alan Modra  <amodra@gmail.com>
25115         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
25116         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
25117         words of double from correct stack offsets.
25118         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25119         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
25120         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25121         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25122         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25123         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25124         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25125         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25126         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25127         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25128         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25129         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25130         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25131         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25132         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25133         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
25134         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25136 2013-10-04  Alan Modra  <amodra@gmail.com>
25138         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
25139         64-bit int/double union.
25140         (_FPU_SETCW): Likewise.
25141         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
25142         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
25144 2013-10-04  Alan Modra  <amodra@gmail.com>
25146         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
25147         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
25149 2013-10-04  Alan Modra  <amodra@gmail.com>
25151         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
25152         use vector int constants.
25153         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
25155 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25157         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
25158         array with long long.
25159         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
25160         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
25161         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
25162         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
25163         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
25164         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
25165         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
25166         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
25167         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
25168         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
25169         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
25170         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
25171         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
25173 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25175         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
25176         (__signbit): Likewise.  Correct for little-endian.
25177         (__signbitl): Call __signbit.
25178         (lrint): Correct for little-endian.
25179         (lrintf): Call lrint.
25181 2013-10-04  Alan Modra  <amodra@gmail.com>
25183         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
25184         union 32-bit int array member with 64-bit int array.
25185         (t515, tm256): Double rather than long double.
25186         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
25188 2013-10-04  Alan Modra  <amodra@gmail.com>
25190         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
25191         Delete.
25192         (IEEE854_LONG_DOUBLE_BIAS): Delete.
25193         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
25194         version of math_ldbl.h.
25196 2013-10-04  Alan Modra  <amodra@gmail.com>
25198         [BZ #15734], [BZ #15735]
25199         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
25200         all uses of ieee875 long double macros and unions.  Simplify test
25201         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
25202         ldbl_extract_mantissa value for ix,iy exponents.  Properly
25203         normalize after ldbl_extract_mantissa, and don't add hidden bit
25204         already handled.  Don't treat low word of ieee854 mantissa like
25205         low word of IBM long double and mask off bit when testing for
25206         zero.
25207         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
25208         all uses of ieee875 long double macros and unions.  Simplify tests
25209         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
25210         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
25211         two1022, instead use their values.  Recognise that tests for large
25212         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
25213         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25214         Rewrite all uses of ieee875 long double macros and unions.  Simplify
25215         test for 0.0L and nan.  Correct negation.
25216         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25217         ieee875 long double macros and unions.  Correct output for large
25218         magnitude x.  Correct absolute value calculation.
25219         (__erfcl): Likewise.
25220         * math/libm-test.inc: Add tests for errors discovered in IBM long
25221         double versions of fmodl, remainderl, erfl and erfcl.
25223 2013-10-04  Alan Modra  <amodra@gmail.com>
25225         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25226         all uses of ieee854 long double macros and unions.  Simplify tests
25227         for long doubles that are fully specified by the high double.
25228         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25229         Likewise.
25230         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25231         Remove dead code too.
25232         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25233         (__ieee754_ynl): Likewise.
25234         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25235         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25236         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25237         Remove dead code too.
25238         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25239         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25240         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25241         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25242         Simplify.
25243         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25244         Simplify.
25245         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25246         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25247         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25248         Comment on variable precision.
25249         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25250         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25251         Likewise.
25252         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25253         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25254         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25255         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25256         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25258 2013-10-04  Alan Modra  <amodra@gmail.com>
25260         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25261         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25262         all uses of ieee854 long double macros and unions.
25263         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25264         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25265         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25266         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25267         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25268         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25269         Likewise.
25270         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25271         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25272         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25273         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25274         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25275         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25276         Simplify sign and nan test too.
25277         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25278         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25279         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25280         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25281         Likewise.
25282         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25283         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25284         Likewise.
25285         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25286         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25287         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25288         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25289         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25290         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25292 2013-10-04  Alan Modra  <amodra@gmail.com>
25294         * stdio-common/printf_size.c (__printf_size): Don't use
25295         union ieee854_long_double in fpnum union.
25296         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
25297         signbit macro to retrieve sign from long double.
25298         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25299         retrieve sign from long double.
25300         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25301         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25302         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25303         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25304         * math/test-misc.c (main): Don't use union ieee854_long_double.
25306 2013-10-04  Alan Modra  <amodra@gmail.com>
25308         [BZ #15680]
25309         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25310         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25311         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25312         calculation.  Remove unnecessary test for denormal exponent.
25313         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25314         Correct handling of denormals.  Avoid undefined shift behaviour.
25315         Correct normalisation of low mantissa when low double is denormal.
25316         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25317         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
25318         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25319         Correct normalisation of low mantissa.  Test for overflow of high
25320         mantissa and normalise.
25321         (ldbl_nearbyint): Use more readable constant for two52.
25322         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25323         (__mpn_construct_long_double): Fix test for overflow of high
25324         mantissa and correct normalisation.  Avoid undefined shift.
25326 2013-10-04  Alan Modra  <amodra@gmail.com>
25328         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25329         (union ibm_extended_long_double): Define as an array of ieee754_double.
25330         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25331         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25332         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25333         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25334         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25335         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25336         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25337         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25338         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25339         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25340         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25342 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
25344         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25345         page size instead of calling getpagesize.
25347         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25348         (LOCFILE_ALIGN_MASK): Likewise.
25349         (LOCFILE_ALIGN_UP): Likewise.
25350         (LOCFILE_ALIGNED_P): Likewise.
25351         * locale/programs/ld-collate.c (collate_output): Use the new
25352         macros instead of __alignof__ (int32_t).
25353         * locale/weight.h (findidx): Likewise.
25355 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
25357         [BZ #431]
25358         * manual/string.texi: Fix strncat and wcsncat.
25360 2013-10-03  Brooks Moses  <bmoses@google.com>
25362         [BZ #15915]
25363         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25364         * Makerules: ...here, and adjust associated comments.
25366 2013-10-02  Will Newton  <will.newton@linaro.org>
25368         * malloc/Makefile: Add tst-pvalloc.
25369         * malloc/tst-pvalloc.c: New file.
25371 2013-10-02  Will Newton  <will.newton@linaro.org>
25373         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25374         improve test coverage.
25376 2013-10-02  Will Newton  <will.newton@linaro.org>
25378         * malloc/Makefile: Add tst-posix_memalign.
25379         * malloc/tst-posix_memalign.c: New file.
25381 2013-10-01  Eric Blake  <eblake@redhat.com>
25383         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25384         Use __THROWNL rather than __THROW on static functions.
25386 2013-09-30  Petr Machata  <pmachata@redhat.com>
25388         * elf/elf.h (R_AARCH64_ABS16): New macro.
25389         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25390         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25391         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25392         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25393         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25394         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25395         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25396         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25397         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25398         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25399         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25400         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25401         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25402         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25403         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25404         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25405         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25406         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25407         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25408         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25409         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25410         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25411         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25412         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25413         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25414         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25415         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25416         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25417         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25418         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25419         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25420         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25421         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25422         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25423         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25424         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25425         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25426         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25427         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25428         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25429         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25430         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25431         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25432         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25433         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25434         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25435         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25436         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25437         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25438         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25439         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25440         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25441         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25442         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25443         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25444         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25445         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25446         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25447         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25448         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25449         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25450         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25451         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25452         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25453         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25454         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25455         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25456         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25457         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25458         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25459         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25460         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25461         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25462         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25463         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25464         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25465         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25466         (R_AARCH64_TLSDESC_LDR): Likewise.
25467         (R_AARCH64_TLSDESC_ADD): Likewise.
25468         (R_AARCH64_TLSDESC_CALL): Likewise.
25470 2013-09-30  Andreas Schwab  <schwab@suse.de>
25472         [BZ #15048]
25473         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25474         the nss database lookup.
25475         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25476         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25478 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
25480         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25482 2013-09-28  P. J. McDermott  <pj@pehjota.net>
25484         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25485         ${Bash-specific parameter/pattern/string} parameter expansion.
25486         * sysdeps/unix/make-syscalls.sh: Likewise.
25488 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25490         * sysdeps/sh/stackguard-macros.h: New file.
25492 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
25494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25495         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25496         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25497         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25498         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25499         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25501 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25503         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25504         Fix thread ID register.
25506 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
25508         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25509         [POSIX || UNIX98]: Require rather than permitting all symbols from
25510         <time.h>.
25511         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25512         element of struct sched_param.
25513         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25514         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25515         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25516         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25517         constant.
25519 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
25521         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25522         argument calculation.
25524 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
25526         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25527         Expect macro.
25528         [POSIX] (pthread_attr_t): Do not require type.
25529         [POSIX] (pthread_cond_t): Likewise.
25530         [POSIX] (pthread_condattr_t): Likewise.
25531         [POSIX] (pthread_key_t): Likewise.
25532         [POSIX] (pthread_mutex_t): Likewise.
25533         [POSIX] (pthread_mutexattr_t): Likewise.
25534         [POSIX] (pthread_once_t): Likewise.
25535         [POSIX] (pthread_t): Likewise.
25536         [POSIX-based standards] (pthread_atfork): Expect function.
25538 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
25539             Richard Sandiford  <richard@codesourcery.com>
25541         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25542         (swap_endianness_p): New extern variable.
25543         (set_big_endian): New inline function.
25544         (maybe_swap_uint32): Likewise.
25545         (maybe_swap_uint32_array): Likewise.
25546         (maybe_swap_uint32_obstack): Likewise.
25547         * locale/programs/locfile.c: Include <stdbool.h>.
25548         (swap_endianness_p): New variable.
25549         (add_locale_uint32): Call maybe_swap_uint32.
25550         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25551         (write_locale_data): Call maybe_swap_uint32_array.
25552         * locale/programs/ld-collate.c (obstack_int32_grow): Call
25553         maybe_swap_uint32.
25554         (obstack_int32_grow_fast): Likewise.
25555         (output_weightwc): Call maybe_swap_uint32_obstack.
25556         (collate_output): Likewise.
25557         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25558         (OPT_LITTLE_ENDIAN): Likewise.
25559         (options): Add --little-endian and --big-endian options.
25560         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25561         * locale/programs/locarchive.c: Include "locfile.h".
25562         (GET): New macro.
25563         (SET): Likewise.
25564         (INC): Likewise.
25565         (create_archive): Use the new macros to access fields of
25566         structures directly mapped from or written to locale archives.
25567         (oldlocrecentcmp): Likewise.
25568         (enlarge_archive): Likewise.
25569         (insert_name): Likewise.
25570         (add_alias): Likewise.
25571         (add_locale): Likewise.
25572         (delete_locales_from_archive): Likewise.
25573         (show_archive_content): Likewise.
25574         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
25575         locale data.
25577 2013-09-24  Roland McGrath  <roland@hack.frob.com>
25579         * manual/freemanuals.texi: Updated from (newly) canonical copy at
25580         http://www.gnu.org/doc/freemanuals.texi.
25581         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25583 2013-09-24  Will Newton  <will.newton@linaro.org>
25585         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25586         macro.
25588 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
25590         * locale/hashval.h (compute_hashval): Interpret bytes of key as
25591         unsigned char.
25593 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
25595         * manual/threads.texi (POSIX Threads): Fix a typo.
25597 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25599         [BZ #14547]
25600         * string/tst-strcoll-overflow.c: New test case.
25601         * string/Makefile (xtests): Add tst-strcoll-overflow.
25602         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25603         cache if string sizes may cause integer overflow.
25605         [BZ #14547]
25606         * string/strcoll_l.c (coll_seq): New members rule, idx,
25607         save_idx and back_us.
25608         (get_next_seq_nocache): New function.
25609         (do_compare_nocache): New function.
25610         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25611         when malloc fails.
25613 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
25615         [BZ #15754]
25616         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25617         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25618         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25620         [BZ #15754]
25621         * elf/Makefile (tests): Add tst-ptrguard1.
25622         (tests-static): Add tst-ptrguard1-static.
25623         (tst-ptrguard1-ARGS): Define.
25624         (tst-ptrguard1-static-ARGS): Define.
25625         * elf/tst-ptrguard1.c: New file.
25626         * elf/tst-ptrguard1-static.c: New file.
25627         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25628         * sysdeps/i386/stackguard-macros.h: Likewise.
25629         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25630         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25631         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25632         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25633         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25634         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25636 2013-09-23  Hector Marco  <hecmargi@upv.es>
25637             Ismael Ripoll  <iripoll@disca.upv.es>
25638             Carlos O'Donell  <carlos@redhat.com>
25640         [BZ #15754]
25641         * sysdeps/generic/stackguard-macros.h: Define
25642         __pointer_chk_guard_local and POINTER_CHK_GUARD.
25643         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25644         Define __pointer_chk_guard_local.
25645         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25646         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25648 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
25650         [BZ #15859]
25651         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25653 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
25655         * include/string.h (__ffs): Declare as hidden.
25656         * string/ffs.c (__ffs): Define as hidden.
25657         * sysdeps/i386/ffs.c (__ffs): Likewise.
25658         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25659         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25660         * sysdeps/s390/ffs.c (__ffs): Likewise.
25661         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25663 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
25665         * NEWS: Mention malloc probes.
25667         * malloc/arena.c (new_heap): New memory_heap_new probe.
25668         (grow_heap): New memory_heap_more probe.
25669         (shrink_heap): New memory_heap_less probe.
25670         (heap_trim): New memory_heap_free probe.
25671         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25672         (systrim): New memory_sbrk_less probe.
25673         * manual/probes.texi: Document them.
25675         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25676         * manual/probes.texi: Document it.
25678         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25679         (__libc_realloc): Add memory_realloc_retry probe.
25680         (__libc_memalign): Add memory_memalign_retry probe.
25681         (__libc_valloc): Add memory_valloc_retry probe.
25682         (__libc_pvalloc): Add memory_pvalloc_retry probe.
25683         (__libc_calloc): Add memory_calloc_retry probe.
25684         * manual/probes.texi: Document them.
25686         * malloc/arena.c (get_free_list): Add probe
25687         memory_arena_reuse_free_list.
25688         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25689         and memory_arena_reuse.
25690         (arena_get2) [!PER_THREAD]: Likewise.
25691         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25692         memory_arena_reuse_realloc.
25693         * manual/probes.texi: Document them.
25695         * malloc/malloc.c (__libc_free): Add
25696         memory_mallopt_free_dyn_thresholds probe.
25697         (__libc_mallopt): Add multiple memory_mallopt probes.
25698         * manual/probes.texi: Document them.
25700         * malloc/malloc.c: Include stap-probe.h.
25701         (__libc_mallopt): Add memory_mallopt probe.
25702         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25703         * manual/probes.texi: New.
25704         * manual/Makefile (chapters): Add probes.
25705         * manual/threads.texi: Set next node.
25707 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
25709         [BZ #15963, #13985]
25710         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25711         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25712         Add `Chinese' to `nan' entry name.
25714 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25716         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25717         (POLYNOMIAL): Likewise.
25718         (TAYLOR_SINCOS): Likewise.
25719         (TAYLOR_SLOW): Likewise.
25720         (__sin): Use TAYLOR_SINCOS.
25721         (__cos): Likewise.
25722         (slow): Use TAYLOR_SLOW.
25723         (sloww): Likewise.
25724         (bsloww): Likewise.
25725         (csloww): Likewise.
25727 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25729         * stdlib/strtod_l.c: Fix buffer overrun.
25731 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25733         * benchtests/Makefile (bench): Add sincos.
25734         * benchtests/bench-sincos.c: New file.
25736         * math/libm-test.inc (cos_test_data): New test inputs.
25737         (sin_test_data): Likewise.
25739         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25740         macro.
25741         (__sin): Use it.
25742         (__cos): Likewise.
25743         (slow1): Likewise.
25744         (slow2): Likewise.
25745         (sloww1): Likewise.
25746         (sloww2): Likewise.
25747         (bsloww1): Likewise.
25748         (bsloww2): Likewise.
25749         (cslow2): Likewise.
25750         (csloww1): Likewise.
25751         (csloww2): Likewise.
25753         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25754         function.
25755         (__sin): Use it.
25756         (__cos): Likewise.
25758         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25759         gotos.
25760         (__cos): Likewise.
25762 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
25764         * config.h.in (HAVE_MIPS_NAN2008): New macro.
25765         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25766         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25767         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25768         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25769         * elf/cache.c (print_entry): Handle the new cache flags.
25771 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25772             Aldy Hernandez  <aldyh@redhat.com>
25774         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25775         Change condition to [_SOFT_FLOAT].
25776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25788         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25789         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25790         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25791         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25792         declaration.
25794 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25796         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25797         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25798         (__longjmp): Use LOAD_GP to load saved GPRs.
25799         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25800         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25801         (__sigsetjmp): Use SAVE_GP to save GPRs.
25803         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25804         Do not append -msoft-float.
25805         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25807 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25809         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25811 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
25813         [BZ #15966]
25814         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25815         (_FPU_GETCW): Use initial "__" on variable and field names but not
25816         on macro parameter name.
25817         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
25818         parentheses around reference to macro parameter.
25820 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
25822         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25823         prototype.
25824         (ctype_startup): Use uint32_t in cast and sizeof for
25825         ctype->charnames.
25827 2013-09-11  Jia Liu  <proljc@gmail.com>
25829         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25830         __daddr_t_defined.
25831         [__FreeBSD__]: Likewise.
25833 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
25835         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25836         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25837         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25838         (strchr): Remove __strchr_sse42 ifunc selection.
25839         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25840         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25842 2013-09-11  Will Newton  <will.newton@linaro.org>
25844         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25845         parameter to RES. Remove hardcoded 1000 value.
25846         * benchtests/bench-skeleton.c (main): Pass RES parameter
25847         to TIMING_INIT and multiply result by 1000.
25849 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25853 2013-09-11  Andreas Schwab  <schwab@suse.de>
25855         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25856         if not defined.
25857         (O_TMPFILE) [__USE_GNU]: Define.
25858         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25859         Define.
25861 2013-09-11  Will Newton  <will.newton@linaro.org>
25863         [BZ #15857]
25864         * malloc/malloc.c (__libc_memalign): Check the value of bytes
25865         does not overflow.
25867 2013-09-11  Will Newton  <will.newton@linaro.org>
25869         [BZ #15856]
25870         * malloc/malloc.c (__libc_valloc): Check the value of bytes
25871         does not overflow.
25873 2013-09-11  Will Newton  <will.newton@linaro.org>
25875         [BZ #15855]
25876         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25877         does not overflow.
25879 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
25881         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25882         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25883         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25884         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25885         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25887 2013-09-10  Allan McRae  <allan@archlinux.org>
25889         [BZ #15748]
25890         * manual/arith.texi (Parsing of Floats): Clarify
25891         cross-reference.
25893         [BZ #15849]
25894         * manual/install.texi (Running make install): Mention
25895         --enable-pt-chown.
25896         * INSTALL: Regenerated.
25898 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
25900         * csu/init-first.c (_init): Remove the !SHARED condition around
25901         FPU control word initialization.
25902         * elf/dl-support.c (_dl_fpu_control): New variable.
25903         (_dl_aux_init) <AT_FPUCW>: Initialize it.
25904         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25905         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25906         * math/test-fpucw-static.c: New file.
25907         * math/test-fpucw-ieee.c: New file.
25908         * math/test-fpucw-ieee-static.c: New file.
25909         * math/Makefile (tests): Add `test-fpucw-ieee' and
25910         `$(tests-static)'.
25911         (tests-static): New variable.
25912         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25913         dependency to...
25914         [($(build-shared),yes)]
25915         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25916         ... this.
25917         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25918         New dependency.
25920 2013-09-09  Allan McRae  <allan@archlinux.org>
25922         [BZ #15939]
25923         * manual/string.texi (Collation Functions): Fix typo in
25924         strcoll example.
25925         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25927         [BZ #15893]
25928         * stdlib/isomac.c (get_null_defines): Fix memory leak.
25930         [BZ #15892]
25931         * libio/memstream.c (open_memstream): Fix memory leak.
25932         * libio/wmemstream.c (open_wmemstream): Likewise.
25934         [BZ #15895]
25935         * nscd/netgroupcache.c: Fix nesting of ifdefs.
25937 2013-09-09  Will Newton  <will.newton@linaro.org>
25939         * malloc/Makefile: Add tst-realloc to tests.
25940         * malloc/tst-realloc.c: New file.
25942 2013-09-09  Allan McRae  <allan@archlinux.org>
25944         [BZ #15844]
25945         * COPYING: Update from GNU website to fix FSF address.
25946         * COPYING.LIB: Likewise.
25948 2013-09-06  David S. Miller  <davem@davemloft.net>
25950         * po/zh_TW.po: Update Chinese (traditional) translation from
25951         translation project.
25953 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
25954             Joseph Myers  <joseph@codesourcery.com>
25956         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25957         "localeinfo.h".
25958         (obstack_chunk_alloc): New macro.
25959         (obstack_chunk_free): Likewise.
25960         (record_offset): New function.
25961         (init_locale_data): Likewise.
25962         (align_locale_data): Likewise.
25963         (add_locale_empty): Likewise.
25964         (add_locale_raw_data): Likewise.
25965         (add_locale_raw_obstack): Likewise.
25966         (add_locale_string): Likewise.
25967         (add_locale_wstring): Likewise.
25968         (add_locale_uint32): Likewise.
25969         (add_locale_uint32_array): Likewise.
25970         (add_locale_char): Likewise.
25971         (start_locale_structure): Likewise.
25972         (end_locale_structure): Likewise.
25973         (start_locale_prelude): Likewise.
25974         (end_locale_prelude): Likewise.
25975         (write_locale_data): Take locale_file structure rather than an
25976         iovec.
25977         * locale/programs/locfile.h: Include "obstack.h".
25978         (struct locale_file): Change to store locale file contents instead
25979         of header.
25980         (init_locale_data): New prototype.
25981         (align_locale_data): Likewise.
25982         (add_locale_empty): Likewise.
25983         (add_locale_raw_data): Likewise.
25984         (add_locale_raw_obstack): Likewise.
25985         (add_locale_string): Likewise.
25986         (add_locale_wstring): Likewise.
25987         (add_locale_uint32): Likewise.
25988         (add_locale_uint32_array): Likewise.
25989         (add_locale_char): Likewise.
25990         (start_locale_structure): Likewise.
25991         (end_locale_structure): Likewise.
25992         (start_locale_prelude): Likewise.
25993         (end_locale_prelude): Likewise.
25994         (write_locale_data): Update prototype.
25995         * locale/programs/3level.h (struct TABLE): Remove result field.
25996         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25997         Use new locale_file interface.
25998         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25999         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26000         * locale/programs/ld-address.c (address_output): Use new
26001         locale_file interface.
26002         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26003         NO_ADD_LOCALE.
26004         (collate_finish): Don't call collseq_table_finalize.
26005         (collate_output): Use new locale_file interface.
26006         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26007         in file.
26008         (NO_FINALIZE): Change to NO_ADD_LOCALE.
26009         (TABLE): Move defines earlier in file.
26010         (ELEMENT): Likewise.
26011         (DEFAULT): Likewise.
26012         (wctrans_table_add): Move macro and inline function earlier in
26013         file.
26014         (struct wctype_table): Move type earlier in file.
26015         (add_locale_wctype_table): New static prototype.
26016         (struct locale_ctype_t): Use logical types instead of struct iovec
26017         pointers for members.
26018         (ctype_output): Use new locale_file interface.
26019         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
26020         new locale_file interface.
26021         (allocate_arrays): Update for use of new locale_file interface.
26022         * locale/programs/ld-identification.c (identification_output): Use
26023         new locale_file interface.
26024         * locale/programs/ld-measurement.c (measurement_output): Likewise.
26025         * locale/programs/ld-messages.c (messages_output): Likewise.
26026         * locale/programs/ld-monetary.c (monetary_output): Likewise.
26027         * locale/programs/ld-name.c (name_output): Likewise.
26028         * locale/programs/ld-numeric.c (numeric_output): Likewise.
26029         * locale/programs/ld-paper.c (paper_output): Likewise.
26030         * locale/programs/ld-telephone.c (telephone_output): Likewise.
26031         * locale/programs/ld-time.c (time_output): Likewise.
26033 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26035         * benchtests/Makefile: Add memrchr benchmark.
26036         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26037         benchmark as memrchr.
26038         * benchtests/bench-memrchr-ifunc.c: New file.
26039         * benchtests/bench-memrchr.c: New file.
26041 2013-09-06   Will Newton  <will.newton@linaro.org>
26043         * benchtests/Makefile (string-bench): Add memcpy.
26045 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
26046             Cong Wang  <amwang@redhat.com>
26048         [BZ #15850]
26049         * sysdeps/unix/sysv/linux/bits/in.h
26050         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26051         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26052         before __USE_KERNEL_IPV6_DEFS uses.
26053         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26054         IPPROTO_BEETPH.
26055         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26056         sockaddr_in6, or ipv6_mreq.
26058 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26060         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26061         memory access for final bytes in some large inputs.
26062         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26064 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26066         * string/test-memrchr.c: New file.
26067         * string/test-memrchr-ifunc.c: New file.
26068         * string/Makefile: Add new memrchr testcase.
26070 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
26072         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26073         fanotify_init returns EPERM.
26075 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
26077         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26078         errors.
26079         (top level): Treat second token from macro or constant entries for
26080         allowed headers as allowed.
26081         * include/complex.h: Condition internal declarations on
26082         [!_ISOMAC].
26083         * include/fenv.h: Condition include of <stdbool.h> and internal
26084         declarations on [!_ISOMAC].
26086 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
26088         [BZ #15923]
26089         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26091 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
26093         * configure.in (--enable-versioning): Remove configure option.
26094         (libc_cv_asm_symver_directive): Remove configure test.
26095         (libc_cv_ld_version_script_option): Likewise.
26096         (VERSIONING): Remove variable and AC_SUBST.
26097         (DO_VERSIONING): Remove AC_DEFINE.
26098         * configure: Regenerated.
26099         * config.h.in (DO_VERSIONING): Remove macro.
26100         * Makerules [$(versioning) = yes]: Change conditionals to
26101         [$(build-shared) = yes].
26102         * config.make.in (versioning): Remove variable.
26103         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26104         [$(build-shared) = yes].
26105         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
26106         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
26107         * elf/Makefile [$(versioning) = yes]: Change conditionals to
26108         [$(build-shared) = yes].
26109         * extra-lib.mk [$(versioning) = yes]: Likewise.
26110         * hurd/Makefile [$(versioning) = yes]: Likewise.
26111         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
26112         [SHARED].
26113         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
26114         [SHARED].
26115         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26116         [SHARED && !NO_HIDDEN].
26117         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
26118         [SHARED].
26119         [SHARED && DO_VERSIONING]: Likewise..
26120         * libio/Makefile [$(versioning) = yes]: Change conditionals to
26121         [$(build-shared) = yes].
26122         * manual/install.texi (--disable-versioning): Remove
26123         documentation.
26124         * INSTALL: Regenerated.
26125         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
26126         to [SHARED].
26127         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
26128         [$(build-shared) = yes].
26129         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
26130         * sysdeps/i386/i686/multiarch/strstr-c.c
26131         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26132         [SHARED && !NO_HIDDEN].
26133         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
26134         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
26135         * sysdeps/powerpc/powerpc32/dl-machine.c
26136         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
26137         * sysdeps/powerpc/powerpc32/sysdep.h
26138         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
26139         to [SHARED && PIC && !NO_HIDDEN].
26140         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
26141         conditional to [SHARED].
26143 2013-09-04   Will Newton  <will.newton@linaro.org>
26145         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
26146         * benchtests/bench-string.h: Include bench-timing.h instead
26147         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
26148         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
26149         call to HP_TIMING_DIFF_INIT.
26150         * benchtests/bench-memccpy.c: Use bench-timing.h macros
26151         instead of hp-timing.h macros.
26152         * benchtests/bench-memchr.c: Likewise.
26153         * benchtests/bench-memcmp.c: Likewise.
26154         * benchtests/bench-memcpy.c: Likewise.
26155         * benchtests/bench-memmem.c: Likewise.
26156         * benchtests/bench-memmove.c: Likewise.
26157         * benchtests/bench-memset.c: Likewise.
26158         * benchtests/bench-rawmemchr.c: Likewise.
26159         * benchtests/bench-strcasecmp.c: Likewise.
26160         * benchtests/bench-strcasestr.c: Likewise.
26161         * benchtests/bench-strcat.c: Likewise.
26162         * benchtests/bench-strchr.c: Likewise.
26163         * benchtests/bench-strcmp.c: Likewise.
26164         * benchtests/bench-strcpy.c: Likewise.
26165         * benchtests/bench-strcpy_chk.c: Likewise.
26166         * benchtests/bench-strlen.c: Likewise.
26167         * benchtests/bench-strncasecmp.c: Likewise.
26168         * benchtests/bench-strncat.c: Likewise.
26169         * benchtests/bench-strncmp.c: Likewise.
26170         * benchtests/bench-strncpy.c: Likewise.
26171         * benchtests/bench-strnlen.c: Likewise.
26172         * benchtests/bench-strpbrk.c: Likewise.
26173         * benchtests/bench-strrchr.c: Likewise.
26174         * benchtests/bench-strspn.c: Likewise.
26175         * benchtests/bench-strstr.c: Likewise.
26177 2013-09-04  Will Newton  <will.newton@linaro.org>
26179         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
26181 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
26183         [BZ #15427]
26184         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26185         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
26186         * math/libm-test.inc (lgamma_test_data): Add more tests.
26187         * sysdeps/i386/fpu/libm-test-ulps: Update.
26188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26190 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
26192         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
26193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26194         Add ifunc.
26195         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26196         Add strcmp-sse2-unaligned
26197         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
26199 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
26201         * Versions.def (libc): Add GLIBC_2.19.
26203 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
26205         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
26206         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
26208 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
26210         [BZ #14155]
26211         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
26212         intermediate calculations in recurrence.
26213         (__ieee754_ynf): Likewise.
26214         * math/libm-test.inc (jn_test_data): Do not allow spurious
26215         underflow exception.  Add more tests.
26216         (yn_test_data): Add more tests.
26217         * sysdeps/i386/fpu/libm-test-ulps: Update.
26218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26220 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
26222         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26224 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
26226         * csu/init-first.c: Fix then/than typos.
26227         * locale/programs/ld-collate.c: Likewise.
26228         * locale/programs/linereader.h: Likewise.
26229         * manual/charset.texi: Likewise.
26230         * manual/filesys.texi: Likewise.
26231         * manual/stdio.texi: Likewise.
26232         * manual/string.texi: Likewise.
26233         * stdlib/fmtmsg.c: Likewise.
26234         * sysdeps/i386/stpncpy.S: Likewise.
26235         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26236         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26237         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26238         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26240 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
26242         * elf/dl-open.c: Fix typos.
26243         * iconvdata/gbbig5.c: Likewise.
26244         * iconvdata/iso-2022-jp.c: Likewise.
26245         * iconv/gconv_int.h: Likewise.
26246         * iconv/loop.c: Likewise.
26247         * nis/rpcsvc/nis.h: Likewise.
26248         * resolv/ns_name.c: Likewise.
26249         * stdio-common/vfscanf.c: Likewise.
26250         * streams/stropts.h: Likewise.
26251         * sunrpc/rpc_thread.c: Likewise.
26252         * sysdeps/i386/strpbrk.S: Likewise.
26253         * sysdeps/ieee754/k_standard.c: Likewise.
26254         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26255         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26256         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26257         * sysdeps/mach/hurd/profil.c: Likewise.
26258         * sysdeps/s390/dl-procinfo.h: Likewise.
26259         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26260         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26261         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26262         * sysdeps/x86_64/dl-trampoline.S: Likewise.
26263         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26265 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
26267         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26268         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26270 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
26272         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26273         aix specific files.
26274         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26275         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26276         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26277         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26278         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26279         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26280         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26281         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26283 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
26284             Roland McGrath  <roland@hack.frob.com>
26286         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26287         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26289 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26291         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26292         __executable_start symbol instead of _start.
26294 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
26296         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26297         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26298         Move macros to...
26299         * sysdeps/gnu/ldsodefs.h: ... this new file.
26301         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26302         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26303         instead of ELFOSABI_LINUX.
26305         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
26306         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26307         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26308         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26309         Likewise.
26310         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26311         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26312         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26313         Likewise.
26314         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26315         (ibm_extended_long_double): Add ieee_nan member.
26316         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26317         (do_test): New function.
26319         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26320         TEST_TRUNC.
26321         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26322         functions, renamed from truncdfsf_test, trunctfsf_test,
26323         trunctfdf_test.
26324         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26325         functions.
26326         (do_test): Run all these.
26328 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
26330         * argp/argp-help.c: Fix typos.
26331         * argp/argp-parse.c: Likewise.
26332         * debug/backtracesyms.c: Likewise.
26333         * elf/elf.h: Likewise.
26334         * malloc/malloc.c: Likewise.
26335         * nis/nis_print.c: Likewise.
26336         * resolv/res_comp.c: Likewise.
26337         * stdlib/stdlib.h: Likewise.
26338         * sunrpc/clnt_tcp.c: Likewise.
26339         * sunrpc/clnt_udp.c: Likewise.
26340         * sunrpc/clnt_unix.c: Likewise.
26341         * sysdeps/unix/bsd/ptsname.c: Likewise.
26342         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26343         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
26344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26345         Likewise.
26346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26347         Likewise.
26348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26349         Likewise.
26350         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26352 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26354         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26357 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
26359         [BZ #15897]
26360         * dlfcn/Makefile (tests): Add bug-dl-leaf.
26361         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26362         ($(objpfx)bug-dl-leaf): New rule.
26363         ($(objpfx)bug-dl-leaf.so): Likewise.
26364         ($(objpfx)bug-dl-leaf.out): Likewise.
26365         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26366         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26367         * dlfcn/bug-dl-leaf.c: New test.
26368         * dlfcn/bug-dl-leaf-lib.c: Likewise.
26369         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26370         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26371         (dlclose): Likewise.
26372         (dlmopen): Likewise.
26374 2013-08-27  Roland McGrath  <roland@hack.frob.com>
26376         * include/netdb.h [!_ISOMAC]:
26377         Don't include <tls.h>.
26378         (h_errno, __libc_h_errno): Move declaration and macros out of
26379         [_LIBC_REENTRANT].
26381         * include/resolv.h [_RESOLV_H_]:
26382         Don't include <tls.h>.
26383         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26384         * resolv/res_libc.c: Don't include <tls.h>.
26385         (_res): Use __attribute__ ((nocommon)) in place of
26386         __attribute__ ((section (".bss"))).
26388         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26389         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26391         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26393         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26394         only under [SIOCGIFCONF && SIOCGIFNETMASK].
26396         * resolv/res_mkquery.c: Include <sys/time.h>.
26398         * inet/ifreq.c: Moved to ...
26399         * sysdeps/unix/ifreq.c: ... here.
26400         * inet/ifreq.c: New file, true stub version.
26402         * socket/sa_len.c: New file.
26403         * socket/Makefile (aux): Add it.
26404         * sysdeps/unix/sysv/linux/Makefile
26405         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26406         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26407         and #include <socket/sa_len.c>.
26408         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26409         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26411         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26412         * bits/socket.h: ... here.
26414         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26415         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26416         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26418 2013-08-27  Andreas Schwab  <schwab@suse.de>
26420         [BZ #15736]
26421         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26422         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26423         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26424         * string/test-strcasecmp.c (test_main): Run tests in several
26425         locales.
26426         * string/test-strncasecmp.c (test_main): Likewise.
26428         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26429         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26430         to __strcasecmp_nonascii and __strncasecmp_nonascii.
26431         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26432         (__strncasecmp_ssse3) [PIC]: Likewise.
26434 2013-08-26  Roland McGrath  <roland@hack.frob.com>
26436         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26438         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26439         instead of explicitly declaring xdecrypt.
26440         * nis/nss_nis/nis-publickey.c: Likewise.
26442 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26444         [BZ #15890]
26445         * nscd/aicache.c: Include res_hconf.h.
26446         (addhstaiX): Initialize res_hconf.
26448 2013-08-26  Andreas Schwab  <schwab@suse.de>
26450         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26451         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26453 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26455         * nscd/aicache.c (addhstaiX): Fix indentation.
26457 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
26459         * configure.ac: Quote $build_pt_chown test.
26460         * configure: Regenerated.
26462 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
26464         [BZ #15532]
26465         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26466         * math/s_cexpf.c (__cexpf): Likewise.
26467         * math/s_cexpl.c (__cexpl): Likewise.
26468         * math/libm-test.inc (cexp_test_data): Correct expected return
26469         value for NaN + i0.  Add another test.
26471 2013-08-22  David S. Miller  <davem@davemloft.net>
26473         * po/ca.po: Update Catalan translation from translation project.
26474         * po/uk.po: Add Ukrainian translations from translation project.
26476 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
26478         [BZ #15797]
26479         * math/s_fdim.c (__fdim): Check for infinite arguments if result
26480         is infinite, not alongside NaN test.
26481         * math/s_fdimf.c (__fdimf): Likewise.
26482         * math/s_fdiml.c (__fdiml): Likewise.
26483         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
26484         errno is unchanged.
26486 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
26488         * argp/argp-help.c: Fix typos.
26489         * crypt/speeds.c: Likewise.
26490         * csu/check_fds.c: Likewise.
26491         * elf/dl-load.c: Likewise.
26492         * elf/dl-open.c: Likewise.
26493         * elf/reldep3.c: Likewise.
26494         * elf/reldep.c: Likewise.
26495         * elf/sprof.c: Likewise.
26496         * iconv/iconv_charmap.c: Likewise.
26497         * iconv/skeleton.c: Likewise.
26498         * iconv/strtab.c: Likewise.
26499         * io/lockf64.c: Likewise.
26500         * libio/libioP.h: Likewise.
26501         * resolv/gai_notify.c: Likewise.
26502         * resolv/ns_name.c: Likewise.
26503         * resolv/ns_samedomain.c: Likewise.
26504         * resolv/res_send.c: Likewise.
26505         * stdlib/random.c: Likewise.
26506         * sunrpc/rpc/xdr.h: Likewise.
26507         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26508         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26509         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26510         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26511         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26512         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26513         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26514         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26515         * sysdeps/mach/hurd/check_fds.c: Likewise.
26516         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26517         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26518         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26519         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26520         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26521         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26522         * sysdeps/pthread/aio_notify.c: Likewise.
26523         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26524         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26525         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26526         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26527         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26529 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26531         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26532         version if bit_Slow_SSE4_2 is set.
26533         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26534         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26536 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26538         [BZ #15867]
26539         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26540         trampoline stack frame information.
26541         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26542         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26543         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26544         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26545         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26546         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26547         (_libc_vdso_platform_setup): Initialize the signal trampolines.
26548         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26549         sa_flags value.
26550         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26551         interrupting a syscall and set with option SA_SIGINFO.
26553 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
26555         [BZ #15531]
26556         * math/s_cproj.c (__cproj): Only return an infinity if one part of
26557         argument is infinite.
26558         * math/s_cprojf.c (__cprojf): Likewise.
26559         * math/s_cprojl.c (__cprojl): Likewise.
26560         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26561         * math/libm-test.inc (cproj_test_data): Add more tests.
26563         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26565         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26566         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26567         size.  Use __ffs to determine corresponding shift.
26569 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
26570             Roland McGrath  <roland@hack.frob.com>
26572         * Makefile (INSTALL): Remove trailing blank lines from output of
26573         makeinfo.
26575 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26577         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26578         Align 32 bit compat elf_greg to 8 bytes.
26580 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
26582         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26584 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26586         * string/strcoll_l.c (coll_seq): New structure.
26587         (get_next_seq_cached): New function.
26588         (get_next_seq): New function.
26589         (do_compare): New function.
26590         (STRCOLL): Use GNU style definition.  Simplify implementation
26591         by using get_next_seq, get_next_seq_cached and do_compare.
26593 2013-08-16  Florian Weimer  <fweimer@redhat.com>
26595         [BZ #14699]
26596         CVE-2013-4237
26597         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26598         member.
26599         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26600         member.
26601         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26602         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26603         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
26604         conditional.
26605         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26606         GETDENTS_64BIT_ALIGNED.
26607         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26608         * manual/filesys.texi (Reading/Closing Directory): Document
26609         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
26610         strongly.
26611         * manual/conf.texi (Limits for Files): Add portability note to
26612         NAME_MAX, PATH_MAX.
26613         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26615 2013-08-13  Andreas Schwab  <schwab@suse.de>
26617         [BZ #15749]
26618         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26619         of fabs.
26620         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26621         LDBL_MAX_EXP >= 16384]: Add tests for it.
26623 2013-08-12  David S. Miller  <davem@davemloft.net>
26625         * version.h (RELEASE): Set to "development".
26626         (VERSION): Set to "2.18.90".
26627         * NEWS: Add 2.19 section.
26629 2013-08-03  David S. Miller  <davem@davemloft.net>
26631         * po/ko.po: Update Korean translation from translation project.
26633 2013-08-01  David S. Miller  <davem@davemloft.net>
26635         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
26636         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26637         Bilka.
26639 2013-07-30  David S. Miller  <davem@davemloft.net>
26641         * po/fr.po: Update French translation from translation project.
26643 2013-07-28  David S. Miller  <davem@davemloft.net>
26645         * po/cs.po: Update Czech translation from translation project.
26647         * po/sv.po: Update Swedish translation from translation project.
26649 2013-07-27  David S. Miller  <davem@davemloft.net>
26651         * po/eo.po: Update Esperanto translation from translation project.
26653         * po/vi.po: Update Vietnamese translation from translation project.
26655         * po/de.po: Update German translation from translation project.
26657 2013-07-26  David S. Miller  <davem@davemloft.net>
26659         * po/bg.po: Update Bulgarian translation from translation project.
26661         * po/nl.po: Update Dutch translation from translation project.
26662         * po/pl.po: Update Polish translation from translation project.
26663         * po/ru.po: Update Russian translation from translation project.
26665 2013-07-24  David S. Miller  <davem@davemloft.net>
26667         * po/libc.pot: Update.
26669 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26671         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26672         variable page size.
26673         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26674         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26675         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26677 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26679         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26681 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26682             Andreas Schwab  <schwab@suse.de>
26683             Roland McGrath  <roland@hack.frob.com>
26684             Joseph Myers  <joseph@codesourcery.com>
26685             Carlos O'Donell  <carlos@redhat.com>
26687         [BZ #15755]
26688         * config.h.in: Define HAVE_PT_CHOWN.
26689         * config.make.in (build-pt-chown): New variable.
26690         * configure.in (--enable-pt_chown): New configure option.
26691         * configure: Regenerate.
26692         * login/Makefile: Include Makeconfig.  Build pt_chown only if
26693         build-pt-chown is enabled.
26694         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26695         pt_chown to fix pty ownership.
26696         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26697         CLOSE_ALL_FDS.
26698         * manual/install.texi (Configuring and compiling): Mention
26699         --enable-pt_chown. Add @findex for grantpt.
26700         * INSTALL: Regenerate.
26702 2013-07-20  David S. Miller  <davem@davemloft.net>
26704         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26705         difference between 32-bit and 64-bit.
26707 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
26709         [BZ #15711]
26710         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26711         Avoid system header dependency with -ffreestanding.
26712         ($(objpfx)bits/syscall%d): Likewise.
26714 2013-07-13  David S. Miller  <davem@davemloft.net>
26716         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26717         underflows from atanl/atan2l due to bug 15319.
26718         (casinh_test_data): Likewise.
26720 2013-07-07  David S. Miller  <davem@davemloft.net>
26722         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26724 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
26726         * sysdeps/i386/fpu/libm-test-ulps: Update.
26727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26729 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26731         * configure.in (--enable-lock-elision): Fix message text.
26732         * INSTALL: Regenerate.
26733         * configure: Regenerate.
26735 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26739 2013-07-03  Andreas Jaeger  <aj@suse.de>
26741         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26742         define.
26743         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26744         (ptrace_peeksiginfo_args): Add.
26745         (__ptrace_peeksiginfo_flags): Add.
26746         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26747         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26748         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26750 2013-07-03  Allan McRae  <allan@archlinux.org>
26752         * sysdeps/i386/fpu/libm-test-ulps: Update.
26754 2013-07-02  David S. Miller  <davem@davemloft.net>
26756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26758 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
26760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26762 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26764         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26767 2013-07-02  Andi Kleen <ak@linux.intel.com>
26769         * config.h.in (ENABLE_LOCK_ELISION): Add.
26770         * configure.in (--enable-lock-elision): Add option.
26771         * manual/install.texi: Document --enable lock elision.
26772         * configure: Regenerate
26773         * INSTALL: Regenerate.
26775 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
26777         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26778         SSE4.2 strcasecmp for libc.a.
26779         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26781 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26783         [BZ #13304]
26784         * soft-fp/op-common.h (_FP_FMA): New macro.
26785         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26786         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
26787         (_FP_MUL_MEAT_1_imm): ... here.
26788         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
26789         (_FP_MUL_MEAT_1_wide): ... here.
26790         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
26791         (_FP_MUL_MEAT_1_hard): ... here.
26792         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26793         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
26794         (_FP_MUL_MEAT_2_wide): ... here.
26795         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
26796         (_FP_MUL_MEAT_2_wide_3mul): ... here.
26797         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
26798         (_FP_MUL_MEAT_2_gmp): ... here.
26799         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26800         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
26801         (_FP_MUL_MEAT_4_wide): ... here.
26802         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
26803         (_FP_MUL_MEAT_4_gmp): ... here.
26804         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26805         (_FP_WFRACBITS_DW_S): Likewise.
26806         (_FP_WFRACXBITS_DW_S): Likewise.
26807         (_FP_HIGHBIT_DW_S): Likewise.
26808         (FP_FMA_S): Likewise.
26809         (_FP_FRAC_HIGH_DW_S): Likewise.
26810         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26811         (_FP_WFRACBITS_DW_D): Likewise.
26812         (_FP_WFRACXBITS_DW_D): Likewise.
26813         (_FP_HIGHBIT_DW_D): Likewise.
26814         (FP_FMA_D): Likewise.
26815         (_FP_FRAC_HIGH_DW_D): Likewise.
26816         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26817         (_FP_WFRACBITS_DW_E): Likewise.
26818         (_FP_WFRACXBITS_DW_E): Likewise.
26819         (_FP_HIGHBIT_DW_E): Likewise.
26820         (FP_FMA_E): Likewise.
26821         (_FP_FRAC_HIGH_DW_E): Likewise.
26822         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26823         (_FP_WFRACBITS_DW_Q): Likewise.
26824         (_FP_WFRACXBITS_DW_Q): Likewise.
26825         (_FP_HIGHBIT_DW_Q): Likewise.
26826         (FP_FMA_Q): Likewise.
26827         (_FP_FRAC_HIGH_DW_Q): Likewise.
26828         * soft-fp/fmasf4.c: New file.
26829         * soft-fp/fmadf4.c: Likewise.
26830         * soft-fp/fmatf4.c: Likewise.
26832 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26835         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26836         Silvermont.
26837         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26838         macro.
26839         (index_Slow_SSE4_2): Likewise.
26840         (index_Prefer_PMINUB_for_stringop): Likewise.
26841         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26842         bit_Slow_SSE4_2 is set.
26843         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26844         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26846 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26848         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26849         rtld_global._dl_hwcap2.
26850         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26851         POWER8.
26852         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26853         POWER8 feature descriptions defined in _dl_hwcap2.
26854         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26855         string handling for POWER8 feature bits.
26856         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26857         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26858         _dl_powerpc_cap_flags.
26859         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26860         * sysdeps/powerpc/rtld-global-offsets.sym
26861         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26862         _dl_hwcap2 in the rtld_global_ro structure.
26864 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26866         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26867         hardware capabilities in support of AT_HWCAP2.
26868         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26869         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26870         GLRO(dl_hwcap2).
26871         (_dl_show_auxv): Add support for calling _dl_procinfo to display
26872         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
26873         explicitly the unknown a_type display mechanism is used.
26874         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26875         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26876         struct member.
26877         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26878         to macro prototype for AT_HWCAP2 support.
26879         * sysdeps/i386/dl-procinfo.h: Likewise.
26880         * sysdeps/s390/dl-procinfo.h: Likewise.
26881         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26882         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
26883         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
26884         return -1 for unknown a_type display fallback.
26885         * sysdeps/sparc/dl-procinfo.h: Likewise.
26886         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26887         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26889 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
26891         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26892         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26894 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
26896         [BZ #12492]
26897         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26898         mprotect making __stack_prot writable.
26900 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
26901             Joseph Myers  <joseph@codesourcery.com>
26903         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26904         as being properly aligned.
26906 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
26908         * dlfcn/modstatic5.c: New file.
26909         * dlfcn/tststatic5.c: New file.
26910         * dlfcn/Makefile (tests): Add tststatic5.
26911         (tests-static): Likewise.
26912         (modules-names): Add modstatic5.
26913         (tststatic5-ENV): New variable.
26914         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26916         [BZ #15022]
26917         * elf/dl-support.c (_dl_main_map): New variable.
26918         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26919         (_dl_nns, _dl_load_adds): Set to 1.
26920         (_dl_initial_searchlist): Refer to _dl_main_map.
26921         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26922         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26923         call to _dl_get_origin.
26924         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26925         around call_map.
26926         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26927         * dlfcn/modstatic3.c: New file.
26928         * dlfcn/tststatic3.c: New file.
26929         * dlfcn/tststatic4.c: New file.
26930         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26931         (tests-static): Likewise.
26932         (modules-names): Add modstatic3.
26933         (tststatic3-ENV, tststatic4-ENV): New variables.
26934         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26935         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26937 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
26939         * configure.in (CC): Require GCC version 4.4 or later.
26940         * configure: Regenerated.
26941         * manual/install.texi (Tools for Compilation): Update GCC version
26942         requirement.
26943         * INSTALL: Regenerated.
26945 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26947         [BZ #15674]
26948         * string/test-memcmp.c (check2): New.
26949         (main): Call check2.
26951         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26953 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
26955         [BZ #15022]
26956         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26957         over to...
26958         (dl_open_worker) [!SHARED]: ... here.
26960 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26962         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26964 2013-06-25  Richard Henderson  <rth@redhat.com>
26966         * locale/programs/locarchive.c: Include <libc-internal.h>
26968 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
26970         * manual/texinfo.tex: Update to version 2013-06-21.17, with
26971         trailing whitespace removed.
26973 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26975         [BZ #10283]
26976         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26977         * locale/programs/locarchive.c: Include libc-mmap.h.
26978         (prepare_address_space): Take two new outputs (the mmap base and len).
26979         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
26980         values.
26981         (create_archive): Declare new mmap base and len values for
26982         prepare_address_space, and store the result in ah.
26983         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26984         (enlarge_archive): If ah->mmap_base is not NULL, use that and
26985         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26986         Declare new mmap base and len values for
26987         prepare_address_space, and store the result in new_ah.
26988         (open_archive): Declare new mmap base and len values for
26989         prepare_address_space, and store the result in ah.
26990         (close_archive): If ah->mmap_base is not NULL, use that and
26991         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26992         * sysdeps/generic/libc-mmap.h: New file.
26994 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26996         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26997         (ALIGN_UP): Likewise.
26998         (PTR_ALIGN_DOWN): Likewise.
26999         (PTR_ALIGN_UP): Likewise.
27001 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27003         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27004         entry mapped to PPC_PLATFORM_POWER8.
27005         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27006         POWER8.
27007         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27008         (_dl_string_platform): Add case for exporting platform position for
27009         POWER8.
27010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27011         search path to sysdeps/powerpc/powerpc32/power8 directory.
27012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27013         search path to sysdeps/powerpc/powerpc64/power8 directory.
27014         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27015         power7 directories.
27016         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27017         power7 directories.
27019 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27021         * INSTALL: Regenerate.
27023         * nscd/connections.c (nscd_init): Fix comment.
27025 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
27027         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27029         [BZ #15667]
27030         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27031         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27033 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27035         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27036         DL_DST_REQ_STATIC.
27037         (DL_DST_REQ_STATIC): Remove macro.
27039 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
27041         [BZ #7006]
27042         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27043         with a shift of 0 bits.
27045 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27047         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27048         $(tststatic-ENV).
27050 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27052         [BZ #15655]
27053         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27055 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27057         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27058         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27059         accepts -fno-tree-loop-distribute-patterns.
27060         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27061         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27062         recursive call.
27063         * string/memset.c (memset): Likewise.
27064         * string/test-memmove.c (simple_memmove): Disable loop transformation
27065         to library calls.
27066         * string/test-memset.c (simple_memset): Likewise.
27067         * benchtests/bench-memmove.c (simple_memmove): Likewise.
27068         * benchtests/bench-memset.c (simple_memset): Likewise.
27069         * configure: Regenerated.
27071 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
27073         * math/test-misc.c (main): Ignore fesetround failure when failures
27074         of subsequent rounding tests would be ignored.
27076         [BZ #15654]
27077         * math/fedisblxcpt.c (fedisableexcept): Return 0.
27078         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27079         * math/fegetenv.c (__fegetenv): Return 0.
27080         * math/fegetexcept.c (fegetexcept): Return 0.
27081         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27082         FE_TONEAREST.
27083         * math/feholdexcpt.c (feholdexcept): Return 0.
27084         * math/fesetenv.c (__fesetenv): Return 0.
27085         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27086         argument FE_TONEAREST.
27087         * math/feupdateenv.c (__feupdateenv): Return 0.
27088         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27090 2013-06-18  Roland McGrath  <roland@hack.frob.com>
27092         * elf/rtld-Rules (rtld-compile-command.S): New variable.
27093         (rtld-compile-command.s, rtld-compile-command.c): New variables.
27094         ($(objpfx)rtld-%.os rules): Use them.
27096 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27098         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27099         fields.
27101 2013-06-17  Roland McGrath  <roland@hack.frob.com>
27103         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27104         length of target pattern, then descending length of dependency pattern.
27105         * configure.in (AWK): Require gawk 3.1.2 or newer.
27106         * manual/install.texi (Tools for Compilation): Say that we do.
27107         * configure: Regenerated.
27109         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
27110         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
27111         * scripts/sysd-rules.awk: ... this new script.
27112         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
27113         than a glob-style pattern.
27115 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
27117         * math/test-misc.c (main): Do not treat incorrectly rounded
27118         conversions as failure unless ROUNDING_TESTS passes.
27120 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
27122         [BZ #15631]
27123         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
27124         restore exception state around main square root computation, then
27125         check for inexactness explicitly.
27127         * math/libm-test.inc (fma_test_data): Add another test.
27129 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27131         * manual/threads.texi (Non-POSIX Extensions): New document
27132         node.  Document pthread_getattr_default_np and
27133         pthread_setattr_default_np.
27135         * Versions.def (libpthread): Add GLIBC_2.18.
27136         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
27137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27138         Likewise.
27139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27140         Likewise.
27141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27142         Likewise.
27143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27144         Likewise.
27145         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
27146         Likewise.
27147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27148         Likewise.
27149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27150         Likewise.
27151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27152         Likewise.
27153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27154         Likewise.
27156 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27159         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
27161 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27162             H.J. Lu  <hjl.tools@gmail.com>
27164         [BZ #15627]
27165         * sysdeps/x86_64/rtld-memset.c: Remove file.
27166         * sysdeps/x86_64/rtld-memset.S: New file.
27168 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
27170         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
27171         (test_in_one_mode): Take arguments for whether the rounding mode
27172         is supported for each floating-point type.
27173         (do_test): Pass new arguments to test_in_one_mode using
27174         ROUNDING_TESTS.
27176 2013-06-13  Roland McGrath  <roland@hack.frob.com>
27178         * posix/tst-waitid.c (do_test): Distinguish different instances of
27179         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
27180         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
27181         before entering the kernel for waitpid.
27183 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27185         * NEWS: Fix note on clock function precision.  Text by Roland
27186         McGrath.
27188 2013-06-13  Roland McGrath  <roland@hack.frob.com>
27190         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
27191         it into place only when and if the sanity check passes.
27193 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
27195         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
27196         output for whether conversion result is exact.  Take argument
27197         indicating whether type is IBM long double.
27198         (round_for_all): Change need_exact field to ibm_ld.
27199         * stdlib/tst-strtod-round.c (struct exactness): New type.
27200         (struct test): Change bool ld_ok field to struct exactness exact.
27201         (TEST): Update all definitions for change to field.
27202         (tests): Regenerate array contents.
27203         (test_in_one_mode): Take pointer to new field instead of old ld_ok
27204         field value.  Check for IBM long double here.
27205         (do_test): Update calls to test_in_one_mode.
27207 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27209         [BZ #12515]
27210         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
27211         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
27213 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27215         [BZ #15605]
27216         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27217         generated by the compiler on loop optimizations.
27218         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27219         general definitions.
27221 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
27223         * math/bug-nextafter.c: Include <math-tests.h>.
27224         (main): Only test for exceptions if EXCEPTION_TESTS is true for
27225         the relevant type.
27226         * math/bug-nexttoward.c: Include <math-tests.h>.
27227         (main): Only test for exceptions if EXCEPTION_TESTS is true for
27228         the relevant type.
27229         * math/test-misc.c: Include <math-tests.h>.
27230         (main): Only test for exceptions if EXCEPTION_TESTS is true for
27231         the relevant type.
27233 2013-06-12  Andreas Jaeger  <aj@suse.de>
27235         * po/ia.po: Update Interlingua translation from translation
27236         project.
27238 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27240         * include/fenv.h: Include stdbool.h.
27241         (struct rm_ctx): New structure.
27242         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27243         Define macro.
27244         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27245         (SET_RESTORE_ROUNDF): Likewise.
27246         (SET_RESTORE_ROUNDL): Likewise.
27247         (SET_RESTORE_ROUND_NOEX): Likewise.
27248         (SET_RESTORE_ROUND_NOEXF): Likewise.
27249         (SET_RESTORE_ROUND_NOEXL): Likewise.
27250         (SET_RESTORE_ROUND_53BIT): Likewise.
27251         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27252         (libc_feresetround_noexf_ctx): Likewise.
27253         (libc_feresetround_noexl_ctx): Likewise.
27254         (libc_feholdsetround_53bit_ctx): Likewise.
27255         (libc_feresetround_53bit_ctx): Likewise.
27256         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27257         (libc_feholdexcept_setround_sse_ctx): New function.
27258         (libc_fesetenv_sse_ctx): Likewise.
27259         (libc_feupdateenv_sse_ctx): Likewise.
27260         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27261         (libc_feholdexcept_setround_387_ctx): Likewise.
27262         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27263         (libc_feholdsetround_387_prec_ctx): Likewise.
27264         (libc_feholdsetround_387_ctx): Likewise.
27265         (libc_feholdsetround_387_53bit_ctx): Likewise.
27266         (libc_feholdsetround_sse_ctx): Likewise.
27267         (libc_feresetround_sse_ctx): Likewise.
27268         (libc_feresetround_387_ctx): Likewise.
27269         (libc_feupdateenv_387_ctx): Likewise.
27270         (libc_feholdexcept_setroundf_ctx): Define macro.
27271         (libc_fesetenvf_ctx): Likewise.
27272         (libc_feupdateenvf_ctx): Likewise.
27273         (libc_feholdsetroundf_ctx): Likewise.
27274         (libc_feresetroundf_ctx): Likewise.
27275         (libc_feholdexcept_setround_ctx): Likewise.
27276         (libc_fesetenv_ctx): Likewise.
27277         (libc_feupdateenv_ctx): Likewise.
27278         (libc_feholdsetround_ctx): Likewise.
27279         (libc_feresetround_ctx): Likewise.
27280         (libc_feholdexcept_setroundl_ctx): Likewise.
27281         (libc_feupdateenvl_ctx): Likewise.
27282         (libc_feholdsetroundl_ctx): Likewise.
27283         (libc_feresetroundl_ctx): Likewise.
27284         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27285         (libc_feresetround_53bit_ctx): Likewise.
27287 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27289         * locale/iso-639.def: Convert to UTF-8.
27291 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
27293         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27294         (EXCEPTION_TESTS_double): Likewise.
27295         (EXCEPTION_TESTS_long_double): Likewise.
27296         (EXCEPTION_TESTS): Likewise.
27297         * math/libm-test.inc (test_exceptions): Only test exceptions if
27298         EXCEPTION_TESTS (FLOAT).
27300 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27302         * benchtests/Makefile (string-bench): Add strcpy_chk and
27303         stpcpy_chk.
27304         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27305         * benchtests/bench-stpcpy_chk.c: New file.
27306         * benchtests/bench-strcpy_chk-ifunc.c: New file.
27307         * benchtests/bench-strcpy_chk.c: New file.
27308         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27309         code.
27310         (do_test): Likewise.
27312 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27314         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27315         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27316         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27317         with tabs where appropriate.
27318         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27319         dl-procinfo.h.
27320         [PPC_PLATFORM_PPC440]: Likewise.
27321         [PPC_PLATFORM_PPC464]: Likewise.
27322         [PPC_PLATFORM_PPC476]: Likewise.
27323         (_dl_string_platform): Add support for detecting ppc405, ppc440,
27324         ppc464, and ppc476 platform strings merging from ports/
27325         dl-procinfo.h.
27327 2013-06-11  Andreas Schwab  <schwab@suse.de>
27329         [BZ #14991]
27330         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27331         (from_ucs4_idx): Regenerate.
27332         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27333         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27334         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27335         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27336         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27337         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27338         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27339         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27340         from FROM_LOOP and TO_LOOP specific macros.
27341         (BODY): Handle combining characters.
27342         * iconvdata/BIG5HKSCS.irreversible: Update.
27343         * iconvdata/BIG5HKSCS.precomposed: New file.
27344         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27345         characters.
27346         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27348 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27350         * include/sys/time.h: Fix indentation and add copyright header.
27352         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27353         (do_test): Likewise.
27354         * string/test-memchr.c (do_one_test): Likewise.
27355         (do_test): Likewise.
27356         * string/test-memcmp.c (do_one_test): Likewise.
27357         (do_test): Likewise.
27358         * string/test-memcpy.c (do_one_test): Likewise.
27359         (do_test): Likewise.
27360         * string/test-memmem.c (do_one_test): Likewise.
27361         (do_test): Likewise.
27362         (do_random_tests): Likewise.
27363         * string/test-memmove.c (do_one_test): Likewise.
27364         (do_test): Likewise.
27365         * string/test-memset.c (do_one_test): Likewise.
27366         (do_test): Likewise.
27367         * string/test-rawmemchr.c (do_one_test): Likewise.
27368         (do_test): Likewise.
27369         * string/test-strcasecmp.c (do_one_test): Likewise.
27370         (do_test): Likewise.
27371         * string/test-strcasestr.c (do_one_test): Likewise.
27372         (do_test): Likewise.
27373         * string/test-strcat.c (do_one_test): Likewise.
27374         (do_test): Likewise.
27375         * string/test-strchr.c (do_one_test): Likewise.
27376         (do_test): Likewise.
27377         * string/test-strcmp.c (do_one_test): Likewise.
27378         (do_test): Likewise.
27379         * string/test-strcpy.c (do_one_test): Likewise.
27380         (do_test): Likewise.
27381         * string/test-string.h: Likewise.
27382         (test_init): Likewise.
27383         * string/test-strlen.c (do_one_test): Likewise.
27384         (do_test): Likewise.
27385         * string/test-strncasecmp.c (do_one_test): Likewise.
27386         (do_test): Likewise.
27387         * string/test-strncat.c (do_one_test): Likewise.
27388         (do_test): Likewise.
27389         * string/test-strncmp.c (do_one_test): Likewise.
27390         (do_test_limit): Likewise.
27391         (do_test): Likewise.
27392         * string/test-strncpy.c (do_one_test): Likewise.
27393         (do_test): Likewise.
27394         * string/test-strnlen.c (do_one_test): Likewise.
27395         (do_test): Likewise.
27396         * string/test-strpbrk.c (do_one_test): Likewise.
27397         (do_test): Likewise.
27398         * string/test-strrchr.c (do_one_test): Likewise.
27399         (do_test): Likewise.
27400         * string/test-strspn.c (do_one_test): Likewise.
27401         (do_test): Likewise.
27402         * string/test-strstr.c (do_one_test): Likewise.
27403         (do_test): Likewise.
27405         * benchtests/Makefile (string-bench): Add string benchmarks.
27406         * benchtests/bench-bcopy-ifunc.c: New file.
27407         * benchtests/bench-bcopy.c: New file.
27408         * benchtests/bench-bzero-ifunc.c: New file.
27409         * benchtests/bench-bzero.c: New file.
27410         * benchtests/bench-memccpy-ifunc.c: New file.
27411         * benchtests/bench-memccpy.c: New file.
27412         * benchtests/bench-memchr-ifunc.c: New file.
27413         * benchtests/bench-memchr.c: New file.
27414         * benchtests/bench-memcmp-ifunc.c: New file.
27415         * benchtests/bench-memcmp.c: New file.
27416         * benchtests/bench-memmem-ifunc.c: New file.
27417         * benchtests/bench-memmem.c: New file.
27418         * benchtests/bench-memmove-ifunc.c: New file.
27419         * benchtests/bench-memmove.c: New file.
27420         * benchtests/bench-mempcpy-ifunc.c: New file.
27421         * benchtests/bench-mempcpy.c: New file.
27422         * benchtests/bench-memset-ifunc.c: New file.
27423         * benchtests/bench-memset.c: New file.
27424         * benchtests/bench-rawmemchr-ifunc.c: New file.
27425         * benchtests/bench-rawmemchr.c: New file.
27426         * benchtests/bench-stpcpy-ifunc.c: New file.
27427         * benchtests/bench-stpcpy.c: New file.
27428         * benchtests/bench-stpncpy-ifunc.c: New file.
27429         * benchtests/bench-stpncpy.c: New file.
27430         * benchtests/bench-strcasecmp-ifunc.c: New file.
27431         * benchtests/bench-strcasecmp.c: New file.
27432         * benchtests/bench-strcasestr-ifunc.c: New file.
27433         * benchtests/bench-strcasestr.c: New file.
27434         * benchtests/bench-strcat-ifunc.c: New file.
27435         * benchtests/bench-strcat.c: New file.
27436         * benchtests/bench-strchr-ifunc.c: New file.
27437         * benchtests/bench-strchr.c: New file.
27438         * benchtests/bench-strchrnul-ifunc.c: New file.
27439         * benchtests/bench-strchrnul.c: New file.
27440         * benchtests/bench-strcmp-ifunc.c: New file.
27441         * benchtests/bench-strcmp.c: New file.
27442         * benchtests/bench-strcpy-ifunc.c: New file.
27443         * benchtests/bench-strcpy.c: New file.
27444         * benchtests/bench-strcspn-ifunc.c: New file.
27445         * benchtests/bench-strcspn.c: New file.
27446         * benchtests/bench-strlen-ifunc.c: New file.
27447         * benchtests/bench-strlen.c: New file.
27448         * benchtests/bench-strncasecmp-ifunc.c: New file.
27449         * benchtests/bench-strncasecmp.c: New file.
27450         * benchtests/bench-strncat-ifunc.c: New file.
27451         * benchtests/bench-strncat.c: New file.
27452         * benchtests/bench-strncmp-ifunc.c: New file.
27453         * benchtests/bench-strncmp.c: New file.
27454         * benchtests/bench-strncpy-ifunc.c: New file.
27455         * benchtests/bench-strncpy.c: New file.
27456         * benchtests/bench-strnlen-ifunc.c: New file.
27457         * benchtests/bench-strnlen.c: New file.
27458         * benchtests/bench-strpbrk-ifunc.c: New file.
27459         * benchtests/bench-strpbrk.c: New file.
27460         * benchtests/bench-strrchr-ifunc.c: New file.
27461         * benchtests/bench-strrchr.c: New file.
27462         * benchtests/bench-strspn-ifunc.c: New file.
27463         * benchtests/bench-strspn.c: New file.
27464         * benchtests/bench-strstr-ifunc.c: New file.
27465         * benchtests/bench-strstr.c: New file.
27467         * benchtests/Makefile: Disable parallel execution of targets.
27468         (string-bench): Add memcpy.
27469         (benchset): New variable to store a list of benchmark sets.
27470         (bench-func): Renamed from bench.
27471         (bench-set): New target.
27472         (bench): Depend on bench-func and bench-set.
27473         * benchtests/README: Add section on benchmark sets.
27474         * benchtests/bench-memcpy-ifunc.c: New file.
27475         * benchtests/bench-memcpy.c: New file.
27476         * benchtests/bench-string.h: New file.
27478 2013-06-11  Andreas Schwab  <schwab@suse.de>
27480         [BZ #15577]
27481         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27482         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27483         values in the triple.
27484         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27485         terminator in the group key.
27487 2013-06-11  Andreas Jaeger  <aj@suse.de>
27489         * po/zh_TW.po: Update Chinese (traditional) translation from
27490         translation project.
27492 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27494         * include/time.h (__clock_gettime): Add libc_hidden_proto.
27495         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27496         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
27497         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27498         (clock_getcpuclockid): Likewise.
27499         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27500         Add weak_alias and libc_hidden_def.
27501         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27502         * rt/clock_gettime.c (clock_gettime): Rename to
27503         __clock_gettime.  Add weak_alias and libc_hidden_def.
27504         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27505         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27506         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
27507         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27508         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27509         Likewise.
27510         * rt/clock_settime.c (clock_settime): Rename to
27511         __clock_settime.  Add weak_alias and libc_hidden_def.
27512         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27514 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
27516         * mach/err_boot.sub: Remove trailing whitespace.
27517         * mach/err_ipc.sub: Likewise.
27518         * mach/err_mach.sub: Likewise.
27520         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27521         (ROUNDING_TESTS_double): Likewise.
27522         (ROUNDING_TESTS_long_double): Likewise.
27523         (ROUNDING_TESTS): Likewise.
27524         * math/libm-test.inc: Include <math-tests.h>.
27525         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27526         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27527         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27528         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27530 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27532         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27533         of assigning.
27535 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
27537         * sysdeps/gnu/errlist.awk: Do not generate space at end of
27538         otherwise empty TRANS lines.
27539         * sysdeps/gnu/errlist.c: Regenerated.
27541         * catgets/gencat.c (error_print): Use (void) in function
27542         definition.
27543         * crypt/crypt_util.c (__init_des): Likewise.
27544         * crypt/speeds.c (Stop): Likewise.
27545         (main): Likewise.
27546         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27547         * inet/ruserpass.c (token): Likewise.
27548         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27549         * intl/localealias.c (extend_alias_table): Likewise.
27550         * intl/plural-exp.c (init_germanic_plural): Likewise.
27551         * libio/fcloseall.c (__fcloseall): Likewise.
27552         * libio/genops.c (_IO_flush_all): Likewise.
27553         (_IO_flush_all_linebuffered): Likewise.
27554         (_IO_cleanup): Likewise.
27555         (_IO_iter_begin): Likewise.
27556         (_IO_iter_end): Likewise.
27557         (_IO_list_lock): Likewise.
27558         (_IO_list_unlock): Likewise.
27559         (_IO_list_resetlock): Likewise.
27560         * libio/getchar.c (getchar): Likewise.
27561         * libio/getchar_u.c (getchar_unlocked): Likewise.
27562         * libio/getwchar.c (getwchar): Likewise.
27563         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27564         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27565         * login/getpt.c (__getpt): Likewise.
27566         * login/tst-utmp.c (main): Likewise.
27567         * malloc/hooks.c (__malloc_check_init): Likewise.
27568         * malloc/malloc.c (__malloc_stats): Likewise.
27569         * malloc/mtrace.c (tr_break): Likewise.
27570         (mtrace): Likewise.
27571         (muntrace): Likewise.
27572         * misc/fstab.c (endfsent): Likewise.
27573         * misc/getclktck.c (__getclktck): Likewise.
27574         * misc/getdtsz.c (__getdtablesize): Likewise.
27575         * misc/gethostid.c (gethostid): Likewise.
27576         * misc/getpagesize.c (__getpagesize): Likewise.
27577         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27578         (__get_nprocs): Likewise.
27579         (__get_phys_pages): Likewise.
27580         (__get_avphys_pages): Likewise.
27581         * misc/getttyent.c (getttyent): Likewise.
27582         (setttyent): Likewise.
27583         (endttyent): Likewise.
27584         * misc/getusershell.c (getusershell): Likewise.
27585         (endusershell): Likewise.
27586         (setusershell): Likewise.
27587         (initshells): Likewise.
27588         * misc/hsearch.c (__hdestroy): Likewise.
27589         * misc/sync.c (sync): Likewise.
27590         * misc/syslog.c (closelog_internal): Likewise.
27591         (closelog): Likewise.
27592         * misc/ttyslot.c (ttyslot): Likewise.
27593         * misc/vhangup.c (vhangup): Likewise.
27594         * posix/fork.c (__fork): Likewise.
27595         * posix/getegid.c (__getegid): Likewise.
27596         * posix/geteuid.c (__geteuid): Likewise.
27597         * posix/getgid.c (__getgid): Likewise.
27598         * posix/getpid.c (__getpid): Likewise.
27599         * posix/getppid.c (__getppid): Likewise.
27600         * posix/getuid.c (__getuid): Likewise.
27601         * posix/pause.c (pause): Likewise.
27602         * posix/setpgrp.c (setpgrp): Likewise.
27603         * posix/setsid.c (__setsid): Likewise.
27604         * posix/test-vfork.c (noop): Likewise.
27605         * resolv/gethnamaddr.c (_endhtent): Likewise.
27606         (_gethtent): Likewise.
27607         (ht_endhostent): Likewise.
27608         (gethostent): Likewise.
27609         (dns_service): Likewise.
27610         * stdlib/drand48.c (drand48): Likewise.
27611         * stdlib/lrand48.c (lrand48): Likewise.
27612         * stdlib/mrand48.c (mrand48): Likewise.
27613         * stdlib/rand.c (rand): Likewise.
27614         * stdlib/random.c (__random): Likewise.
27615         * stdlib/setenv.c (clearenv): Likewise.
27616         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27617         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27618         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27619         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27620         (__get_nprocs): Likewise.
27621         (__get_phys_pages): Likewise.
27622         (__get_avphys_pages): Likewise.
27623         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27624         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27625         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27626         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27627         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27628         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27629         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27630         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27631         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27632         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27633         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27634         * sysdeps/mach/hurd/sync.c (sync): Likewise.
27635         * sysdeps/posix/clock.c (clock): Likewise.
27636         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27637         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27638         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27639         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27640         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27641         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27642         (__get_nprocs_conf): Likewise.
27643         (__get_phys_pages): Likewise.
27644         (__get_avphys_pages): Likewise.
27645         * time/clock.c (clock): Likewise.
27646         * time/tzset.c (__tzname_max): Likewise.
27648 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
27650         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27651         (__bswap_32): Do not use "register".
27652         * crypt/crypt.c (_ufc_doit_r): Likewise.
27653         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27654         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27655         * gmon/gmon.c (__monstartup): Likewise.
27656         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27657         * hurd/hurdmalloc.c (more_memory): Likewise.
27658         (malloc): Likewise.
27659         (free): Likewise.
27660         (realloc): Likewise.
27661         (malloc_fork_prepare): Likewise.
27662         (malloc_fork_parent): Likewise.
27663         (malloc_fork_child): Likewise.
27664         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27665         (_svcauth_des): Likewise.
27666         * inet/inet_lnaof.c (inet_lnaof): Likewise.
27667         * inet/inet_net.c (inet_network): Likewise.
27668         * inet/inet_netof.c (inet_netof): Likewise.
27669         * inet/rcmd.c (__validuser2_sa): Likewise.
27670         * io/fts.c (fts_open): Likewise.
27671         (fts_load): Likewise.
27672         (fts_close): Likewise.
27673         (fts_read): Likewise.
27674         (fts_children): Likewise.
27675         (fts_build): Likewise.
27676         (fts_stat): Likewise.
27677         (fts_sort): Likewise.
27678         (fts_alloc): Likewise.
27679         (fts_lfree): Likewise.
27680         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27681         (_IO_file_xsgetn): Likewise.
27682         (_IO_file_xsgetn_mmap): Likewise.
27683         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27684         (_IO_cookie_write): Likewise.
27685         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27686         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27687         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27688         * malloc/obstack.c (_obstack_begin): Likewise.
27689         (_obstack_begin_1): Likewise.
27690         (_obstack_newchunk): Likewise.
27691         (_obstack_allocated_p): Likewise.
27692         (obstack_free): Likewise.
27693         (_obstack_memory_used): Likewise.
27694         * misc/getttyent.c (getttynam): Likewise.
27695         (getttyent): Likewise.
27696         (skip): Likewise.
27697         (value): Likewise.
27698         * misc/getusershell.c (initshells): Likewise.
27699         * misc/syslog.c (__vsyslog_chk): Likewise.
27700         * misc/ttyslot.c (ttyslot): Likewise.
27701         * nis/nis_hash.c (__nis_hash): Likewise.
27702         * posix/fnmatch_loop.c (FCT): Likewise.
27703         * posix/getconf.c (print_all): Likewise.
27704         (main): Likewise.
27705         * posix/getopt.c (exchange): Likewise.
27706         * posix/glob.c (globfree): Likewise.
27707         (prefix_array): Likewise.
27708         (__glob_pattern_type): Likewise.
27709         * resolv/arpa/nameser.h (NS_GET16): Likewise.
27710         (NS_GET32): Likewise.
27711         (NS_PUT16): Likewise.
27712         (NS_PUT32): Likewise.
27713         * resolv/gethnamaddr.c (getanswer): Likewise.
27714         (gethostbyname2): Likewise.
27715         (gethostbyaddr): Likewise.
27716         (_gethtent): Likewise.
27717         (_gethtbyname2): Likewise.
27718         (_gethtbyaddr): Likewise.
27719         * resolv/ns_print.c (dst_s_get_int16): Likewise.
27720         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27721         * resolv/res_init.c (__res_vinit): Likewise.
27722         (net_mask): Likewise.
27723         * resolv/res_mkquery.c (outchar): Likewise.
27724         (PRINT): Likewise.
27725         * stdio-common/printf_fp.c (outchar): Likewise.
27726         (PRINT): Likewise.
27727         * stdio-common/printf_fphex.c (outchar): Likewise.
27728         (PRINT): Likewise.
27729         * stdio-common/printf_size.c (outchar): Likewise.
27730         (PRINT): Likewise.
27731         * stdio-common/test_rdwr.c (main): Likewise.
27732         * stdio-common/tfformat.c (matches): Likewise.
27733         * stdio-common/vfprintf.c (outchar): Likewise.
27734         (printf_unknown): Likewise.
27735         (buffered_vfprintf): Likewise.
27736         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27737         * stdio-common/xbug.c (AppendToBuffer): Likewise.
27738         (ReadFile): Likewise.
27739         * stdlib/qsort.c (SWAP): Likewise.
27740         (_quicksort): Likewise.
27741         * stdlib/setenv.c (__add_to_environ): Likewise.
27742         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27743         * stdlib/strtol_l.c (__strtol_l): Likewise.
27744         * stdlib/tst-strtod.c (main): Likewise.
27745         * stdlib/tst-strtol.c (main): Likewise.
27746         * stdlib/tst-strtoll.c (main): Likewise.
27747         * string/bits/string2.h (__strcmp_cc): Likewise.
27748         (__strcmp_cg): Likewise.
27749         (__strcspn_c1): Likewise.
27750         (__strcspn_c2): Likewise.
27751         (__strcspn_c3): Likewise.
27752         (__strspn_c1): Likewise.
27753         (__strspn_c2): Likewise.
27754         (__strspn_c3): Likewise.
27755         (__strsep_1c): Likewise.
27756         (__strsep_2c): Likewise.
27757         (__strsep_3c): Likewise.
27758         * string/memccpy.c (__memccpy): Likewise.
27759         * string/stpcpy.c (__stpcpy): Likewise.
27760         * string/strcmp.c (strcmp): Likewise.
27761         * string/strrchr.c (strrchr): Likewise.
27762         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27763         Likewise.
27764         * sysdeps/mach/hurd/getcwd.c
27765         (_hurd_canonicalize_directory_name_internal): Likewise.
27766         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27767         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27768         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27769         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27770         Likewise, in both definitions.
27771         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27772         definitions.
27773         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27774         64] (__bswap_64): Likewise.
27775         * time/test_time.c (main): Likewise.
27776         * time/tzfile.c (__tzfile_read): Likewise.
27777         (__tzfile_compute): Likewise.
27778         * time/tzset.c (__tzset_parse_tz): Likewise.
27779         (tzset_internal): Likewise.
27780         (compute_change): Likewise.
27781         * wcsmbs/wcscat.c (__wcscat): Likewise.
27782         * wcsmbs/wcschr.c (wcschr): Likewise.
27783         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27784         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27785         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27786         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27787         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27788         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27789         * wcsmbs/wmemchr.c (wmemchr): Likewise.
27790         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27791         * wcsmbs/wmemset.c (wmemset): Likewise.
27793 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
27795         * scripts/config.guess: Update to version 2013-05-16.
27796         * scripts/config.sub: Update to version 2013-04-24.
27797         * scripts/install-sh: Update to version 2011-11-20.07.
27798         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27799         * scripts/move-if-change: Update to version 2012-01-06 07:23.
27801 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
27803         * debug/fgetws_u_chk.c: Fix leading whitespaces.
27804         * elf/sln.c: Likewise.
27805         * hurd/hurd/ioctl.h: Likewise.
27806         * hurd/hurdmalloc.c: Likewise.
27807         * hurd/xattr.c: Likewise.
27808         * include/shlib-compat.h: Likewise.
27809         * inet/ruserpass.c: Likewise.
27810         * libio/iofgets_u.c: Likewise.
27811         * libio/iofgetws_u.c: Likewise.
27812         * locale/programs/ld-identification.c: Likewise.
27813         * locale/programs/ld-time.c: Likewise.
27814         * mach/msg-destroy.c: Likewise.
27815         * nss/nss_files/files-netgrp.c: Likewise.
27816         * resolv/res_data.c: Likewise.
27817         * soft-fp/op-1.h: Likewise.
27818         * soft-fp/op-2.h: Likewise.
27819         * soft-fp/op-4.h: Likewise.
27820         * soft-fp/op-common.h: Likewise.
27821         * stdio-common/printf_fphex.c: Likewise.
27822         * stdlib/strtod_l.c: Likewise.
27823         * sunrpc/rpc/clnt.h: Likewise.
27824         * sysdeps/generic/framestate.c: Likewise.
27825         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27826         * sysdeps/i386/bsd-setjmp.S: Likewise.
27827         * sysdeps/i386/__longjmp.S: Likewise.
27828         * sysdeps/i386/setjmp.S: Likewise.
27829         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27830         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27831         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27832         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27833         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27834         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27835         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27836         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27837         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27838         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27839         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27840         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27841         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27842         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27843         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27844         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27845         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27846         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27847         * sysdeps/ieee754/support.c: Likewise.
27848         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27849         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27850         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27851         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27852         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27853         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27854         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27855         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27856         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27857         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27858         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27859         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27860         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27861         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27862         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27863         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27864         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27867 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
27869         * posix/transbug.c: Remove executable mode.
27871 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
27873         * crypt/speeds.c: Remove trailing whitespace.
27874         * dlfcn/default.c: Likewise.
27875         * elf/ifuncdep2.c: Likewise.
27876         * elf/ifuncmain1.c: Likewise.
27877         * elf/ifuncmain1vis.c: Likewise.
27878         * elf/testobj.h: Likewise.
27879         * elf/tst-stackguard1.c: Likewise.
27880         * gmon/sys/gmon.h: Likewise.
27881         * hurd/hurdmsg.c: Likewise.
27882         * hurd/new-fd.c: Likewise.
27883         * hurd/ports-get.c: Likewise.
27884         * iconvdata/ibm1008_420.c: Likewise.
27885         * inet/tst-getni1.c: Likewise.
27886         * inet/tst-getni2.c: Likewise.
27887         * libio/ioungetc.c: Likewise.
27888         * libio/wfiledoalloc.c: Likewise.
27889         * manual/libm-err-tab.pl: Likewise.
27890         * math/w_dremf.c: Likewise.
27891         * misc/ftruncate.c: Likewise.
27892         * posix/bug-glob2.c: Likewise.
27893         * posix/tst-pcre.c: Likewise.
27894         * posix/wait4.c: Likewise.
27895         * resolv/README: Likewise.
27896         * resolv/res_debug.h: Likewise.
27897         * resolv/tst-inet_ntop.c: Likewise.
27898         * setjmp/bug269-setjmp.c: Likewise.
27899         * soft-fp/extended.h: Likewise.
27900         * soft-fp/op-1.h: Likewise.
27901         * soft-fp/op-2.h: Likewise.
27902         * soft-fp/op-4.h: Likewise.
27903         * soft-fp/op-8.h: Likewise.
27904         * soft-fp/testit.c: Likewise.
27905         * stdio-common/bug16.c: Likewise.
27906         * stdlib/random.c: Likewise.
27907         * sunrpc/rpcsvc/rquota.x: Likewise.
27908         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27909         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27910         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27911         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27912         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27913         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27914         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27915         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27916         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27917         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27918         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27919         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27920         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27921         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27922         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27923         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27924         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27925         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27926         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27927         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27928         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27929         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27930         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27931         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27932         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27933         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27934         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27935         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27936         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27937         * sysdeps/ieee754/s_lib_version.c: Likewise.
27938         * sysdeps/mach/hurd/check_fds.c: Likewise.
27939         * sysdeps/mach/hurd/getsockname.c: Likewise.
27940         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27941         * sysdeps/mach/hurd/recvfrom.c: Likewise.
27942         * sysdeps/powerpc/bits/link.h: Likewise.
27943         * sysdeps/powerpc/dl-procinfo.c: Likewise.
27944         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27945         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27946         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27947         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27948         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27949         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27950         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27951         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27952         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27953         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27954         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27955         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27956         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27957         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27958         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27959         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27960         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27961         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27962         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27963         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27964         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27965         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27966         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27967         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27968         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27969         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27970         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27971         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27972         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27973         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27974         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27975         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27976         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27977         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27978         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27979         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27980         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27981         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27982         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27983         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27984         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27985         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27986         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27987         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27988         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27989         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27990         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27991         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27992         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27993         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27994         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27995         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27996         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27997         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27998         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27999         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28000         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28001         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28002         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28003         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28004         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28005         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28006         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28007         * sysdeps/powerpc/sysdep.h: Likewise.
28008         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28009         * sysdeps/s390/s390-64/sub_n.S: Likewise.
28010         * sysdeps/sh/dl-trampoline.S: Likewise.
28011         * sysdeps/sh/memset.S: Likewise.
28012         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28013         * sysdeps/sh/strlen.S: Likewise.
28014         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28015         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28016         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28017         * sysdeps/sparc/sparc32/rem.S: Likewise.
28018         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28019         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28020         * sysdeps/sparc/sparc32/strchr.S: Likewise.
28021         * sysdeps/sparc/sparc32/udiv.S: Likewise.
28022         * sysdeps/sparc/sparc32/urem.S: Likewise.
28023         * sysdeps/sparc/sparc64/add_n.S: Likewise.
28024         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28025         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28026         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28027         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28028         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28029         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28030         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28031         * sysdeps/unix/bsd/times.c: Likewise.
28032         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28033         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28037         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28038         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28039         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28040         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28041         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28042         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28043         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28044         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28045         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28046         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28047         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28048         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28049         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28050         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28051         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28052         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28053         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28054         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28055         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28056         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28057         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28058         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28059         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28060         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28061         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28062         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28063         * sysdeps/x86_64/strcspn.S: Likewise.
28065 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28067         * locale/C-translit.h: Revert #include <stdint.h> because this is a
28068         generated file.  Regenerate properly from gen-translit.pl.
28069         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
28070         locale/C-translit.h.
28072 2013-06-05  Andreas Schwab  <schwab@suse.de>
28074         [BZ #15100]
28075         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28076         week as 6 instead of -1.
28077         * time/tst-strptime.c (day_tests): Add test case.
28079 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28081         * sysdeps/generic/math_private.h
28082         (libc_feholdexcept_setround_53bit): Replace with
28083         libc_feholdsetround_53bit.
28084         (libc_feupdateenv_53bit): Replace with
28085         libc_feresetround_53bit.
28086         (SET_RESTORE_ROUND_53BIT): Adjust.
28088 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28090         * string/test-strchrnul.c: Add copyright header.
28092         * posix/tst-getaddrinfo4.c: Increase test timeout.
28094 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
28096         [BZ #15536]
28097         * math/libm-test.inc (MAX_EXP): Remove
28098         (MIN_EXP): Define.
28099         (ulp): Use MIN_EXP - MANT_DIG.
28100         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28102 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
28104         * po/be.po: Revert last change.
28105         * po/zh_CN.po: Likewise.
28106         * po/header.pot: Likewise.
28108 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
28110         * Makefile ($(common-objpfx)linkobj/libc.so): Define
28111         link-libc-deps to empty as target-specific variable.
28112         * Makerules (link-libc-args): New variable.
28113         (libc-for-link): Likewise.
28114         (link-libc-deps): Likewise.
28115         (lib%.so): Depend on $(link-libc-deps).  Link with
28116         $(link-libc-args).
28117         (build-module): Link with $(link-libc-args).
28118         (build-module-asneeded): Likewise.
28119         (build-module-helper-objlist): Filter out $(link-libc-deps) from
28120         list of objects.
28121         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
28122         target-specific variable.
28123         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
28124         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
28125         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
28126         libc.
28127         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
28128         libc and ld.so.
28129         ($(objpfx)libpcprofile.so): Likewise.
28130         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
28131         libc_nonshared.a.
28132         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
28133         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
28134         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
28135         $(link-libc-deps).
28136         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
28137         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
28138         * login/Makefile ($(objpfx)libutil.so): Likewise.
28139         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
28140         * math/Makefile ($(objpfx)libm.so): Likewise.
28141         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
28142         $(objpfx)libnsl.so): Define libc-for-link as target-specific
28143         variable instead of depending directly on libc.
28144         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
28145         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
28146         $(link-libc-deps).
28147         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
28148         libc.
28149         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
28150         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
28151         ($(objpfx)libanl.so): Likewise.
28152         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
28153         ld.so.
28154         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
28155         $(link-libc-deps).
28156         * sysdeps/i386/fpu/Makefile: Remove file.
28157         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
28158         ($(objpfx)libm.so): Remove dependency on ld.so.
28160 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
28162         [BZ # 15553]
28163         * nis/yp_xdr.c (XDRMAXNAME): Define.
28164         (XDRMAXRECORD): Define.
28165         (xdr_domainname): Use XDRMAXNAME.
28166         (xdr_mapname): Likewise.
28167         (xdr_peername): Likewise.
28168         (xdr_keydat): Use XDRMAXRECORD.
28169         (xdr_valdat): Likewise.
28171 2013-05-30  Jeff Law  <law@redhat.com>
28173         [BZ #14256]
28174         * manual/errno.texi (ESTALE): Update to account for more than
28175         just NFS file systems.
28176         * sysdeps/gnu/errlist.c: Regenerated.
28178 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28180         [BZ #15465]
28181         * elf/Makefile (tests): Add tst-null-argv.
28182         (modules-names):  Add tst-null-argv-lib.
28183         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
28184         (tst-null-argv-ENV): Set environment for tst-null-argv.
28185         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
28186         (RTLD_PROGNAME): New macro.
28187         * elf/tst-null-argv.c: New test case.
28188         * elf/tst-null-argv-lib.c: Library for test case.
28189         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
28190         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
28191         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
28192         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
28193         * elf/dl-init.c (call_init): Likewise.
28194         (_dl_init): Likewise.
28195         * elf/dl-load.c (print_search_path): Likewise.
28196         (_dl_map_object): Likewise.
28197         * elf/dl-lookup.c (do_lookup_x): Likewise.
28198         (add_dependency): Likewise.
28199         (_dl_lookup_symbol_x): Likewise.
28200         (_dl_debug_bindings): Likewise.
28201         * elf/dl-open.c (_dl_show_scope): Likewise.
28202         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28203         * elf/dl-version.c (match_symbol): Likewise.
28204         (_dl_check_map_versions): Likewise.
28205         * elf/rtld.c (dl_main): Likewise.
28206         (print_unresolved): Use RTLD_PROGNAME.
28207         (print_missing_version): Likewise.
28208         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
28209         (elf_machine_rela): Likewise.
28210         * sysdeps/powerpc/powerpc32/dl-machine.c
28211         (__process_machine_rela): Likewise.
28212         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28213         Likewise.
28214         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28215         Likewise.
28216         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28217         Likewise.
28218         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28219         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28220         Likewise.
28221         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28222         Likewise.
28223         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28225 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
28227         * po/be.po: Add descriptive title.
28228         * po/zh_CN.po: Likewise.
28229         * po/header.pot: Likewise.
28231 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
28233         * locale/programs/locarchive.c (create_archive): Inlucde fname in
28234         error message.
28235         (enlarge_archive): Likewise.
28237 2013-05-28  Ben North  <ben@redfrontdoor.org>
28239         * manual/arith.texi (frexp): It is the magnitude of the return
28240         value which lies in [0.5, 1), not the return value itself.
28242 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28246 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
28248         * stdio-common/bug26.c (main): Correct fscanf template.
28250         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28251         declare _dl_skip_args.
28253         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28254         Don't declare.
28256         * manual/platform.texi: Add missing @end deftypefun.
28258 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
28260         [BZ #15529]
28261         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28262         bit of mantissa of 2^16382.
28263         * math/libm-test.inc (hypot_test_data): Add more tests.
28265         * math/libm-test.inc: Add drem and pow10 to list of tested
28266         functions.
28267         (pow10_test): New function.
28268         (drem_test): Likewise.
28269         (drem_test_tonearest): Likewise.
28270         (drem_test_towardzero): Likewise.
28271         (drem_test_downward): Likewise.
28272         (drem_test_upward): Likewise.
28273         (main): Call the new functions.
28275         * math/libm-test.inc (finite_test_data): Remove.
28276         (finite_test): Run tests from isfinite_test_data.
28277         (gamma_test_data): Remove.
28278         (gamma_test): Run tests from lgamma_test_data.
28279         * sysdeps/i386/fpu/libm-test-ulps: Update.
28280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28282 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28284         * manual/platform.texi: Add PowerPC PPR function set documentation.
28285         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28286         implementation.
28288 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
28290         * math/libm-test.inc (MAX_EXP): Define.
28291         (ULPDIFF): Define.
28292         (ulp): New function.
28293         (check_float_internal): Use ULPDIFF.
28294         (cpow_test): Disable failing test.
28295         (check_ulp): Test ulp() implemetnation.
28296         (main): Call check_ulp before starting tests.
28298 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
28300         * math/gen-libm-test.pl (generate_testfile): Do not handle
28301         START_DATA and END_DATA.
28302         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28303         END_DATA.
28304         (acos_tonearest_test_data): Likewise.
28305         (acos_towardzero_test_data): Likewise.
28306         (acos_downward_test_data): Likewise.
28307         (acos_upward_test_data): Likewise.
28308         (acosh_test_data): Likewise.
28309         (asin_test_data): Likewise.
28310         (asin_tonearest_test_data): Likewise.
28311         (asin_towardzero_test_data): Likewise.
28312         (asin_downward_test_data): Likewise.
28313         (asin_upward_test_data): Likewise.
28314         (asinh_test_data): Likewise.
28315         (atan_test_data): Likewise.
28316         (atanh_test_data): Likewise.
28317         (atan2_test_data): Likewise.
28318         (cabs_test_data): Likewise.
28319         (cacos_test_data): Likewise.
28320         (cacosh_test_data): Likewise.
28321         (carg_test_data): Likewise.
28322         (casin_test_data): Likewise.
28323         (casinh_test_data): Likewise.
28324         (catan_test_data): Likewise.
28325         (catanh_test_data): Likewise.
28326         (cbrt_test_data): Likewise.
28327         (ccos_test_data): Likewise.
28328         (ccosh_test_data): Likewise.
28329         (ceil_test_data): Likewise.
28330         (cexp_test_data): Likewise.
28331         (cimag_test_data): Likewise.
28332         (clog_test_data): Likewise.
28333         (clog10_test_data): Likewise.
28334         (conj_test_data): Likewise.
28335         (copysign_test_data): Likewise.
28336         (cos_test_data): Likewise.
28337         (cos_tonearest_test_data): Likewise.
28338         (cos_towardzero_test_data): Likewise.
28339         (cos_downward_test_data): Likewise.
28340         (cos_upward_test_data): Likewise.
28341         (cosh_test_data): Likewise.
28342         (cosh_tonearest_test_data): Likewise.
28343         (cosh_towardzero_test_data): Likewise.
28344         (cosh_downward_test_data): Likewise.
28345         (cosh_upward_test_data): Likewise.
28346         (cpow_test_data): Likewise.
28347         (cproj_test_data): Likewise.
28348         (creal_test_data): Likewise.
28349         (csin_test_data): Likewise.
28350         (csinh_test_data): Likewise.
28351         (csqrt_test_data): Likewise.
28352         (ctan_test_data): Likewise.
28353         (ctan_tonearest_test_data): Likewise.
28354         (ctan_towardzero_test_data): Likewise.
28355         (ctan_downward_test_data): Likewise.
28356         (ctan_upward_test_data): Likewise.
28357         (ctanh_test_data): Likewise.
28358         (ctanh_tonearest_test_data): Likewise.
28359         (ctanh_towardzero_test_data): Likewise.
28360         (ctanh_downward_test_data): Likewise.
28361         (ctanh_upward_test_data): Likewise.
28362         (erf_test_data): Likewise.
28363         (erfc_test_data): Likewise.
28364         (exp_test_data): Likewise.
28365         (exp_tonearest_test_data): Likewise.
28366         (exp_towardzero_test_data): Likewise.
28367         (exp_downward_test_data): Likewise.
28368         (exp_upward_test_data): Likewise.
28369         (exp10_test_data): Likewise.
28370         (exp2_test_data): Likewise.
28371         (expm1_test_data): Likewise.
28372         (fabs_test_data): Likewise.
28373         (fdim_test_data): Likewise.
28374         (finite_test_data): Likewise.
28375         (floor_test_data): Likewise.
28376         (fma_test_data): Likewise.
28377         (fma_towardzero_test_data): Likewise.
28378         (fma_downward_test_data): Likewise.
28379         (fma_upward_test_data): Likewise.
28380         (fmax_test_data): Likewise.
28381         (fmin_test_data): Likewise.
28382         (fmod_test_data): Likewise.
28383         (fpclassify_test_data): Likewise.
28384         (frexp_test_data): Likewise.
28385         (gamma_test_data): Likewise.
28386         (hypot_test_data): Likewise.
28387         (ilogb_test_data): Likewise.
28388         (isfinite_test_data): Likewise.
28389         (isgreater_test_data): Likewise.
28390         (isgreaterequal_test_data): Likewise.
28391         (isinf_test_data): Likewise.
28392         (isless_test_data): Likewise.
28393         (islessequal_test_data): Likewise.
28394         (islessgreater_test_data): Likewise.
28395         (isnan_test_data): Likewise.
28396         (isnormal_test_data): Likewise.
28397         (issignaling_test_data): Likewise.
28398         (isunordered_test_data): Likewise.
28399         (j0_test_data): Likewise.
28400         (j1_test_data): Likewise.
28401         (jn_test_data): Likewise.
28402         (ldexp_test_data): Likewise.
28403         (lgamma_test_data): Likewise.
28404         (lrint_test_data): Likewise.
28405         (lrint_tonearest_test_data): Likewise.
28406         (lrint_towardzero_test_data): Likewise.
28407         (lrint_downward_test_data): Likewise.
28408         (lrint_upward_test_data): Likewise.
28409         (llrint_test_data): Likewise.
28410         (llrint_tonearest_test_data): Likewise.
28411         (llrint_towardzero_test_data): Likewise.
28412         (llrint_downward_test_data): Likewise.
28413         (llrint_upward_test_data): Likewise.
28414         (log_test_data): Likewise.
28415         (log10_test_data): Likewise.
28416         (log1p_test_data): Likewise.
28417         (log2_test_data): Likewise.
28418         (logb_test_data): Likewise.
28419         (logb_downward_test_data): Likewise.
28420         (lround_test_data): Likewise.
28421         (llround_test_data): Likewise.
28422         (modf_test_data): Likewise.
28423         (nearbyint_test_data): Likewise.
28424         (nextafter_test_data): Likewise.
28425         (nexttoward_test_data): Likewise.
28426         (pow_test_data): Likewise.
28427         (pow_tonearest_test_data): Likewise.
28428         (pow_towardzero_test_data): Likewise.
28429         (pow_downward_test_data): Likewise.
28430         (pow_upward_test_data): Likewise.
28431         (remainder_test_data): Likewise.
28432         (remainder_tonearest_test_data): Likewise.
28433         (remainder_towardzero_test_data): Likewise.
28434         (remainder_downward_test_data): Likewise.
28435         (remainder_upward_test_data): Likewise.
28436         (remquo_test_data): Likewise.
28437         (rint_test_data): Likewise.
28438         (rint_tonearest_test_data): Likewise.
28439         (rint_towardzero_test_data): Likewise.
28440         (rint_downward_test_data): Likewise.
28441         (rint_upward_test_data): Likewise.
28442         (round_test_data): Likewise.
28443         (scalb_test_data): Likewise.
28444         (scalbn_test_data): Likewise.
28445         (scalbln_test_data): Likewise.
28446         (signbit_test_data): Likewise.
28447         (sin_test_data): Likewise.
28448         (sin_tonearest_test_data): Likewise.
28449         (sin_towardzero_test_data): Likewise.
28450         (sin_downward_test_data): Likewise.
28451         (sin_upward_test_data): Likewise.
28452         (sincos_test_data): Likewise.
28453         (sinh_test_data): Likewise.
28454         (sinh_tonearest_test_data): Likewise.
28455         (sinh_towardzero_test_data): Likewise.
28456         (sinh_downward_test_data): Likewise.
28457         (sinh_upward_test_data): Likewise.
28458         (sqrt_test_data): Likewise.
28459         (tan_test_data): Likewise.
28460         (tan_tonearest_test_data): Likewise.
28461         (tan_towardzero_test_data): Likewise.
28462         (tan_downward_test_data): Likewise.
28463         (tan_upward_test_data): Likewise.
28464         (tanh_test_data): Likewise.
28465         (tgamma_test_data): Likewise.
28466         (trunc_test_data): Likewise.
28467         (y0_test_data): Likewise.
28468         (y1_test_data): Likewise.
28469         (yn_test_data): Likewise.
28470         (significand_test_data): Likewise.
28472         * math/gen-libm-test.pl (@functions): Remove variable.
28473         (generate_testfile): Don't handle START and END lines.
28474         * math/libm-test.inc (START): New macro.
28475         (END): Likewise.
28476         (END_COMPLEX): Likewise.
28477         (acos_test): Use END macro without arguments.
28478         (acos_test_tonearest): Likewise.
28479         (acos_test_towardzero): Likewise.
28480         (acos_test_downward): Likewise.
28481         (acos_test_upward): Likewise.
28482         (acosh_test): Likewise.
28483         (asin_test): Likewise.
28484         (asin_test_tonearest): Likewise.
28485         (asin_test_towardzero): Likewise.
28486         (asin_test_downward): Likewise.
28487         (asin_test_upward): Likewise.
28488         (asinh_test): Likewise.
28489         (atan_test): Likewise.
28490         (atanh_test): Likewise.
28491         (atan2_test): Likewise.
28492         (cabs_test): Likewise.
28493         (cacos_test): Use END_COMPLEX macro without arguments.
28494         (cacosh_test): Likewise.
28495         (carg_test): Use END macro without arguments.
28496         (casin_test): Use END_COMPLEX macro without arguments.
28497         (casinh_test): Likewise.
28498         (catan_test): Likewise.
28499         (catanh_test): Likewise.
28500         (cbrt_test): Use END macro without arguments.
28501         (ccos_test): Use END_COMPLEX macro without arguments.
28502         (ccosh_test): Likewise.
28503         (ceil_test): Use END macro without arguments.
28504         (cexp_test): Use END_COMPLEX macro without arguments.
28505         (cimag_test): Use END macro without arguments.
28506         (clog_test): Use END_COMPLEX macro without arguments.
28507         (clog10_test): Likewise.
28508         (conj_test): Likewise.
28509         (copysign_test): Use END macro without arguments.
28510         (cos_test): Likewise.
28511         (cos_test_tonearest): Likewise.
28512         (cos_test_towardzero): Likewise.
28513         (cos_test_downward): Likewise.
28514         (cos_test_upward): Likewise.
28515         (cosh_test): Likewise.
28516         (cosh_test_tonearest): Likewise.
28517         (cosh_test_towardzero): Likewise.
28518         (cosh_test_downward): Likewise.
28519         (cosh_test_upward): Likewise.
28520         (cpow_test): Use END_COMPLEX macro without arguments.
28521         (cproj_test): Likewise.
28522         (creal_test): Use END macro without arguments.
28523         (csin_test): Use END_COMPLEX macro without arguments.
28524         (csinh_test): Likewise.
28525         (csqrt_test): Likewise.
28526         (ctan_test): Likewise.
28527         (ctan_test_tonearest): Likewise.
28528         (ctan_test_towardzero): Likewise.
28529         (ctan_test_downward): Likewise.
28530         (ctan_test_upward): Likewise.
28531         (ctanh_test): Likewise.
28532         (ctanh_test_tonearest): Likewise.
28533         (ctanh_test_towardzero): Likewise.
28534         (ctanh_test_downward): Likewise.
28535         (ctanh_test_upward): Likewise.
28536         (erf_test): Use END macro without arguments.
28537         (erfc_test): Likewise.
28538         (exp_test): Likewise.
28539         (exp_test_tonearest): Likewise.
28540         (exp_test_towardzero): Likewise.
28541         (exp_test_downward): Likewise.
28542         (exp_test_upward): Likewise.
28543         (exp10_test): Likewise.
28544         (exp2_test): Likewise.
28545         (expm1_test): Likewise.
28546         (fabs_test): Likewise.
28547         (fdim_test): Likewise.
28548         (finite_test): Likewise.
28549         (floor_test): Likewise.
28550         (fma_test): Likewise.
28551         (fma_test_towardzero): Likewise.
28552         (fma_test_downward): Likewise.
28553         (fma_test_upward): Likewise.
28554         (fmax_test): Likewise.
28555         (fmin_test): Likewise.
28556         (fmod_test): Likewise.
28557         (fpclassify_test): Likewise.
28558         (frexp_test): Likewise.
28559         (gamma_test): Likewise.
28560         (hypot_test): Likewise.
28561         (ilogb_test): Likewise.
28562         (isfinite_test): Likewise.
28563         (isgreater_test): Likewise.
28564         (isgreaterequal_test): Likewise.
28565         (isinf_test): Likewise.
28566         (isless_test): Likewise.
28567         (islessequal_test): Likewise.
28568         (islessgreater_test): Likewise.
28569         (isnan_test): Likewise.
28570         (isnormal_test): Likewise.
28571         (issignaling_test): Likewise.
28572         (isunordered_test): Likewise.
28573         (j0_test): Likewise.
28574         (j1_test): Likewise.
28575         (jn_test): Likewise.
28576         (ldexp_test): Likewise.
28577         (lgamma_test): Likewise.
28578         (lrint_test): Likewise.
28579         (lrint_test_tonearest): Likewise.
28580         (lrint_test_towardzero): Likewise.
28581         (lrint_test_downward): Likewise.
28582         (lrint_test_upward): Likewise.
28583         (llrint_test): Likewise.
28584         (llrint_test_tonearest): Likewise.
28585         (llrint_test_towardzero): Likewise.
28586         (llrint_test_downward): Likewise.
28587         (llrint_test_upward): Likewise.
28588         (log_test): Likewise.
28589         (log10_test): Likewise.
28590         (log1p_test): Likewise.
28591         (log2_test): Likewise.
28592         (logb_test): Likewise.
28593         (logb_test_downward): Likewise.
28594         (lround_test): Likewise.
28595         (llround_test): Likewise.
28596         (modf_test): Likewise.
28597         (nearbyint_test): Likewise.
28598         (nextafter_test): Likewise.
28599         (nexttoward_test): Likewise.
28600         (pow_test): Likewise.
28601         (pow_test_tonearest): Likewise.
28602         (pow_test_towardzero): Likewise.
28603         (pow_test_downward): Likewise.
28604         (pow_test_upward): Likewise.
28605         (remainder_test): Likewise.
28606         (remainder_test_tonearest): Likewise.
28607         (remainder_test_towardzero): Likewise.
28608         (remainder_test_downward): Likewise.
28609         (remainder_test_upward): Likewise.
28610         (remquo_test): Likewise.
28611         (rint_test): Likewise.
28612         (rint_test_tonearest): Likewise.
28613         (rint_test_towardzero): Likewise.
28614         (rint_test_downward): Likewise.
28615         (rint_test_upward): Likewise.
28616         (round_test): Likewise.
28617         (scalb_test): Likewise.
28618         (scalbn_test): Likewise.
28619         (scalbln_test): Likewise.
28620         (signbit_test): Likewise.
28621         (sin_test): Likewise.
28622         (sin_test_tonearest): Likewise.
28623         (sin_test_towardzero): Likewise.
28624         (sin_test_downward): Likewise.
28625         (sin_test_upward): Likewise.
28626         (sincos_test): Likewise.
28627         (sinh_test): Likewise.
28628         (sinh_test_tonearest): Likewise.
28629         (sinh_test_towardzero): Likewise.
28630         (sinh_test_downward): Likewise.
28631         (sinh_test_upward): Likewise.
28632         (sqrt_test): Likewise.
28633         (tan_test): Likewise.
28634         (tan_test_tonearest): Likewise.
28635         (tan_test_towardzero): Likewise.
28636         (tan_test_downward): Likewise.
28637         (tan_test_upward): Likewise.
28638         (tanh_test): Likewise.
28639         (tgamma_test): Likewise.
28640         (trunc_test): Likewise.
28641         (y0_test): Likewise.
28642         (y1_test): Likewise.
28643         (yn_test): Likewise.
28644         (significand_test): Likewise.
28646 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
28648         [BZ #15381]
28649         * libio/genops.c (_IO_no_init): Initialize wide struct info.
28651 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28653         [BZ #14894]
28654         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28655         __ppc_mdoio and __ppc_mdoom.
28656         * manual/platform.texi: Document new functions __ppc_yield,
28657         __ppc_mdoio and __ppc_mdoom.
28659 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
28661         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28662         (main): Mention "tls" pseudo-hwcap is legacy.
28663         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28665 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28667         * math/gen-libm-test.pl (parse_args): Output only string of
28668         arguments as text for test name, not full call or descriptions of
28669         tests for extra outputs.
28670         (generate_testfile): Do not pass function name to parse_args.
28671         Generate this_func variable from START.
28672         * math/libm-test.inc (struct test_f_f_data): Rename test_name
28673         field to arg_str.
28674         (struct test_ff_f_data): Likewise.
28675         (test_ff_f_data_nexttoward): Likewise.
28676         (struct test_fi_f_data): Likewise.
28677         (struct test_fl_f_data): Likewise.
28678         (struct test_if_f_data): Likewise.
28679         (struct test_fff_f_data): Likewise.
28680         (struct test_c_f_data): Likewise.
28681         (struct test_f_f1_data): Likewise.  Remove field extra_name.
28682         (struct test_fF_f1_data): Likewise.
28683         (struct test_ffI_f1_data): Likewise.
28684         (struct test_c_c_data): Rename test_name field to arg_str.
28685         (struct test_cc_c_data): Likewise.
28686         (struct test_f_i_data): Likewise.
28687         (struct test_ff_i_data): Likewise.
28688         (struct test_f_l_data): Likewise.
28689         (struct test_f_L_data): Likewise.
28690         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
28691         and extra2_name.
28692         (COMMON_TEST_SETUP): New macro.
28693         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28694         (COMMON_TEST_CLEANUP): Likewise.
28695         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28696         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
28697         macros.
28698         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28699         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
28700         macros.
28701         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28702         (RUN_TEST_fff_f): Take argument string.  Call new setup and
28703         cleanup macros.
28704         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28705         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
28706         macros.
28707         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28708         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
28709         macros.
28710         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28711         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
28712         cleanup macros.
28713         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28714         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
28715         cleanup macros.
28716         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28717         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
28718         cleanup macros.
28719         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28720         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
28721         macros.
28722         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28723         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
28724         macros.
28725         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28726         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
28727         macros.
28728         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28729         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
28730         cleanup macros.
28731         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28732         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
28733         cleanup macros.
28734         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28735         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
28736         macros.
28737         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28738         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
28739         cleanup macros.
28740         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28741         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
28742         macros.
28743         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28744         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
28745         macros.
28746         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28747         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
28748         cleanup macros.
28749         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28751 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
28753         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28754         to _sifields.sigfault.
28755         (si_addr_lsb): Define new macro.
28756         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28757         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28758         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28760 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
28762         [BZ #15441]
28763         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28764         returns -1.
28765         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28766         null return -1.
28767         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28768         loading the domain.
28770 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28772         * math/gen-libm-test.pl (parse_args): Do not include expected
28773         result in test name.
28774         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28775         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28776         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28777         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28778         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28781 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28783         * benchtests/Makefile: Sort function entries.
28785         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28786         tanh, asinh, acosh, atanh.
28787         * benchtests/acos-inputs: New file.
28788         * benchtests/acosh-inputs: New file.
28789         * benchtests/asin-inputs: New file.
28790         * benchtests/asinh-inputs: New file.
28791         * benchtests/atanh-inputs: New file.
28792         * benchtests/cosh-inputs: New file.
28793         * benchtests/log-inputs: New file.
28794         * benchtests/sinh-inputs: New file.
28795         * benchtests/tanh-inputs: New file.
28797 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
28799         [BZ #15339]
28800         * posix/tst-getaddrinfo4.c: New test.
28801         * posix/Makefile (tests): Add it.
28803 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28805         [BZ #15339]
28806         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28807         when no services were used.
28808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28809         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28811 2013-05-21  Andreas Schwab  <schwab@suse.de>
28813         [BZ #15014]
28814         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28815         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28816         successful.
28817         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28818         redundant variable declarations and reallocation of buffer when
28819         parsing as IPv6 address.  Always set NSS status when called from
28820         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
28821         buffer too small.  Correct computation of needed size.
28822         * nss/Makefile (tests): Add test-digits-dots.
28823         * nss/test-digits-dots.c: New test.
28825 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28827         * benchtests/Makefile: Remove instructions for adding
28828         benchmark tests.
28829         * benchtests/README: New file to explain how to execute and
28830         enhance the benchmark tests.
28832 2013-05-21  Andreas Schwab  <schwab@suse.de>
28834         [BZ #15493]
28835         * setjmp/Makefile (tests): Add tst-sigsetjmp.
28836         * setjmp/tst-sigsetjmp.c: New test.
28838 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28840         * sysdeps/x86_64/memset.S (memset): New implementation.
28841         (__bzero): Likewise.
28842         (__memset_tail): New function.
28844 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28846         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28847         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28848         __memcpy_sse2_unaligned ifunc selection.
28849         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28850         Add memcpy-sse2-unaligned.S.
28851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28852         Add: __memcpy_sse2_unaligned.
28854 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
28856         [BZ #15490]
28857         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28858         math_force_eval before restoring floating-point envrionment.
28859         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28860         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28861         Likewise.
28862         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28863         <math_private.h>.
28864         (__nearbyintl): Use math_force_eval before restoring
28865         floating-point environment.
28866         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28868         * math/gen-libm-test.pl (special_functions): Remove.
28869         (parse_args): Don't handle TEST_extra.  Handle functions with no
28870         return value.
28871         * math/libm-test.inc (struct test_sincos_data): Replace with
28872         struct test_fFF_11_data.
28873         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28874         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28875         (sincos_test_data): Change element type to struct
28876         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
28877         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28878         RUN_TEST_LOOP_sincos.
28879         * math/README.libm-test: Don't mention special handling of
28880         individual functions.
28881         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28882         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28883         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28884         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28885         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28888         * math/gen-libm-test.pl (get_variable): Remove function.
28889         (parse_args): Don't show pointer parameters to call in test
28890         names.  Use "extra output N" in test names for extra outputs
28891         rather than naming variables.
28893 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
28895         [BZ #15488]
28896         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28897         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28898         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28899         double tests.
28900         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28901         disable.
28902         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28903         check_long_double.
28905         * math/gen-libm-test.pl (@tests): Remove variable.
28906         ($count): Likewise.
28907         (new_test): Remove function.
28908         (show_exceptions): New function.
28909         (special_functions): Use show_exceptions instead of new_test.
28910         (parse_args): Likewise.
28911         (generate_testfile): Pass only function name in generated call to
28912         print_max_error or print_complex_max_error.
28913         (get_ulps): Do not handle complex tests specially.
28914         (output_test): Rename to ...
28915         (get_all_ulps_for_test): ... this.  Return a string rather than
28916         printing to a file.  Require ulps to be present.
28917         (output_ulps): Generate arrays rather than #defines.
28918         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28919         (struct ulp_data): New type.
28920         (BUILD_COMPLEX_ULP): Remove macro.
28921         (compare_ulp_data): New function.
28922         (find_ulps): Likewise.
28923         (find_test_ulps): Likewise.
28924         (find_function_ulps): Likewise.
28925         (find_complex_function_ulps): Likewise.
28926         (print_max_error): Determine allowed ulps using
28927         find_function_ulps.
28928         (print_complex_max_error): Determine allowed ulps using
28929         find_complex_function_ulps.
28930         (check_float_internal): Determine max ulps using find_test_ulps.
28931         (check_float): Do not take max_ulp parameter.  Update call to
28932         check_float_internal.
28933         (check_complex): Likewise.
28934         (check_int): Do not take max_ulp parameter.
28935         (check_long): Likewise.
28936         (check_bool): Likewise.
28937         (check_longlong): Likewise.
28938         (struct test_f_f_data): Remove max_ulp field.
28939         (struct test_ff_f_data): Likewise.
28940         (struct test_ff_f_data_nexttoward): Likewise.
28941         (struct test_fi_f_data): Likewise.
28942         (struct test_fl_f_data): Likewise.
28943         (struct test_if_f_data): Likewise.
28944         (struct test_fff_f_data): Likewise.
28945         (struct test_c_f_data): Likewise.
28946         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28947         (struct test_fF_f1_data): Likewise.
28948         (struct test_ffI_f1_data): Likewise.
28949         (struct test_c_c_data): Remove max_ulp field.
28950         (struct test_cc_c_data): Likewise.
28951         (struct test_f_i_data): Likewise.
28952         (struct test_ff_i_data): Likewise.
28953         (struct test_f_l_data): Likewise.
28954         (struct test_f_L_data): Likewise.
28955         (struct test_sincos_data): Likewise.
28956         (RUN_TEST_f_f): Do not handle ulps.
28957         (RUN_TEST_LOOP_f_f): Likewise.
28958         (RUN_TEST_2_f): Likewise.
28959         (RUN_TEST_LOOP_2_f): Likewise.
28960         (RUN_TEST_fff_f): Likewise.
28961         (RUN_TEST_LOOP_fff_f): Likewise.
28962         (RUN_TEST_c_f): Likewise.
28963         (RUN_TEST_LOOP_c_f): Likewise.
28964         (RUN_TEST_f_f1): Likewise.
28965         (RUN_TEST_LOOP_f_f1): Likewise.
28966         (RUN_TEST_fF_f1): Likewise.
28967         (RUN_TEST_LOOP_fF_f1): Likewise.
28968         (RUN_TEST_fI_f1): Likewise.
28969         (RUN_TEST_LOOP_fI_f1): Likewise.
28970         (RUN_TEST_ffI_f1): Likewise.
28971         (RUN_TEST_LOOP_ffI_f1): Likewise.
28972         (RUN_TEST_c_c): Likewise.
28973         (RUN_TEST_LOOP_c_c): Likewise.
28974         (RUN_TEST_cc_c): Likewise.
28975         (RUN_TEST_LOOP_cc_c): Likewise.
28976         (RUN_TEST_f_i): Likewise.
28977         (RUN_TEST_LOOP_f_i): Likewise.
28978         (RUN_TEST_f_i_tg): Likewise.
28979         (RUN_TEST_LOOP_f_i_tg): Likewise.
28980         (RUN_TEST_ff_i_tg): Likewise.
28981         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28982         (RUN_TEST_f_b): Likewise.
28983         (RUN_TEST_LOOP_f_b): Likewise.
28984         (RUN_TEST_f_b_tg): Likewise.
28985         (RUN_TEST_LOOP_f_b_tg): Likewise.
28986         (RUN_TEST_f_l): Likewise.
28987         (RUN_TEST_LOOP_f_l): Likewise.
28988         (RUN_TEST_f_L): Likewise.
28989         (RUN_TEST_LOOP_f_L): Likewise.
28990         (RUN_TEST_sincos): Likewise.
28991         (RUN_TEST_LOOP_sincos): Likewise.
28993 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
28995         [BZ #15480]
28996         [BZ #15485]
28997         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28998         main case of finite arguments, set rounding mode to FE_TONEAREST
28999         and discard exceptions.
29000         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29001         exceptions.
29002         (remainder_tonearest_test_data): New variable.
29003         (remainder_test_tonearest): New function.
29004         (remainder_towardzero_test_data): New variable.
29005         (remainder_test_towardzero): New function.
29006         (remainder_downward_test_data): New variable.
29007         (remainder_test_downward): New function.
29008         (remainder_upward_test_data): New variable.
29009         (remainder_test_upward): New function.
29010         (main): Call the new test functions.
29012         * math/libm-test.inc (struct test_f_f1_data): Remove field
29013         extra_init.
29014         (struct test_fF_f1_data): Likewise.
29015         (struct test_ffI_f1_data): Likewise.
29016         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
29017         based on value of EXTRA_EXPECTED.
29018         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29019         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
29020         EXTRA_VAR based on value of EXTRA_EXPECTED.
29021         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29022         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
29023         EXTRA_VAR based on value of EXTRA_EXPECTED.
29024         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29025         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
29026         EXTRA_VAR based on value of EXTRA_EXPECTED.
29027         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29028         * math/gen-libm-test.pl (parse_args): Don't output initializers
29029         for extra output values.
29031         * math/libm-test.inc (check_int): Expect result to be exactly
29032         equal to expected value and do not handle ulps.
29033         (check_long): Likewise.
29034         (check_longlong): Likewise.
29036         * math/libm-test.inc (ceil_test_data): Test for "inexact"
29037         exceptions.
29038         (cimag_test_data): Likewise.
29039         (conj_test_data): Likewise.
29040         (copysign_test_data): Likewise.
29041         (cproj_test_data): Likewise.
29042         (creal_test_data): Likewise.
29043         (fabs_test_data): Likewise.
29044         (fdim_test_data): Likewise.
29045         (finite_test_data): Likewise.
29046         (floor_test_data): Likewise.
29047         (fmax_test_data): Likewise.
29048         (fmin_test_data): Likewise.
29049         (fmod_test_data): Likewise.
29050         (fpclassify_test_data): Likewise.
29051         (frexp_test_data): Likewise.
29052         (ilogb_test_data): Likewise.
29053         (isfinite_test_data): Likewise.
29054         (isgreater_test_data): Likewise.
29055         (isgreaterequal_test_data): Likewise.
29056         (isinf_test_data): Likewise.
29057         (isless_test_data): Likewise.
29058         (islessequal_test_data): Likewise.
29059         (islessgreater_test_data): Likewise.
29060         (isnan_test_data): Likewise.
29061         (isnormal_test_data): Likewise.
29062         (issignaling_test_data): Likewise.
29063         (isunordered_test_data): Likewise.
29064         (ldexp_test_data): Likewise.
29065         (lrint_test_data): Likewise.
29066         (lrint_test_data) [TEST_FLOAT]: Disable one test.
29067         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29068         (lrint_tonearest_test_data): Test for "inexact" exceptions.
29069         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29070         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29071         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29072         test input.
29073         (lrint_towardzero_test_data): Test for "inexact" exceptions.
29074         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29075         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29076         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29077         that test input.
29078         (lrint_downward_test_data): Test for "inexact" exceptions.
29079         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29080         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29081         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29082         test input.
29083         (lrint_upward_test_data): Test for "inexact" exceptions.
29084         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29085         test input.
29086         (llrint_test_data): Test for "inexact" exceptions.
29087         (llrint_test_data) [TEST_FLOAT]: Disable one test.
29088         (llrint_tonearest_test_data): Test for "inexact" exceptions.
29089         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29090         (llrint_towardzero_test_data): Test for "inexact" exceptions.
29091         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29092         (llrint_downward_test_data): Test for "inexact" exceptions.
29093         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29094         (llrint_upward_test_data): Test for "inexact" exceptions.
29095         (logb_test_data): Likewise.
29096         (logb_downward_test_data): Likewise.
29097         (nextafter_test_data): Likewise.
29098         (nexttoward_test_data): Likewise.
29099         (remainder_test_data): Likewise.
29100         (remquo_test_data): Likewise.
29101         (scalbn_test_data): Likewise.
29102         (scalbln_test_data): Likewise.
29103         (signbit_test_data): Likewise.
29104         (sqrt_test_data): Likewise.
29105         (significand_test_data): Likewise.
29107 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29109         [BZ #15424]
29110         * benchtests/bench-modf.c (struct args): Mark arg0 as
29111         volatile.
29112         * scripts/bench.pl: Mark members of struct args as volatile.
29114 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29116         [BZ # 15497]
29117         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
29118         negative infinity on POWER6 or lower.
29119         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
29121 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
29123         [BZ #15442]
29124         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
29125         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
29126         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
29127         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
29128         (_FP_SETQNAN): New macro.
29129         (_FP_SETQNAN_SEMIRAW): Likewise.
29130         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
29131         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
29132         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
29133         (FP_EXTEND): Use _FP_FRAC_SNANP.
29134         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
29135         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
29136         into account.
29137         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29138         New macro.
29139         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29140         Likewise.
29142 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29144         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
29145         with DIVIDE_BY_ZERO_EXCEPTION.
29146         (gamma_test_data): Likewise.
29147         (lgamma_test_data): Likewise.
29148         (log_test_data): Likewise.
29149         (log10_test_data): Likewise.
29150         (log2_test_data): Likewise.
29151         (tgamma_test_data): Likewise.
29153         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
29154         (acos_test_tonearest): Likewise.
29155         (acos_test_towardzero): Likewise.
29156         (acos_test_downward): Likewise.
29157         (acos_test_upward): Likewise.
29158         (acosh_test): Likewise.
29159         (asin_test): Likewise.
29160         (asin_test_tonearest): Likewise.
29161         (asin_test_towardzero): Likewise.
29162         (asin_test_downward): Likewise.
29163         (asin_test_upward): Likewise.
29164         (asinh_test): Likewise.
29165         (atan_test): Likewise.
29166         (atanh_test): Likewise.
29167         (atan2_test): Likewise.
29168         (cabs_test): Likewise.
29169         (cacos_test): Likewise.
29170         (cacosh_test): Likewise.
29171         (casin_test): Likewise.
29172         (casinh_test): Likewise.
29173         (catan_test): Likewise.
29174         (catanh_test): Likewise.
29175         (cbrt_test): Likewise.
29176         (ccos_test): Likewise.
29177         (ccosh_test): Likewise.
29178         (cexp_test): Likewise.
29179         (clog_test): Likewise.
29180         (clog10_test): Likewise.
29181         (cos_test): Likewise.
29182         (cos_test_tonearest): Likewise.
29183         (cos_test_towardzero): Likewise.
29184         (cos_test_downward): Likewise.
29185         (cos_test_upward): Likewise.
29186         (cosh_test): Likewise.
29187         (cosh_test_tonearest): Likewise.
29188         (cosh_test_towardzero): Likewise.
29189         (cosh_test_downward): Likewise.
29190         (cosh_test_upward): Likewise.
29191         (cpow_test): Likewise.
29192         (csin_test): Likewise.
29193         (csinh_test): Likewise.
29194         (csqrt_test): Likewise.
29195         (ctan_test): Likewise.
29196         (ctan_test_tonearest): Likewise.
29197         (ctan_test_towardzero): Likewise.
29198         (ctan_test_downward): Likewise.
29199         (ctan_test_upward): Likewise.
29200         (ctanh_test): Likewise.
29201         (ctanh_test_tonearest): Likewise.
29202         (ctanh_test_towardzero): Likewise.
29203         (ctanh_test_downward): Likewise.
29204         (ctanh_test_upward): Likewise.
29205         (erf_test): Likewise.
29206         (erfc_test): Likewise.
29207         (exp_test): Likewise.
29208         (exp_test_tonearest): Likewise.
29209         (exp_test_towardzero): Likewise.
29210         (exp_test_downward): Likewise.
29211         (exp_test_upward): Likewise.
29212         (exp10_test): Likewise.
29213         (exp2_test): Likewise.
29214         (expm1_test): Likewise.
29215         (fmod_test): Likewise.
29216         (gamma_test): Likewise.
29217         (hypot_test): Likewise.
29218         (j0_test): Likewise.
29219         (j1_test): Likewise.
29220         (jn_test): Likewise.
29221         (lgamma_test): Likewise.
29222         (log_test): Likewise.
29223         (log10_test): Likewise.
29224         (log1p_test): Likewise.
29225         (log2_test): Likewise.
29226         (logb_test_downward): Likewise.
29227         (pow_test): Likewise.
29228         (pow_test_tonearest): Likewise.
29229         (pow_test_towardzero): Likewise.
29230         (pow_test_downward): Likewise.
29231         (pow_test_upward): Likewise.
29232         (remainder_test): Likewise.
29233         (remquo_test): Likewise.
29234         (sin_test): Likewise.
29235         (sin_test_tonearest): Likewise.
29236         (sin_test_towardzero): Likewise.
29237         (sin_test_downward): Likewise.
29238         (sin_test_upward): Likewise.
29239         (sincos_test): Likewise.
29240         (sinh_test): Likewise.
29241         (sinh_test_tonearest): Likewise.
29242         (sinh_test_towardzero): Likewise.
29243         (sinh_test_downward): Likewise.
29244         (sinh_test_upward): Likewise.
29245         (sqrt_test): Likewise.
29246         (tan_test): Likewise.
29247         (tan_test_tonearest): Likewise.
29248         (tan_test_towardzero): Likewise.
29249         (tan_test_downward): Likewise.
29250         (tan_test_upward): Likewise.
29251         (tanh_test): Likewise.
29252         (tgamma_test): Likewise.
29253         (y0_test): Likewise.
29254         (y1_test): Likewise.
29255         (yn_test): Likewise.
29257         * math/gen-libm-test.pl (adjust_arg): Remove function.
29258         (special_function): Remove argument $in_func.  Only handle
29259         generating output for tables of tests, not inside functions.
29260         (parse_args): Likewise.
29261         (generate_testfile): Remove variable $in_func.  Update call to
29262         parse_args.
29263         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29264         (MINUS_ZERO_INIT): Rename macro to minus_zero.
29265         (PLUS_INFTY_INIT): Rename macro to plus_infty.
29266         (MINUS_INFTY_INIT): Rename macro to minus_infty.
29267         (QNAN_VALUE_INIT): Rename macro to qnan_value.
29268         (MAX_VALUE_INIT): Rename macro to max_value.
29269         (MIN_VALUE_INIT): Rename macro to min_value.
29270         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29271         (plus_zero): Remove variable.
29272         (minus_zero): Likewise.
29273         (plus_infty): Likewise.
29274         (minus_infty): Likewise.
29275         (qnan_value): Likewise.
29276         (max_value): Likewise.
29277         (min_value): Likewise.
29278         (min_subnorm_value): Likewise.
29280 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29282         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29283         uint64_t or uint32_t usage.
29284         * crypt/sha256-block.c: Likewise.
29285         * crypt/sha256-crypt.c: Likewise.
29286         * crypt/sha256.c: Likewise.
29287         * crypt/sha512-block.c: Likewise.
29288         * crypt/sha512-crypt.c: Likewise.
29289         * crypt/sha512.c: Likewise.
29290         * debug/backtrace-tst.c: Likewise.
29291         * debug/pcprofiledump.c: Likewise.
29292         * elf/cache.c: Likewise.
29293         * elf/dl-cache.c: Likewise.
29294         * elf/dl-misc.c: Likewise.
29295         * elf/dl-profile.c: Likewise.
29296         * elf/dl-support.c: Likewise.
29297         * elf/ldconfig.c: Likewise.
29298         * elf/sprof.c: Likewise.
29299         * iconv/dummy-repertoire.c: Likewise.
29300         * iconv/iconv_charmap.c: Likewise.
29301         * iconv/skeleton.c: Likewise.
29302         * iconvdata/8bit-generic.c: Likewise.
29303         * iconvdata/cp737.h: Likewise.
29304         * iconvdata/cp775.h: Likewise.
29305         * iconvdata/ibm1008.h: Likewise.
29306         * iconvdata/ibm1025.h: Likewise.
29307         * iconvdata/ibm1046.h: Likewise.
29308         * iconvdata/ibm1097.h: Likewise.
29309         * iconvdata/ibm1112.h: Likewise.
29310         * iconvdata/ibm1122.h: Likewise.
29311         * iconvdata/ibm1123.h: Likewise.
29312         * iconvdata/ibm1124.h: Likewise.
29313         * iconvdata/ibm1129.h: Likewise.
29314         * iconvdata/ibm1130.h: Likewise.
29315         * iconvdata/ibm1132.h: Likewise.
29316         * iconvdata/ibm1133.h: Likewise.
29317         * iconvdata/ibm1137.h: Likewise.
29318         * iconvdata/ibm1140.h: Likewise.
29319         * iconvdata/ibm1141.h: Likewise.
29320         * iconvdata/ibm1142.h: Likewise.
29321         * iconvdata/ibm1143.h: Likewise.
29322         * iconvdata/ibm1144.h: Likewise.
29323         * iconvdata/ibm1145.h: Likewise.
29324         * iconvdata/ibm1146.h: Likewise.
29325         * iconvdata/ibm1147.h: Likewise.
29326         * iconvdata/ibm1148.h: Likewise.
29327         * iconvdata/ibm1149.h: Likewise.
29328         * iconvdata/ibm1153.h: Likewise.
29329         * iconvdata/ibm1154.h: Likewise.
29330         * iconvdata/ibm1155.h: Likewise.
29331         * iconvdata/ibm1156.h: Likewise.
29332         * iconvdata/ibm1157.h: Likewise.
29333         * iconvdata/ibm1158.h: Likewise.
29334         * iconvdata/ibm1160.h: Likewise.
29335         * iconvdata/ibm1161.h: Likewise.
29336         * iconvdata/ibm1162.h: Likewise.
29337         * iconvdata/ibm1163.h: Likewise.
29338         * iconvdata/ibm1164.h: Likewise.
29339         * iconvdata/ibm1166.h: Likewise.
29340         * iconvdata/ibm1167.h: Likewise.
29341         * iconvdata/ibm12712.h: Likewise.
29342         * iconvdata/ibm1390.h: Likewise.
29343         * iconvdata/ibm1399.h: Likewise.
29344         * iconvdata/ibm16804.h: Likewise.
29345         * iconvdata/ibm4517.h: Likewise.
29346         * iconvdata/ibm4899.h: Likewise.
29347         * iconvdata/ibm4909.h: Likewise.
29348         * iconvdata/ibm4971.h: Likewise.
29349         * iconvdata/ibm5347.h: Likewise.
29350         * iconvdata/ibm803.h: Likewise.
29351         * iconvdata/ibm856.h: Likewise.
29352         * iconvdata/ibm901.h: Likewise.
29353         * iconvdata/ibm902.h: Likewise.
29354         * iconvdata/ibm9030.h: Likewise.
29355         * iconvdata/ibm9066.h: Likewise.
29356         * iconvdata/ibm921.h: Likewise.
29357         * iconvdata/ibm922.h: Likewise.
29358         * iconvdata/ibm9448.h: Likewise.
29359         * iconvdata/isiri-3342.h: Likewise.
29360         * iconvdata/jis0201.h: Likewise.
29361         * include/link.h: Likewise.
29362         * include/netdb.h: Likewise.
29363         * inet/check_native.c: Likewise.
29364         * inet/check_pf.c: Likewise.
29365         * inet/getipv4sourcefilter.c: Likewise.
29366         * inet/getnameinfo.c: Likewise.
29367         * inet/getsourcefilter.c: Likewise.
29368         * inet/htonl.c: Likewise.
29369         * inet/setipv4sourcefilter.c: Likewise.
29370         * inet/setsourcefilter.c: Likewise.
29371         * inet/test-inet6_opt.c: Likewise.
29372         * inet/tst-network.c: Likewise.
29373         * locale/C-collate.c: Likewise.
29374         * locale/C-ctype.c: Likewise.
29375         * locale/C-time.c: Likewise.
29376         * locale/C-translit.h: Likewise.
29377         * locale/loadarchive.c: Likewise.
29378         * locale/programs/3level.h: Likewise.
29379         * locale/programs/charmap.c: Likewise.
29380         * locale/programs/charmap.h: Likewise.
29381         * locale/programs/ld-address.c: Likewise.
29382         * locale/programs/ld-collate.c: Likewise.
29383         * locale/programs/ld-ctype.c: Likewise.
29384         * locale/programs/ld-identification.c: Likewise.
29385         * locale/programs/ld-measurement.c: Likewise.
29386         * locale/programs/ld-messages.c: Likewise.
29387         * locale/programs/ld-monetary.c: Likewise.
29388         * locale/programs/ld-name.c: Likewise.
29389         * locale/programs/ld-numeric.c: Likewise.
29390         * locale/programs/ld-paper.c: Likewise.
29391         * locale/programs/ld-telephone.c: Likewise.
29392         * locale/programs/ld-time.c: Likewise.
29393         * locale/programs/linereader.c: Likewise.
29394         * locale/programs/locale.c: Likewise.
29395         * locale/programs/locarchive.c: Likewise.
29396         * locale/programs/locfile.h: Likewise.
29397         * locale/programs/repertoire.c: Likewise.
29398         * locale/programs/simple-hash.c: Likewise.
29399         * locale/programs/simple-hash.h: Likewise.
29400         * malloc/memusage.c: Likewise.
29401         * malloc/memusagestat.c: Likewise.
29402         * nis/nis_defaults.c: Likewise.
29403         * nis/nis_hash.c: Likewise.
29404         * nis/nis_print.c: Likewise.
29405         * nis/nis_xdr.c: Likewise.
29406         * nscd/connections.c: Likewise.
29407         * nscd/hstcache.c: Likewise.
29408         * nscd/nscd_gethst_r.c: Likewise.
29409         * nscd/nscd_getserv_r.c: Likewise.
29410         * nscd/nscd_helper.c: Likewise.
29411         * nscd/servicescache.c: Likewise.
29412         * nss/makedb.c: Likewise.
29413         * nss/nss_db/db-XXX.c: Likewise.
29414         * nss/nss_db/db-initgroups.c: Likewise.
29415         * nss/nss_db/db-netgrp.c: Likewise.
29416         * nss/nss_files/files-network.c: Likewise.
29417         * nss/nss_files/files-parse.c: Likewise.
29418         * posix/bug-regex5.c: Likewise.
29419         * posix/fnmatch_loop.c: Likewise.
29420         * posix/regcomp.c: Likewise.
29421         * posix/regexec.c: Likewise.
29422         * posix/tst-rfc3484-2.c: Likewise.
29423         * posix/tst-rfc3484-3.c: Likewise.
29424         * posix/tst-rfc3484.c: Likewise.
29425         * resolv/nss_dns/dns-canon.c: Likewise.
29426         * resolv/nss_dns/dns-network.c: Likewise.
29427         * resolv/res_init.c: Likewise.
29428         * resolv/res_mkquery.c: Likewise.
29429         * resolv/tst-aton.c: Likewise.
29430         * stdlib/cxa_atexit.c: Likewise.
29431         * stdlib/cxa_finalize.c: Likewise.
29432         * stdlib/gen-fpioconst.c: Likewise.
29433         * stdlib/strtol_l.c: Likewise.
29434         * string/tst-endian.c: Likewise.
29435         * sunrpc/auth_des.c: Likewise.
29436         * sunrpc/clnt_udp.c: Likewise.
29437         * sunrpc/rtime.c: Likewise.
29438         * sunrpc/svcauth_des.c: Likewise.
29439         * sunrpc/xdr.c: Likewise.
29440         * sunrpc/xdr_intXX_t.c: Likewise.
29441         * sunrpc/xdr_rec.c: Likewise.
29442         * sysdeps/generic/ldconfig.h: Likewise.
29443         * sysdeps/generic/ldsodefs.h: Likewise.
29444         * sysdeps/generic/memusage.h: Likewise.
29445         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29446         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29447         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29448         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29449         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29451         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29452         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29453         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29454         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29455         * sysdeps/posix/getaddrinfo.c: Likewise.
29456         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29457         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29458         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29459         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29460         * sysdeps/powerpc/test-gettimebase.c: Likewise.
29461         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29462         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29463         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29464         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29465         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29466         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29467         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29468         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29469         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29470         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29471         * sysdeps/x86_64/dl-tls.h: Likewise.
29472         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29473         * time/alt_digit.c: Likewise.
29474         * time/era.c: Likewise.
29475         * wcsmbs/tst-c16c32-1.c: Likewise.
29477 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29479         * math/libm-test.inc (struct test_sincos_data): New type.
29480         (RUN_TEST_LOOP_sincos): New macro.
29481         (sincos_test_data): New variable.
29482         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29484 2013-05-16  Richard Henderson  <rth@redhat.com>
29486         * math/atest-exp2.c (LIMB64): New macro.
29487         (CONSTSZ): New macro.
29488         (mp_exp1, mp_exp_m1, mp_log2): New variables.
29489         (hexdig): Move ...
29490         (print_mpn_fp): ... to function scope.
29491         (read_mpn_hex): Remove.
29492         (get_log2): Remove.
29493         (exp2_mpn): Use mp_log2.
29494         (main): Use mp_exp1.
29496 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29498         * math/libm-test.inc: Remove comment about not testing "inexact"
29499         exceptions.
29500         (INEXACT_EXCEPTION): New macro.
29501         (NO_INEXACT_EXCEPTION): Likewise.
29502         (INVALID_EXCEPTION_OK): Update value.
29503         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29504         (OVERFLOW_EXCEPTION_OK): Likewise.
29505         (UNDERFLOW_EXCEPTION_OK): Likewise.
29506         (IGNORE_ZERO_INF_SIGN): Likewise.
29507         (ERRNO_UNCHANGED): Likewise.
29508         (ERRNO_EDOM): Likewise.
29509         (ERRNO_ERANGE): Likewise.
29510         (test_exceptions): Handle testing "inexact" exceptions.
29511         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29512         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29513         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29514         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29515         INEXACT_EXCEPTION.
29516         (rint_towardzero_test_data): Likewise.
29517         (rint_downward_test_data): Likewise.
29518         (rint_upward_test_data): Likewise.
29520         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29521         with OVERFLOW_EXCEPTION.
29522         (exp10_test_data): Likewise.
29523         (exp2_test_data): Likewise.
29524         (expm1_test_data): Likewise.
29525         (lgamma_test_data): Likewise.
29526         (pow_test_data): Likewise.
29527         (tgamma_test_data): Likewise.
29528         (yn_test_data): Remove duplicate test of overflow.
29530         * math/libm-test.inc (struct test_cc_c_data): New type.
29531         (RUN_TEST_LOOP_cc_c): New macro.
29532         (cpow_test_data): New variable.
29533         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29535         * math/libm-test.inc (struct test_f_L_data): New type.
29536         (RUN_TEST_LOOP_f_L): New macro.
29537         (llrint_test_data): New variable.
29538         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29539         (llrint_tonearest_test_data): New variable.
29540         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29541         (llrint_towardzero_test_data): New variable.
29542         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29543         (llrint_downward_test_data): New variable.
29544         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29545         (llrint_upward_test_data): New variable.
29546         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29547         (llround_test_data): New variable.
29548         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29550 2013-05-13  Peter Collingbourne  <pcc@google.com>
29552         * math/atest-exp2.c (get_log2): Remove const attribute.
29554 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
29556         * math/libm-test.inc (struct test_f_l_data): New type.
29557         (RUN_TEST_LOOP_f_l): New macro.
29558         (lrint_test_data): New variable.
29559         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29560         (lrint_tonearest_test_data): New variable.
29561         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29562         (lrint_towardzero_test_data): New variable.
29563         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29564         (lrint_downward_test_data): New variable.
29565         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29566         (lrint_upward_test_data): New variable.
29567         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29568         (lround_test_data): New variable.
29569         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29571 2013-05-15  Peter Collingbourne  <pcc@google.com>
29573         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29574         (EXTRACT_WORDS64) Use where appropriate.
29575         (INSERT_WORDS64) Likewise.
29577         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29578         constraints with x constraints.
29579         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29581         * malloc/obstack.c (_obstack_compat): Add initializer.
29583 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
29585         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29586         si_trapno and add si_addr_lsb to _sifields.sigfault.
29587         (si_trapno): Remove macro.
29588         (si_addr_lsb): Define new macro.
29589         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29591 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
29593         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29594         instead of TEST_f_l.
29595         (llrint_test_tonearest): Likewise.
29596         (llrint_test_towardzero): Likewise.
29597         (llrint_test_downward): Likewise.
29598         (llrint_test_upward): Likewise.
29599         (llround_test): Likewise.
29601         * math/libm-test.inc (struct test_f_i_data): Add comment.
29602         (RUN_TEST_LOOP_f_b): New macro.
29603         (RUN_TEST_LOOP_f_b_tg): Likewise.
29604         (finite_test_data): New variable.
29605         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29606         (isfinite_test_data): New variable.
29607         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29608         (isinf_test_data): New variable.
29609         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29610         (isnan_test_data): New variable.
29611         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29612         (isnormal_test_data): New variable.
29613         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29614         (issignaling_test_data): New variable.
29615         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29616         (signbit_test_data): New variable.
29617         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29619         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29620         with INVALID_EXCEPTION.
29621         (acosh_test_data): Likewise.
29622         (asin_test_data): Likewise.
29623         (atanh_test_data): Likewise.
29624         (fmod_test_data): Likewise.
29625         (log_test_data): Likewise.
29626         (log10_test_data): Likewise.
29627         (log2_test_data): Likewise.
29628         (pow_test_data): Likewise.
29629         (sqrt_test_data): Likewise.
29630         (y0_test_data): Likewise.
29631         (y1_test_data): Likewise.
29632         (yn_test_data): Likewise.
29634         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29635         function contents.
29637         * math/libm-test.inc (struct test_ff_i_data): New type.
29638         (RUN_TEST_LOOP_ff_i_tg): New macro.
29639         (isgreater_test_data): New variable.
29640         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29641         (isgreaterequal_test_data): New variable.
29642         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29643         (isless_test_data): New variable.
29644         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29645         (islessequal_test_data): New variable.
29646         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29647         (islessgreater_test_data): New variable.
29648         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29649         (isunordered_test_data): New variable.
29650         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29652 2013-05-14  David S. Miller  <davem@davemloft.net>
29654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29656 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
29658         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29660         * math/libm-test.inc (struct test_fF_f1_data): Change type of
29661         extra_test to int.
29662         (struct test_f_i_data): Change type of max_ulp to int.
29664         * math/libm-test.inc (test_ffI_f1_data): New type.
29665         (RUN_TEST_LOOP_ffI_f1): New macro.
29666         (remquo_test_data): New variable.
29667         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29669         * setjmp/tst-setjmp-fp.c: New file.
29670         * setjmp/Makefile (tests): Add tst-setjmp-fp.
29671         (link-libm): New variable.
29672         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29674         * math/libm-test.inc (struct test_f_i_data): New type.
29675         (RUN_TEST_LOOP_f_i): New macro.
29676         (RUN_TEST_LOOP_f_i_tg): Likewise.
29677         (fpclassify_test_data): New variable.
29678         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29679         (ilogb_test_data): New variable.
29680         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29682         * math/libm-test.inc (scalbln_test): Correct function name in END
29683         call.
29685         * math/libm-test.inc (struct test_f_f1_data): Add comment.
29686         (RUN_TEST_LOOP_fI_f1): New macro.
29687         (frexp_test_data): New variable.
29688         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29690         * math/libm-test.inc (struct test_fF_f1_data): New type.
29691         (RUN_TEST_LOOP_fF_f1): New macro.
29692         (modf_test_data): New variable.
29693         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29695         * math/libm-test.inc (struct test_f_f1_data): New type.
29696         (RUN_TEST_LOOP_f_f1): New macro.
29697         (gamma_test_data): New variable.
29698         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29699         (lgamma_test_data): New variable.
29700         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29702 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
29704         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29705         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29706         (main): Comment "tls" pseudo-hwcap.
29708 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
29710         * math/libm-test.inc (struct test_fl_f_data): New type.
29711         (RUN_TEST_LOOP_fl_f): New variable.
29712         (scalbln_test_data): New variable.
29713         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29715         * math/libm-test.inc (struct test_fi_f_data): New type.
29716         (RUN_TEST_LOOP_fi_f): New macro.
29717         (ldexp_test_data): New variable.
29718         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29719         (scalbn_test_data): New variable.
29720         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29722         * math/libm-test.inc (struct test_c_f_data): New type.
29723         (RUN_TEST_LOOP_c_f): New macro.
29724         (cabs_test_data): New variable.
29725         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29726         (carg_test_data): New variable.
29727         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29728         (cimag_test_data): New variable.
29729         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29730         (creal_test_data): New variable.
29731         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29733         * math/libm-test.inc (struct test_if_f_data): New type.
29734         (RUN_TEST_LOOP_if_f): New macro.
29735         (jn_test_data): New variable.
29736         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29737         (yn_test_data): New variable.
29738         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29740         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29742 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29744         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29745         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29747 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29749         * benchtests/Makefile (CPPFLAGS-nonlib): Add
29750         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29751         (bench-deps): Add bench-timing.h.
29752         * benchtests-bench-skeleton.c: Include bench-timing.h.
29753         (main): Use TIMING_* macros instead of clock_gettime.
29754         * benchtests/bench-timing.h: New file.
29756         [BZ #14582]
29757         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29758         Renamed from _LIB_VERSION.
29759         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29761 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
29763         * math/libm-test.inc (struct test_fff_f_data): New type.
29764         (RUN_TEST_LOOP_fff_f): New macro.
29765         (fma_test_data): New variable.
29766         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29767         (fma_towardzero_test_data): New variable.
29768         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29769         (fma_downward_test_data): New variable.
29770         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29771         (fma_upward_test_data): New variable.
29772         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29774         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29775         (struct test_c_c_data): New type.
29776         (RUN_TEST_LOOP_c_c): New macro.
29777         (cacos_test_data): New variable.
29778         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29779         (cacosh_test_data): New variable.
29780         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29781         (casin_test_data): New variable.
29782         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29783         (casinh_test_data): New variable.
29784         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29785         (catan_test_data): New variable.
29786         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29787         (catanh_test_data): New variable.
29788         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29789         (ccos_test_data): New variable.
29790         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29791         (ccosh_test_data): New variable.
29792         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29793         (cexp_test_data): New variable.
29794         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29795         (clog_test_data): New variable.
29796         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29797         (clog10_test_data): New variable.
29798         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29799         (conj_test_data): New variable.
29800         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29801         (cproj_test_data): New variable.
29802         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29803         (csin_test_data): New variable.
29804         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29805         (csinh_test_data): New variable.
29806         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29807         (csqrt_test_data): New variable.
29808         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29809         (ctan_test_data): New variable.
29810         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29811         (ctan_tonearest_test_data): New variable.
29812         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29813         (ctan_towardzero_test_data): New variable.
29814         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29815         (ctan_downward_test_data): New variable.
29816         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29817         (ctan_upward_test_data): New variable.
29818         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29819         (ctanh_test_data): New variable.
29820         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29821         (ctanh_tonearest_test_data): New variable.
29822         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29823         (ctanh_towardzero_test_data): New variable.
29824         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29825         (ctanh_downward_test_data): New variable.
29826         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29827         (ctanh_upward_test_data): New variable.
29828         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29829         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29830         of BUILD_COMPLEX.
29832         * math/libm-test.inc (struct test_ff_f_data): New type.
29833         (struct test_ff_f_data_nexttoward): Likewise.
29834         (RUN_TEST_LOOP_2_f): New macro.
29835         (RUN_TEST_LOOP_ff_f): Likewise.
29836         (atan2_test_data): New variable.
29837         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29838         (copysign_test_data): New variable.
29839         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29840         (fdim_test_data): New variable.
29841         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29842         (fmax_test_data): New variable.
29843         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29844         (fmin_test_data): New variable.
29845         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29846         (fmod_test_data): New variable.
29847         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29848         (hypot_test_data): New variable.
29849         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29850         (nextafter_test_data): New variable.
29851         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29852         (nexttoward_test_data): New variable.
29853         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29854         (pow_test_data): New variable.
29855         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29856         (pow_tonearest_test_data): New variable.
29857         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29858         (pow_towardzero_test_data): New variable.
29859         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29860         (pow_downward_test_data): New variable.
29861         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29862         (pow_upward_test_data): New variable.
29863         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29864         (remainder_test_data): New variable.
29865         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29866         (scalb_test_data): New variable.
29867         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29868         * sysdeps/i386/fpu/libm-test-ulps: Update.
29870 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
29872         * math/libm-test.inc (fma_test): Use max_value instead of local
29873         variable fltmax.
29874         (nextafter_test): Likewise.
29876         * math/libm-test.inc (acos_towardzero_test_data): New variable.
29877         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29878         (acos_downward_test_data): New variable.
29879         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29880         (acos_upward_test_data): New variable.
29881         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29882         (acosh_test_data): New variable.
29883         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29884         (asin_test_data): New variable.
29885         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29886         (asin_tonearest_test_data): New variable.
29887         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29888         (asin_towardzero_test_data): New variable.
29889         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29890         (asin_downward_test_data): New variable.
29891         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29892         (asin_upward_test_data): New variable.
29893         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29894         (asinh_test_data): New variable.
29895         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29896         (atan_test_data): New variable.
29897         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29898         (atanh_test_data): New variable.
29899         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29900         (cbrt_test_data): New variable.
29901         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29902         (ceil_test_data): New variable.
29903         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29904         (cos_test_data): New variable.
29905         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29906         (cos_tonearest_test_data): New variable.
29907         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29908         (cos_towardzero_test_data): New variable.
29909         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29910         (cos_downward_test_data): New variable.
29911         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29912         (cos_upward_test_data): New variable.
29913         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29914         (cosh_test_data): New variable.
29915         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29916         (cosh_tonearest_test_data): New variable.
29917         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29918         (cosh_towardzero_test_data): New variable.
29919         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29920         (cosh_downward_test_data): New variable.
29921         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29922         (cosh_upward_test_data): New variable.
29923         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29924         (erf_test_data): New variable.
29925         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29926         (erfc_test_data): New variable.
29927         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29928         (exp_test_data): New variable.
29929         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29930         (exp_tonearest_test_data): New variable.
29931         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29932         (exp_towardzero_test_data): New variable.
29933         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29934         (exp_downward_test_data): New variable.
29935         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29936         (exp_upward_test_data): New variable.
29937         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29938         (exp10_test_data): New variable.
29939         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29940         (exp2_test_data): New variable.
29941         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29942         (expm1_test_data): New variable.
29943         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29944         (fabs_test_data): New variable.
29945         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29946         (floor_test_data): New variable.
29947         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29948         (j0_test_data): New variable.
29949         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29950         (j1_test_data): New variable.
29951         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29952         (log_test_data): New variable.
29953         (log_test): Run tests with RUN_TEST_LOOP_f_f.
29954         (log10_test_data): New variable.
29955         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29956         (log1p_test_data): New variable.
29957         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29958         (log2_test_data): New variable.
29959         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29960         (logb_test_data): New variable.
29961         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29962         (logb_downward_test_data): New variable.
29963         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29964         (nearbyint_test_data): New variable.
29965         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29966         (rint_test_data): New variable.
29967         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29968         (rint_tonearest_test_data): New variable.
29969         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29970         (rint_towardzero_test_data): New variable.
29971         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29972         (rint_downward_test_data): New variable.
29973         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29974         (rint_upward_test_data): New variable.
29975         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29976         (round_test_data): New variable.
29977         (round_test): Run tests with RUN_TEST_LOOP_f_f.
29978         (sin_test_data): New variable.
29979         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29980         (sin_tonearest_test_data): New variable.
29981         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29982         (sin_towardzero_test_data): New variable.
29983         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29984         (sin_downward_test_data): New variable.
29985         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29986         (sin_upward_test_data): New variable.
29987         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29988         (sinh_test_data): New variable.
29989         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29990         (sinh_tonearest_test_data): New variable.
29991         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29992         (sinh_towardzero_test_data): New variable.
29993         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29994         (sinh_downward_test_data): New variable.
29995         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29996         (sinh_upward_test_data): New variable.
29997         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29998         (sqrt_test_data): New variable.
29999         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30000         (tan_test_data): New variable.
30001         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30002         (tan_tonearest_test_data): New variable.
30003         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30004         (tan_towardzero_test_data): New variable.
30005         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30006         (tan_downward_test_data): New variable.
30007         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30008         (tan_upward_test_data): New variable.
30009         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30010         (tanh_test_data): New variable.
30011         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30012         (tgamma_test_data): New variable.
30013         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30014         (trunc_test_data): New variable.
30015         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30016         (y0_test_data): New variable.
30017         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30018         (y1_test_data): New variable.
30019         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30020         (significand_test_data): New variable.
30021         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30023 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
30025         [BZ #12387]
30026         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30028 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30030         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30032 2013-05-10  Andreas Jaeger  <aj@suse.de>
30034         [BZ #15448]
30035         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30036         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30038 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30040         * math/gen-libm-test.pl (adjust_arg): New function.
30041         (special_functions): Handle generating output in both functions
30042         and arrays.
30043         (parse_args): Likewise.
30044         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
30045         $in_func argument to parse_args.
30046         * math/libm-test.inc (struct test_f_f_data): New type.
30047         (IF_ROUND_INIT_): New macro.
30048         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30049         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30050         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30051         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30052         (ROUND_RESTORE_): Likewise.
30053         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30054         (ROUND_RESTORE_FE_TONEAREST): Likewise.
30055         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30056         (ROUND_RESTORE_FE_UPWARD): Likewise.
30057         (RUN_TEST_LOOP_f_f): New macro.
30058         (acos_test_data): New variable.
30059         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30060         (acos_tonearest_test_data): New variable.
30061         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30063 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30065         * benchtests/bench-skeleton.c (startup): Fix coding style.
30067 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30069         [BZ #6809]
30070         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30071         negative infinity argument.
30072         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30073         negative infinity argument.
30074         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30075         negative infinity argument.
30076         * math/libm-test.inc (tgamma_test): Expect errno to be set for
30077         domain errors.
30079 2013-05-10  Florian Weimer  <fweimer@redhat.com>
30081         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30082         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30083         * iconv/iconv_prog.c (main): Likewise.
30084         * locale/programs/charmap-dir.c (charmap_readdir)
30085         (fopen_uncompressed): Likewise.
30086         * locale/programs/locfile.c (siblings_uncached)
30087         (write_locale_data): Use lstat64 instead of lstat.
30088         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30089         stat.
30091 2013-05-10  Andreas Jaeger  <aj@suse.de>
30093         [BZ #15395]
30094         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30095         localization.
30096         Include <locale.h>.
30098 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
30100         * elf/dl-close.c (_dl_close_worker): Add comments.
30102 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
30104         [BZ #15359]
30105         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
30106         high part of pi/2.
30107         (__ieee754_rem_pio2l): Update comments.
30109         [BZ #15429]
30110         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
30111         high part of pi/2.
30112         (__ieee754_rem_pio2l): Update comments.
30114         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
30115         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
30117         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
30118         M_PI_4l.
30120         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
30121         (M_PI_34_LOG10El): Likewise.
30122         (M_PI2_LOG10El): Likewise.
30123         (M_PI4_LOG10El): Likewise.
30124         (M_PI_LOG10El): Likewise.
30126 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30130 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
30132         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
30133         (MINUS_ZERO_INIT): Likewise.
30134         (PLUS_INFTY_INIT): Likewise.
30135         (MINUS_INFTY_INIT): Likewise.
30136         (QNAN_VALUE_INIT): Likewise.
30137         (MAX_VALUE_INIT): Likewise.
30138         (MIN_VALUE_INIT): Likewise.
30139         (MIN_SUBNORM_VALUE_INIT): Likewise.
30140         (plus_zero): Initialize with PLUS_ZERO_INIT.
30141         (minus_zero): Initialize with MINUS_ZERO_INIT.
30142         (plus_infty): Initialize with PLUS_INFTY_INIT.
30143         (minus_infty): Initialize with MINUS_INFTY_INIT.
30144         (qnan_value): Initialize with QNAN_VALUE_INIT.
30145         (max_value): Initialize with MAX_VALUE_INIT.
30146         (min_value): Initialize with MIN_VALUE_INIT.
30147         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
30149         * math/libm-test.inc (RUN_TEST_if_f): New macro.
30150         (jn_test): Use TEST_if_f instead of TEST_ff_f.
30151         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
30152         (yn_test): Use TEST_if_f instead of TEST_ff_f.
30154         * math/libm-test.inc (RUN_TEST_f_f): New macro.
30155         (RUN_TEST_2_f): Likewise.
30156         (RUN_TEST_ff_f): Likewise.
30157         (RUN_TEST_fi_f): Likewise.
30158         (RUN_TEST_fl_f): Likewise.
30159         (RUN_TEST_fff_f): Likewise.
30160         (RUN_TEST_c_f): Likewise.
30161         (RUN_TEST_f_f1): Likewise.
30162         (RUN_TEST_fF_f1): Likewise.
30163         (RUN_TEST_fI_f1): Likewise.
30164         (RUN_TEST_ffI_f1): Likewise.
30165         (RUN_TEST_c_c): Likewise.
30166         (RUN_TEST_cc_c): Likewise.
30167         (RUN_TEST_f_i): Likewise.
30168         (RUN_TEST_f_i_tg): Likewise.
30169         (RUN_TEST_ff_i_tg): Likewise.
30170         (RUN_TEST_f_b): Likewise.
30171         (RUN_TEST_f_b_tg): Likewise.
30172         (RUN_TEST_f_l): Likewise.
30173         (RUN_TEST_f_L): Likewise.
30174         (RUN_TEST_sincos): Likewise.
30175         * math/gen-libm-test.pl (new_test): Take new argument to indicate
30176         whether to show exceptions.  Do not include ");\n" in return
30177         value.
30178         (special_functions): Output call to RUN_TEST_sincos instead of
30179         check_float calls.  Update calls to new_test.
30180         (parse_args): Output call to single RUN_TEST_* macro instead of
30181         check_* calls and other assignments.  Update calls to new_test.
30183         [BZ #2546]
30184         [BZ #2560]
30185         [BZ #5159]
30186         [BZ #15426]
30187         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
30188         input to result for tgamma overflow.
30189         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
30190         (gamma_coeff): New variable.
30191         (NCOEFF): New macro.
30192         (gamma_positive): New function.
30193         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
30194         underflow here.  Use gamma_positive instead of exp (lgamma) for
30195         other arguments.
30196         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
30197         (gamma_coeff): New variable.
30198         (NCOEFF): New macro.
30199         (gammaf_positive): New function.
30200         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
30201         underflow here.  Use gamma_positive instead of exp (lgamma) for
30202         other arguments.
30203         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
30204         (gamma_coeff): New variable.
30205         (NCOEFF): New macro.
30206         (gammal_positive): New function.
30207         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
30208         underflow here.  Use gamma_positive instead of exp (lgamma) for
30209         other arguments.
30210         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
30211         (gamma_coeff): New variable.
30212         (NCOEFF): New macro.
30213         (gammal_positive): New function.
30214         (__ieee754_gammal_r): Handle positive infinity, overflow and
30215         underflow here.  Handle NaN the same as positive infinity.  Remove
30216         check x < 0xffffffff for negative integers.  Use gamma_positive
30217         instead of exp (lgamma) for other arguments.
30218         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30219         (gamma_coeff): New variable.
30220         (NCOEFF): New macro.
30221         (gammal_positive): New function.
30222         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30223         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30224         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30225         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30226         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30227         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30228         * sysdeps/generic/math_private.h (__gamma_productf): New
30229         prototype.
30230         (__gamma_product): Likewise.
30231         (__gamma_productl): Likewise.
30232         * math/Makefile (libm-calls): Add gamma_product.
30233         * math/libm-test.inc (tgamma_test): Add more tests.
30234         * sysdeps/i386/fpu/libm-test-ulps: Update.
30235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30237 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
30239         * benchtests/bench-skeleton.c (main): Preheat CPU.
30241 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
30243         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30245 2013-05-07  Roland McGrath  <roland@hack.frob.com>
30247         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30248         and _dl_skip_args_internal.
30250 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
30252         * manual/message.texi (Message Translation): Talk about users.
30253         Message to key mapping impacts design.
30255 2013-05-06  Roland McGrath  <roland@hack.frob.com>
30257         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30259         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30261         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30262         * sysdeps/wordsize-64/glob64.c: ... here.
30264         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30265         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30266         New macros.
30268         * debug/getlogin_r_chk.c: Moved to ...
30269         * login/getlogin_r_chk.c: ... here.
30270         * debug/Makefile (routines): Move getlogin_r_chk to ...
30271         * login/Makefile (routines): ... here.
30272         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30273         * login/Versions (libc: GLIBC_2.4): ... here.
30275         * io/poll.c (__poll): Renamed from poll.
30276         Add libc_hidden_def.
30277         (poll): Define as weak alias.
30279         * debug/ptsname_r_chk.c: Moved to ...
30280         * login/ptsname_r_chk.c: ... here.
30281         * debug/Makefile (routines): Move ptsname_r_chk to ...
30282         * login/Makefile (routines): ... here.
30283         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30284         * login/Versions (libc: GLIBC_2.4): ... here.
30286         * posix/getlogin.c: Moved to ...
30287         * login/getlogin.c: ... here.
30288         * posix/getlogin_r.c: Moved to ...
30289         * login/getlogin_r.c: ... here.
30290         * posix/getlogin_r.c: Moved to ...
30291         * login/getlogin_r.c: ... here.
30292         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30293         * login/Makefile (routines): ... here.
30294         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30295         * login/Versions (libc: GLIBC_2.0): ... here.
30297         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30298         (setrlimit): Define as weak alias.
30300         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30301         Call __ names for open, ftruncate, and close.
30302         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30303         (truncate): Define as weak alias.
30305 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
30307         * math/gen-libm-test.pl (parse_args): Initialize x before each
30308         test of frexp, modf and remquo.
30310         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30311         test signgam value.
30313 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30315         [BZ #15418]
30316         [BZ #15419]
30317         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30318         internal tests.
30319         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30321 2013-05-06  Roland McGrath  <roland@hack.frob.com>
30323         * elf/dl-writev.h: New file.
30324         * elf/dl-misc.c: Include it.
30325         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30326         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30328 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
30330         * math/libm-test.inc (noXFails): Remove variable.
30331         (noXPasses): Likewise.
30332         (BUILD_COMPLEX_INT): Remove macro.
30333         (print_screen): Remove xfail argument.
30334         (print_screen_max_error): Likewise.
30335         (update_stats): Likewise.
30336         (print_max_error): Likewise.  Update calls to other affected
30337         functions.
30338         (print_complex_max_error): Likewise.
30339         (test_single_exception): Update calls to print_screen.
30340         (test_single_errno): Likewise.
30341         (check_float_internal): Remove xfail argument.  Update calls to
30342         other affected functions.
30343         (check_float): Likewise.
30344         (check_complex): Likewise.
30345         (check_int): Likewise.
30346         (check_long): Likewise.
30347         (check_bool): Likewise.
30348         (check_longlong): Likewise.
30349         (main): Don't print noXFails and noXPasses.
30350         * math/gen-libm-test.pl (top level): Don't mention expected
30351         failure handling in comment.
30352         (new_test): Don't handle expected failures.
30353         (parse_args): Don't mention expected failure handling in comment.
30354         (generate_testfile): Don't handle expected failures.
30355         (parse_ulps): Likewise.
30356         (print_ulps_file): Likewise.
30357         (get_failure): Remove function.
30358         (output_test): Don't handle expected failures.
30359         * make/README.libm-test: Don't mention expected failure handling.
30361         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
30362         (minus_zero): Likewise.
30363         (plus_infty): Likewise.
30364         (minus_infty): Likewise.
30365         (qnan_value): Likewise.
30366         (max_value): Likewise.
30367         (min_value): Likewise.
30368         (min_subnorm_value): Likewise.
30369         (initialize): Do not initialize those variables dynamically.
30371 2013-05-03  Roland McGrath  <roland@hack.frob.com>
30373         * io/open.c (__open_2): Moved to ...
30374         * io/open_2.c: ... this new file.
30375         * io/open64.c (__open64_2): Moved to ...
30376         * io/open64_2.c: ... this new file.
30377         * io/openat.c (__openat_2): Moved to ...
30378         * io/openat_2.c: ... this new file.
30379         * io/openat64.c (__openat64_2): Moved to ...
30380         * io/openat64_2.c: ... this new file.
30381         * io/Makefile (routines): Add them.
30382         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30383         * sysdeps/unix/sysv/linux/open_2.c: File removed.
30384         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30385         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30386         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30387         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30388         (__openat64): Add hidden_ver.
30389         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30390         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30392         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30393         Separately conditionalize setting of GLRO(dl_sysinfo) so
30394         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30395         as well, but the actual setting is only under [NEED_DL_SYSINFO].
30397 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30399         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30400         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30401         definition.
30402         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30403         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30404         (_libc_vdso_platform_setup): Add __vdso_time initialization.
30405         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30406         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30408 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
30410         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30411         test signgam value.
30413         * math/libm-test.inc (hypot_test): Do not use
30414         IGNORE_ZERO_INF_SIGN.
30416 2013-05-03  Andreas Jaeger  <aj@suse.de>
30418         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30419         Linux 3.9.
30420         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30421         (PF_MAX): Adjust for VSOCK change.
30423 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30427 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
30429         [BZ #15264]
30430         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30431         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30432         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30434 2013-05-02  David S. Miller  <davem@davemloft.net>
30436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30438 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
30440         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30442 2013-05-01  Roland McGrath  <roland@hack.frob.com>
30444         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30446 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
30448         [BZ #14952]
30449         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30450         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30451         Use __attribute__ ((__gnu_inline__)).
30452         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30453         Don't use __attribute__ ((__gnu_inline__)).
30455 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
30457         [BZ #15423]
30458         * math/s_catan.c (__catan): Handle small real or imaginary part of
30459         input specially to avoid spurious underflow.
30460         * math/s_catanf.c (__catanf): Likewise.
30461         * math/s_catanh.c (__catanh): Likewise.
30462         * math/s_catanhf.c (__catanhf): Likewise.
30463         * math/s_catanhl.c (__catanhl): Likewise.
30464         * math/s_catanl.c (__catanl): Likewise.
30465         * math/libm-test.inc (catan_test): Add more tests.
30466         (catanh_test): Likewise.
30467         * sysdeps/i386/fpu/libm-test-ulps: Update.
30468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30470 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30474 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
30476         [BZ #15416]
30477         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30478         accurately for denominator in atan2.
30479         * math/s_catanf.c (__catanf): Likewise.
30480         * math/s_catanh.c (__catanh): Likewise.
30481         * math/s_catanhf.c (__catanhf): Likewise.
30482         * math/s_catanhl.c (__catanhl): Likewise.
30483         * math/s_catanl.c (__catanl): Likewise.
30484         * math/libm-test.inc (catan_test): Add more tests.
30485         (catanh_test): Likewise.
30486         * sysdeps/i386/fpu/libm-test-ulps: Update.
30487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30489 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30491         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30493         * benchtests/Makefile (bench): Remove slow benchmarks.
30494         * benchtests/atan-inputs: Add slow benchmark inputs.
30495         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30496         (BENCH_FUNC): Accept variant offset.
30497         (VARIANT): Define.
30498         * benchtests/bench-skeleton.c (main): Run benchmark for each
30499         variant.
30500         * benchtests/cos-inputs: Add slow benchmark inputs.
30501         * benchtests/exp-inputs: Likewise.
30502         * benchtests/pow-inputs: Likewise.
30503         * benchtests/sin-inputs: Likewise.
30504         * benchtests/slowatan-inputs: Remove.
30505         * benchtests/slowatan.c: Remove.
30506         * benchtests/slowcos-inputs: Remove.
30507         * benchtests/slowcos.c: Remove.
30508         * benchtests/slowexp-inputs: Remove.
30509         * benchtests/slowexp.c: Remove.
30510         * benchtests/slowpow-inputs: Remove.
30511         * benchtests/slowpow.c: Remove.
30512         * benchtests/slowsin-inputs: Remove.
30513         * benchtests/slowsin.c: Remove.
30514         * benchtests/slowtan-inputs: Remove.
30515         * benchtests/slowtan.c: Remove.
30516         * benchtests/tan-inputs: Add slow benchmark inputs.
30517         * scripts/bench.pl: Parse comments and directives.
30519         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
30520         in CPPFLAGS.
30521         ($(objpfx)bench-%.c): Remove *-ITER.
30522         * benchtests/bench-modf.c: Remove definition of ITER.
30523         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30524         (main): Loop for DURATION seconds instead of fixed number of
30525         iterations.
30526         * scripts/bench.pl: Don't expect iterations in parameters.
30528 2013-04-29  Roland McGrath  <roland@hack.frob.com>
30530         * io/fchdir.c (__fchdir): Renamed from fchdir.
30531         (fchdir): Define as weak alias.
30533 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
30535         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30536         (ERRNO_EDOM): Likewise.
30537         (ERRNO_ERANGE): Likewise.
30538         (noErrnoTests): New variable.
30539         (init_max_error): Set errno to 0.
30540         (test_single_errno): New function.
30541         (test_errno): Likewise.
30542         (check_float_internal): Call test_errno.  Set errno to 0.
30543         (check_complex): Refer to errno tests in comment.
30544         (check_int): Call test_errno.  Set errno to 0.
30545         (check_long): Likewise.
30546         (check_bool): Likewise.
30547         (check_longlong): Likewise.
30548         (cos_test): Use ERRNO_* flags for errno tests instead of
30549         check_int.
30550         (expm1_test): Likewise.
30551         (fmod_test): Likewise.
30552         (ilogb_test): Likewise.
30553         (lgamma_test): Likewise.
30554         (pow_test): Likewise.
30555         (remainder_test): Likewise.
30556         (sin_test): Likewise.
30557         (tan_test): Likewise.
30558         (yn_test): Likewise.
30559         (initialize): Set errno to 0.
30560         (main): Print number of errno tests.
30561         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30563 2013-04-29  Andreas Jaeger  <aj@suse.de>
30565         [BZ #15084]
30566         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30567         and RES_USEVC.
30569         [BZ #15085]
30570         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30571         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30572         unimplemented.
30574         [BZ #15380]
30575         * stdlib/random.c (__initstate): Return NULL if
30576         __initstate fails.
30578         [BZ #15086]
30579         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30580         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30581         RES_SNGLKUPREOP.
30583 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30587 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
30589         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30590         of individual tests.
30591         (casin_test): Likewise.
30592         (casinh_test): Likewise.
30594 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
30596         [BZ #15409]
30597         * math/s_catan.c (__catan): Handle arguments with large real or
30598         imaginary part separately without squaring.
30599         * math/s_catanf.c (__catanf): Likewise.
30600         * math/s_catanh.c (__catanh): Likewise.
30601         * math/s_catanhf.c (__catanhf): Likewise.
30602         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30603         and redefine.
30604         (__catanhl): Handle arguments with large real or imaginary part
30605         separately without squaring.
30606         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30607         and redefine.
30608         (__catanl): Handle arguments with large real or imaginary part
30609         separately without squaring.
30610         * math/libm-test.inc (catan_test): Add more tests.
30611         (catanh_test): Likewise.
30612         * sysdeps/i386/fpu/libm-test-ulps: Update.
30613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30615 2013-04-27  Andreas Jaeger  <aj@suse.de>
30617         [BZ #15007]
30618         * stdlib/stdlib.h: Update guards for qecvt.
30619         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30620         <stdlib.h>.
30622 2013-04-27  Allan McRae  <allan@archlinux.org>
30624         * sysdeps/i386/fpu/libm-test-ulps: Update.
30626 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
30628         [BZ #15406]
30629         * math/s_catan.c: Include <float.h>.
30630         (__catan): Ensure underflow exception occurs for underflowed
30631         result.
30632         * math/s_catanf.c: Include <float.h>.
30633         (__catanf): Ensure underflow exception occurs for underflowed
30634         result.
30635         * math/s_catanh.c: Include <float.h>.
30636         (__catanh): Ensure underflow exception occurs for underflowed
30637         result.
30638         * math/s_catanhf.c: Include <float.h>.
30639         (__catanhf): Ensure underflow exception occurs for underflowed
30640         result.
30641         * math/s_catanhl.c: Include <float.h>.
30642         (__catanhl): Ensure underflow exception occurs for underflowed
30643         result.
30644         * math/s_catanl.c: Include <float.h>.
30645         (__catanl): Ensure underflow exception occurs for underflowed
30646         result.
30647         * math/libm-test.inc (catan_test): Add more tests.
30648         (catanh_test): Likewise.
30650         [BZ #15405]
30651         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30652         underflowed result.
30653         * math/s_ccoshf.c (__ccoshf): Likewise.
30654         * math/s_ccoshl.c (__ccoshl): Likewise.
30655         * math/s_csin.c (__csin): Likewise.
30656         * math/s_csinf.c (__csinf): Likewise.
30657         * math/s_csinh.c (__csinh): Likewise.
30658         * math/s_csinhf.c (__csinhf): Likewise.
30659         * math/s_csinhl.c (__csinhl): Likewise.
30660         * math/s_csinl.c (__csinl): Likewise.
30661         * math/libm-test.inc (ccos_test): Add more tests.
30662         (ccosh_test): Likewise.
30663         (csin_test): Likewise.
30664         (csinh_test): Likewise.
30666 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30668         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30669         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30670         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30671         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30672         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30673         powerpc/power5+/fpu folders.
30674         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30677 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30679         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30681 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
30683         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30684         additions to variable.
30685         [$(config-machine) = x86_64] (modules-names): Likewise.
30686         ($(objpfx)tst-audit3): Remove dependency.
30687         ($(objpfx)tst-audit3.out): Likewise.
30688         ($(objpfx)tst-audit4): Likewise.
30689         ($(objpfx)tst-audit4.out): Likewise.
30690         ($(objpfx)tst-audit5): Likewise.
30691         ($(objpfx)tst-audit5.out): Likewise.
30692         ($(objpfx)tst-audit6): Likewise.
30693         ($(objpfx)tst-audit6.out): Likewise.
30694         ($(objpfx)tst-audit7): Likewise.
30695         ($(objpfx)tst-audit7.out): Likewise.
30696         (tst-audit3-ENV): Remove variable.
30697         (tst-audit4-ENV): Likewise.
30698         (tst-audit5-ENV): Likewise.
30699         (tst-audit6-ENV): Likewise.
30700         (tst-audit7-ENV): Likewise.
30701         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30702         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30703         addition to variable.
30704         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30705         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30706         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30707         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30708         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30709         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30710         tst-audit3, tst-audit4 and tst-audit5.
30711         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30712         tst-audit6 and tst-audit7.
30713         [$(subdir) = elf] (modules-names): Add audit modules for those
30714         tests.
30715         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30716         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30717         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30718         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30719         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30720         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30721         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30722         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30723         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30724         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30725         [$(subdir) = elf] (tst-audit3-ENV): New variable.
30726         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30727         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30728         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30729         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30730         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30731         Likewise.
30732         [$(subdir) = elf && $(config-cflags-avx) = yes]
30733         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30734         [$(subdir) = elf && $(config-cflags-avx) = yes]
30735         (CFLAGS-tst-auditmod4a.c): Likewise.
30736         [$(subdir) = elf && $(config-cflags-avx) = yes]
30737         (CFLAGS-tst-auditmod4b.c): Likewise.
30738         [$(subdir) = elf && $(config-cflags-avx) = yes]
30739         (CFLAGS-tst-auditmod6b.c): Likewise.
30740         [$(subdir) = elf && $(config-cflags-avx) = yes]
30741         (CFLAGS-tst-auditmod6c.c): Likewise.
30742         [$(subdir) = elf && $(config-cflags-avx) = yes]
30743         (CFLAGS-tst-auditmod7b.c): Likewise.
30744         * elf/tst-audit3.c: Move to ...
30745         * sysdeps/x86_64/tst-audit3.c: ... here.
30746         * elf/tst-audit4.c: Move to ...
30747         * sysdeps/x86_64/tst-audit4.c: ... here.
30748         * elf/tst-audit5.c: Move to ...
30749         * sysdeps/x86_64/tst-audit5.c: ... here.
30750         * elf/tst-audit6.c: Move to ...
30751         * sysdeps/x86_64/tst-audit6.c: ... here.
30752         * elf/tst-audit7.c: Move to ...
30753         * sysdeps/x86_64/tst-audit7.c: ... here.
30754         * elf/tst-auditmod3a.c: Move to ...
30755         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30756         * elf/tst-auditmod3b.c: Move to ...
30757         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30758         * elf/tst-auditmod4a.c: Move to ...
30759         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30760         * elf/tst-auditmod4b.c: Move to ...
30761         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30762         * elf/tst-auditmod5a.c: Move to ...
30763         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30764         * elf/tst-auditmod5b.c: Move to ...
30765         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30766         * elf/tst-auditmod6a.c: Move to ...
30767         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30768         * elf/tst-auditmod6b.c: Move to ...
30769         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30770         * elf/tst-auditmod6c.c: Move to ...
30771         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30772         * elf/tst-auditmod7a.c: Move to ...
30773         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30774         * elf/tst-auditmod7b.c: Move to ...
30775         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30777 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
30779         [BZ #15366]
30780         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30781         define unconditionally.
30782         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30783         define unconditionally.
30784         (INT8_C, INT16_C, etc.): Likewise.
30786 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
30788         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30789         __ehdr_start with hidden visibility.
30791         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30793 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
30795         * math/libm-test.inc (cos_test): Use accurate hex constants.
30796         (sincost_test): Likewise.
30798 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
30800         * math/libm-test.inc (catan_test): Add more tests.
30801         (catanh_test): Likewise.
30803         * math/s_catanf.c (__catanf): Use suffixed floating-point
30804         constants.
30805         * math/s_catanhf.c (__catanhf): Likewise.
30806         * math/s_catanhl.c (__catanhl): Likewise.
30807         * math/s_catanl.c (__catanl): Likewise.
30809         [BZ #15394]
30810         * math/s_catan.c (__catan): Calculate imaginary part of result
30811         with log1p not log unless computing log of number close to 0.
30812         * math/s_catanf.c (__catanf): Likewise.
30813         * math/s_catanl.c (__catanl): Likewise.
30814         * math/s_catanh.c (__catanh): Calculate real part of result with
30815         log1p not log unless computing log of number close to 0.
30816         * math/s_catanhf.c (__catanhf): Likewise.
30817         * math/s_catanhl.c (__catanhl): Likewise.
30818         * math/libm-test.inc (catan_test): Add more tests.
30819         (catanh_test): Likewise.
30820         * sysdeps/i386/fpu/libm-test-ulps: Update.
30821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30823 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30825         * benchtests/Makefile: Mention files in which fast and slow
30826         paths of math functions are implemented.
30828 2013-04-23  Roland McGrath  <roland@hack.frob.com>
30830         * sysdeps/posix/timespec_get.c: New file.
30832 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30834         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30835         POWER.
30836         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30837         for POWER.
30838         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30839         powerpc/power5/fpu folders.
30840         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30841         * benchtests/Makefile: Add modf testcase.
30842         * benchtests/bench-modf.c: New file: Benchmark test for mo
30844 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30846         [BZ #14888]
30847         * time/Makefile (tests): Add tst-strptime-whitespace.
30848         * time/strptime_l.c (get_number): Use ISSPACE.
30849         (__strptime_internal): Likewise.
30850         * time/tst-strptime-whitespace.c: New test case.
30852 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
30854         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30855         member.
30856         (_nss_files_init): Set it here.
30858 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
30860         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30861         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30862         unsigned.
30864 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
30866         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30868 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30870         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30871         size just once.
30873 2013-04-21  David S. Miller  <davem@davemloft.net>
30875         * po/ru.po: Update Russion translation from translation project.
30877 2013-04-17  Adam Conrad  <adconrad@0c3.net>
30879         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30880         and setfsgid.
30882 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
30884         * configure.in: Remove i386 configure warning. Remove i386 case.
30885         * configure: Regenerate.
30886         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30887         Add example to error message.
30888         * sysdeps/i386/configure: Regenerate.
30890 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30892         * benchtests/Makefile (bench): Add cos, tan, slowcos and
30893         slowtan.
30894         * benchtests/cos-inputs: New file.
30895         * benchtests/slowcos-inputs: New file.
30896         * benchtests/slowcos.c: New file.
30897         * benchtests/slowtan-inputs: New file.
30898         * benchtests/slowtan.c: New file.
30899         * benchtests/tan-inputs: New file.
30901 2013-04-16  Roland McGrath  <roland@hack.frob.com>
30903         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30904         considered kosher.
30906 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30908         * benchtests/Makefile: Include cppflags-iterator.mk to add
30909         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30911         * Makefile.in (bench-clean): New target.
30912         * benchtests/Makefile (bench-clean): Likewise.
30914 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
30916         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30918 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
30920         * stdio-common/tstdiomisc.c: Fix coding-style violation.
30922 2013-04-15  Andreas Schwab  <schwab@suse.de>
30924         * nscd/grpcache.c (cache_addgr): Properly check for short write.
30925         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30926         * nscd/pwdcache.c (cache_addpw): Likewise.
30927         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
30928         more than recsize.
30930 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30932         * benchtests/Makefile (bench): Write all output to
30933         bench-out.tmp together.
30935 2013-04-15  Andreas Schwab  <schwab@suse.de>
30937         * nscd/nscd.c (main): Don't fork again after closing files.
30939 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30941         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30943         * benchtests/Rules (bench-deps): Collect dependencies into a
30944         single variable.  Add Makefile to dependencies.
30945         ($(objpfx)bench-%.c): Depend on bench-deps.
30947 2013-04-12  Roland McGrath  <roland@hack.frob.com>
30948             Xavier Roche  <roche+kml2@exalead.com>
30950         [BZ #15361]
30951         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30952         just that it's a file descriptor.
30953         * manual/llio.texi (Synchronizing AIO Operations): Update description
30954         for EBADF error from aio_fsync.
30956 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30958         * Rules (bench): Move target definition...
30959         * benchtests/Makefile: ... here.
30961 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
30963         * math/libm-test.inc (cos_test): Fix PI/2 test.
30964         (sincos_test): Likewise.
30965         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30966         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30968 2013-04-11  Andreas Schwab  <schwab@suse.de>
30970         [BZ #13988]
30971         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30972         accept exponent character only when digits were seen.
30973         * stdio-common/Makefile (tests): Add bug26.
30974         * stdio-common/bug26.c: New file.
30976         [BZ #14293]
30977         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30978         non-freeable.
30980 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30982         * Makeconfig (rtld-prefix): Define built linker prefix.
30983         * Rules (run-bench): Use it.
30984         * math/Makefile (run-regen-ulps): Likewise.
30986         * Rules (bench): Remove eval.
30988 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30989             Roland McGrath  <roland@hack.frob.com>
30990             Ondrej Bilka  <neleai@seznam.cz>
30992         [BZ #15346]
30993         * time/getdate.c: Include ctype.h and alloca.h.
30994         (__getdate_r): Trim leading and trailing spaces of input.
30995         * time/tst-getdate.c (tests): Add tests with leading and
30996         trailing spaces.
30998 2013-04-08  Roland McGrath  <roland@hack.frob.com>
31000         [BZ #14280]
31001         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31002         when computing value.
31004 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31006         * math/README.libm-test (How can I generate "libm-test-ulps"?):
31007         Use testrun.sh to run libm tests.
31009         [BZ #15309]
31010         * elf/dl-open.c (dl_open_worker): memset all of seen array.
31012 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
31014         [BZ #15264]
31015         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31017 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31019         * Makefile.in (regen-ulps): New target.
31020         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31021         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31022         [ifneq (no,$(PERL)] (regen-ulps): New target.
31023         [ifeq (no,$(PERL)] (regen-ulps): New target.
31024         * math/libm-test.inc (ulps_file_name): Define.
31025         (output_dir): New variable.
31026         (options): Add "output-dir" option.
31027         (parse_opt): Handle 'o' case.
31028         (main): If output_dir is non-NULL use it as a prefix
31029         otherwise use "".
31030         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31032 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31034         [BZ #10060, #10062]
31035         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31036         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31037         fail configure if __sync_val_compare_and_swap is not inlined.
31038         * sysdeps/i386/configure: Regenerate.
31039         * configure.in: Build for i686 when configured for i386.
31040         * configure: Regenerate.
31041         * README: Remove i386 reference.
31043 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31045         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31046         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31048 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31050         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31051         (lmsnanval): New variables.
31052         (F): Add conversion tests.
31053         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31054         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31056         * stdio-common/tstdiomisc.c (F): Properly collect individual
31057         tests' results.
31059         [BZ #14686, #15336]
31060         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31061         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31062         Instead, use input NaN values or generate a qNaN by arithmetic
31063         operation.  Also fix bugs to comply with the standard.
31064         * math/libm-test.inc (remainder_test): Add more tests.
31066         [BZ #15335, #15342]
31067         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31068         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31069         input NaN values or generate a qNaN by arithmetic operation.
31071         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31072         unreachable code.
31074         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31075         definitions.
31077 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
31079         [BZ #14478]
31080         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31081         underflowed result.
31082         * math/s_cexpf.c (__cexpf): Likewise.
31083         * math/s_cexpl.c (__cexpl): Likewise.
31084         * math/libm-test.inc (cexp_test): Add more tests.
31086 2013-04-03  Andreas Schwab  <schwab@suse.de>
31088         [BZ #15330]
31089         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31090         order arrays from heap if bigger than alloca cutoff.
31092 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
31094         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31095         (SNAN_TESTS_double): Refer to GCC PR56831.
31096         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31097         GCC PR56828.
31099 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31101         * Rules (bench): Move bench.out after the run is complete.
31103         * Rules (bench): Echo currently running benchmark.
31105         * benchtests/Makefile (bench): Add atan and slowatan.
31106         * benchtests/atan-inputs: New file.
31107         * benchtests/slowatan-inputs: New file.
31108         * benchtests/slowatan.c: New file.
31110         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
31111         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
31112         its value.
31114         [BZ #15305]
31115         * sysdeps/unix/sysv/linux/kernel-features.h
31116         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
31117         __ASSUME_XFS_RESTRICTED_CHOWN.
31118         * sysdeps/unix/sysv/linux/pathconf.c
31119         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31120         Save and restore errno.
31122 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
31124         [BZ #15327]
31125         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
31126         arguments using __kernel_casinh.
31127         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
31128         arguments using __kernel_casinhf.
31129         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
31130         arguments using __kernel_casinhl.
31131         * math/libm-test.inc (cacosh_test): Add more tests.
31132         * sysdeps/i386/fpu/libm-test-ulps: Update.
31133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31135 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31137         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
31138         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
31140         * bench/Makefile (bench): Add sin and slowsin.
31141         * benchtests/sin-inputs: New file.
31142         * benchtests/slowsin-inputs: New file.
31143         * benchtests/slowsin.c: New file.
31145         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
31146         (bench): Add slowexp and slowpow.
31147         (exp-ITER): Increase iterations.
31148         (pow-ITER): Likewise.
31149         * benchtests/exp-inputs: Change input.
31150         * benchtests/pow-inputs: Likewise.
31151         * benchtests/slowexp-inputs: New file.
31152         * benchtests/slowexp.c: New file.
31153         * benchtests/slowpow-inputs: New file.
31154         * benchtests/slowpow.c: New file.
31156 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31158         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
31159         instructions.
31160         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31161         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
31162         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31163         * benchtests/Makefile: Add rint benchtest.
31164         * benchtests/rint-inputs: Input for rint benchtest.
31166 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
31168         * Versions.def (libm): Add GLIBC_2.18.
31169         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
31170         hidden libm prototypes.
31171         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
31172         * math/Makefile (libm-calls): Add s_issignaling.
31173         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
31174         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
31175         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
31176         declaration.
31177         * math/math.h [__USE_GNU] (issignaling): New macro.
31178         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
31179         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
31180         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
31181         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
31182         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
31183         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
31184         * manual/arith.texi (issignaling): New section.
31185         * manual/libm-err-tab.pl (@all_functions): Update comment.
31186         * math/gen-libm-test.pl (parse_args): Apply special handling for
31187         issignaling.
31188         * math/libm-test.inc (print_float, issignaling_test): New
31189         functions.
31190         (check_float_internal): Add issignaling checks.
31191         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
31192         default definition.
31193         * sysdeps/powerpc/math-tests.h: New file.
31194         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
31195         tests.
31196         * math/test-snan.c (TEST_FUNC): Likewise.
31198 2013-03-30  David S. Miller  <davem@davemloft.net>
31200         * po/de.po: Update from translation team.
31202 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
31204         [BZ #10357]
31205         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31206         imaginary part less than 1.0 and real part less than 0.5
31207         specially.
31208         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31209         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31210         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
31211         (cacos_test): Add more tests.
31212         (casin_test): Likewise.
31213         (casinh_test): Likewise.
31214         * sysdeps/i386/fpu/libm-test-ulps: Update.
31215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31217 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31219         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31220         ONE with its value.
31222         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31223         (__pow_mp): Replace ONE and MONE with their values.
31224         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31225         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31226         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31227         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31228         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31229         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31231         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31233         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31234         (__pow_mp): Replace ZERO and MZERO with their values.
31235         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31236         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31237         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31238         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31239         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31240         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31241         (__sqr): Likewise.
31243         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31245         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31247 2013-03-28  Roland McGrath  <roland@hack.frob.com>
31249         * include/stdlib.h [!SHARED] (__call_tls_dtors):
31250         Declare with __attribute__ ((weak)).
31251         * stdlib/exit.c (__libc_atexit) [!SHARED]:
31252         Call __call_tls_dtors only if it's not NULL.
31254 2013-03-28  Roland McGrath  <roland@hack.frob.com>
31256         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31257         didn't do it already, then set _dl_phdr and _dl_phnum based on the
31258         magic __ehdr_start linker symbol if it's defined.
31259         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31260         them up here if it was already done.
31262         * elf/dl-support.c (_dl_phdr): Make pointer to const.
31263         (_dl_aux_init): Use const in cast when setting it.
31264         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31265         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31266         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31268         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31269         Declare them here.
31270         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31271         * csu/libc-tls.c: Nor here.
31272         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31274         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31275         (__libc_message): Never call vsyslog.
31277 2013-03-28  Alan Modra  <amodra@gmail.com>
31279         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31280         Define as empty.
31281         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31282         Likewise.
31284 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31286         [BZ #15214]
31287         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31288         underflow.
31289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31291 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31293         [BZ #15304]
31294         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31295         Don't add gid passed as argument.
31297         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31299 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
31301         [BZ #15307]
31302         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31303         imaginary part between 1.0 and 1.5 and real part less than 0.5
31304         specially.
31305         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31306         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31307         * math/libm-test.inc (cacos_test): Add more tests.
31308         (casin_test): Likewise.
31309         (casinh_test): Likewise.
31310         * sysdeps/i386/fpu/libm-test-ulps: Update.
31311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31313 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31315         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31316         constants.
31317         (norm): Likewise.
31318         (denorm): Likewise.
31319         (__dbl_mp): Likewise.
31320         (add_magnitudes): Likewise.
31321         (sub_magnitudes): Likewise.
31322         (__add): Likewise.
31323         (__sub): Likewise.
31324         (__mul): Likewise.
31325         (__sqr): Likewise.
31326         (__inv): Likewise.
31327         (__dvd): Likewise.
31329         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31330         commented code.
31331         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31332         (__dubcos): Likewise.
31333         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31334         (__ieee754_acos): Likewise.
31335         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31336         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31337         (__exp1): Likewise.
31338         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31339         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31340         (log1): Likewise.
31341         (my_log2): Likewise.
31342         (checkint): Likewise.
31343         * sysdeps/ieee754/dbl-64/e_remainder.c
31344         (__ieee754_remainder): Likewise.
31345         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31346         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31347         (bsloww): Likewise.
31348         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31350         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31351         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31352         MANTISSA_STORE_T to store computations on mantissa.  Use
31353         macros for rounding and division.
31354         (denorm): Likewise.
31355         (__dbl_mp): Likewise.
31356         (add_magnitudes): Likewise.
31357         (sub_magnitudes): Likewise.
31358         (__mul): Likewise.
31359         (__sqr): Likewise.
31360         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31361         powers of two in terms of TWOPOW macro.
31362         (mp_no): Make type of mantissa as MANTISSA_T.
31363         [!RADIXI]: Define RADIXI.
31364         [!TWO52]: Define TWO52.
31365         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31367 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31369         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31370         llroundl symbol when building for PPC32.
31372 2013-03-24  Mark H Weaver  <mhw@netris.org>
31374         * manual/arith.texi (Normalization Functions): Fix prototypes for
31375         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31377 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31379         [BZ #13889]
31380         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31381         high value to check if expl overflow.
31382         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31383         to check for underflow and overflow.
31384         * math/libm-test.inc: Add exp test.
31386 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
31388         [BZ #11120]
31389         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31390         with NOT_IN_libc.
31392 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31394         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31395         symbol.
31397 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31399         * math/gen-libm-test.pl (parse_args, special_functions): Properly
31400         wrap blocks consisting of several statements.
31402         * sysdeps/generic/math-tests.h: New file.
31403         * sysdeps/i386/fpu/math-tests.h: Likewise.
31404         * math/test-snan.c: Include it.
31405         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31407 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
31409         [BZ #15285]
31410         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31411         (__ieee754_j0l): Do not improve calculations using cos of twice
31412         input for inputs above LDBL_MAX / 2.0L.
31413         (__ieee754_y0l): Likewise.
31414         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31415         (__ieee754_j1l): Do not improve calculations using cos of twice
31416         input for inputs above LDBL_MAX / 2.0L.
31417         (__ieee754_y1l): Likewise.
31418         * math/libm-test.inc (j0_test): Add another test.
31419         (j1_test): Likewise.
31420         (y0_test): Likewise.
31421         (y1_test): Likewise.
31422         * sysdeps/i386/fpu/libm-test-ulps: Update.
31424 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31426         * Rules ($(objpfx)bench-%.c): Include code from a C source
31427         file.
31429 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
31431         [BZ #15287]
31432         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31433         imaginary part 1.0 and real part less than 0.5 specially.
31434         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31435         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31436         * math/libm-test.inc (cacos_test): Add more tests.
31437         (casin_test): Likewise.
31438         (casinh_test): Likewise.
31439         * sysdeps/i386/fpu/libm-test-ulps: Update.
31440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31442 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31444         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31445         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31447 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
31449         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31450         * config.make.in (config-cflags-sse4): Remove variable.
31451         (config-cflags-avx): Likewise.
31452         (config-cflags-sse2avx): Likewise.
31453         (config-cflags-novzeroupper): Likewise.
31454         (config-asflags-i686): Likewise.
31455         (have-mfma4): Likewise.
31456         (have-as-vis3): Likewise.
31457         (MIG): Likewise.
31458         * configure.in (MIG): Do not AC_SUBST.
31459         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31460         (libc_cv_cc_sse4): Do not AC_SUBST.
31461         (libc_cv_cc_avx): Likewise.
31462         (libc_cv_cc_sse2avx): Likewise.
31463         (libc_cv_cc_novzeroupper): Likewise.
31464         (libc_cv_cc_fma4): Likewise.
31465         (libc_cv_as_i686): Likewise.
31466         (libc_cv_sparc_as_vis3): Likewise.
31467         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31468         LIBC_CONFIG_VAR.
31469         (config-asflags-i686): Likewise.
31470         (config-cflags-avx): Likewise.
31471         (config-cflags-sse2avx): Likewise.
31472         (have-mfma4): Likewise.
31473         (config-cflags-novzeroupper): Likewise.
31474         * sysdeps/mach/configure.in (MIG): Likewise.
31475         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31476         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31477         LIBC_CONFIG_VAR.
31478         (config-cflags-avx): Likewise.
31479         (config-cflags-sse2avx): Likewise.
31480         (have-mfma4): Likewise.
31481         (config-cflags-novzeroupper): Likewise.
31482         * configure: Regenerated.
31483         * sysdeps/i386/configure: Likewise.
31484         * sysdeps/mach/configure: Likewise.
31485         * sysdeps/sparc/configure: Likewise.
31486         * sysdeps/x86_64/configure: Likewise.
31488 2013-03-20  Roland McGrath  <roland@hack.frob.com>
31490         [BZ #14812]
31491         * locale/programs/localedef.c (options): Put N_ translation marker
31492         on argument names, not just descriptions.
31494 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31496         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31498 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
31500         [BZ #14176]
31501         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31503 2013-03-19  Roland McGrath  <roland@hack.frob.com>
31505         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31506         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31507         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31508         [!BEFORE_ABORT] (before_abort): New function.
31509         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31510         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31511         (writev_for_fatal): New function.
31512         (WRITEV_FOR_FATAL): New macro; call that.
31513         (backtrace_and_maps): New function.
31514         (BEFORE_ABORT): New macro; call that.
31515         (struct str_list): Type removed.
31516         (__libc_message, __libc_fatal): Functions removed.
31517         Include <sysdeps/posix/libc_fatal.c> instead.
31519 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
31521         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31522         constants.
31523         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31524         double constants.
31526 2013-03-19  Andreas Schwab  <schwab@suse.de>
31528         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31529         * sysdeps/gnu/configure: Regenerate.
31531         * configure.in: Substitute libc_cv_rtlddir.
31532         * configure: Regenerate.
31533         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31534         * Makeconfig (rtlddir, inst_rtlddir): New variables.
31535         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31536         * elf/Makefile (install-others, CFLAGS-interp.c)
31537         (ldso_install, common-ldd-rewrite): Likewise.
31538         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31539         $(inst_slibdir)/$(rtld-installed-name).
31540         * scripts/rellns-sh: Add -p option.
31541         * Makerules (make-shlib-link): Use rellns-sh to get relative name
31542         for source.
31544 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31546         * manual/nptl.texi: Renamed to ...
31547         * manual/threads.texi: ... this.
31548         * manual/Makefile (chapters): Update.
31550 2013-03-18  Roland McGrath  <roland@hack.frob.com>
31552         [BZ #14812]
31553         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31554         on argument names, not just descriptions.
31555         * malloc/memusagestat.c (options): Likewise.
31556         * nss/getent.c (options): Likewise.
31558 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
31560         [BZ #14812]
31561         * iconv/iconv_prog.c (options): Put N_ translation marker
31562         on argument names, not just descriptions.
31563         * iconv/iconvconfig.c (options): Likewise.
31565 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
31567         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31568         implementation which is faster on all x86_64 architectures.
31569         Tested on AMD, Intel Nehalem, SNB, IVB.
31570         * sysdeps/x86_64/strnlen.S: Likewise.
31572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31573         Remove all multiarch strlen and strnlen versions.
31574         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31575         Remove strlen and strnlen related parts.
31577         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31578         Inline strlen part.
31579         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31581         * sysdeps/x86_64/multiarch/strlen.S: Remove.
31582         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31583         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31584         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31585         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31586         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31588 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
31590         * manual/memory.texi (Malloc Tunable Parameters):
31591         Sort parameters alphabetically. Add comments for missing entries.
31593 2013-03-17  David S. Miller  <davem@davemloft.net>
31595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31597 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
31599         [BZ #15283]
31600         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31601         for arguments at most half maximum finite value.
31602         * math/libm-test.inc (j0_test): Add more tests.
31603         (j1_test): Likewise.
31604         (y0_test): Likewise.
31605         (y1_test): Likewise.
31606         * sysdeps/i386/fpu/libm-test-ulps: Update.
31607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31609         [BZ #14155]
31610         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31611         1 / x and functions P and Q for arguments above 0x1p256L.
31612         (__ieee754_y0l): Likewise.
31613         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31614         (__ieee754_y1l): Likewise.
31615         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31616         (j1_test): Likewise.
31617         (y0_test): Likewise.
31618         (y1_test): Likewise.
31620 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
31622         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31623         variable.
31625 2013-03-15  Roland McGrath  <roland@hack.frob.com>
31627         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31628         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31629         zero since it's initialized to EXEC_PAGESIZE.
31631         * sysdeps/unix/sysv/linux/ldsodefs.h
31632         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31633         * sysdeps/generic/ldsodefs.h: ... here.
31635 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
31637         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31639         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31640         math/test-snan.c.
31641         * math/test-snan.c: Renamed from
31642         sysdeps/powerpc/fpu/test-powerpc-snan.c.
31643         * math/Makefile (tests): Add test-snan.
31644         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31645         test-powerpc-snan.
31647         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31648         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
31649         functions.
31650         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
31651         __builtin_nan family of functions.
31652         * math/libm-test.inc (initialize): Initialize qnan_value with
31653         __builtin_nan family of functions.
31654         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31655         Remove variables.
31656         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31657         Remove functions.
31658         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
31659         storage class.  Initialize qNaN_var and sNaN_var with
31660         __builtin_nan and __builtin_nans families of functions,
31661         respectively.
31663         * math/libm-test.inc (acosh_test): Also test with qNaN input.
31664         (sqrt_test): Remove duplicate test with qNaN input.
31665         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31666         (round_test, signbit_test, significand_test): Note missing +/-Inf
31667         as well as qNaN tests.
31669         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31670         qNaN_var.  Fix a few strings, too.
31671         * math/libm-test.inc (nan_value): Rename to qnan_value.
31672         * math/gen-libm-test.pl (%beautify): Adjust to that.
31673         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31674         * math/test-misc.c (main): Likewise.
31675         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31676         to __qnan_bytes, and __qnan_union, respectively.
31677         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31678         Likewise.
31679         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31680         and lqnanval, respectively.
31681         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31682         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31683         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31684         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31686         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31687         * math/test-misc.c (main) [__x86_64__]: Enable test for long
31688         doubles.
31690         * math/test-misc.c (main): Fix copy'n'pastos.
31691         * misc/tst-efgcvt.c (special): Likewise.
31693         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31694         Remove declarations.
31696 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31698         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31699         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31700         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31701         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31703 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31705         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31706         macro to return vdso values correctly in IFUNC implementations.
31707         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31708         Optimization by using IFUNC.
31710 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31711             Richard Henderson  <rth@redhat.com>
31712             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31714         * Makefile.in (bench): New target.
31715         * NEWS: Mention the benchmark framework.
31716         * Rules (bench): Likewise.
31717         (binaries-bench): Generate binaries for functions to
31718         benchmark.
31719         * benchtests/Makefile: New makefile for benchmark tests.
31720         * benchtests/bench-skeleton.c: New skeleton file for benchmark
31721         programs.
31722         * benchtests/exp-inputs: New input file for EXP function.
31723         * benchtests/pow-inputs: New input file for POW function.
31724         * scripts/bench.pl: New script to generate source files for
31725         benchmark programs.
31727 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31729         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31730         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31731         computations on mantissa.  Use macros for rounding and
31732         division.
31733         (denorm): Likewise.
31734         (__dbl_mp): Likewise.
31735         (add_magnitudes): Likewise.
31736         (sub_magnitudes): Likewise.
31737         (__mul): Likewise.
31738         (__sqr): Likewise.
31739         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31740         powers of two in terms of TWOPOW macro.
31741         (mp_no): Make type of mantissa as MANTISSA_T.
31742         [!RADIXI]: Define RADIXI.
31743         [!TWO52]: Define TWO52.
31744         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31746         * manual/nptl.texi (cindex): Modify threads to pthreads.
31748 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
31750         * sysdeps/x86_64/preconfigure: Regenerated.
31752 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
31754         [BZ #14155]
31755         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31756         0x1p28 and above.
31757         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31758         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31759         0x1p28 and above.
31760         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31761         * math/libm-test.inc (j0_test): Do not allow one spurious
31762         underflow exception.
31763         (y1_test): Likewise.
31765 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31767         * manual/Makefile (chapters): Add nptl.
31768         * manual/debug.texi (Debugging Support): Add link to Threads
31769         chapter.
31770         * manual/nptl.texi: New file.
31772         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31774 2013-03-14  Petr Baudis  <pasky@ucw.cz>
31776         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31777         for non-NULL pointer before the memory validity test. Pointed
31778         out by Holger Brunck <holger.brunck@keymile.com>.
31780 2013-03-13  Andreas Schwab  <schwab@suse.de>
31782         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31783         instead of .os.
31785 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
31787         * timezone/zic.c: Update from tzcode 2013b.
31789 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
31791         * manual/install.texi (Configuring and compiling):
31792         Mention i686 and i586.
31793         * INSTALL: Regenerate.
31795 2013-03-12  Roland McGrath  <roland@hack.frob.com>
31797         * sysdeps/init_array/elf-init.c: New file.
31798         * csu/elf-init.c
31799         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31800         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31802         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31803         __gmon_start__ as global, but as static with a .preinit_array pointer.
31804         * sysdeps/init_array/gmon-start.c: New file.  Use that.
31805         * sysdeps/init_array/crti.S: New file, empty except for comments.
31806         * sysdeps/init_array/crtn.S: Likewise.
31808 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
31810         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31811         definining bcopy.
31812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31813         Remove Prefer_SSE_for_memop.
31814         * sysdeps/x86_64/multiarch/init-arch.h: Remove
31815         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31816         HAS_PREFER_SSE_FOR_MEMOP.
31817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31818         memset-x86-64.
31819         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31820         Remove bzero, memset ifunc support.
31821         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31822         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31823         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31824         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31826 2013-03-11  Andreas Schwab  <schwab@suse.de>
31828         [BZ #15234]
31829         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31830         by SHLIB_COMPAT.
31831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31832         (GLIBC_2.16): Remove pthread_atfork.
31834 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31836         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31837         (ptestcases.h): Likewise.
31839 2013-03-08  Roland McGrath  <roland@hack.frob.com>
31841         * Makeconfig ($(common-objpfx)config.status): Depend on
31842         sysdeps/*/preconfigure{,.in} too.
31844 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
31846         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31847         (__free_hook): Use void * instead of __malloc_ptr_t.
31848         (__malloc_hook): Likewise.
31849         (__realloc_hook): Likewise.
31850         (__memalign_hook): Likewise.
31851         (__after_morecore_hook): Likewise.
31852         * malloc/arena.c (save_malloc_hook): Likewise.
31853         (save_free_hook): Likewise.
31854         * malloc/hooks.c (malloc_hook_ini): Likewise.
31855         (realloc_hook_ini): Likewise.
31856         (memalign_hook_ini): Likewise.
31857         * malloc/malloc.c (malloc_hook_ini): Likewise.
31858         (realloc_hook_ini): Likewise.
31859         (memalign_hook_ini): Likewise.
31860         (__free_hook): Likewise.
31861         (__malloc_hook): Likewise.
31862         (__realloc_hook): Likewise.
31863         (__memalign_hook): Likewise.
31864         (__libc_malloc): Likewise.
31865         (__libc_free): Likewise.
31866         (__libc_realloc): Likewise.
31867         (__libc_memalign): Likewise.
31868         (__libc_valloc): Likewise.
31869         (__libc_pvalloc): Likewise.
31870         (__libc_calloc): Likewise.
31871         (__posix_memalign): Likewise.
31872         * malloc/morecore.c (__sbrk): Likewise.
31873         (__default_morecore): Likewise.
31875         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31877         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31878         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31879         __malloc_ptrdiff_t.
31881         * malloc/malloc.h (__malloc_size_t): Remove macro.
31882         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31883         __malloc_size_t.
31884         (old_memalign_hook): Likewise.
31885         (old_realloc_hook): Likewise.
31886         (struct hdr): Likewise.
31887         (flood): Likewise.
31888         (mallochook): Likewise.
31889         (memalignhook): Likewise.
31890         (reallochook): Likewise.
31891         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31892         (tr_old_realloc_hook): Likewise.
31893         (tr_old_memalign_hook): Likewise.
31894         (tr_mallochook): Likewise.
31895         (tr_reallochook): Likewise.
31896         (tr_memalignhook): Likewise.
31898 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31900         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31901         default_ldbl_pack and using as default implementation.
31902         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31903         implementation.
31904         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31905         redundant definition.
31906         (ldbl_insert_mantissa): Likewise.
31907         (ldbl_canonicalize): Likewise.
31908         (ldbl_nearbyint): Likewise.
31909         (ldbl_pack): Rename to ldbl_pack_ppc.
31910         (ldbl_unpack): Rename to ldbl_unpack_ppc.
31911         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31912         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31914 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31917         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31918         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31919         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31921         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31922         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31923         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31925 2013-03-07  Andreas Jaeger  <aj@suse.de>
31927         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31928         bits/mman-linux.h.
31930 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31932         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31933         Include mpa.h and declare __MPEXP.
31934         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31935         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31936         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31937         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31938         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31939         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31940         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31942         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31943         (__slowpow): Use long double EXPL and LOGL functions to
31944         compute POW.
31945         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31946         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31947         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31948         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31949         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31950         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31953         intermediate variable to calculate exponent.
31954         (__sqr): Likewise.
31955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31956         Likewise.
31957         (__sqr): Likewise.
31959         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31960         [!NO__SQR]: Define __sqr.
31961         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31962         and NO__SQR.  Remove all code except __mul and __sqr.  Include
31963         sysdeps/ieee754/dbl-64/mpa.c.
31964         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31966         [BZ #12723]
31967         * posix/Makefile (tests): Add tst-pathconf.
31968         * posix/tst-pathconf.c: New test case.
31969         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31970         _PC_PIPE_BUF.
31971         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31973 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
31975         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31977 2013-03-06  Andreas Jaeger  <aj@suse.de>
31979         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31980         definition via __MAP_ANONYMOUS.
31982         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31983         it's not part of Linux headers.
31985         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31986         (MAP_HUGE_MASK): Define.
31988         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31989         Define.
31990         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31991         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31992         Define.
31993         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31994         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31995         Define.
31996         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31997         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31998         Define.
31999         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32001         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32002         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32003         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32004         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32005         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32006         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32008         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32009         Handle f2fs.
32011         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32012         Handle f2fs and efivarfs.
32014         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32015         f2fs.
32017         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32018         (EFIVARFS_MAGIC): Add.
32019         (F2FS_LINK_MAX): Add.
32021 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32023         * stdio-common/vfprintf.c: Replace __builtin_expect with
32024         __glibc_unlikely.
32026 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
32028         [BZ #13550]
32029         * sysdeps/generic/bp-sym.h: Remove file.
32030         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32031         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32032         <bp-sym.h> and <bp-asm.h>.
32033         (__longjmp): Don't use BP_SYM.
32034         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32035         and <bp-asm.h>.
32036         (memcpy): Don't use BP_SYM.
32037         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32038         <bp-sym.h> and <bp-asm.h>.
32039         (memcpy): Don't use BP_SYM.
32040         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32041         <bp-asm.h>.
32042         (memcpy): Don't use BP_SYM.
32043         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32044         <bp-asm.h>.
32045         (memset): Don't use BP_SYM.
32046         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32047         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32048         (__bzero): Don't use BP_SYM.
32049         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32050         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32051         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32052         <bp-sym.h> and <bp-asm.h>.
32053         (memcmp): Don't use BP_SYM.  Remove comment about bounded
32054         pointers.
32055         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32056         <bp-sym.h> and <bp-asm.h>.
32057         (memcpy): Don't use BP_SYM.
32058         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
32059         <bp-sym.h> and <bp-asm.h>.
32060         (memset): Don't use BP_SYM.
32061         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32062         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32063         (__bzero): Don't use BP_SYM.
32064         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32065         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32066         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
32067         <bp-sym.h> and <bp-asm.h>.
32068         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32069         pointers.
32070         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32071         <bp-sym.h> and <bp-asm.h>.
32072         (memcpy): Don't use BP_SYM.
32073         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32074         <bp-sym.h> and <bp-asm.h>.
32075         (memset): Don't use BP_SYM.
32076         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32077         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32078         (__bzero): Don't use BP_SYM.
32079         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32080         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32081         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32082         <bp-sym.h> and <bp-asm.h>.
32083         (__memchr): Don't use BP_SYM.
32084         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32085         <bp-sym.h> and <bp-asm.h>.
32086         (memcmp): Don't use BP_SYM.  Remove comment about bounded
32087         pointers.
32088         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32089         <bp-sym.h> and <bp-asm.h>.
32090         (memcpy): Don't use BP_SYM.
32091         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32092         <bp-sym.h> and <bp-asm.h>.
32093         (__mempcpy): Don't use BP_SYM.
32094         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32095         <bp-sym.h> and <bp-asm.h>.
32096         (__memrchr): Don't use BP_SYM.
32097         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32098         <bp-sym.h> and <bp-asm.h>.
32099         (memset): Don't use BP_SYM.
32100         (__bzero): Likewise.
32101         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32102         <bp-sym.h> and <bp-asm.h>.
32103         (__rawmemchr): Don't use BP_SYM.
32104         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32105         <bp-sym.h> and <bp-asm.h>.
32106         (__STRCMP): Don't use BP_SYM.
32107         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
32108         <bp-sym.h> and <bp-asm.h>.
32109         (strchr): Don't use BP_SYM.
32110         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
32111         <bp-sym.h> and <bp-asm.h>.
32112         (__strchrnul): Don't use BP_SYM.
32113         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
32114         <bp-sym.h> and <bp-asm.h>.
32115         (strlen): Don't use BP_SYM.
32116         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
32117         <bp-sym.h> and <bp-asm.h>.
32118         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32119         pointers.
32120         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
32121         <bp-sym.h> and <bp-asm.h>.
32122         (__strnlen): Don't use BP_SYM.
32123         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
32124         <bp-sym.h> and <bp-asm.h>.
32125         (__GI__setjmp): Don't use BP_SYM.
32126         (_setjmp): Likewise.
32127         (__sigsetjmp): Likewise.
32128         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
32129         (L(start_addresses)): Don't use BP_SYM.
32130         (_start): Likewise.
32131         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
32132         <bp-asm.h>.
32133         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
32134         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
32135         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32136         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32137         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
32138         <bp-asm.h>.
32139         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
32140         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
32141         about bounded pointers.
32142         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32143         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32144         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
32145         <bp-asm.h>.
32146         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
32147         about bounded pointers.  Remove GKM FIXME comments.
32148         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32149         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
32150         <bp-asm.h>.
32151         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
32152         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
32153         Remove GKM FIXME comments.
32154         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32155         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32156         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
32157         <bp-asm.h>.
32158         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
32159         about bounded pointers.  Remove GKM FIXME comment.
32160         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
32161         and <bp-asm.h>.
32162         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32163         pointers.
32164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
32165         <bp-sym.h> and <bp-asm.h>.
32166         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
32168         <bp-sym.h> and <bp-asm.h>.
32169         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
32170         comment.
32172 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32174         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
32175         call free(NULL).
32177 2013-03-05  David S. Miller  <davem@davemloft.net>
32179         * po/es.po: Update from translation team.
32181 2013-03-05  Andreas Jaeger  <aj@suse.de>
32183         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
32184         <bits/mman-linux.h>.
32185         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32186         is fine.
32187         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
32188         <bits/mman-linux.h> to end of file.
32189         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32190         is fine.
32191         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
32192         <bits/mman-linux.h> to end of file.
32193         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32194         is fine.
32195         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
32196         <bits/mman-linux.h> to end of file.
32198         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
32199         (MCL_CURRENT, MCL_FUTURE): Define here.
32201 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32203         [BZ #15232]
32204         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
32205         attribute_hidden.
32206         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32208 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32210         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
32211         fourth parameter needed for rt_sigprocmask syscall.
32212         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32213         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32214         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32215         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32216         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32217         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32219 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
32221         [BZ #13550]
32222         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32223         comment about bounded pointers.
32224         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32225         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32227 2013-03-04  Andreas Jaeger  <aj@suse.de>
32229         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32230         common definitions.
32232         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32233         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32234         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32235         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32236         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32237         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32239 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32241         [BZ #15055]
32242         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32243         __ieee754_sqrl instead of __sqrl.
32245 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
32247         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32248         * sysdeps/powerpc/fpu_control.h: ... here.
32249         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32250         * sysdeps/powerpc/bits/fenvinline.h: ... here.
32251         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32252         * sysdeps/powerpc/bits/mathinline.h: ... here.
32254 2013-03-01  Roland McGrath  <roland@hack.frob.com>
32256         * elf/dl-hwcaps.c (_dl_important_hwcaps):
32257         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32258         to just [NEED_DL_SYSINFO_DSO].
32259         * elf/dl-support.c: Likewise.
32260         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32261         * elf/rtld.c (dl_main): Likewise.
32262         * elf/setup-vdso.h (setup_vdso): Likewise.
32263         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32264         * sysdeps/unix/sysv/linux/dl-sysdep.c
32265         (_dl_discover_osversion): Likewise.
32267 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
32269         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32270         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32272 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32274         * NEWS: Mention libm performance improvements and non-x86 PI
32275         futex support.
32277         * csu/libc-start.c (__pthread_initialize_minimal): Change
32278         function arguments.
32279         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32281 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
32283         [BZ #13550]
32284         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32285         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32286         <bp-sym.h> and <bp-asm.h>.
32287         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32288         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32289         and <bp-asm.h>.
32290         (memcpy): Don't use BP_SYM.
32291         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32292         <bp-asm.h>.
32293         (__mpn_add_n): Don't use BP_SYM.
32294         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32295         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32296         and <bp-asm.h>.
32297         (__mpn_addmul_1): Don't use BP_SYM.
32298         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32299         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32300         <bp-sym.h>.
32301         (_setjmp): Don't use BP_SYM.
32302         (__novmx_setjmp): Likewise.
32303         (__GI__setjmp): Likewise.
32304         (__vmx_setjmp): Likewise.
32305         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32306         <bp-sym.h>.
32307         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32308         (__bzero): Don't use BP_SYM.
32309         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32310         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32311         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32312         <bp-sym.h> and <bp-asm.h>.
32313         (memcpy): Don't use BP_SYM.
32314         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32315         <bp-sym.h> and <bp-asm.h>.
32316         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32317         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32318         <bp-sym.h> and <bp-asm.h>.
32319         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32320         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32321         <bp-asm.h>.
32322         (__mpn_lshift): Don't use BP_SYM.
32323         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32324         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32325         <bp-asm.h>.
32326         (memset): Don't use BP_SYM.
32327         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32328         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32329         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32330         <bp-asm.h>.
32331         (__mpn_mul_1): Don't use BP_SYM.
32332         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32333         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32334         <bp-sym.h> and <bp-asm.h>.
32335         (memcmp): Don't use BP_SYM.
32336         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32337         <bp-sym.h> and <bp-asm.h>.
32338         (memcpy): Don't use BP_SYM.
32339         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32340         <bp-sym.h> and <bp-asm.h>.
32341         (memset): Don't use BP_SYM.
32342         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32343         <bp-sym.h> and <bp-asm.h>.
32344         (strncmp): Don't use BP_SYM.
32345         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32346         <bp-sym.h> and <bp-asm.h>.
32347         (memcpy): Don't use BP_SYM.
32348         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32349         <bp-sym.h> and <bp-asm.h>.
32350         (memset): Don't use BP_SYM.
32351         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32352         <bp-sym.h> and <bp-asm.h>.
32353         (__memchr): Don't use BP_SYM.
32354         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32355         <bp-sym.h> and <bp-asm.h>.
32356         (memcmp): Don't use BP_SYM.
32357         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32358         <bp-sym.h> and <bp-asm.h>.
32359         (memcpy): Don't use BP_SYM.
32360         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32361         <bp-sym.h> and <bp-asm.h>.
32362         (__mempcpy): Don't use BP_SYM.
32363         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32364         <bp-sym.h> and <bp-asm.h>.
32365         (__memrchr): Don't use BP_SYM.
32366         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32367         <bp-sym.h> and <bp-asm.h>.
32368         (memset): Don't use BP_SYM.
32369         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32370         <bp-sym.h> and <bp-asm.h>.
32371         (__rawmemchr): Don't use BP_SYM.
32372         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32373         <bp-sym.h> and <bp-asm.h>.
32374         (__STRCMP): Don't use BP_SYM.
32375         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32376         <bp-sym.h> and <bp-asm.h>.
32377         (strchr): Don't use BP_SYM.
32378         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32379         <bp-sym.h> and <bp-asm.h>.
32380         (__strchrnul): Don't use BP_SYM.
32381         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32382         <bp-sym.h> and <bp-asm.h>.
32383         (strlen): Don't use BP_SYM.
32384         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32385         <bp-sym.h> and <bp-asm.h>.
32386         (strncmp): Don't use BP_SYM.
32387         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32388         <bp-sym.h> and <bp-asm.h>.
32389         (__strnlen): Don't use BP_SYM.
32390         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32391         <bp-asm.h>.
32392         (__mpn_rshift): Don't use BP_SYM.
32393         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32394         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32395         <bp-sym.h> and <bp-asm.h>.
32396         (__sigsetjmp): Don't use BP_SYM.
32397         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32398         (L(start_addresses)): Don't use BP_SYM.
32399         (_start): Likewise.
32400         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32401         <bp-asm.h>.
32402         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32403         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32404         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32405         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32406         <bp-asm.h>.
32407         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32408         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32409         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32410         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32411         <bp-asm.h>.
32412         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
32413         comments.
32414         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32415         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32416         <bp-asm.h>.
32417         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
32418         FIXME comments.
32419         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32420         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32421         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32422         <bp-asm.h>.
32423         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
32424         comment.
32425         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32426         and <bp-asm.h>.
32427         (strncmp): Don't use BP_SYM,
32428         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32429         <bp-asm.h>.
32430         (__mpn_sub_n): Don't use BP_SYM.
32431         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32432         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32433         and <bp-asm.h>.
32434         (__mpn_submul_1): Don't use BP_SYM.
32435         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32437         <bp-sym.h> and <bp-asm.h>.
32438         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32440         <bp-sym.h> and <bp-asm.h>.
32441         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
32442         comment.
32444 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32447         Use ZK to minimize writes to Z.
32448         (sub_magnitudes): Simplify code a bit.
32449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32450         Use ZK to minimize writes to Z.
32451         (sub_magnitudes): Simplify code a bit.
32453 2013-02-27  Roland McGrath  <roland@hack.frob.com>
32455         * csu/gmon-start.c: Add special exception to license text.
32457 2013-02-27  Richard Henderson  <rth@redhat.com>
32459         * scripts/config.guess: Update from config.git.
32460         * scripts/config.sub: Likewise.
32462 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32464         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32466         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32468         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32470         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32472         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32474 2013-02-26  Roland McGrath  <roland@hack.frob.com>
32476         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32477         [$(build-shared = yes].
32479 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32481         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32482         (__mul): Reduce iterations for calculating mantissa.
32484         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32485         MPTWO.
32486         (__mpranred): Likewise.
32488         [BZ #15160]
32489         * malloc/memusagestat.c (main): Draw graphs for heap and stack
32490         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32492 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
32494         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32495         Define __attribute__.
32497 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32499         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32500         unused.
32501         * posix/regex_internal.h (__attribute): Remove.
32502         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32503         (re_string_context_at): Likewise.
32504         (bitset_not): Use __attribute__ and mark function as possibly
32505         unused.
32506         (bitset_merge): Likewise.
32507         (bitset_mask): Likewise.
32508         (re_string_char_size_at): Likewise.
32509         (re_string_wchar_at): Likewise.
32510         (re_string_elem_size_at): Likewise.
32512 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32514         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32515         code.
32516         (cc32): Likewise.
32518         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32519         (__acr): Likewise.
32520         (__cpy): Likewise.
32521         (norm): Likewise.
32522         (denorm): Likewise.
32523         (__dbl_mp): Likewise.
32524         (add_magnitudes): Likewise.
32525         (sub_magnitudes): Likewise.
32526         (__mul): Likewise.
32527         (__inv): Likewise.
32529         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32530         style.
32532         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32533         style.
32535         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32536         code.
32538         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32539         up changes with default code.
32540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32541         Likewise.
32543 2013-02-24  Allan McRae  <allan@archlinux.org>
32545         * manual/socket.texi (The Internet Namespace): Order menu items
32546         to match that in the file.
32548         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32549         node listing of the info page menu.
32551 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
32553         [BZ #13550]
32554         * sysdeps/i386/bp-asm.h: Remove file.
32555         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32556         (PARMS): Do not use macros from bp-asm.h.
32557         (S1): Likewise.
32558         (S2): Likewise.
32559         (SIZE): Likewise.
32560         (__mpn_add_n): Do not use BP_SYM
32561         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32562         "bp-asm.h".
32563         (PARMS): Do not use macros from bp-asm.h.
32564         (S1): Likewise.
32565         (SIZE): Likewise.
32566         (__mpn_addmul_1): Do not use BP_SYM
32567         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32568         "bp-asm.h".
32569         (PARMS): Do not use macros from bp-asm.h.
32570         (SIGMSK): Likewise.
32571         (_setjmp): Likewise.  Do not use BP_SYM.
32572         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32573         "bp-asm.h".
32574         (PARMS): Do not use macros from bp-asm.h.
32575         (SIGMSK): Likewise.
32576         (setjmp): Likewise.  Do not use BP_SYM.
32577         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32578         "bp-asm.h".
32579         (PARMS): Do not use macros from bp-asm.h.
32580         (__frexp): Do not use BP_SYM.
32581         (frexp): Likewise.
32582         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32583         "bp-asm.h".
32584         (PARMS): Do not use macros from bp-asm.h.
32585         (__frexpf): Do not use BP_SYM.
32586         (frexpf): Likewise.
32587         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32588         "bp-asm.h".
32589         (PARMS): Do not use macros from bp-asm.h.
32590         (__frexpl): Do not use BP_SYM.
32591         (frexpl): Likewise.
32592         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32593         "bp-asm.h".
32594         (PARMS): Do not use macros from bp-asm.h.
32595         (__remquo): Do not use BP_SYM.
32596         (remquo): Likewise.
32597         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32598         "bp-asm.h".
32599         (PARMS): Do not use macros from bp-asm.h.
32600         (__remquof): Do not use BP_SYM.
32601         (remquof): Likewise.
32602         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32603         "bp-asm.h".
32604         (PARMS): Do not use macros from bp-asm.h.
32605         (__remquol): Do not use BP_SYM.
32606         (remquol): Likewise.
32607         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32608         "bp-asm.h".
32609         (PARMS): Do not use macros from bp-asm.h.
32610         (DEST): Likewise.
32611         (SRC): Likewise.
32612         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
32613         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32614         "bp-asm.h".
32615         (PARMS): Do not use macros from bp-asm.h.
32616         (strlen): Do not use BP_SYM.
32617         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32618         "bp-asm.h".
32619         (PARMS): Do not use macros from bp-asm.h.
32620         (S1): Likewise.
32621         (S2): Likewise.
32622         (SIZE): Likewise.
32623         (__mpn_add_n): Do not use BP_SYM.
32624         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32625         "bp-asm.h".
32626         (PARMS): Do not use macros from bp-asm.h.
32627         (S1): Likewise.
32628         (SIZE): Likewise.
32629         (__mpn_addmul_1): Do not use BP_SYM.
32630         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32631         weak_alias.
32632         (bzero): Likewise.
32633         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32634         "bp-asm.h".
32635         (PARMS): Do not use macros from bp-asm.h.
32636         (S): Likewise.
32637         (SIZE): Likewise.
32638         (__mpn_lshift): Do not use BP_SYM.
32639         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32640         "bp-asm.h".
32641         (PARMS): Do not use macros from bp-asm.h.
32642         (DEST): Likewise.
32643         (SRC): Likewise.
32644         (LEN): Likewise.
32645         (memcpy): Likewise.  Do not use BP_SYM.
32646         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32647         libc_hidden_def and weak_alias.
32648         (mempcpy): Do not use BP_SYM in weak_alias.
32649         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32650         "bp-asm.h".
32651         (PARMS): Do not use macros from bp-asm.h.
32652         (DEST): Likewise.
32653         (LEN): Likewise.
32654         [!BZERO_P] (CHR): Likewise.
32655         (memset): Likewise.  Do not use BP_SYM.
32656         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32657         "bp-asm.h".
32658         (PARMS): Do not use macros from bp-asm.h.
32659         (S1): Likewise.
32660         (SIZE): Likewise.
32661         (__mpn_mul_1): Do not use BP_SYM.
32662         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32663         "bp-asm.h".
32664         (PARMS): Do not use macros from bp-asm.h.
32665         (S): Likewise.
32666         (SIZE): Likewise.
32667         (__mpn_rshift): Do not use BP_SYM.
32668         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32669         "bp-asm.h".
32670         (PARMS): Do not use macros from bp-asm.h.
32671         (STR): Likewise.
32672         (CHR): Likewise.
32673         (strchr): Likewise.  Do not use BP_SYM.
32674         (index): Do not use BP_SYM in weak_alias.
32675         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32676         "bp-asm.h".
32677         (PARMS): Do not use macros from bp-asm.h.
32678         (DEST): Likewise.
32679         (SRC): Likewise.
32680         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
32681         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32682         "bp-asm.h".
32683         (PARMS): Do not use macros from bp-asm.h.
32684         (strlen): Do not use BP_SYM.
32685         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32686         "bp-asm.h".
32687         (PARMS): Do not use macros from bp-asm.h.
32688         (S1): Likewise.
32689         (S2): Likewise.
32690         (SIZE): Likewise.
32691         (__mpn_sub_n): Do not use BP_SYM.
32692         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32693         "bp-asm.h".
32694         (PARMS): Do not use macros from bp-asm.h.
32695         (S1): Likewise.
32696         (SIZE): Likewise.
32697         (__mpn_submul_1): Do not use BP_SYM.
32698         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32699         "bp-asm.h".
32700         (PARMS): Do not use macros from bp-asm.h.
32701         (S1): Likewise.
32702         (S2): Likewise.
32703         (SIZE): Likewise.
32704         (__mpn_add_n): Do not use BP_SYM.
32705         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32706         weak_alias.
32707         (bzero): Likewise.
32708         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32709         "bp-asm.h".
32710         (PARMS): Do not use macros from bp-asm.h.
32711         (BLK2): Likewise.
32712         (LEN): Likewise.
32713         (memcmp): Do not use BP_SYM.
32714         (bcmp): Do not use BP_SYM in weak_alias.
32715         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32716         "bp-asm.h".
32717         (PARMS): Do not use macros from bp-asm.h.
32718         (DEST): Likewise.
32719         (SRC): Likewise.
32720         (LEN): Likewise.
32721         (memcpy): Likewise.  Do not use BP_SYM.
32722         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32723         "bp-asm.h".
32724         (PARMS): Do not use macros from bp-asm.h.
32725         (DEST): Likewise.
32726         (SRC): Likewise.
32727         (LEN): Likewise.
32728         (memmove): Likewise.  Do not use BP_SYM.
32729         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32730         "bp-asm.h".
32731         (PARMS): Do not use macros from bp-asm.h.
32732         (DEST): Likewise.
32733         (SRC): Likewise.
32734         (LEN): Likewise.
32735         (__mempcpy): Likewise.  Do not use BP_SYM.
32736         (mempcpy): Do not use BP_SYM in weak_alias.
32737         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32738         "bp-asm.h".
32739         (PARMS): Do not use macros from bp-asm.h.
32740         (DEST): Likewise.
32741         (LEN): Likewise.
32742         [!BZERO_P] (CHR): Likewise.
32743         (memset): Likewise.  Do not use BP_SYM.
32744         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32745         "bp-asm.h".
32746         (PARMS): Do not use macros from bp-asm.h.
32747         (STR2): Likewise.
32748         (strcmp): Do not use BP_SYM.
32749         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32750         "bp-asm.h".
32751         (PARMS): Do not use macros from bp-asm.h.
32752         (STR): Likewise.
32753         (DELIM): Likewise.
32754         [USE_AS_STRTOK_R] (SAVE): Likewise.
32755         (FUNCTION): Likewise.  Do not use BP_SYM.
32756         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32757         aliases.
32758         (strtok_r): Likewise.
32759         (__GI___strtok_r): Likewise.
32760         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32761         (PARMS): Do not use macros from bp-asm.h.
32762         (S): Likewise.
32763         (SIZE): Likewise.
32764         (__mpn_lshift): Do not use BP_SYM.
32765         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32766         (PARMS): Do not use macros from bp-asm.h.
32767         (STR): Likewise.
32768         (CHR): Likewise.
32769         (__memchr): Do not use BP_SYM.
32770         (memchr): Do not use BP_SYM in weak_alias.
32771         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32772         (PARMS): Do not use macros from bp-asm.h.
32773         (BLK2): Likewise.
32774         (LEN): Likewise.
32775         (memcmp): Do not use BP_SYM.
32776         (bcmp): Do not use BP_SYM in weak_alias.
32777         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32778         (PARMS): Do not use macros from bp-asm.h.
32779         (S1): Likewise.
32780         (SIZE): Likewise.
32781         (__mpn_mul_1): Do not use BP_SYM.
32782         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32783         "bp-asm.h".
32784         (PARMS): Do not use macros from bp-asm.h.
32785         (STR): Likewise.
32786         (CHR): Likewise.
32787         (__rawmemchr): Do not use BP_SYM.
32788         (rawmemchr): Do not use BP_SYM in weak_alias.
32789         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32790         (PARMS): Do not use macros from bp-asm.h.
32791         (S): Likewise.
32792         (SIZE): Likewise.
32793         (__mpn_rshift): Do not use BP_SYM.
32794         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32795         (PARMS): Do not use macros from bp-asm.h.
32796         (SIGMSK): Likewise.
32797         (__sigsetjmp): Likewise.  Do not use BP_SYM.
32798         * sysdeps/i386/start.S: Do not include "bp-sym.h".
32799         (_start): Do not use BP_SYM.
32800         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32801         (PARMS): Do not use macros from bp-asm.h.
32802         (DEST): Likewise.
32803         (SRC): Likewise.
32804         (__stpcpy): Likewise.  Do not use BP_SYM.
32805         (stpcpy): Do not use BP_SYM in weak_alias.
32806         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32807         "bp-asm.h".
32808         (PARMS): Do not use macros from bp-asm.h.
32809         (DEST): Likewise.
32810         (SRC): Likewise.
32811         (LEN): Likewise.
32812         (__stpncpy): Likewise.  Do not use BP_SYM.
32813         (stpncpy): Do not use BP_SYM in weak_alias.
32814         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32815         (PARMS): Do not use macros from bp-asm.h.
32816         (STR): Likewise.
32817         (CHR): Likewise.
32818         (strchr): Likewise.  Do not use BP_SYM.
32819         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32820         "bp-asm.h".
32821         (PARMS): Do not use macros from bp-asm.h.
32822         (STR): Likewise.
32823         (CHR): Likewise.
32824         (__strchrnul): Likewise.  Do not use BP_SYM.
32825         (strchrnul): Do not use BP_SYM in weak_alias.
32826         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32827         "bp-asm.h".
32828         (PARMS): Do not use macros from bp-asm.h.
32829         (STOP): Likewise.
32830         (strcspn): Do not use BP_SYM.
32831         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32832         "bp-asm.h".
32833         (PARMS): Do not use macros from bp-asm.h.
32834         (STR): Likewise.
32835         (STOP): Likewise.
32836         (strpbrk): Likewise.  Do not use BP_SYM.
32837         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32838         "bp-asm.h".
32839         (PARMS): Do not use macros from bp-asm.h.
32840         (STR): Likewise.
32841         (CHR): Likewise.
32842         (strrchr): Likewise.  Do not use BP_SYM.
32843         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32844         (PARMS): Do not use macros from bp-asm.h.
32845         (SKIP): Likewise.
32846         (strspn): Do not use BP_SYM.
32847         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32848         (PARMS): Do not use macros from bp-asm.h.
32849         (STR): Likewise.
32850         (DELIM): Likewise.
32851         (SAVE): Likewise.
32852         (FUNCTION): Likewise.  Do not use BP_SYM.
32853         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32854         aliases.
32855         (strtok_r): Likewise.
32856         (__GI___strtok_r): Likewise.
32857         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32858         (PARMS): Do not use macros from bp-asm.h.
32859         (S1): Likewise.
32860         (S2): Likewise.
32861         (SIZE): Likewise.
32862         (__mpn_sub_n): Do not use BP_SYM.
32863         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32864         "bp-asm.h".
32865         (PARMS): Do not use macros from bp-asm.h.
32866         (S1): Likewise.
32867         (SIZE): Likewise.
32868         (__mpn_submul_1): Do not use BP_SYM.
32869         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32870         <bp-sym.h>.
32871         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32872         and <bp-asm.h>.
32873         (PARMS): Do not use macros from bp-asm.h.
32874         (FLAGS): Likewise.
32875         (PTID): Likewise.
32876         (TLS): Likewise.
32877         (CTID): Likewise.
32878         (__clone): Do not use BP_SYM.
32879         (clone): Do not use BP_SYM in weak_alias.
32880         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32881         and <bp-asm.h>.
32882         (PARMS): Do not use macros from bp-asm.h.
32883         (LEN): Likewise.
32884         (__mmap64): Do not use BP_SYM.
32885         (mmap64): Do not use BP_SYM in weak_alias.
32886         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32887         <bp-sym.h> and <bp-asm.h>.
32888         (PARMS): Do not use macros from bp-asm.h.
32889         (__posix_fadvise64_l64): Do not use BP_SYM.
32890         * sysdeps/unix/sysv/linux/i386/semtimedop.S
32891         (PARMS): Do not use macros from bp-asm.h.
32892         (NSOPS): Likewise.
32893         (semtimedop): Do not use BP_SYM.
32894         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32895         and <bp-asm.h>.
32897 2013-02-21  Allan McRae  <allan@archlinux.org>
32899         * manual/message.texi (Charset conversion in gettext):
32900         Move @end statement to beginning of line.
32902 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32905         static.
32906         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32907         Likewise.
32909         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32910         (denorm): Likewise.
32911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32914 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32916         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32917         tail-call to the resolved function if pltexit isn't needed.
32919 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32922         or Y being zero as being unlikely.
32923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32924         Likewise.
32926 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
32928         * manual/nss.texi (System Databases and Name Service Switch):
32929         Remove frobnicate @pxref.
32931 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32933         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32934         __attribute__ ((unused)) to __attribute__ ((__unused__)).
32936 2013-02-20  Petr Machata  <pmachata@redhat.com>
32938         * elf/elf.h (R_ARM_TARGET1): New macro.
32939         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32940         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32941         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32942         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32943         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32944         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32945         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32946         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32947         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32948         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32949         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32950         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32951         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32952         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32953         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32954         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32955         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32956         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32957         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32958         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32959         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32960         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32961         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32962         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32963         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32964         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32965         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32966         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32967         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32968         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32969         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32970         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32971         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32972         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32973         (R_ARM_THM_GOT_BREL12): Likewise.
32974         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32975         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32976         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32977         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32978         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32979         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32980         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32981         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32982         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32984 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32986         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32987         __attribute_used__ to __attribute__ ((unused)).
32989 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32991         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32992         powerpc mpa.c.
32993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32994         comment formatting.
32995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32997 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
32999         [BZ #13550]
33000         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33001         Remove macro.
33002         (ENTER): Remove both macro definitions.
33003         (LEAVE): Likewise.
33004         (CHECK_BOUNDS_LOW): Likewise.
33005         (CHECK_BOUNDS_HIGH): Likewise.
33006         (CHECK_BOUNDS_BOTH): Likewise.
33007         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33008         (RETURN_BOUNDED_POINTER): Likewise.
33009         (RETURN_NULL_BOUNDED_POINTER): Likewise.
33010         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33011         (POP_ERRNO_LOCATION_RETURN): Likewise.
33012         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33013         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33014         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33015         macros.
33016         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33017         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33018         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33019         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33020         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33021         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33022         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33023         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33024         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33025         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33026         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33027         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33028         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33029         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33030         removed macros.
33031         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33032         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33033         macros.
33034         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33035         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33036         * sysdeps/i386/i586/memset.S (memset): Likewise.
33037         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33038         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33039         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33040         macros.
33041         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33042         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33043         Change uses of L(2) to L(out).
33044         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33045         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33046         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33047         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33048         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33049         removed macros.
33050         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33051         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33052         macros.
33053         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33054         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33055         (RETURN): Do not use macro LEAVE.
33056         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33057         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33058         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33059         * sysdeps/i386/i686/memset.S (memset): Likewise.
33060         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33061         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33062         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33063         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33064         Likewise.
33065         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33066         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
33067         L(1_2) and L(1_3) into L(1).
33068         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33069         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33070         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33071         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33072         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33073         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33074         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33075         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33076         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33077         macros.
33078         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33079         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33080         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33081         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33082         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33083         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33084         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33085         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33086         * sysdeps/i386/strcspn.S (strcspn): Likewise.
33087         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33088         * sysdeps/i386/strrchr.S (strrchr): Likewise.
33089         * sysdeps/i386/strspn.S (strspn): Likewise.
33090         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33091         conditional code.
33092         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33093         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33094         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33095         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
33096         L(1_3) into L(1_1).
33097         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33098         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33099         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33100         macros.
33101         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33103 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
33105         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
33106         macro.
33108 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33110         * math/atest-exp.c (exp_mpn): Remove ROUND.
33111         * math/atest-exp2.c (exp_mpn): Likewise.
33112         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
33114         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
33115         * stdlib/tst-tls-atexit-lib.c: Likewise.
33116         * stdlib/tst-tls-atexit.c: Likewise.
33118 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
33120         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
33121         and __attribute_alloc_size__.
33123 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
33125         * include/programs/xmalloc.h: Change __attribute_alloc_size to
33126         __attribute_alloc_size__.
33127         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
33128         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
33130 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
33132         * include/programs/xmalloc.h: New file.
33133         * catgets/gencat.c: Include it.
33134         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
33135         * elf/pldd.c: Likewise.
33136         * iconv/iconv_charmap.c: Likewise.
33137         * iconv/iconvconfig.c: Likewise.
33138         * iconv/strtab.c: Likewise.
33139         * locale/programs/locale.c: Likewise.
33140         * locale/programs/localedef.h: Likewise.
33141         * locale/programs/simple-hash.c: Likewise.
33142         * nscd/nscd.h: Likewise.
33143         * nss/makedb.c: Likewise.
33144         * sysdeps/generic/ldconfig.h: Likewise.
33146 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33148         * Versions.def: Add GLIBC_2.18.
33149         * include/link.h (struct link_map): New member l_tls_dtor_count.
33150         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
33151         (__call_tls_dtors): Likewise.
33152         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
33153         __cxa_thread_atexit_impl.
33154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33155         Likewise.
33156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33157         Likewise.
33158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33159         Likewise.
33160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33161         Likewise.
33162         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
33164         Likewise.
33165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
33166         Likewise.
33167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33169         Likewise.
33170         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
33171         (tests): Add test case tst-tls-atexit.
33172         (modules-names): Add shared library for tst-tls-atexit.
33173         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
33174         (GLIBC_PRIVATE): Add __call_tls_dtors.
33175         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
33176         for libstdc++.
33177         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
33178         * stdlib/tst-tls-atexit.c: New test case.
33179         * stdlib/tst-tls-atexit-lib.c: New test case.
33181         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
33183         * elf/Versions (ld): Add _dl_find_dso_for_object.
33184         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
33185         * elf/dl-open.c (_dl_find_dso_for_object): New function.
33186         (dl_open_worker): Use _dl_find_dso_for_object.
33187         * elf/dl-sym.c (do_sym): Likewise.
33188         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
33190 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33192         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
33193         Syntactic changes only.
33194         (_dl_runtime_profile): Do a tail-call to the resolved function.
33196 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
33198         [BZ #13550]
33199         * sysdeps/x86_64/bp-asm.h: Remove file.
33200         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
33201         <bp-sym.h> and <bp-asm.h>.
33202         (__clone): Do not use BP_SYM.
33203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
33204         <bp-sym.h> and <bp-asm.h>.
33205         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33206         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
33207         "bp-asm.h".
33208         (_setjmp): Do not use BP_SYM.
33209         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
33210         "bp-asm.h".
33211         (setjmp): Do not use BP_SYM.
33212         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33213         libc_hidden_def.
33214         (mempcpy): Do not use BP_SYM in weak_alias.
33215         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33216         "bp-asm.h".
33217         (strchr): Do not use BP_SYM.
33218         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33219         "bp-asm.h".
33220         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33221         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33222         (_start): Do not use BP_SYM.
33223         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33224         "bp-asm.h".
33225         (strcat): Do not use BP_SYM.
33226         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33227         "bp-asm.h".
33228         (STRCMP): Do not use BP_SYM.
33229         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33230         "bp-asm.h".
33231         (STRCPY): Do not use BP_SYM.
33232         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33233         "bp-asm.h".
33234         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33235         "bp-asm.h".
33236         (FUNCTION): Do not use BP_SYM.
33237         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33238         weak_alias.
33239         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33241 2013-02-17  Andreas Jaeger  <aj@suse.de>
33243         * time/Versions: Sort entries.
33244         * string/Versions: Likewise.
33245         * resolv/Versions: Likewise.
33246         * posix/Versions: Likewise.
33247         * iconv/Versions: Likewise.
33248         * elf/Versions: Likewise.
33249         * wcsmbs/Versions: Likewise.
33251 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33253         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33254         loop termination condition.
33256         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33257         variable to calculate EZ.
33258         (__sqr): Likewise.
33260         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33261         the lower precision input.
33263 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
33265         [BZ #13550]
33266         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33267         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33268         (run-via-rtld-prefix): Do not handle %-bp tests.
33269         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33270         (all-object-suffixes): Remove .ob.
33271         (bppfx): Remove variable.
33272         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33273         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33274         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33275         [$(build-bounded) = yes] (libtype.ob): Likewise.
33276         * Makerules (elide-routines.ob): Remove variable.
33277         (do-tests-clean): Do not handle *-bp.out.
33278         (common-mostlyclean): Do not handle *-bp and *-bp.out.
33279         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33280         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33281         (tests): Do not include $(tests-bp.out).
33282         (xtests): Do not include $(xtests-bp.out).
33283         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33284         [$(build-bounded) = yes] ($(addprefix
33285         $(objpfx),$(binaries-bounded))): Remove rule.
33286         ($(objpfx)%-bp.out): Remove rule.
33287         * config.make.in (build-bounded): Remove variable.
33288         * crypt/Makefile [$(build-bounded) = yes]
33289         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33290         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33291         append to variable.
33292         [$(build-bounded) = yes] (install-lib): Likewise.
33293         [$(build-bounded) = yes] (generated): Likewise.
33294         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33295         Remove rule.
33296         * intl/Makefile [$(build-bounded) = yes]
33297         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33298         * math/Makefile [$(build-bounded) = yes]
33299         ($(tests:%=$(objpfx)%-bp): Likewise.
33300         * misc/Makefile [$(build-bounded) = yes]
33301         ($(objpfx)tst-tsearch-bp): Likewise.
33302         * nptl/Makeconfig (bounded-thread-library): Remove variable.
33303         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33304         Remove dependency.
33305         * string/Makefile (o-objects.ob): Remove variable.
33306         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33307         (CFLAGS-.ob): Remove variable.
33308         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33309         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33310         both definitions of variable.
33311         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33312         (ASFLAGS-.ob): Remove variable.
33314 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
33316         [BZ #13550]
33317         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33318         Remove __BOUNDED_POINTERS__ from condition.
33319         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33320         * string/bits/string2.h [!__NO_STRING_INLINES &&
33321         !__BOUNDED_POINTERS__]: Likewise.
33322         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33323         Likewise.
33324         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33325         Remove conditional code.
33326         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33327         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33328         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33329         condition.
33331         [BZ #13550]
33332         * csu/libc-start.c: Do not include <bp-sym.h>.
33333         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33334         * elf/dl-open.c: Do not include <bp-sym.h>.
33335         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33336         * math/fegetenv.c: Do not include <bp-sym.h>.
33337         (fegetenv): Do not use BP_SYM in versioned symbols.
33338         * nptl/sysdeps/pthread/bits/libc-lockP.h
33339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33340         <bp-sym.h>.
33341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33342         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33344         (__pthread_mutex_destroy): Likewise.
33345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33346         (__pthread_mutex_lock): Likewise.
33347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33348         (__pthread_mutex_trylock): Likewise.
33349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33350         (__pthread_mutex_unlock): Likewise.
33351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33352         (__pthread_mutexattr_init): Likewise.
33353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33354         (__pthread_mutexattr_destroy): Likewise.
33355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33356         (__pthread_mutexattr_settype): Likewise.
33357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33358         (__pthread_rwlock_init): Likewise.
33359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33360         (__pthread_rwlock_destroy): Likewise.
33361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33362         (__pthread_rwlock_rdlock): Likewise.
33363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33364         (__pthread_rwlock_tryrdlock): Likewise.
33365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33366         (__pthread_rwlock_wrlock): Likewise.
33367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33368         (__pthread_rwlock_trywrlock): Likewise.
33369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33370         (__pthread_rwlock_unlock): Likewise.
33371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33372         (__pthread_key_create): Likewise.
33373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33374         (__pthread_setspecific): Likewise.
33375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33376         (__pthread_getspecific): Likewise.
33377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33378         Likewise.
33379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33380         (_pthread_cleanup_push_defer): Likewise.
33381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33382         (_pthread_cleanup_pop_restore): Likewise.
33383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33384         (pthread_setcancelstate): Likewise.
33385         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33386         <bp-sym.h>.
33387         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33388         (memchr): Do not use BP_SYM in weak_alias.
33389         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33390         (fegetenv): Do not use BP_SYM in versioned symbols.
33391         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33392         (fesetenv): Do not use BP_SYM in versioned symbols.
33393         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33394         (feupdateenv): Do not use BP_SYM in versioned symbols.
33395         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33396         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33397         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33398         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33399         (open64): Do not use BP_SYM in weak_alias.
33400         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33401         (fegetenv): Do not use BP_SYM in versioned symbols.
33402         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33403         (fesetenv): Do not use BP_SYM in versioned symbols.
33404         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33405         (feupdateenv): Do not use BP_SYM in versioned symbols.
33406         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33407         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33408         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33409         (feraiseexcept): Do not use BP_SYM in versioned symbols.
33410         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33411         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33412         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33413         <bp-sym.h>.
33414         (__libc_start_main): Do not use BP_SYM.
33416 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33419         redundant return line.
33420         (norm): Likewise.
33421         (denorm): Likewise.
33422         (dbl_mp): Likewise.
33423         (sub_magnitudes): Likewise.
33424         (__add): Likewise.
33425         (__sub): Likewise.
33426         (__mul): Likewise.
33427         (__inv): Likewise.
33428         (__dvd): Likewise.
33429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33430         (norm): Likewise.
33431         (denorm): Likewise.
33432         (dbl_mp): Likewise.
33433         (sub_magnitudes): Likewise.
33434         (__add): Likewise.
33435         (__sub): Likewise.
33436         (__mul): Likewise.
33437         (__inv): Likewise.
33438         (__dvd): Likewise.
33440         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33441         instead of __mul.
33442         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33443         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33444         (cc32): Likewise.
33446         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33447         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33448         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33449         of __mul for squares.
33450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33451         function
33452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33453         Likewise.
33454         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33455         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33457 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
33459         [BZ #13550]
33460         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33461         code.
33462         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33463         prototype or function definition.  Rename ubp_* variables and
33464         parameters.  Remove argv definitions conditional on
33465         [__BOUNDED_POINTERS__].
33466         * debug/backtrace.c (__backtrace): Do not use __unbounded.
33467         * elf/dl-runtime.c (_dl_fixup): Likewise.
33468         * include/set-hooks.h (RUN_HOOK): Likewise.
33469         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33470         definition.
33471         * string/strcpy.c (strcpy): Do not use __unbounded.
33472         * sysdeps/generic/frame.h (struct layout): Likewise.
33473         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33474         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33475         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33476         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33477         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33478         (__backtrace): Likewise.
33479         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33480         use __ptrvalue.
33481         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33482         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33483         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33484         Likewise.
33485         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33486         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33487         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33488         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33489         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33490         Do not use __unbounded.
33491         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33492         Rename __unboundedrlimits parameter to rlimits in prototype.
33493         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33494         Do not use __unbounded.
33495         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33496         not use __ptrvalue.
33497         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33498         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33499         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33500         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33501         __ptrvalue or __unbounded.
33502         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33503         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33504         use __unbounded.
33505         (__new_msgctl): Do not use __ptrvalue.
33506         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33507         __unbounded.
33508         (__libc_msgrcv): Do not use __ptrvalue.
33509         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33510         startup_info): Do not use __unbounded.
33511         (__libc_start_main): Likewise.  Rename ubp_* variables and
33512         parameters.  Remove argv definitions conditional on
33513         [__BOUNDED_POINTERS__].
33514         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33515         __ptrvalue.
33516         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33517         use __unbounded.
33518         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33519         or __ptrvalue.
33520         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33521         use __unbounded.
33522         (__new_shmctl): Do not use __ptrvalue.
33523         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33524         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33525         Likewise.
33526         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33527         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33528         (__libc_sigaction): Likewise.
33529         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33530         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33531         Likewise.
33532         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33534 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
33536         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33538         * string/mempcpy.c: Implement by calling memcpy.
33540 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33542         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33545         evaluation.
33547         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33548         values in the mantissa.
33550         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33551         minimize writes to Z.
33552         (sub_magnitudes): Simplify code a bit.
33554 2013-02-12  Roland McGrath  <roland@hack.frob.com>
33556         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33557         from the message.  The linker prefixes all warnings with that already.
33559 2013-02-12  Andreas Schwab  <schwab@suse.de>
33561         [BZ #15078]
33562         * posix/regexec.c (extend_buffers): Add parameter min_len.
33563         (check_matching): Pass minimum needed length.
33564         (clean_state_log_if_needed): Likewise.
33565         (get_subexp): Likewise.
33566         * posix/Makefile (tests): Add bug-regex34.
33567         (bug-regex34-ENV): Define.
33568         * posix/bug-regex34.c: New file.
33570         [BZ #11561]
33571         * posix/regcomp.c (parse_bracket_exp): When looking up collating
33572         elements compare against the byte sequence of it, not its name.
33573         * posix/Makefile (tests): Add bug-regex35.
33574         (bug-regex35-ENV): Define.
33575         * posix/bug-regex35.c: New file.
33577 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33579         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
33580         comment.
33581         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33582         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33583         (CHECK_EOL): Add undef.
33585 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
33587         * bits/stdlib-bsearch.h: New file.
33588         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33589         * stdlib/stdlib.h: Likewise.
33591 2013-02-11  Roland McGrath  <roland@hack.frob.com>
33593         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33594         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33595         declaration.
33596         * manual/search.texi (Array Search Function): Add missing const in
33597         lfind prototype.
33598         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33599         declaration to use rlim_t.
33600         (Basic Scheduling Functions): Remove erroneous const from
33601         sched_getparam prototype.  Remove erroneous * from
33602         sched_get_priority_max and sched_get_priority_min prototypes.
33603         (Resource Usage): Fix summary @comment on vtimes to refer to
33604         sys/vtimes.h rather than vtimes.h.
33605         Add missing *s in vtimes prototype.
33606         (Limits on Resources): Fix ulimit prototype to return long int.
33607         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33608         prototypes to use long int rather than double.
33609         (BSD Random): Fix initstate and setstate to use char *, not void *.
33610         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33611         prototype to make second argument 'struct aiocb64 *const[]'.
33612         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33613         (Status of AIO Operations): Remove erroneous const in aio_return and
33614         aio_return64 prototypes.
33615         (Synchronizing I/O): Fix sync prototype to return void.
33616         * manual/startup.texi (Suboptions): Remove an erroneous const in
33617         getsubopt prototype.
33618         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33619         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33620         use size_t rather than int.
33621         (Scanning All Users): Likewise for getpwent_r.
33622         (Setting Groups): Add missing const to setgroups prototype.
33623         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33624         * manual/socket.texi (Host Names): Fix gethostbyaddr and
33625         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33626         'const void *' rather than 'const char *'.
33627         (Host Address Functions): Likewise for inet_ntop.
33628         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33629         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33630         ssize_t for return value.
33631         (Sending Data): Likewise for send, sendto, sendmsg.
33632         (Socket Option Functions): Add a missing const in setsockopt prototype.
33633         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33634         use wchar_t for the argument.
33635         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33636         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33637         take no arguments.
33638         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33639         double/float/long double for second argument.
33640         Fix return types of significand, significandf, significandl.
33641         * manual/filesys.texi (Setting Permissions): Use mode_t for second
33642         argument in fchmod prototype.
33643         (File Owner): Use uid_t and gid_t in fchown prototype.
33644         (File Times): Add const to utimes, futimes, and lutimes prototypes.
33645         (Making Special Files): Use mode_t and dev_t in mknod prototype.
33646         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33647         use 'const struct dirent **' as argument types to CMP function pointer
33648         argument.
33649         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33650         (File Times): Fix summary magic @comment for struct utimbuf and utime
33651         to refer to utime.h, not time.h.
33652         * manual/string.texi (Argz Functions): Add missing const in
33653         argz_extract and argz_next prototypes.
33654         (Finding Tokens in a String): Likewise for basename.
33655         (String/Array Comparison): Fix typo in wcscasecmp prototype.
33656         (Copying and Concatenation): Fix typo in wmemmove prototype.
33657         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33658         (Signal Stack): Remove erroneous const in sigstack prototype.
33659         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33660         prototype.
33661         (Simple Calendar Time): Likewise for stime.
33662         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33663         prototype.
33664         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33665         say sys/sysctl.h instead.
33666         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33667         and vsyslog prototypes.
33669 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33671         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33672         Remove.
33674 2013-02-11  Roland McGrath  <roland@hack.frob.com>
33676         * misc/sys/mman.h: Fix typo in mremap comment.
33678 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33680         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33681         the '\0' terminator.
33683 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33685         [BZ #13550]
33686         * debug/segfault.c: Don't include <bp-checks.h>.
33687         * sysdeps/generic/bp-checks.h: Remove file.
33688         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33689         (__GETDENTS): Don't use CHECK_N.
33690         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33691         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33692         (__getgroups): Don't use CHECK_N.
33693         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33694         (setgroups): Don't use CHECK_N.
33695         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33696         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33697         (__libc_msgrcv): Don't use CHECK_N.
33698         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33699         (__libc_msgsnd): Don't use CHECK_N.
33700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33701         <bp-checks.h>.
33702         (__libc_pread): Don't use CHECK_N.
33703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33704         include <bp-checks.h>.
33705         (__libc_pread64): Don't use CHECK_N.
33706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33707         include <bp-checks.h>.
33708         (__libc_pwrite): Don't use CHECK_N.
33709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33710         include <bp-checks.h>.
33711         (__libc_pwrite64): Don't use CHECK_N.
33712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33713         <bp-checks.h>.
33714         (__libc_pread): Don't use CHECK_N.
33715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33716         include <bp-checks.h>.
33717         (__libc_pread64): Don't use CHECK_N.
33718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33719         include <bp-checks.h>.
33720         (__libc_pwrite): Don't use CHECK_N.
33721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33722         include <bp-checks.h>.
33723         (__libc_pwrite64): Don't use CHECK_N.
33724         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33725         (do_pread): Don't use CHECK_N.
33726         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33727         (do_pread64): Don't use CHECK_N.
33728         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33729         (do_pwrite): Don't use CHECK_N.
33730         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33731         (do_pwrite64): Don't use CHECK_N.
33732         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33733         (__libc_readv): Don't use CHECK_N.
33734         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33735         (semop): Don't use CHECK_N.
33736         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33737         <bp-checks.h>.
33738         (semtimedop): Don't use CHECK_N.
33739         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33740         (__libc_pread): Don't use CHECK_N.
33741         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33742         <bp-checks.h>.
33743         (__libc_pread64): Don't use CHECK_N.
33744         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33745         <bp-checks.h>.
33746         (__libc_pwrite): Don't use CHECK_N.
33747         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33748         <bp-checks.h>.
33749         (__libc_pwrite64): Don't use CHECK_N.
33750         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33751         <bp-checks.h>.
33752         (__libc_msgrcv): Don't use CHECK_N.
33753         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33754         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
33755         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33756         (__libc_writev): Don't use CHECK_N.
33758 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33760         * string/strcpy.c: Removed unused variable.
33762         * Makeconfig (+sysdep-includes): Define with := rather than =.
33763         Use an existing include/ subdir of each sysdeps dir before it.
33765 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33767         * nscd/connection.c (register_traced_file): Comment function.
33768         [HAVE_INOTIFY] (union __inev): Define.
33769         [HAVE_INOTIFY] (inotify_check_files): New function.
33770         [HAVE_INOTIFY] (clear_db_cache): Likewise.
33771         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33772         clear_db_cache.
33773         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33775 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33777         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33778         loaded if not already and that a failure is permanent.
33780 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33782         [BZ #15006]
33783         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33784         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33786 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33788         [BZ #13550]
33789         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33790         (CHECK_1_NULL_OK): Likewise.
33791         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33792         (__fxstat): Do not use CHECK_1.
33793         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33794         <bp-checks.h>.
33795         (___fxstat64): Do not use CHECK_1.
33796         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33797         <bp-checks.h>.
33798         (__fxstatat): Do not use CHECK_1.
33799         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33800         <bp-checks.h>.
33801         (__fxstatat64): Do not use CHECK_1.
33802         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33803         <bp-checks.h>.
33804         (__fxstat): Do not use CHECK_1.
33805         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33806         <bp-checks.h>.
33807         (__fxstatat): Do not use CHECK_1.
33808         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33809         <bp-checks.h>.
33810         (__getresgid): Do not use CHECK_1.
33811         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33812         <bp-checks.h>.
33813         (__getresuid): Do not use CHECK_1.
33814         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33815         <bp-checks.h>.
33816         (__lxstat): Do not use CHECK_1.
33817         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33818         <bp-checks.h>.
33819         (__old_msgctl): Do not use CHECK_1.
33820         (__new_msgctl): Likewise.
33821         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33822         <bp-checks.h>.
33823         (__new_setrlimit): Do not use CHECK_1.
33824         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33825         <bp-checks.h>.
33826         (__old_shmctl): Do not use CHECK_1.
33827         (__new_shmctl): Likewise.
33828         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33829         <bp-checks.h>.
33830         (__xstat): Do not use CHECK_1.
33831         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33832         (__lxstat): Do not use CHECK_1.
33833         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33834         <bp-checks.h>.
33835         (___lxstat64): Do not use CHECK_1.
33836         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33837         (__old_msgctl): Do not use CHECK_1.
33838         (__new_msgctl): Likewise.
33839         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33840         <bp-checks.h>.
33841         (__gettimeofday): Do not use CHECK_1.
33842         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33843         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33844         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33845         <bp-checks.h>.
33846         (__gettimeofday): Do not use CHECK_1.
33847         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33848         (__old_shmctl): Do not use CHECK_1_NULL_OK.
33849         (__new_shmctl): Do not use CHECK_1.
33850         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33851         <bp-checks.h>.
33852         (do_sigtimedwait): Do not use CHECK_1.
33853         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33854         <bp-checks.h>.
33855         (do_sigwaitinfo): Do not use CHECK_1.
33856         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33857         <bp-checks.h>.
33858         (msgctl): Do not use CHECK_1.
33859         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33860         <bp-checks.h>.
33861         (shmctl): Do not use CHECK_1.
33862         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33863         (ustat): Do not use CHECK_1.
33864         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33865         <bp-checks.h>.
33866         (__fxstat): Do not use CHECK_1.
33867         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33868         <bp-checks.h>.
33869         (__fxstatat): Do not use CHECK_1.
33870         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33871         <bp-checks.h>.
33872         (__lxstat): Do not use CHECK_1.
33873         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33874         <bp-checks.h>.
33875         (__xstat): Do not use CHECK_1.
33876         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33877         (__xstat): Do not use CHECK_1.
33878         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33879         (___xstat64): Do not use CHECK_1.
33881         [BZ #13550]
33882         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33883         definitions.
33884         (CHECK_BOUNDS_HIGH): Likewise.
33885         * string/strcpy.c: Do not include <bp-checks.h>.
33886         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33888 2013-02-07  Roland McGrath  <roland@hack.frob.com>
33890         * nscd/nscd-client.h (__nscd_drop_map_ref):
33891         Add __attribute__ ((unused)).
33892         * nis/nss-nisplus.h (niserr2nss): Likewise.
33894         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33895         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33897         * csu/libc-tls.c (init_static_tls, init_slotinfo):
33898         Remove inline keyword.
33899         * include/rounding-mode.h (round_away): Likewise.
33900         * libio/wfileops.c (adjust_wide_data): Likewise.
33901         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33902         (__m128i_strloadu_tolower): Likewise.
33903         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33904         (__m128i_strloadu_tolower): Likewise.
33905         * time/mktime.c (ydhms_diff): Likewise.
33906         * locale/elem-hash.h (elem_hash): Likewise.
33907         * locale/setlocale.c (setdata): Likewise.
33908         * posix/regex_internal.h (re_string_char_size_at): Likewise.
33909         (re_string_wchar_at): Likewise.
33910         (bitset_not, bitset_merge, bitset_mask): Likewise.
33911         [!(__GNUC__ > 3)] (inline): Remove macro.
33912         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33913         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33914         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33915         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33916         * string/memcmp.c (memcmp_bytes): Likewise.
33917         * locale/programs/locarchive.c (compute_hashval): Likewise.
33918         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33919         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33920         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33921         * nss/getent.c (print_rpc, print_protocols): Likewise.
33922         (print_passwd, print_group, print_aliases): Likewise.
33923         * nis/nss-nisplus.h (niserr2nss): Likewise.
33924         * nscd/connections.c (restart_p): Likewise.
33925         Change return type to bool.
33927 2013-02-05  Roland McGrath  <roland@hack.frob.com>
33929         * Makeconfig (all-Depend-files): Add existing
33930         $(sorted-subdirs:=/Depend) files.
33931         (all-subdirs): Remove nss.
33932         * sysdeps/unix/inet/Subdirs: Add it here instead.
33933         * hesiod/Depend: New file.
33935         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33936         instead of calling alloca.
33938         * io/lseek.c (__lseek): Rename to __libc_lseek.
33939         Define __lseek as an alias.
33941         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33943 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
33945         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33946         else clause and remove check for non-standard endianness.
33948 2013-02-04  David S. Miller  <davem@davemloft.net>
33950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33952 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
33954         [BZ #13550]
33955         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33956         (__ubp_memchr): Remove prototype.
33957         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33958         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33959         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33960         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33961         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33962         Remove alias.
33963         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33964         (__ubp_memchr): Likewise.
33965         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33966         (__ubp_memchr): Likewise.
33967         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33968         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33969         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33970         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33971         CHECK_STRING.
33972         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33973         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33974         (__getcwd): Do not use CHECK_STRING.
33975         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33976         <bp-checks.h>.
33977         (__real_chown): Do not use CHECK_STRING.
33978         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33979         <bp-checks.h>.
33980         (fchownat): Do not use CHECK_STRING.
33981         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33982         CHECK_STRING.
33983         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33984         <bp-checks.h>.
33985         (__lchown): Do not use CHECK_STRING.
33986         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33987         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33988         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33989         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33991         include <bp-checks.h>.
33992         (truncate64): Do not use CHECK_STRING.
33993         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33994         <bp-checks.h>.
33995         (__real_chown): Do not use CHECK_STRING.
33996         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33997         <bp-checks.h>.
33998         (__lchown): Do not use CHECK_STRING.
33999         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34000         <bp-checks.h>.
34001         (__chown): Do not use CHECK_STRING.
34002         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34003         <bp-checks.h>.
34004         (truncate64): Do not use CHECK_STRING.
34005         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34006         Likewise.
34007         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34008         (__xmknod): Do not use CHECK_STRING.
34009         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34010         <bp-checks.h>.
34011         (__xmknodat): Do not use CHECK_STRING.
34012         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34013         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34015 2013-02-04  Andreas Schwab  <schwab@suse.de>
34017         [BZ #14142]
34018         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34019         * include/netdb.h: Likewise for h_errno.
34020         * elf/tst-stackguard1.c: Include <tls.h>.
34022 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
34024         * elf/link.h (struct link_map): Extend the l_addr comment.
34025         * include/link.h (struct link_map): Likewise.
34027 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
34029         [BZ #13550]
34030         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34031         (BOUNDED_1): Remove macro.
34032         * debug/backtrace.c: Don't include <bp-checks.h>.
34033         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34034         (__backtrace): Likewise.
34035         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34036         <bp-checks.h>.
34037         (__backtrace): Don't use BOUNDED_1.
34038         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34039         <bp-checks.h>.
34040         (__backtrace): Don't use BOUNDED_1.
34041         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34042         (__backtrace): Don't use BOUNDED_1.
34043         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34044         (shmat): Don't use BOUNDED_N.
34046 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
34048         [BZ #13550]
34049         * sysdeps/generic/bp-start.h: Remove file.
34050         * csu/libc-start.c: Don't include <bp-start.h>.
34051         (LIBC_START_MAIN): Set up __environ directly instead of using
34052         INIT_ARGV_and_ENVIRON.
34053         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34054         <bp-start.h>.
34056         [BZ #13550]
34057         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34058         definitions.
34059         (CHECK_FCNTL): Likewise.
34060         (CHECK_N_PAGES): Likewise.
34062         [BZ #13550]
34063         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34064         definitions.
34065         (CHECK_SIGSET_NULL_OK): Likewise.
34066         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34067         <bp-checks.h>.
34068         (sigpending): Don't use CHECK_SIGSET.
34069         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34070         <bp-checks.h>.
34071         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34072         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34073         <bp-checks.h>.
34074         (do_sigsuspend): Don't use CHECK_SIGSET.
34075         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34076         use CHECK_SIGSET.
34077         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34078         (do_sigwait): Don't use CHECK_SIGSET.
34079         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34080         use CHECK_SIGSET.
34081         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34082         include <bp-checks.h>.
34083         (sigpending): Don't use CHECK_SIGSET.
34084         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34085         include <bp-checks.h>.
34086         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34087         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34088         <bp-checks.h>.
34089         (sigpending): Don't use CHECK_SIGSET.
34090         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34091         <bp-checks.h>.
34092         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34094         [BZ #13550]
34095         * sysdeps/generic/bp-semctl.h: Remove file.
34096         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34097         <bp-checks.h> and <bp-semctl.h>.
34098         (__old_semctl): Don't use CHECK_SEMCTL.
34099         (__new_semctl): Likewise.
34100         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34101         and <bp-semctl.h>.
34102         (__old_semctl): Don't use CHECK_SEMCTL.
34103         (__new_semctl): Likewise.
34104         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34105         <bp-checks.h> and <bp-semctl.h>.
34106         (__old_semctl): Don't use CHECK_SEMCTL.
34107         (__new_semctl): Likewise.
34108         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
34109         <bp-checks.h> and <bp-semctl.h>.
34110         (semctl): Don't use CHECK_SEMCTL.
34112         [BZ #13550]
34113         * Makerules (elide-bp-thunks): Remove variable.
34114         (elide-routines.oS): Don't use $(elide-bp-thunks).
34115         (elide-routines.os): Likewise.
34116         (elide-routines.o): Likewise.
34117         (elide-routines.op): Likewise.
34118         (elide-routines.og): Likewise.
34119         (objects): Don't use $(bp-thunks).
34120         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
34121         include.
34122         (common-generated): Do not add s-proto-bp.d.
34123         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
34124         (int): Likewise.
34125         (typ): Likewise.
34126         Do not generate makefile rules for bounded-pointer thunks.
34127         * sysdeps/generic/bp-thunks.h: Remove file.
34128         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
34129         * sysdeps/unix/s-proto-bp.S: Likewise.
34131         [BZ #15062]
34132         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
34133         parts of result separately when argument is not close to line from
34134         -i to i and one part of argument is small.
34135         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34136         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34137         * math/libm-test.inc (cacos_test): Add more tests.
34138         (casin_test): Likewise.
34139         (casinh_test): Likewise.
34140         * sysdeps/i386/fpu/libm-test-ulps: Update.
34141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34143 2013-01-31  David S. Miller  <davem@davemloft.net>
34145         * po/de.po: Update from translation team.
34147 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
34149         * time/tzfile.c: Include stdint.h for SIZE_MAX.
34151 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
34153         * configure.in (_AC_PROG_CC_C89): New definition.
34154         * configure: Regenerate.
34156         * configure.in (AC_PROG_CPP): New definition.
34157         * configure: Regenerate.
34159 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
34161         * debug/tst-backtrace.h: New file.
34162         * debug/tst-backtrace2.c: Include tst-backtrace.h.
34163         (ret): Remove variable.
34164         (x): Likewise.
34165         (FAIL): Remove macro.
34166         (NO_INLINE): Likewise.
34167         (fn1): Use match function instead of strstr.
34168         * debug/tst-backtrace3.c: Include tst-backtrace.h.
34169         (ret): Remove variable.
34170         (x): Likewise.
34171         (FAIL): Remove macro.
34172         (NO_INLINE): Likewise.
34173         (fn): Use match function instead of strstr.
34174         * debug/tst-backtrace4.c: Include tst-backtrace.h.
34175         (ret): Remove variable.
34176         (x): Likewise.
34177         (FAIL): Remove macro.
34178         (NO_INLINE): Likewise.
34179         (handle_signal): Use match function instead of strstr.
34180         * debug/tst-backtrace5.c: Include tst-backtrace.h.
34181         (ret): Remove variable.
34182         (x): Likewise.
34183         (FAIL): Remove macro.
34184         (NO_INLINE): Likewise.
34185         (handle_signal): Use match function instead of strstr.
34187 2013-01-23  Roland McGrath  <roland@hack.frob.com>
34189         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
34191 2013-01-23  David S. Miller  <davem@davemloft.net>
34193         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
34194         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
34195         argument of CAS if possible.
34196         * sysdeps/sparc/sparc64/bits/atomic.h
34197         (__arch_compare_and_exchange_val_32_acq): Likewise.
34198         (__arch_compare_and_exchange_val_64_acq): Likewise.
34200 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
34202         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
34203         * sysdeps/posix/ulimit.c: ... this.
34204         Include <limits.h>.
34205         * sysdeps/unix/bsd/ulimit.c: Remove file.
34207 2013-01-23  Adam Conrad  <adconrad@0c3.net>
34209         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
34210         (LDFLAGS-tst-array5): Likewise.
34212 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
34214         [BZ #15036]
34215         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34216         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34217         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34218         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34220 2013-01-21  David S. Miller  <davem@davemloft.net>
34222         * sysdeps/sparc/backtrace.c: New file.
34223         * sysdeps/sparc/sparc32/backtrace.h: New file.
34224         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34225         * sysdeps/sparc/sparc64/backtrace.h: New file.
34226         * sysdeps/sparc/sparc64/backtrace.c: Delete.
34227         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34228         -funwind-tables.
34230 2013-01-21  Andreas Schwab  <schwab@suse.de>
34232         [BZ #15020]
34233         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34234         closed its stdout.
34236 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
34238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34239         "mpa2.h".
34240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34242 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
34243             Mark Mitchell  <mark@codesourcery.com>
34244             Tom de Vries  <tom@codesourcery.com>
34245             Paul Pluzhnikov  <ppluzhnikov@google.com>
34247         * debug/tst-backtrace2.c: New file.
34248         * debug/tst-backtrace3.c: Likewise.
34249         * debug/tst-backtrace4.c: Likewise.
34250         * debug/tst-backtrace5.c: Likewise.
34251         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34252         (CFLAGS-tst-backtrace3.c): Likewise.
34253         (CFLAGS-tst-backtrace4.c): Likewise.
34254         (CFLAGS-tst-backtrace5.c): Likewise.
34255         (LDFLAGS-tst-backtrace2): Likewise.
34256         (LDFLAGS-tst-backtrace3): Likewise.
34257         (LDFLAGS-tst-backtrace4): Likewise.
34258         (LDFLAGS-tst-backtrace5): Likewise.
34259         (tests): Add new tests tst-backtrace2, tst-backtrace3,
34260         tst-backtrace4 and tst-backtrace5.
34262 2013-01-18  Anton Blanchard  <anton@samba.org>
34263             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34265         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34266         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34267         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34268         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34270         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34271         "+r" and remove output regs list as redundant.  Add explicit inline
34272         asm to specify register of return val to work around compiler codegen
34273         bug.  Remove (int) cast on return value.  Add return type parameter to
34274         use in macro so that this macro does not truncate return value for
34275         64-bit values.
34276         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34277         pass to INTERNAL_VSYSCALL_NCS.
34278         (INLINE_VSYSCALL): Add 'long int' as return type to
34279         INTERNAL_VSYSCALL_NCS macro invocation.
34280         (INTERNAL_VSYSCALL): Add 'long int' as return type to
34281         INTERNAL_VSYSCALL_NCS macro invocation.
34282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34284 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34286         [BZ #14496]
34287         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34288         Fix application of SIMD FP exception mask.
34290         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34291         mp_no from a power of two.
34292         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34293         __mpexp_twomm1.  Use __pow_mp.
34295         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34296         multiplication.
34298 2013-01-17  David S. Miller  <davem@davemloft.net>
34300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34302 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
34304         [BZ #15023]
34305         * include/complex.h: Condition contents on [!_COMPLEX_H].
34306         (__kernel_casinhf): New prototype.
34307         (__kernel_casinh): Likewise.
34308         (__kernel_casinhl): Likewise.
34309         * math/Makefile (libm_calls): Add k_casinh.
34310         * math/k_casinh.c: New file.
34311         * math/k_casinhf.c: Likewise.
34312         * math/k_casinhl.c: Likewise.
34313         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34314         finite nonzero arguments.
34315         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34316         finite nonzero arguments.
34317         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34318         finite nonzero arguments.
34319         * math/s_casinh.c: Do not include <float.h>.
34320         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34321         * math/s_casinhf.c: Do not include <float.h>.
34322         (__casinhf): Move code for finite nonzero arguments to
34323         k_casinhf.c.
34324         * math/s_casinhl.c: Do not include <float.h>.
34325         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34326         redefine.
34327         (__casinhl): Move code for finite nonzero arguments to
34328         k_casinhl.c.
34329         * math/libm-test.inc (cacos_test): Add more tests.
34330         * sysdeps/i386/fpu/libm-test-ulps: Update.
34331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34333 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
34335         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34336         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34337         [!HAVE_MREMAP]: Remove [defined linux] case.
34338         * malloc/arena.c: Do not include <malloc-sysdep.h>.
34340 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34342         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34344 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
34346         * elf/elf.h (R_386_SIZE32): New relocation.
34347         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34348         R_386_SIZE32.
34349         (elf_machine_rela): Likewise.
34350         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34351         R_X86_64_SIZE64 and R_X86_64_SIZE32.
34353 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
34355         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34356         (FP_FAST_FMA): Do not define.
34357         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34358         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34359         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34360         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34361         !_SOFT_FLOAT]: Likewise.
34362         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34363         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34364         value.
34365         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34366         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34367         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34368         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34369         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34370         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34371         file.
34373 2013-01-16  Andreas Schwab  <schwab@suse.de>
34375         [BZ #14327]
34376         * include/stdlib.h (__mktemp): Add declaration.
34377         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34378         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34380 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34382         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34383         definitions.
34384         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34385         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34386         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34387         definitions here.
34388         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34389         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34390         definitions.
34391         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34392         and ONE.
34393         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34394         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34395         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34396         definitions.
34397         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34398         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34399         definitions.
34400         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34402         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34404 2013-01-15  David S. Miller  <davem@davemloft.net>
34406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34407         trunc{,f} to libm-sysdep_routes.
34408         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34410         file.
34411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34413         file.
34414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34415         file.
34416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34418         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34419         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34420         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34421         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34422         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34423         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34426         nearbyint{,f} to libm-sysdep_routes.
34427         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34429         New file.
34430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34431         file.
34432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34433         New file.
34434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34435         file.
34436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34438         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34439         file.
34440         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34441         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34442         file.
34443         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34444         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34445         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34447         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34448         libc_feholdexcept and libc_fesetenv.
34450 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
34452         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34454 2013-01-14  David S. Miller  <davem@davemloft.net>
34456         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34457         (SPARC_ASM_VIS2_IFUNC): Likewise.
34458         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34460         use of 'siam' instruction.
34461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34462         Likewise.
34463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34464         Likewise.
34465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34466         Likewise.
34467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34469         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34470         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34472         file.
34473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34474         file.
34475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34476         file.
34477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34478         file.
34479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34480         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34482         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34484         new VIS2 routines.
34485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34488         Likewise.
34489         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34490         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34494         routines to libm-sysdep_routines.
34495         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34498         fdim/fdimf to libm-sysdep_routines.
34499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34500         file.
34501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34503         file.
34504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34507         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34508         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34509         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34510         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34512 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34514         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34515         to optimize copies.
34517         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34518         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34519         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34521         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34522         local variable MPTWO.
34523         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34524         Likewise.
34526 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34528         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34529         GLOB_NOESCAPE.
34531 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34533         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34535 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34537         * manual/pattern.texi (glob_t): Document gl_flags.
34538         (glob64_t): Likewise.
34540 2013-01-11  David S. Miller  <davem@davemloft.net>
34542         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34543         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34544         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
34545         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34546         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34547         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34548         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34549         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34550         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34551         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34552         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34553         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34554         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34556         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34557         sparc V9 rather than using V8 code.
34558         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34559         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34561         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34562         Move to...
34563         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34564         Here.
34566 2013-01-11  Roland McGrath  <roland@hack.frob.com>
34568         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34569         not in the main loop.
34570         * configure: Regenerated.
34572 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
34574         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34575         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34576         to just #else.
34577         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
34578         [!__GLIBC_HAVE_LONG_LONG] case.
34579         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34580         condition to just #else.
34581         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34582         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34583         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34584         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34585         unconditional.
34586         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34587         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34588         #elif condition to just #else.
34589         * sysdeps/unix/sysv/linux/sys/sysmacros.h
34590         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34591         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34592         #elif condition to just #else.
34594 2013-01-11  Steve Ellcey  <sellcey@mips.com>
34596         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34597         (EF_MIPS_ARCH_64): Fix value.
34598         (EF_MIPS_ARCH_32R2): New.
34599         (EF_MIPS_ARCH_64R2): New.
34601 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
34603         * Makeconfig (+link-pie-before-libc): New.
34604         (+link-pie-after-libc): Likewise.
34605         (+link-pie-tests): Likewise.
34606         (+link-pie): Rewritten.
34607         (link-before-libc): Remove $(config-LDFLAGS).
34608         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34609         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34610         (config-LDFLAGS): Renamed to ...
34611         (rtld-LDFLAGS): This.
34612         (rtld-tests-LDFLAGS): New macro.
34613         (link-libc-rpath-link): Likewise.
34614         (link-libc-tests-rpath-link): Likewise.
34615         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34616         (link-libc): Prepand $(link-libc-rpath-link).
34617         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34618         (test-program-prefix): New macro.
34619         (test-via-rtld-prefix): Likewise.
34620         (test-program-cmd): Likewise.
34621         (host-test-program-cmd): Likewise.
34622         * Makefile ($(common-objpfx)testrun.sh): Replace
34623         $(run-program-prefix) with $(test-program-prefix).
34624         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34625         $(rtld-LDFLAGS).
34626         ($(common-objpfx)shlib.lds): Likewise.
34627         (build-module-helper): Likewise.
34628         ($(common-objpfx)format.lds): Likewise.
34629         * Rules (binaries-pie-tests): New.
34630         (binaries-pie-notests): Likewise.
34631         (binaries-pie): Rewritten.
34632         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34633         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34634         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34635         (make-test-out): Replace $(host-built-program-cmd) with
34636         $(host-test-program-cmd).
34637         * config.make.in (build-hardcoded-path-in-tests): New variable.
34638         * configure.in (--enable-hardcoded-path-in-tests): New configure
34639         option.
34640         (hardcoded_path_in_tests): New AC_SUBST.
34641         * configure: Regenerated.
34642         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34643         $(built-program-cmd) with $(test-program-cmd).
34644         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34645         (test_program_cmd): This.
34646         * elf/Makefile ($(objpfx)order.out): Run test with
34647         $(test-program-prefix).
34648         ($(objpfx)order2.out): Likewise.
34649         ($(objpfx)tst-initorder.out): Likewise.
34650         ($(objpfx)tst-initorder2.out): Likewise.
34651         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34652         $(test-program-cmd).
34653         ($(objpfx)tst-array1-static.out): Likewise.
34654         ($(objpfx)tst-array2.out): Likewise.
34655         ($(objpfx)tst-array3.out): Likewise.
34656         ($(objpfx)tst-array4.out): Likewise.
34657         ($(objpfx)tst-array5.out): Likewise.
34658         ($(objpfx)tst-array5-static.out): Likewise.
34659         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34660         $(test-program-cmd).
34661         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34662         $(run-program-prefix) with $(test-program-prefix).
34663         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34664         (test_program_prefix): This.
34665         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34666         $(run-program-prefix) with $(test-program-prefix).
34667         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34668         (test_program_prefix): This.
34669         * iconvdata/tst-tables.sh: Likewise.
34670         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34671         $(run-program-prefix) with $(test-program-prefix).
34672         ($(objpfx)tst-translit.out): Likewise.
34673         ($(objpfx)tst-gettext2.out): Likewise.
34674         ($(objpfx)tst-gettext4.out): Likewise.
34675         ($(objpfx)tst-gettext6.out): Likewise.
34676         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34677         (test_program_prefix): This.
34678         * intl/tst-gettext2.sh: Likewise.
34679         * intl/tst-gettext4.sh  Likewise.
34680         * intl/tst-gettext6.sh: Likewise.
34681         * intl/tst-translit.sh: Likewise.
34682         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34683         with $(test-program-cmd).
34684         * libio/Makefile ($(objpfx)test-freopen.out): Replace
34685         $(run-program-prefix) with $(test-program-prefix).
34686         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34687         (test_program_prefix): This.
34688         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34689         $(run-program-prefix) with $(test-program-prefix).
34690         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34691         (test_program_prefix): This.
34692         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34693         * posix/Makefile ($(objpfx)globtest.out): Replace
34694         $(run-via-rtld-prefix) and $(test-wrapper) with
34695         $(test-program-prefix) and $(test-via-rtld-prefix).
34696         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34697         $(test-program-prefix).
34698         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34699         $(host-test-program-cmd).
34700         (tst-spawn-ARGS): Likewise.
34701         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34702         $(test-program-prefix).
34703         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34704         (test_via_rtld_prefix): This.
34705         (test_wrapper): Renamed to ...
34706         (test_program_prefix): This.
34707         (run_program_prefix): Replaced by test_program_prefix.
34708         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34709         (test_program_prefix): This.
34710         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34711         with $(host-test-program-cmd).
34712         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34713         $(run-program-prefix) with $(test-program-prefix).
34714         ($(objpfx)tst-printf.out): Likewise.
34715         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34716         $(test-program-cmd).
34717         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34718         (test_program_prefix): This.
34719         * stdio-common/tst-unbputc.sh: Likewise.
34720         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34721         $(run-program-prefix) with $(test-program-prefix).
34722         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34723         (test_program_prefix): This.
34724         * string/Makefile ($(objpfx)tst-svc.out):  Replace
34725         $(built-program-cmd) with $(test-program-cmd).
34727 2013-01-11  Andreas Jaeger  <aj@suse.de>
34729         [BZ #15003]
34730         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34731         value. Sync with Linux 3.7.
34733 2013-01-10  David S. Miller  <davem@davemloft.net>
34735         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34736         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34737         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34739 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34741         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34742         never set.
34743         * configure: Regenerated.
34745 2013-01-10  David S. Miller  <davem@davemloft.net>
34747         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34748         sparc V9 rather than using V8 code.
34749         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34750         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34752 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34754         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34755         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34756         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34757         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34758         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34759         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34760         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34761         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34762         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34763         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34764         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34765         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34766         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34767         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34768         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34769         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34770         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34771         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34772         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34773         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34774         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34775         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34776         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34777         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34778         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34779         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34780         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34782 2013-01-10  David S. Miller  <davem@davemloft.net>
34784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34786 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34788         * posix/Makefile (tests-static): New variable.
34789         (tests): Add $(tests-static).
34790         (tst-exec-static-ARGS): New variable.
34791         (tst-spawn-static-ARGS): Likewise.
34792         * posix/tst-exec-static.c: New file.
34793         * posix/tst-spawn-static.c: Likewise.
34794         * posix/tst-exec.c: Support run directly.
34795         * posix/tst-spawn.c: Likewise.
34797 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
34799         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34800         long.
34801         * math/bits/mathcalls.h (llrint): Likewise.
34802         (llround): Likewise.
34803         * stdlib/stdlib.h (struct drand48_data): Likewise.
34804         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34805         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34806         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34807         Likewise.
34808         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34809         Likewise.
34810         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34811         (elf_greg_t): Likewise.
34812         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34813         (__jmp_buf): Likewise.
34814         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34815         definitions.
34816         (llrint): Likewise, for all definitions.
34817         (llrintl): Likewise.
34819         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34820         Remove [__GNUC__] condition.
34821         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34822         condition to just [__USE_ISOC99].
34823         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34825 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34827         [BZ #14200]
34828         * sysdeps/unix/sysv/linux/x86/bits/environments.h
34829         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34830         defined.
34831         (_POSIX_V6_ILP32_OFF32): Likewise.
34832         (_XBS5_ILP32_OFF32): Likewise.
34833         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34834         (__ILP32_OFFBIG_LDFLAGS): Likewise.
34836 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34838         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34840         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34841         doubles __mpexp_twomm1.  Adjust usage.
34842         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34843         Remove.
34845 2013-01-10  Andreas Schwab  <schwab@suse.de>
34847         [BZ #14964]
34848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34849         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34851 2013-01-09  David S. Miller  <davem@davemloft.net>
34853         [BZ #15003]
34854         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34855         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34856         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34857         (TCP_FASTOPEN): Define.
34858         (tcp_repair_opt): New structure.
34859         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34860         enum values.
34861         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34862         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34863         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34864         (tcp_cookie_transactions): New structure.
34866 2013-01-09  Anton Blanchard  <anton@samba.org>
34868         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34869         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34870         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34871         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34873 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
34875         * include/features.h (__USE_ANSI): Remove.
34877 2013-01-09  Roland McGrath  <roland@hack.frob.com>
34879         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34881         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34883 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34885         * sysdeps/s390/fpu/libm-test-ulps: Update.
34887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34889         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34890         (__acr): Likewise.
34891         (__cpy): Likewise.
34892         (norm): Likewise.
34893         (denorm): Likewise.
34894         (__mp_dbl): Likewise.
34895         (__dbl_mp): Likewise.
34896         (add_magnitudes): Likewise.
34897         (sub_magnitudes): Likewise.
34898         (__add): Likewise.
34899         (__sub): Likewise.
34900         (__mul): Likewise.
34901         (__inv): Likewise.
34902         (__dvd): Likewise.
34903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34904         (__acr): Likewise.
34905         (__cpy): Likewise.
34906         (norm): Likewise.
34907         (denorm): Likewise.
34908         (__mp_dbl): Likewise.
34909         (__dbl_mp): Likewise.
34910         (add_magnitudes): Likewise.
34911         (sub_magnitudes): Likewise.
34912         (__add): Likewise.
34913         (__sub): Likewise.
34914         (__mul): Likewise.
34915         (__inv): Likewise.
34916         (__dvd): Likewise.
34917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34918         (__acr): Likewise.
34919         (__cpy): Likewise.
34920         (norm): Likewise.
34921         (denorm): Likewise.
34922         (__mp_dbl): Likewise.
34923         (__dbl_mp): Likewise.
34924         (add_magnitudes): Likewise.
34925         (sub_magnitudes): Likewise.
34926         (__add): Likewise.
34927         (__sub): Likewise.
34928         (__mul): Likewise.
34929         (__inv): Likewise.
34930         (__dvd): Likewise.
34932 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
34934         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34935         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34936         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34937         2 && __USE_EXTERN_INLINES]: Likewise.
34939 2013-01-08  Andreas Jaeger  <aj@suse.de>
34941         [BZ# 14985]
34942         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34943         Remove.
34944         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34945         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34947 2013-01-07  Anton Blanchard  <anton@samba.org>
34949         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34950         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34951         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34952         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34953         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34954         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34955         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34956         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34958         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34959         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34960         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34961         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34962         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34963         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34964         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34965         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34966         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34967         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34968         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34969         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34970         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34971         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34972         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34973         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34974         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34975         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34976         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34977         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34978         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34979         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34981         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34982         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34983         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34984         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34985         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34986         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34987         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34988         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34989         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34990         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34991         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34993 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
34995         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34996         (__MALLOC_PMT): Likewise.
34997         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34998         [__GNUC__], only on [_LIBC].
34999         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35000         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35001         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35002         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35003         forward declaration.
35004         (realloc_hook_ini): Likewise.
35005         (memalign_hook_ini): Likewise.
35006         (__libc_memalign): Do not use __MALLOC_PMT in variable
35007         declaration.
35008         (__libc_valloc): Likewise.
35009         (__libc_pvalloc): Likewise.
35010         (__libc_calloc): Likewise.
35011         (__posix_memalign): Likewise.
35013         [BZ #14996]
35014         * math/s_casinh.c: Include <float.h>.
35015         (__casinh): Do not do computation with squaring and square root
35016         for large arguments.
35017         * math/s_casinhf.c: Include <float.h>.
35018         (__casinhf): Do not do computation with squaring and square root
35019         for large arguments.
35020         * math/s_casinhl.c: Include <float.h>.
35021         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35022         (__casinhl): Do not do computation with squaring and square root
35023         for large arguments.
35024         * math/libm-test.inc (casin_test): Add more tests.
35025         (casinh_test): Likewise.
35026         * sysdeps/i386/fpu/libm-test-ulps: Update.
35027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35029 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
35031         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35032         (__x86_64_raw_data_cache_size): Likewise.
35033         (__x86_64_data_cache_size_half): Likewise.
35034         (__x86_64_raw_data_cache_size_half): Likewise.
35035         (__x86_64_shared_cache_size): Likewise.
35036         (__x86_64_raw_shared_cache_size): Likewise.
35037         (__x86_64_shared_cache_size_half): Likewise.
35038         (__x86_64_raw_shared_cache_size_half): Likewise.
35039         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35040         to ...
35041         (__x86_data_cache_size): This.
35042         (__x86_64_raw_data_cache_size): Renamed to ...
35043         (__x86_raw_data_cache_size): This.
35044         (__x86_64_data_cache_size_half): Renamed to ...
35045         (__x86_data_cache_size_half): This.
35046         (__x86_64_raw_data_cache_size_half): Renamed to ...
35047         (__x86_raw_data_cache_size_half): This.
35048         (__x86_64_shared_cache_size): Renamed to ...
35049         (__x86_shared_cache_size): This.
35050         (__x86_64_raw_shared_cache_size): Renamed to ...
35051         (__x86_raw_shared_cache_size): This.
35052         (__x86_64_shared_cache_size_half): Renamed to ...
35053         (__x86_shared_cache_size_half): This.
35054         (__x86_64_raw_shared_cache_size_half): Renamed to ...
35055         (__x86_raw_shared_cache_size_half): This.
35056         * sysdeps/x86_64/memcpy.S: Updated.
35057         * sysdeps/x86_64/memset.S: Likewise.
35058         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35059         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35060         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35062 2013-01-04  David S. Miller  <davem@davemloft.net>
35064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35066 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
35068         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35069         1 to avoid redefinition warning.
35070         (__USE_GNU): Don't define.
35071         (init_signaling_nan): Protoize.
35073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35075 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35077         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35079         (__cpymn): Likewise.
35080         (norm): Remove commented code.
35081         (denorm): Likewise.
35082         (__mp_dbl): Likewise.
35083         (__inv): Likewise.
35084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35085         (__cpymn): Likewise.
35086         (norm): Remove commented code.
35087         (denorm): Likewise.
35088         (__mp_dbl): Likewise.
35089         (__inv): Likewise.
35091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35092         mp_no value for 1.0 and 2.0.
35093         (norm): Use RADIXI instead of radixi.d.
35094         (denorm): Likewise.
35095         (__mul): Use 0.0 instead of zero.d.
35096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
35097         mp_no value for 1.0 and 2.0.
35098         (norm): Use RADIXI instead of radixi.d.
35099         (denorm): Likewise.
35100         (__mul): Use 0.0 instead of zero.d.
35102 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
35104         [BZ #14994]
35105         * math/s_casinh.c (__casinh): Reduce finite argument to first
35106         quadrant then set signs of results at the end.
35107         * math/s_casinhf.c (__casinhf): Likewise.
35108         * math/s_casinhl.c (__casinhl): Likewise.
35109         * math/libm-test.inc (casin_test): Add more tests.
35110         (casinh_test): Likewise.
35111         * sysdeps/i386/fpu/libm-test-ulps: Update.
35112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35114 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35116         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
35118         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
35120         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
35121         declarations.
35122         (denorm): Likewise.
35123         (__mp_dbl): Likewise.
35124         (__inv): Likewise.
35126         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
35127         and adjust the header comment.
35129         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
35130         variable name from declaration.
35132 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
35134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35135         Initialize COMMON_CPUID_INDEX_7 element.
35136         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
35137         (CPUID_RTM): Likewise.
35138         (HAS_RTM): Likewise.
35139         (COMMON_CPUID_INDEX_7): New enum.
35141 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
35143         [BZ #14981]
35144         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
35145         size is zero, record memory as freed.
35147 2013-01-03  Andreas Jaeger  <aj@suse.de>
35149         * po/ia.po: Add new Interlingua translation.
35151 2012-01-03  Allan McRae  <allan@archlinux.org>
35153         * locale/programs/localedef.c: Fix description of '--posix' flag.
35155 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
35157         * NEWS: Update dates in second copyright notice.
35158         * README: Update copyright dates in example.
35159         * manual/libc.texinfo: Update copyright dates.
35160         * scripts/test-installation.pl: Update copyright date in --version
35161         output.
35163         * hurd/ctty-input.c: Fix copyright notice formatting.
35164         * hurd/ctty-output.c: Likewise.
35165         * hurd/dtable.c: Likewise.
35166         * hurd/hurd-raise.c: Likewise.
35167         * hurd/hurdprio.c: Likewise.
35168         * hurd/msgportdemux.c: Likewise.
35169         * misc/sys/file.h: Likewise.
35170         * misc/sys/ioctl.h: Likewise.
35171         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35172         * sysdeps/mach/hurd/chdir.c: Likewise.
35173         * sysdeps/mach/hurd/fchdir.c: Likewise.
35174         * sysdeps/mach/hurd/rename.c: Likewise.
35175         * sysdeps/mach/hurd/rmdir.c: Likewise.
35176         * sysdeps/mach/hurd/seekdir.c: Likewise.
35177         * sysdeps/mach/hurd/setsid.c: Likewise.
35178         * sysdeps/posix/wait3.c: Likewise.
35180         * All files with FSF copyright notices: Update copyright dates
35181         using scripts/update-copyrights.
35182         * intl/plural.c: Regenerated.
35183         * locale/programs/charmap-kw.h: Likewise.
35184         * locale/programs/locfile-kw.h: Likewise.
35186 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35188         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
35189         four values.
35191         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
35192         calculation loop and add branch prediction.
35194         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
35195         check access beyond bounds of m1np.
35197         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35198         MPTWO.
35199         (__inv): Remove local variable MPTWO to use the global
35200         constant.
35201         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
35202         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35203         variable MPTWO.
35204         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
35205         MP3HALFS static const.
35207 2013-01-01  David S. Miller  <davem@davemloft.net>
35209         * po/ca.po: Update from translation team.
35211 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
35213         * scripts/update-copyrights: New file.
35214         * Makeconfig: Reformat copyright notice.
35215         * ctype/ctype.h: Likewise.
35216         * debug/swprintf_chk.c: Likewise.
35217         * elf/dl-cache.c: Likewise.
35218         * elf/dl-debug.c: Likewise.
35219         * elf/dl-object.c: Likewise.
35220         * grp/initgroups.c: Likewise.
35221         * hurd/Makefile: Likewise.
35222         * hurd/hurd/signal.h: Likewise.
35223         * hurd/hurdfault.c: Likewise.
35224         * hurd/hurdioctl.c: Likewise.
35225         * hurd/hurdlookup.c: Likewise.
35226         * hurd/intr-msg.c: Likewise.
35227         * iconv/gconv_open.c: Likewise.
35228         * libio/swprintf.c: Likewise.
35229         * locale/lc-ctype.c: Likewise.
35230         * locale/nl_langinfo.c: Likewise.
35231         * mach/Machrules: Likewise.
35232         * mach/Makefile: Likewise.
35233         * malloc/obstack.h: Likewise.
35234         * manual/Makefile: Likewise.
35235         * manual/tsort.awk: Likewise.
35236         * misc/bits/stab.def: Likewise.
35237         * nis/nis_print_group_entry.c: Likewise.
35238         * nis/nis_table.c: Likewise.
35239         * nis/nss_compat/compat-pwd.c: Likewise.
35240         * nis/nss_compat/compat-spwd.c: Likewise.
35241         * po/Makefile: Likewise.
35242         * posix/fnmatch.c: Likewise.
35243         * posix/regex.h: Likewise.
35244         * resolv/Makefile: Likewise.
35245         * resolv/nss_dns/dns-network.c: Likewise.
35246         * resolv/res_hconf.c: Likewise.
35247         * scripts/gen-sorted.awk: Likewise.
35248         * soft-fp/soft-fp.h: Likewise.
35249         * stdio-common/printf.h: Likewise.
35250         * stdlib/monetary.h: Likewise.
35251         * stdlib/random.c: Likewise.
35252         * stdlib/random_r.c: Likewise.
35253         * sysdeps/generic/Makefile: Likewise.
35254         * sysdeps/gnu/Makefile: Likewise.
35255         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35256         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35257         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35258         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35259         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35260         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35261         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35262         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35263         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35264         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35265         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35266         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35267         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35268         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35269         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35270         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35271         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35272         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35273         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35274         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35275         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35276         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35277         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35278         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35279         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35280         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35281         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35282         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35283         * sysdeps/mach/hurd/errnos.awk: Likewise.
35284         * sysdeps/mach/hurd/fork.c: Likewise.
35285         * sysdeps/mach/hurd/getcwd.c: Likewise.
35286         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35287         * sysdeps/mach/hurd/mmap.c: Likewise.
35288         * sysdeps/mach/hurd/utimes.c: Likewise.
35289         * sysdeps/mach/hurd/xmknod.c: Likewise.
35290         * sysdeps/posix/profil.c: Likewise.
35291         * sysdeps/posix/readdir_r.c: Likewise.
35292         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35293         * sysdeps/powerpc/bits/setjmp.h: Likewise.
35294         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35295         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35297         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35298         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35299         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35301         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35302         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35303         * sysdeps/pthread/lio_listio.c: Likewise.
35304         * sysdeps/sparc/dl-procinfo.h: Likewise.
35305         * sysdeps/unix/i386/sysdep.S: Likewise.
35306         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35307         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35308         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35309         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35311         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35312         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35313         * sysdeps/unix/sysv/linux/speed.c: Likewise.
35314         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35315         * sysdeps/wordsize-32/divdi3.c: Likewise.
35316         * time/sys/time.h: Likewise.
35317         * wcsmbs/Makefile: Likewise.
35319 2013-01-01  David S. Miller  <davem@davemloft.net>
35321         * po/fr.po: Update from translation team.
35323         * catgets/gencat.c: Update copyright year.
35324         * csu/version.c: Likewise.
35325         * debug/catchsegv.sh: Likewise.
35326         * debug/pcprofiledump.c: Likewise.
35327         * debug/xtrace.sh: Likewise.
35328         * elf/ldconfig.c: Likewise.
35329         * elf/ldd.bash.in: Likewise.
35330         * elf/pldd.c: Likewise.
35331         * elf/sotruss.ksh: Likewise.
35332         * elf/sprof.c: Likewise.
35333         * iconv/iconv_prog.c: Likewise.
35334         * iconv/iconvconfig.c: Likewise.
35335         * locale/programs/locale.c: Likewise.
35336         * locale/programs/localedef.c: Likewise.
35337         * login/programs/pt_chown.c: Likewise.
35338         * malloc/memusage.sh: Likewise.
35339         * malloc/memusagestat.c: Likewise.
35340         * malloc/mtrace.pl: Likewise.
35341         * nscd/nscd.c: Likewise.
35342         * nss/getent.c: Likewise.
35343         * nss/makedb.c: Likewise.
35344         * posix/getconf.c: Likewise.
35346 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35348         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35349         numbers.
35351 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
35353         * math/bits/mathcalls.h (modf): Use __nonnull.
35355 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35357         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35358         (split): Use macro CN instead of the bare value.
35359         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35360         could be used.
35361         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35362         instead of the bare value.
35363         (power1): Likewise.
35365 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35367         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35368         __ATAN_TWOM.
35369         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35371         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35372         their values.
35373         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35374         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35375         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35376         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35378 2012-12-28  Andreas Jaeger  <aj@suse.de>
35380         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
35381         values are from Linux 3.7.
35383         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35384         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
35386 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35388         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35389         TRUE case.
35391         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35392         (norm): Likewise.
35393         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35394         variables with preprocessor constants.
35395         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35396         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35397         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35399 2012-12-27  Bruno Haible  <bruno@clisp.org>
35401         [BZ #14317]
35402         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35403         only if needed.
35405 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35407         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35408         and use variable directly.
35409         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35411         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35412         MPONE.
35413         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35414         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35415         variable MPONE.
35416         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35417         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35418         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35419         include directive.  Remove local variable MPONE.
35420         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35421         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35422         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35424 2012-12-25  David S. Miller  <davem@davemloft.net>
35426         * version.h (RELEASE): Set to "development".
35427         (VERSION): Set to "2.17.90".
35428         * NEWS: Add 2.18 section.
35430 2012-12-21  David S. Miller  <davem@davemloft.net>
35432         * po/hr.po: Update from translation team.
35434 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35436         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35438 2012-12-19  Steve Ellcey  <sellcey@mips.com>
35440         * NEWS:  Mention new memcpy for MIPS.
35442 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35444         * manual/contrib.texi (Contributors): Spelling correction.
35446 2012-12-15  David S. Miller  <davem@davemloft.net>
35448         * po/ru.po: Update from translation team.
35450 2012-12-13  David S. Miller  <davem@davemloft.net>
35452         * NEWS: Mention IFUNC testsuite enhancements.
35454         * po/pl.po: Update from translation team.
35455         * po/bg.po: Likewise.
35457         * manual/contrib.texi (Contributors): Update entries for Hongjiu
35458         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
35460 2012-12-11  David S. Miller  <davem@davemloft.net>
35462         * po/sv.po: Update from translation team.
35464         * po/vi.po: Update from translation team.
35466         * po/cs.po: Update from translation team.
35468         * po/de.po: Update from translation team.
35469         * po/eo.po: Likewise.
35470         * po/nl.po: Likewise.
35472 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35474         [BZ #14246]
35475         * manual/argp.texi (Argp Helper Functions): Move node to follow
35476         Argp Parsing State.
35478         [BZ #14872]
35479         * manual/conf.texi (Limits on File System Capacity): Mention if
35480         terminating null is included in the max size.
35482 2012-12-10  Andreas Jaeger  <aj@suse.de>
35484         * po/cs.po: Update from translation team.
35486 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35488         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35489         void pointer and cast to uintptr_t.
35490         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35491         path.
35492         * sysdeps/s390/s390-64/memcpy.S: Likewise.
35493         * sysdeps/s390/s390-64/memset.S: Likewise.
35495 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
35497         [BZ #14833]
35498         * menual/message.texi (Message Translation): Fix typos.
35499         (Helper programs for gettext): Likewise.
35501 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
35503         [BZ #14898]
35504         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35505         Change to -1.
35507 2012-12-07  David S. Miller  <davem@davemloft.net>
35509         * po/libc.pot: Update.
35511 2012-12-07  Richard Henderson  <rth@redhat.com>
35513         [BZ #10114]
35514         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35515         normal/normal case to before the switch.
35516         (_FP_DIV): Likewise.
35518 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
35519             Mike Frysinger  <vapier@gentoo.org>
35521         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35522         check for __NR_fadvise64_64.
35524 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
35526         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35527         0, not just to plain "0" as a statement.
35528         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35529         with cw.
35531 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
35533         * NEWS: Use sourceware.org in Bugzilla URL.
35535 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35538         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35540         * stdio-common/tst-put-error.c (do_test): Add newline to the
35541         padded test to ensure flush.
35543 2012-12-05  Jeff Law  <law@redhat.com>
35545         * sunrpc/etc.rpc (fedfs_admin): Add entry.
35547 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
35549         * README: Don't refer to ports add-on as distributed separately.
35550         Mention AArch64 in list of systems supported in the ports add-on.
35552         * LICENSES: Add more non-FSF copyright and license notices.
35554         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35555         ((unused)).
35557         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35559         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35560         10000 as width of padded output.
35562 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
35564         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35566         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35567         variable LX with __attribute__ ((unused)).
35568         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35569         Likewise.
35570         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35572         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35573         with __attribute__ ((unused)).
35575 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
35577         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35579 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
35581         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35582         (CFLAGS-nldbl-acos.c): New variable.
35583         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35584         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35585         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35586         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35587         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35588         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35589         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35590         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35591         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35592         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35593         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35594         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35595         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35596         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35597         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35598         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35599         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35600         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35601         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35602         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35603         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35604         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35605         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35606         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35607         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35608         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35609         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35610         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35611         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35612         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35613         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35614         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35615         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35616         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35617         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35618         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35619         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35620         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35621         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35622         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35623         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35624         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35625         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35626         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35627         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35628         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35629         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35630         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35631         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35632         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35633         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35634         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35635         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35636         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35637         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35638         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35639         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35640         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35641         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35642         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35643         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35644         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35645         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35646         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35647         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35648         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35649         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35650         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35651         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35652         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35653         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35654         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35655         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35656         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35657         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35658         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35659         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35660         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35661         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35662         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35663         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35664         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35665         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35666         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35667         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35668         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35669         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35670         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35671         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35672         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35673         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35674         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35675         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35676         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35677         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35678         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35679         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35682         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35684         [BZ #14914]
35685         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35686         whole low double instead of just low 47 bits when splitting values
35687         into two parts.
35689 2012-12-03  Allan McRae  <allan@archlinux.org>
35691         * manual/stdio.texi (Predefined Printf Handlers): Remove
35692         @hsep and @vsep usage.
35694 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
35696         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35697         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35699 2012-12-03  Jeff Law  <law@redhat.com>
35701         * time/sys/time.h (settimeofday): Do not mark TV argument
35702         as __nonnull.
35704 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
35706         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35707         when currently writing and seek to current position when not.
35708         * libio/Makefile (tests): Remove bug-fclose1.
35709         * libio/bug-fclose1.c: Delete.
35711 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
35713         * manual/arith.texi (feenableexcept): Fix typo.
35714         (fedisableexcept): Likewise.
35716 2012-11-30  Roland McGrath  <roland@hack.frob.com>
35718         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35719         second, differently-typed declaration, rather than a cast.
35721 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35723         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35724         * include/rpc/svc.h: ... here.
35726 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
35728         [BZ #13013]
35729         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35730         depending n and resplen2 to catch cases where answer
35731         equals answerp2.
35733 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
35735         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35736         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35738 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
35740         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35742 2012-11-29  Roland McGrath  <roland@hack.frob.com>
35744         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35746 2012-11-28  Jeff Law  <law@redhat.com>
35748         [BZ #13761]
35749         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35750         dataset_temporary.  Track alloca usage into alloca_used.
35751         If dataset is large allocate and release it via malloc/free.
35753 2012-06-04  Florian Weimer  <fweimer@redhat.com>
35755         [BZ #14197]
35756         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35758 2012-11-28  David S. Miller  <davem@davemloft.net>
35760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35762 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35764         [BZ #14803]
35765         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35766         of pi/2 rounded to nearest to 64 bits.
35767         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35768         nearest to 64 bits.
35769         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35770         bits.
35772 2012-11-28  Jeff Law <law@redhat.com>
35773             Martin Osvald <mosvald@redhat.com>
35775         [BZ #14889]
35776         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35777         * sunrpc/svc.c: Include time.h.
35778         (__svc_accept_failed): New function.
35779         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35780         any reason other than EINTR, call __svc_accept_failed.
35781         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35782         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35784 2012-11-28  Andreas Schwab  <schwab@suse.de>
35786         * scripts/abilist.awk: Also handle indirect functions in .opd
35787         section.
35789 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35791         [BZ #13881]
35792         * sysdeps/x86/fpu/powl_helper.c: New file.
35793         * sysdeps/x86/fpu/Makefile: Likewise.
35794         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35795         (p3): New object.
35796         (__ieee754_powl): Use __powl_helper for finite arguments except
35797         integer exponents below 8.
35798         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35799         (p3): New object.
35800         (__ieee754_powl): Use __powl_helper for finite arguments except
35801         integer exponents below 8.
35802         * math/libm-test.inc (pow_test): Add more tests and enable some
35803         previously disabled tests.
35804         * sysdeps/i386/fpu/libm-test-ulps: Update.
35805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35807 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35808             Carlos O'Donell  <carlos_odonell@mentor.com>
35810         * nss/makedb.c (is_prime): Assert that input is odd and greater
35811         than 4.  Note that fact in a comment too.
35812         (next_prime): Add 4 to input.
35814 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35816         [BZ #11741]
35817         * libio/Makefile (tests): Add test case tst-fwrite-error.
35818         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35819         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35820         * libio/tst-fwrite-error.c: New test case.
35822 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
35824         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35825         before casting to void *.
35826         * include/libc-internal.h (__pointer_type): New macro.
35827         (__integer_if_pointer_type_sub): Likewise.
35828         (__integer_if_pointer_type): Likewise.
35829         (cast_to_integer): Likewise.
35830         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35831         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35832         before casting to atomic64_t.
35833         (atomic_exchange_acq): Likewise.
35834         (__arch_exchange_and_add_body): Likewise.
35835         (__arch_add_body): Likewise.
35836         (atomic_add_negative): Likewise.
35837         (atomic_add_zero): Likewise.
35839 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
35841         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35842         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35843         (add_fdes): Likewise.
35844         (linear_search_fdes): Likewise.
35845         (binary_search_unencoded_fdes): Likewise.
35847 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
35849         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35851 2012-11-24  Adam Conrad  <adconrad@0c3.net>
35853         * configure.in: Autodetect C++ header directories.
35854         * configure: Regenerated.
35856 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
35858         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35860 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
35862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35864 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
35866         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35867         LDBL_MANT_DIG == 106]: Disable some tests.
35868         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35869         Likewise.
35870         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35871         Likewise.
35873         [BZ #14871]
35874         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35875         input for small inputs.  Return +/- pi/2 for large inputs.
35876         * math/libm-test.inc (atan_test): Add more tests.
35878         * sysdeps/generic/unwind-dw2-fde-glibc.c
35879         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35880         __attribute__ ((unused)).
35882         [BZ #14645]
35883         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35884         x * y if x and y are nonzero and z is zero.
35886         [BZ #14811]
35887         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35888         nonzero exponents with absolute value below 0x1p-117 to +/-
35889         0x1p-117.
35891         [BZ #14869]
35892         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35893         up arguments below 2**-450, not just those below 2**-500.
35894         * math/libm-test.inc (hypot_test): Add another test.
35896         [BZ #14868]
35897         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35898         Return a+b for ratio over 2**120, not 2**60.
35899         * math/libm-test.inc (hypot_test): Add another test.
35901         * math/libm-test.inc (clog_test): Use
35902         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35903         (clog10_test): Likewise.
35905         [BZ #6778]
35906         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35908 2012-11-22  Andreas Schwab  <schwab@suse.de>
35910         * sysdeps/i386/fpu/libm-test-ulps: Update.
35912 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
35914         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35915         printf output with newline.
35917 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
35919         [BZ #14865]
35920         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35921         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35922         -z nodlopen, -z initfirst and -z execstack support.
35923         * configure: Regenerated.
35925         * elf/elf.h (DF_1_NODIRECT): New macro.
35926         (DF_1_IGNMULDEF): Likewise.
35927         (DF_1_NOKSYMS): Likewise.
35928         (DF_1_NOHDR): Likewise.
35929         (DF_1_EDITED): Likewise.
35930         (DF_1_NORELOC): Likewise.
35931         (DF_1_SYMINTPOSE): Likewise.
35932         (DF_1_GLOBAUDIT): Likewise.
35933         (DF_1_SINGLETON): Likewise.
35934         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35935         DT_1_SUPPORTED_MASK bits.
35936         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35938 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
35940         * sysdeps/unix/make-syscalls.sh: Document prefixes.
35942 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
35944         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35945         macro.
35947         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35948         (sendmmsg): Move declarations...
35949         * socket/sys/socket.h: ... here.
35950         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35951         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35952         include it from...
35953         * socket/recvmmsg.c: ... this new file.
35954         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35955         (sendmmsg): Rename to __sendmmsg, create weak alias and make
35956         definition of __sendmmsg hidden.
35957         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35958         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35959         Move ENOSYS stub into and include it from...
35960         * socket/sendmmsg.c: ... this new file.
35961         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35962         (sysdep_routines): Move recvmmsg and sendmmsg...
35963         * socket/Makefile (routines): ... here.
35964         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35965         (GLIBC_PRIVATE): Add __sendmmsg.
35966         * include/sys/socket.h (__sendmmsg): Add declarations.
35967         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35968         sendmmsg.
35970 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
35972         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35973         variable I1 with __attribute__ ((unused)).
35974         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35976 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35978         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35979         DUMMY variables with __attribute__ ((unused)).
35981         * bits/byteswap.h: Include <bits/types.h>.
35982         (__bswap_64): Use __uint64_t instead of unsigned long long int.
35984 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35986         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35987         string_t.  Do not manually set errno.
35988         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35989         length with __strnlen.  Make sure to both set errno and return it on
35990         failure.
35992 2012-11-19  David S. Miller  <davem@davemloft.net>
35994         With help from Joseph Myers.
35995         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35996         very large arguments properly.
35997         * math/libm-test.inc (atan_test): New tests.
35998         (atan2_test): New tests.
35999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36000         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36002 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36004         [BZ #14856]
36005         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36006         Define to 3.
36008         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36009         [POSIX] (EADDRNOTAVAIL): Likewise.
36010         [POSIX] (EAFNOSUPPORT): Likewise.
36011         [POSIX] (EALREADY): Likewise.
36012         [POSIX] (ECONNABORTED): Likewise.
36013         [POSIX] (ECONNREFUSED): Likewise.
36014         [POSIX] (ECONNRESET): Likewise.
36015         [POSIX] (EDESTADDRREQ): Likewise.
36016         [POSIX] (EDQUOT): Likewise.
36017         [POSIX] (EHOSTUNREACH): Likewise.
36018         [POSIX] (EIDRM): Likewise.
36019         [POSIX] (EISCONN): Likewise.
36020         [POSIX] (ELOOP): Likewise.
36021         [POSIX] (EMULTIHOP): Likewise.
36022         [POSIX] (ENETDOWN): Likewise.
36023         [POSIX] (ENETUNREACH): Likewise.
36024         [POSIX] (ENOBUFS): Likewise.
36025         [POSIX] (ENODATA): Likewise.
36026         [POSIX] (ENOLINK): Likewise.
36027         [POSIX] (ENOMSG): Likewise.
36028         [POSIX] (ENOPROTOOPT): Likewise.
36029         [POSIX] (ENOSR): Likewise.
36030         [POSIX] (ENOSTR): Likewise.
36031         [POSIX] (ENOTCONN): Likewise.
36032         [POSIX] (ENOTSOCK): Likewise.
36033         [POSIX] (EOPNOTSUPP): Likewise.
36034         [POSIX] (EOVERFLOW): Likewise.
36035         [POSIX] (EPROTO): Likewise.
36036         [POSIX] (EPROTONOSUPPORT): Likewise.
36037         [POSIX] (EPROTOTYPE): Likewise.
36038         [POSIX] (ESTALE): Likewise.
36039         [POSIX] (ETIME): Likewise.
36040         [POSIX] (ETXTBSY): Likewise.
36041         [POSIX] (EWOULDBLOCK): Likewise.
36042         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36043         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36044         [POSIX] (SEEK_CUR): Likewise.
36045         [POSIX] (SEEK_END): Likewise.
36046         [POSIX || UNIX98] (mode_t): Do not require.
36047         [POSIX] (off_t): Likewise.
36048         [POSIX] (pid_t): Likewise.
36049         [POSIX] (sys/stat.h): Do not allow header.
36050         [POSIX] (unistd.h): Likewise.
36051         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36052         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36053         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36054         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36055         require.
36056         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36057         sigevent): Specify elements.
36058         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36059         entry.
36060         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36061         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36063         * conform/data/cpio.h-data [POSIX]: Disable whole file.
36064         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36065         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36066         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36067         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36068         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36069         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36070         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36071         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36072         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36073         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36074         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36075         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36076         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36077         Likewise.
36078         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36079         Likewise.
36080         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36081         Likewise.
36082         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36083         Likewise.
36084         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36085         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36086         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36087         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36088         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36089         Specify lower bound on value.
36090         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36091         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36092         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36093         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36094         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36095         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36096         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36097         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36098         value.
36099         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36100         as optional.
36101         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36102         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36103         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36104         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36105         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
36106         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
36107         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
36108         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
36109         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
36110         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
36111         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
36112         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
36113         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
36114         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
36115         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
36116         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
36117         entry.
36118         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
36119         optional.
36120         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
36121         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
36122         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
36123         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
36124         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
36125         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
36126         Likewise.
36127         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
36128         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
36129         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
36130         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
36131         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
36132         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
36133         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
36134         as optional.
36135         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
36136         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
36137         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
36138         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
36139         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
36140         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
36141         specify as optional.
36142         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
36143         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
36144         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
36145         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
36146         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
36147         [XPG3] (NL_LANGMAX): Likewise.
36148         [POSIX || XPG3] (NL_MSGMAX): Likewise.
36149         [POSIX || XPG3] (NL_NMAX): Likewise.
36150         [POSIX || XPG3] (NL_SETMAX): Likewise.
36151         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
36152         [XPG3] (NZERO): Likewise.
36153         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
36154         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
36155         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
36156         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
36157         (REG_ERANGE): Expect.
36158         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
36159         optional-constant.
36160         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
36161         Use (void) in prototype.
36162         [POSIX] (*_t): Allow.
36163         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
36164         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
36165         (WRDE_BADVAL): Expect.
36167         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
36168         expect.
36169         [XPG3 || XPG4] (O_RSYNC): Likewise.
36170         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
36171         Likewise.
36172         [XPG3 || XPG4] (pthread_sigmask): Likewise.
36173         [XPG3 || XPG4] (sigqueue): Likewise.
36174         [XPG3 || XPG4] (sigtimedwait): Likewise.
36175         [XPG3 || XPG4] (sigwaitinfo): Likewise.
36176         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
36177         [XPG3 || XPG4] (vsnprintf): Likewise.
36178         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
36179         Likewise.
36180         [XPG3 || XPG4] (blksize_t): Likewise.
36181         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
36182         Likewise.
36183         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
36184         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36185         [XPG3 || XPG4] (struct itimerspec): Likewise.
36186         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
36187         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
36188         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
36189         [XPG3 || XPG4] (clockid_t): Likewise.
36190         [XPG3 || XPG4] (timer_t): Likewise.
36191         [XPG3 || XPG4] (clock_getres): Likewise.
36192         [XPG3 || XPG4] (clock_gettime): Likewise.
36193         [XPG3 || XPG4] (clock_settime): Likewise.
36194         [XPG3 || XPG4] (nanosleep): Likewise.
36195         [XPG3 || XPG4] (timer_create): Likewise.
36196         [XPG3 || XPG4] (timer_delete): Likewise.
36197         [XPG3 || XPG4] (timer_gettime): Likewise.
36198         [XPG3 || XPG4] (timer_getoverrun): Likewise.
36199         [XPG3 || XPG4] (timer_settime): Likewise.
36200         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
36201         [XPG3 || XPG4] (getlogin_r): Likewise.
36202         [XPG3 || XPG4] (pread): Likewise.
36203         [XPG3 || XPG4] (pthread_atfork): Likewise.
36204         [XPG3 || XPG4] (pwrite): Likewise.
36206         [BZ #14835]
36207         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
36208         <bits/siginfo.h>.
36210 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
36212         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36213         finalizing MALLSTREAM.
36215         * sysdeps/mach/hurd/syncfs.c: New file.
36217 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36219         [BZ #14719]
36220         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36221         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36222         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36223         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36224         (_nss_dns_gethostbyname4_r): Likewise.
36225         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36226         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36228 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
36230         [BZ #13763]
36231         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36233 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
36235         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36236         * elf/cache.c (print_entry): Print ",AArch64" for
36237         FLAG_AARCH64_LIB64
36239         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36240         * elf/cache.c (print_entry): Print ",hard-float" for
36241         FLAG_ARM_LIBHF.
36243 2012-11-18  David S. Miller  <davem@davemloft.net>
36245         With help from Joseph Myers.
36246         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36247         cutoff to 2**-13.
36248         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36249         cutoff to 2**-25.
36250         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36251         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36252         small.
36253         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36254         * math/libm-test.inc (y0_test): New tests.
36255         (y1_test): New tests.
36256         * sysdeps/i386/fpu/libm-test-ulps: Update.
36257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36260 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
36262         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36263         64-bit targets.
36264         * configure: Regenerated.
36266 2012-11-17  David S. Miller  <davem@davemloft.net>
36268         [BZ #14811]
36269         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36270         nonzero exponents with absolute value below 0x1p-128 to +/-
36271         0x1p-128.
36273 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
36275         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36277         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36279         * posix/getconf-speclist.c: New file.
36280         * posix/posix-envs.def: Likewise.
36281         * posix/confstr.c (START_ENV_GROUP): New macro.
36282         (END_ENV_GROUP): Likewise.
36283         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36284         (KNOWN_PRESENT_ENV_STRING): Likewise.
36285         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36286         (UNKNOWN_ENVIRONMENT): Likewise.
36287         (confstr): Include posix-envs.def instead of handling
36288         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36289         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36290         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36291         (END_ENV_GROUP): Likewise.
36292         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36293         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36294         (UNKNOWN_ENVIRONMENT): Likewise.
36295         (__sysconf): Include posix-envs.def instead of handling associated
36296         cases directly here.
36297         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36298         preprocessing getconf-speclist.c rather than running getconf or
36299         generating empty file.
36301 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
36303         * scripts/check-local-headers.sh: Ignore 'mach' headers.
36305 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
36307         [BZ #14672]
36308         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36310 2012-11-16  David S. Miller  <davem@davemloft.net>
36312         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36313         smaller than LDBL_EPSILON/2.0L, just return xm1.
36315 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
36317         * elf/tst-array1.c (init): Set constructor priority to 1000.
36318         (fini): Set destructor priority to 1000.
36319         * elf/tst-array2dep.c: Likewise.
36321 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36323         [BZ #11741]
36324         * libio/fileops.c (_IO_new_file_write): Correctly return error.
36325         (_IO_new_file_xsputn): Also return EOF if none of the input
36326         data was written when overflow failed.
36327         * libio/iopadn.c (_IO_padn): Likewise.
36328         * libio/iowpadn.c (_IO_wpadn): Likewise.
36329         * stdio-common/tst-put-error.c: Add copyright notice.
36330         (do_test): Add case for printing padded string.
36331         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36332         _IO_padn returned error.
36333         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36334         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36335         return EOF.
36337 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36339         * libio/libioP.h: Add comment note that the references to C++
36340         bits are now obsolete.
36342 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36344         * math/libm-test.inc (check_complex): Use asprintf.
36346 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
36348         * debug/pcprofiledump.c (print_version): Update copyright year.
36349         * malloc/memusagestat.c (print_version): Likewise.
36351 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
36353         [BZ #14831]
36354         * elf/Makefile (tests): Add tst-audit8.
36355         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36356         ($(objpfx)tst-audit8.out): New target.
36357         (tst-audit8-ENV): New variable.
36358         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36359         audit if l_reloc_result is NULL.
36360         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36361         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36362         * elf/tst-audit8.c: New file.
36364 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36366         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36367         * misc/Makefile (CFLAGS-select.c): Define.
36368         * posix/Makefile (CFLAGS-pause.c): Define.
36370 2012-11-13  David S. Miller  <davem@davemloft.net>
36372         * crypt/Makefile: Move test targets after toplevel Rules
36373         inclusion.  Grab any necessary sysdep routines when linking.
36374         * crypt/md5.c (md5_process_block): Remove define, we will always
36375         name it __md5_process_block.
36376         (md5_finish_ctx): Update md5_process_block call.
36377         (md5_stream): Likewise.
36378         (md5_process_bytes): Likewise.
36379         (md5_process_block): Rename to __md5_process_block and move to ...
36380         * crypt/md5-block.c: ... here.
36381         * crypt/sha256.c (sha256_process_block): Move to ...
36382         * crypt/sha256-block.c: ... here.
36383         * crypt/sha512.c (sha512_process_block): Move to ...
36384         * crypt/sha512-block.c: ... here.
36385         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36386         path.
36387         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36388         * sysdeps/sparc/sparc64/multiarch/Makefile
36389         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36390         crypt subdir.
36391         (localedef-aux): Add md5 crypto assembler when in locale subdir.
36392         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36393         multiarch changes.
36394         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36395         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36396         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36397         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36398         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36399         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36400         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36401         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36402         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36403         file.
36404         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36405         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36406         file.
36407         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36409 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
36411         * timezone/tzselect.ksh: Update from tzcode git revision
36412         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36413         * timezone/zdump.c: Likewise.
36414         * timezone/zic.c: Likewise.
36415         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36416         in TZVERSION setting, not $(PKGVERSION).
36417         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
36418         REPORT_BUGS_TO settings.
36420         [BZ #14838]
36421         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36422         macro.
36424 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36426         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36427         detection to immediately after _FP_ROUND().
36428         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36429         bits are 0.
36431 2012-11-11  David S. Miller  <davem@davemloft.net>
36433         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36434         inttypes.h
36435         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36436         __close rather than their public counterparts.
36438 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
36440         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36441         file.
36442         [UNIX98] (sem_timedwait): Do not expect.
36443         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36444         [XPG4 || UNIX98] (sockatmark): Do not expect.
36445         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36446         (clock_getcpuclockid): Do not expect.
36447         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36448         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36449         Do not expect.
36450         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36451         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36452         [UNIX98] (vwscanf): Likewise.
36453         [UNIX98] (vswscanf): Likewise.
36455 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
36457         * timezone/version.h: Remove file.
36458         * timezone/README: Do not refer to version.h.
36459         * timezone/Makefile ($(objpfx)zic.o): New dependency on
36460         $(objpfx)version.h.
36461         ($(objpfx)zdump.o): Likewise.
36462         ($(objpfx)version.h): New target.
36464         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36465         2012i.
36466         * timezone/README: Don't mention modification to tzselect.ksh.
36467         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36468         work on unmodified tzselect.ksh.  Substitute version numbers in
36469         tzselect.ksh.
36471         * Makefile (format-me): Remove.
36472         (INSTALL): Adjust indentation.  Use commands directly instead of
36473         using $(format-me).
36475         * aclocal.m4 (ACX_PKGVERSION): New macro.
36476         (ACX_BUGURL): Likewise.
36477         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36478         (PKGVERSION): New AC_DEFINE_UNQUOTED.
36479         (REPORT_BUGS_TO): Likewise.
36480         * configure: Regenerated.
36481         * config.h.in (PKGVERSION): New macro.
36482         (REPORT_BUGS_TO): Likewise.
36483         * config.make.in (PKGVERSION): New variable.
36484         (PKGVERSION_TEXI): Likewise.
36485         (REPORT_BUGS_TO): Likewise.
36486         (REPORT_BUGS_TEXI): Likewise.
36487         * Makefile (format-me): Use -I$(common-objpfx)manual.
36488         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36489         ($(common-objpfx)manual/%): New target.
36490         (manual/%): Remove target.
36491         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36492         (print_version): Use PKGVERSION.
36493         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36494         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36495         and REPORT_BUGS_TO.
36496         ($(objpfx)xtrace): Likewise.
36497         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36498         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36499         (print_version): Use PKGVERSION.
36500         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36501         (do_version): Use PKGVERSION.
36502         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36503         REPORT_BUGS_TO.
36504         (common-ldd-rewrite): Likewise.
36505         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36506         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36507         (print_version): Use PKGVERSION.
36508         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36509         * elf/pldd.c (argp_program_bug_address): Remove variable.
36510         (more_help): New function.
36511         (argp): Use more_help.
36512         (print_version): Use PKGVERSION.
36513         * elf/sln.c (main): Use PKGVERSION.
36514         (usage): Use REPORT_BUGS_TO.
36515         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36516         (top level): Use PKGVERSION.
36517         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36518         (print_version): Use PKGVERSION.
36519         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36520         (print_version): Use PKGVERSION.
36521         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36522         (print_version): Use PKGVERSION.
36523         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36524         (print_version): Use PKGVERSION.
36525         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36526         (print_version): Use PKGVERSION.
36527         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36528         (print_version): Use PKGVERSION.
36529         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36530         and BUGURL.
36531         ($(objpfx)memusage): Likewise.
36532         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36533         (do_version): Use PKGVERSION.
36534         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36535         (print_version): Use PKGVERSION.
36536         * malloc/mtrace.pl ($PACKAGE): Remove variable.
36537         ($PKGVERSION): New variable.
36538         ($REPORT_BUGS_TO): Likewise.
36539         (usage): Use $REPORT_BUGS_TO.
36540         (top level): Use $PKGVERSION.
36541         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36542         ($(objpfx)pkgvers.texi): New rule.
36543         ($(objpfx)stamp-pkgvers): Likewise.
36544         * manual/install.texi: Include pkgvers.texi.
36545         (--with-pkgversion): Document new configure option.
36546         (--with-bugurl): Likewise.
36547         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36548         than necessarily for this particular distribution.  Use
36549         REPORT_BUGS_TO for where to report bugs.
36550         * INSTALL: Regenerated.
36551         * manual/libc.texinfo: Include pkgvers.texi.
36552         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36553         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36554         (print_version): Use PKGVERSION.
36555         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36556         (print_version): Use PKGVERSION.
36557         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36558         (print_version): Use PKGVERSION.
36559         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36560         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36561         macro.
36562         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36563         (print_version): Use PKGVERSION.
36564         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36565         (print_version): Use PKGVERSION.
36566         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36567         and PKGVERSION.
36569         * timezone/checktab.awk: Update from tzcode 2012i.
36570         * timezone/ialloc.c: Likewise.
36571         * timezone/private.h: Likewise.
36572         * timezone/scheck.c: Likewise.
36573         * timezone/tzfile.h: Likewise.
36574         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36575         (TZVERSION): Hardcode tzcode version number.
36576         * timezone/zdump.c: Update from tzcode 2012i.
36577         * timezone/zic.c: Likewise.
36578         * timezone/version.h: New file.
36579         * timezone/README: Describe version.h.  Update upstream location.
36581         [BZ #14824]
36582         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36583         (mktemp): Enable declaration.
36584         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36585         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36587         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36588         Likewise.
36589         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36590         Likewise.
36591         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36592         Likewise.
36593         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36594         Likewise.
36595         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36596         Likewise.
36597         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36598         Likewise.
36600         [BZ #14821]
36601         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36602         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
36603         for copies of such integer values.
36604         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36605         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36607 2012-11-09  Andreas Jaeger  <aj@suse.de>
36609         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36610         definitions and declarations that are provided by
36611         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36613 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36615         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36616         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36617         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36618         definition.
36620 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36622         * elf/elf.h: Update comment before AArch64 relocations.
36624 2012-11-07  David S. Miller  <davem@davemloft.net>
36626         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36627         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36628         (__start_context): Declare.
36629         (__makecontext_ret): Delete.
36630         (__makecontext): Hook up __start_context instead of
36631         __makecontext_ret.
36632         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36633         (sysdep_routines): Add __start_context when in stdlib.
36635 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36637         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36638         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36639         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
36640         hardcoded "nm".
36641         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
36642         (READELF): New variable.  Use it instead of hardcoded "readelf".
36644 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36646         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36647         * sysdeps/x86/Makefile: Here.
36648         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36649         * sysdeps/x86/tst-xmmymm.sh: This.
36651 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36653         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36654         expectations.
36655         [UNIX98] (pthread_barrier_t): Do not expect.
36656         [UNIX98] (pthread_barrierattr_t): Likewise.
36657         [UNIX98] (pthread_spinlock_t): Likewise.
36658         [UNIX98] (pthread_barrier_destroy): Likewise.
36659         [UNIX98] (pthread_barrier_init): Likewise.
36660         [UNIX98] (pthread_barrier_wait): Likewise.
36661         [UNIX98] (pthread_barrierattr_destroy): Likewise.
36662         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36663         [UNIX98] (pthread_barrierattr_init): Likewise.
36664         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36665         [UNIX98] (pthread_getcpuclockid): Likewise.
36666         [UNIX98] (pthread_mutex_timedlock): Likewise.
36667         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36668         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36669         [UNIX98] (pthread_sigmask): Likewise.
36670         [UNIX98] (pthread_spin_destroy): Likewise.
36671         [UNIX98] (pthread_spin_init): Likewise.
36672         [UNIX98] (pthread_spin_lock): Likewise.
36673         [UNIX98] (pthread_spin_trylock): Likewise.
36674         [UNIX98] (pthread_spin_unlock): Likewise.
36675         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36676         Do not expect.
36677         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36678         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36679         [XPG3 || XPG4] (pthread_cond_t): Likewise.
36680         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36681         [XPG3 || XPG4] (pthread_key_t): Likewise.
36682         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36683         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36684         [XPG3 || XPG4] (pthread_once_t): Likewise.
36685         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36686         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36687         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36688         [XPG3 || XPG4] (pthread_t): Likewise.
36690         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36691         not expect.
36692         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36694         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36695         Change function return type to int.
36697         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36698         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36699         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36700         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36701         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36702         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36703         [!POSIX] (posix_madvise): Likewise.
36704         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36705         && !UNIX98].
36706         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36707         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36708         (mode_t): Likewise.
36709         (posix_mem_offset): Likewise.
36710         (posix_typed_mem_get_info): Likewise.
36711         (posix_typed_mem_open): Likewise.
36713         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36714         Change condition to [XOPEN2K8].
36716         * conform/conformtest.pl: Preprocess allow-header data with -x c
36717         instead of from stdin.
36718         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36719         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36720         [C99-based standards] (cerfc): Likewise.
36721         [C99-based standards] (cexp2): Likewise.
36722         [C99-based standards] (cexpm1): Likewise.
36723         [C99-based standards] (clog10): Likewise.
36724         [C99-based standards] (clog1p): Likewise.
36725         [C99-based standards] (clog2): Likewise.
36726         [C99-based standards] (clgamma): Likewise.
36727         [C99-based standards] (ctgamma): Likewise.
36728         [C99-based standards] (cerff): Likewise.
36729         [C99-based standards] (cerfcf): Likewise.
36730         [C99-based standards] (cexp2f): Likewise.
36731         [C99-based standards] (cexpm1f): Likewise.
36732         [C99-based standards] (clog10f): Likewise.
36733         [C99-based standards] (clog1pf): Likewise.
36734         [C99-based standards] (clog2f): Likewise.
36735         [C99-based standards] (clgammaf): Likewise.
36736         [C99-based standards] (ctgammaf): Likewise.
36737         [C99-based standards] (cerfl): Likewise.
36738         [C99-based standards] (cerfcl): Likewise.
36739         [C99-based standards] (cexp2l): Likewise.
36740         [C99-based standards] (cexpm1l): Likewise.
36741         [C99-based standards] (clog10l): Likewise.
36742         [C99-based standards] (clog1pl): Likewise.
36743         [C99-based standards] (clog2l): Likewise.
36744         [C99-based standards] (clgammal): Likewise.
36745         [C99-based standards] (ctgammal): Likewise.
36746         * conform/data/inttypes.h-data [C99-based standards]: Include
36747         stdint.h-data.  Remove all expectations for stdint.h contents.
36748         [C99-based standards] (PRI*): Do not allow.
36749         [C99-based standards] (SCN*): Likewise.
36750         [C99-based standards] (*_t): Likewise.
36751         [C99-based-standards] (PRId8): Expect macro.
36752         [C99-based-standards] (PRIi8): Likewise.
36753         [C99-based-standards] (PRIo8): Likewise.
36754         [C99-based-standards] (PRIu8): Likewise.
36755         [C99-based-standards] (PRIx8): Likewise.
36756         [C99-based-standards] (PRIX8): Likewise.
36757         [C99-based-standards] (SCNd8): Likewise.
36758         [C99-based-standards] (SCNi8): Likewise.
36759         [C99-based-standards] (SCNo8): Likewise.
36760         [C99-based-standards] (SCNu8): Likewise.
36761         [C99-based-standards] (SCNx8): Likewise.
36762         [C99-based-standards] (PRIdLEAST8): Likewise.
36763         [C99-based-standards] (PRIiLEAST8): Likewise.
36764         [C99-based-standards] (PRIoLEAST8): Likewise.
36765         [C99-based-standards] (PRIuLEAST8): Likewise.
36766         [C99-based-standards] (PRIxLEAST8): Likewise.
36767         [C99-based-standards] (PRIXLEAST8): Likewise.
36768         [C99-based-standards] (SCNdLEAST8): Likewise.
36769         [C99-based-standards] (SCNiLEAST8): Likewise.
36770         [C99-based-standards] (SCNoLEAST8): Likewise.
36771         [C99-based-standards] (SCNuLEAST8): Likewise.
36772         [C99-based-standards] (SCNxLEAST8): Likewise.
36773         [C99-based-standards] (PRIdFAST8): Likewise.
36774         [C99-based-standards] (PRIiFAST8): Likewise.
36775         [C99-based-standards] (PRIoFAST8): Likewise.
36776         [C99-based-standards] (PRIuFAST8): Likewise.
36777         [C99-based-standards] (PRIxFAST8): Likewise.
36778         [C99-based-standards] (PRIXFAST8): Likewise.
36779         [C99-based-standards] (SCNdFAST8): Likewise.
36780         [C99-based-standards] (SCNiFAST8): Likewise.
36781         [C99-based-standards] (SCNoFAST8): Likewise.
36782         [C99-based-standards] (SCNuFAST8): Likewise.
36783         [C99-based-standards] (SCNxFAST8): Likewise.
36784         [C99-based-standards] (PRId16): Likewise.
36785         [C99-based-standards] (PRIi16): Likewise.
36786         [C99-based-standards] (PRIo16): Likewise.
36787         [C99-based-standards] (PRIu16): Likewise.
36788         [C99-based-standards] (PRIx16): Likewise.
36789         [C99-based-standards] (PRIX16): Likewise.
36790         [C99-based-standards] (SCNd16): Likewise.
36791         [C99-based-standards] (SCNi16): Likewise.
36792         [C99-based-standards] (SCNo16): Likewise.
36793         [C99-based-standards] (SCNu16): Likewise.
36794         [C99-based-standards] (SCNx16): Likewise.
36795         [C99-based-standards] (PRIdLEAST16): Likewise.
36796         [C99-based-standards] (PRIiLEAST16): Likewise.
36797         [C99-based-standards] (PRIoLEAST16): Likewise.
36798         [C99-based-standards] (PRIuLEAST16): Likewise.
36799         [C99-based-standards] (PRIxLEAST16): Likewise.
36800         [C99-based-standards] (PRIXLEAST16): Likewise.
36801         [C99-based-standards] (SCNdLEAST16): Likewise.
36802         [C99-based-standards] (SCNiLEAST16): Likewise.
36803         [C99-based-standards] (SCNoLEAST16): Likewise.
36804         [C99-based-standards] (SCNuLEAST16): Likewise.
36805         [C99-based-standards] (SCNxLEAST16): Likewise.
36806         [C99-based-standards] (PRIdFAST16): Likewise.
36807         [C99-based-standards] (PRIiFAST16): Likewise.
36808         [C99-based-standards] (PRIoFAST16): Likewise.
36809         [C99-based-standards] (PRIuFAST16): Likewise.
36810         [C99-based-standards] (PRIxFAST16): Likewise.
36811         [C99-based-standards] (PRIXFAST16): Likewise.
36812         [C99-based-standards] (SCNdFAST16): Likewise.
36813         [C99-based-standards] (SCNiFAST16): Likewise.
36814         [C99-based-standards] (SCNoFAST16): Likewise.
36815         [C99-based-standards] (SCNuFAST16): Likewise.
36816         [C99-based-standards] (SCNxFAST16): Likewise.
36817         [C99-based-standards] (PRId32): Likewise.
36818         [C99-based-standards] (PRIi32): Likewise.
36819         [C99-based-standards] (PRIo32): Likewise.
36820         [C99-based-standards] (PRIu32): Likewise.
36821         [C99-based-standards] (PRIx32): Likewise.
36822         [C99-based-standards] (PRIX32): Likewise.
36823         [C99-based-standards] (SCNd32): Likewise.
36824         [C99-based-standards] (SCNi32): Likewise.
36825         [C99-based-standards] (SCNo32): Likewise.
36826         [C99-based-standards] (SCNu32): Likewise.
36827         [C99-based-standards] (SCNx32): Likewise.
36828         [C99-based-standards] (PRIdLEAST32): Likewise.
36829         [C99-based-standards] (PRIiLEAST32): Likewise.
36830         [C99-based-standards] (PRIoLEAST32): Likewise.
36831         [C99-based-standards] (PRIuLEAST32): Likewise.
36832         [C99-based-standards] (PRIxLEAST32): Likewise.
36833         [C99-based-standards] (PRIXLEAST32): Likewise.
36834         [C99-based-standards] (SCNdLEAST32): Likewise.
36835         [C99-based-standards] (SCNiLEAST32): Likewise.
36836         [C99-based-standards] (SCNoLEAST32): Likewise.
36837         [C99-based-standards] (SCNuLEAST32): Likewise.
36838         [C99-based-standards] (SCNxLEAST32): Likewise.
36839         [C99-based-standards] (PRIdFAST32): Likewise.
36840         [C99-based-standards] (PRIiFAST32): Likewise.
36841         [C99-based-standards] (PRIoFAST32): Likewise.
36842         [C99-based-standards] (PRIuFAST32): Likewise.
36843         [C99-based-standards] (PRIxFAST32): Likewise.
36844         [C99-based-standards] (PRIXFAST32): Likewise.
36845         [C99-based-standards] (SCNdFAST32): Likewise.
36846         [C99-based-standards] (SCNiFAST32): Likewise.
36847         [C99-based-standards] (SCNoFAST32): Likewise.
36848         [C99-based-standards] (SCNuFAST32): Likewise.
36849         [C99-based-standards] (SCNxFAST32): Likewise.
36850         [C99-based-standards] (PRId64): Likewise.
36851         [C99-based-standards] (PRIi64): Likewise.
36852         [C99-based-standards] (PRIo64): Likewise.
36853         [C99-based-standards] (PRIu64): Likewise.
36854         [C99-based-standards] (PRIx64): Likewise.
36855         [C99-based-standards] (PRIX64): Likewise.
36856         [C99-based-standards] (SCNd64): Likewise.
36857         [C99-based-standards] (SCNi64): Likewise.
36858         [C99-based-standards] (SCNo64): Likewise.
36859         [C99-based-standards] (SCNu64): Likewise.
36860         [C99-based-standards] (SCNx64): Likewise.
36861         [C99-based-standards] (PRIdLEAST64): Likewise.
36862         [C99-based-standards] (PRIiLEAST64): Likewise.
36863         [C99-based-standards] (PRIoLEAST64): Likewise.
36864         [C99-based-standards] (PRIuLEAST64): Likewise.
36865         [C99-based-standards] (PRIxLEAST64): Likewise.
36866         [C99-based-standards] (PRIXLEAST64): Likewise.
36867         [C99-based-standards] (SCNdLEAST64): Likewise.
36868         [C99-based-standards] (SCNiLEAST64): Likewise.
36869         [C99-based-standards] (SCNoLEAST64): Likewise.
36870         [C99-based-standards] (SCNuLEAST64): Likewise.
36871         [C99-based-standards] (SCNxLEAST64): Likewise.
36872         [C99-based-standards] (PRIdFAST64): Likewise.
36873         [C99-based-standards] (PRIiFAST64): Likewise.
36874         [C99-based-standards] (PRIoFAST64): Likewise.
36875         [C99-based-standards] (PRIuFAST64): Likewise.
36876         [C99-based-standards] (PRIxFAST64): Likewise.
36877         [C99-based-standards] (PRIXFAST64): Likewise.
36878         [C99-based-standards] (SCNdFAST64): Likewise.
36879         [C99-based-standards] (SCNiFAST64): Likewise.
36880         [C99-based-standards] (SCNoFAST64): Likewise.
36881         [C99-based-standards] (SCNuFAST64): Likewise.
36882         [C99-based-standards] (SCNxFAST64): Likewise.
36883         [C99-based-standards] (PRIdMAX): Likewise.
36884         [C99-based-standards] (PRIiMAX): Likewise.
36885         [C99-based-standards] (PRIoMAX): Likewise.
36886         [C99-based-standards] (PRIuMAX): Likewise.
36887         [C99-based-standards] (PRIxMAX): Likewise.
36888         [C99-based-standards] (PRIXMAX): Likewise.
36889         [C99-based-standards] (SCNdMAX): Likewise.
36890         [C99-based-standards] (SCNiMAX): Likewise.
36891         [C99-based-standards] (SCNoMAX): Likewise.
36892         [C99-based-standards] (SCNuMAX): Likewise.
36893         [C99-based-standards] (SCNxMAX): Likewise.
36894         [C99-based-standards] (PRIdPTR): Likewise.
36895         [C99-based-standards] (PRIiPTR): Likewise.
36896         [C99-based-standards] (PRIoPTR): Likewise.
36897         [C99-based-standards] (PRIuPTR): Likewise.
36898         [C99-based-standards] (PRIxPTR): Likewise.
36899         [C99-based-standards] (PRIXPTR): Likewise.
36900         [C99-based-standards] (SCNdPTR): Likewise.
36901         [C99-based-standards] (SCNiPTR): Likewise.
36902         [C99-based-standards] (SCNoPTR): Likewise.
36903         [C99-based-standards] (SCNuPTR): Likewise.
36904         [C99-based-standards] (SCNxPTR): Likewise.
36905         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36906         allow.
36907         * conform/data/stdint.h-data: Update comments to clarify
36908         requirements.
36909         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
36910         type.
36911         [C99-based standards] (INT8_MAX): Likewise.
36912         [C99-based standards] (INT16_MIN): Likewise.
36913         [C99-based standards] (INT16_MAX): Likewise.
36914         [C99-based standards] (INT32_MIN): Likewise.
36915         [C99-based standards] (INT32_MAX): Likewise.
36916         [C99-based standards] (INT64_MIN): Likewise.
36917         [C99-based standards] (INT64_MAX): Likewise.
36918         [C99-based standards] (UINT8_MAX): Likewise.
36919         [C99-based standards] (UINT16_MAX): Likewise.
36920         [C99-based standards] (UINT32_MAX): Likewise.
36921         [C99-based standards] (UINT64_MAX): Likewise.
36922         [C99-based standards] (INT_LEAST8_MIN): Likewise.
36923         [C99-based standards] (INT_LEAST8_MAX): Likewise.
36924         [C99-based standards] (INT_LEAST16_MIN): Likewise.
36925         [C99-based standards] (INT_LEAST16_MAX): Likewise.
36926         [C99-based standards] (INT_LEAST32_MIN): Likewise.
36927         [C99-based standards] (INT_LEAST32_MAX): Likewise.
36928         [C99-based standards] (INT_LEAST64_MIN): Likewise.
36929         [C99-based standards] (INT_LEAST64_MAX): Likewise.
36930         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36931         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36932         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36933         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36934         [C99-based standards] (INT_FAST8_MIN): Likewise.
36935         [C99-based standards] (INT_FAST8_MAX): Likewise.
36936         [C99-based standards] (INT_FAST16_MIN): Likewise.
36937         [C99-based standards] (INT_FAST16_MAX): Likewise.
36938         [C99-based standards] (INT_FAST32_MIN): Likewise.
36939         [C99-based standards] (INT_FAST32_MAX): Likewise.
36940         [C99-based standards] (INT_FAST64_MIN): Likewise.
36941         [C99-based standards] (INT_FAST64_MAX): Likewise.
36942         [C99-based standards] (UINT_FAST8_MAX): Likewise.
36943         [C99-based standards] (UINT_FAST16_MAX): Likewise.
36944         [C99-based standards] (UINT_FAST32_MAX): Likewise.
36945         [C99-based standards] (UINT_FAST64_MAX): Likewise.
36946         [C99-based standards] (INTPTR_MIN): Likewise.
36947         [C99-based standards] (INTPTR_MAX): Likewise.
36948         [C99-based standards] (UINTPTR_MAX): Likewise.
36949         [C99-based standards] (INTMAX_MIN): Likewise.
36950         [C99-based standards] (INTMAX_MAX): Likewise.
36951         [C99-based standards] (UINTMAX_MAX): Likewise.
36952         [C99-based standards] (PTRDIFF_MIN): Likewise.
36953         [C99-based standards] (PTRDIFF_MAX): Likewise.
36954         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36955         [C99-based standards] (SIZE_MAX): Likewise.
36956         [C99-based standards] (WCHAR_MAX): Likewise.
36957         [C99-based standards] (WINT_MAX): Likewise.
36958         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
36959         constraint on value.
36960         [C99-based standards] (WCHAR_MIN): Likewise.
36961         [C99-based standards] (WINT_MIN): Likewise.
36962         [C99-based standards] (*_t): Allow.
36963         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36964         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36965         Include math.h-data and complex.h-data.  Remove all expectations
36966         of math.h and complex.h contents.
36967         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36968         at end of line.
36969         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36970         (struct tm): Expect tag.
36971         [C99-based-standards] (wcstof): Expect function.
36972         [C99-based-standards] (wcstold): Likewise.
36973         [C99-based-standards] (wcstoll): Likewise.
36974         [C99-based-standards] (wcstoull): Likewise.
36975         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36976         macro-int-constant.  Specify type.
36977         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
36978         constraint on value.
36979         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36980         Specify type.
36981         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36982         Specify value.
36983         [ISO C standards]: Do not allow headers.
36984         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36985         wcs[abcdefghijklmnopqrstuvwxyz]*.
36986         [ISO C standards] (*_t): Do not allow.
36987         * conform/data/wctype.h-data [C99-based standards] (iswblank):
36988         Expect function.
36989         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36990         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36991         Specify type.
36992         [ISO C standards]: Do not allow headers.
36993         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36994         is[abcdefghijklmnopqrstuvwxyz]*.
36995         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36996         to[abcdefghijklmnopqrstuvwxyz]*.
36997         [ISO C standards] (*_t): Do not allow.
36998         * conform/data/stdalign.h-data: New file.
36999         * conform/data/stdbool.h-data: Likewise.
37000         * conform/data/stdnoreturn.h-data: Likewise.
37002 2012-11-07  Roland McGrath  <roland@hack.frob.com>
37004         [BZ #14815]
37005         * manual/filesys.texi (Directory Entries): Typo fix.
37006         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37008 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37010         * elf/elf.h (EM_AARCH64): New macro.
37011         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37012         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37013         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37014         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37015         (R_AARCH64_TLSDESC): Likewise.
37016         (NT_ARM_TLS): Likewise.
37017         (NT_ARM_HW_BREAK): Likewise.
37018         (NT_ARM_HW_WATCH): Likewise.
37020 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37022         [BZ #14811]
37023         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37024         (__ieee754_powl): Saturate nonzero exponents with absolute value
37025         below 0x1p-79 to +/- 0x1p-79.
37026         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37027         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37028         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37029         nonzero exponents with absolute value below 0x1p-32 to +/-
37030         0x1p-32.
37031         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37032         (__ieee754_powl): Saturate nonzero exponents with absolute value
37033         below 0x1p-79 to +/- 0x1p-79.
37034         * math/libm-test.inc (pow_test): Add more tests.
37036 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37038         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37039         _dl_s390_cap_flags with kernel. Increase string length.
37040         (_dl_s390_platforms): Add z196 and zEC12.
37042 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37044         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37045         Change XOPEN21K to XOPEN2K.
37047 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
37049         * string/memmove.c: Use memcpy when possible.
37051 2012-11-06  Andreas Jaeger  <aj@suse.de>
37053         * po/eo.po: Update from translation team.
37055 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
37057         [BZ #14793]
37058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37059         exponent and small x and y exponents, scale x or y up.  Increase
37060         by 2 the exponent used in scaling up.
37061         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37062         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37063         * math/libm-test.inc (fma_test): Add more tests.
37064         (fma_test_towardzero): Likewise.
37065         (fma_test_downward): Likewise.
37066         (fma_test_upward): Likewise.
37068 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
37070         [BZ #14805]
37071         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37072         fenv_t *.
37074         [BZ #14801]
37075         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37076         namespace for names of struct fields.
37077         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37078         fenv_t fields.
37079         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37080         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37082 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37084         [BZ #3665]
37085         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37087 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
37089         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37090         PTR_DEMANGLE.
37092         [BZ #5246]
37093         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37094         PTR_DEMANGLE.
37096 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
37098         [BZ #14797]
37099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37100         definitely overflow as x * y not x * y + z.
37101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37103         * math/libm-test.inc (fma_test): Add more tests.
37104         (fma_test_towardzero): Likewise.
37105         (fma_test_downward): Likewise.
37106         (fma_test_upward): Likewise.
37108 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
37110         [BZ #157]
37112         * include/stub-tag.h: Remove file.
37113         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
37114         '#include' of it.
37115         * manual/maint.texi (Porting): Don't reference it.
37116         * Makerules ($(objpfx)stubs): Likewise.
37117         * dirent/closedir.c: Don't include <stub-tag.h>.
37118         * dirent/dirfd.c: Likewise.
37119         * dirent/fdopendir.c: Likewise.
37120         * dirent/getdents.c: Likewise.
37121         * dirent/getdents64.c: Likewise.
37122         * dirent/opendir.c: Likewise.
37123         * dirent/readdir.c: Likewise.
37124         * dirent/readdir64.c: Likewise.
37125         * dirent/readdir64_r.c: Likewise.
37126         * dirent/readdir_r.c: Likewise.
37127         * dirent/rewinddir.c: Likewise.
37128         * dirent/seekdir.c: Likewise.
37129         * dirent/telldir.c: Likewise.
37130         * gmon/profil.c: Likewise.
37131         * grp/setgroups.c: Likewise.
37132         * inet/if_index.c: Likewise.
37133         * io/access.c: Likewise.
37134         * io/chdir.c: Likewise.
37135         * io/chmod.c: Likewise.
37136         * io/chown.c: Likewise.
37137         * io/close.c: Likewise.
37138         * io/dup.c: Likewise.
37139         * io/dup2.c: Likewise.
37140         * io/dup3.c: Likewise.
37141         * io/euidaccess.c: Likewise.
37142         * io/faccessat.c: Likewise.
37143         * io/fchdir.c: Likewise.
37144         * io/fchmod.c: Likewise.
37145         * io/fchmodat.c: Likewise.
37146         * io/fchown.c: Likewise.
37147         * io/fchownat.c: Likewise.
37148         * io/fcntl.c: Likewise.
37149         * io/flock.c: Likewise.
37150         * io/fstatfs.c: Likewise.
37151         * io/fstatfs64.c: Likewise.
37152         * io/fstatvfs.c: Likewise.
37153         * io/fstatvfs64.c: Likewise.
37154         * io/futimens.c: Likewise.
37155         * io/fxstat.c: Likewise.
37156         * io/fxstat64.c: Likewise.
37157         * io/fxstatat.c: Likewise.
37158         * io/fxstatat64.c: Likewise.
37159         * io/getcwd.c: Likewise.
37160         * io/isatty.c: Likewise.
37161         * io/lchmod.c: Likewise.
37162         * io/lchown.c: Likewise.
37163         * io/link.c: Likewise.
37164         * io/linkat.c: Likewise.
37165         * io/lseek.c: Likewise.
37166         * io/lseek64.c: Likewise.
37167         * io/lxstat64.c: Likewise.
37168         * io/mkdir.c: Likewise.
37169         * io/mkdirat.c: Likewise.
37170         * io/mkfifo.c: Likewise.
37171         * io/mkfifoat.c: Likewise.
37172         * io/open.c: Likewise.
37173         * io/open64.c: Likewise.
37174         * io/openat.c: Likewise.
37175         * io/openat64.c: Likewise.
37176         * io/pipe.c: Likewise.
37177         * io/pipe2.c: Likewise.
37178         * io/poll.c: Likewise.
37179         * io/posix_fadvise.c: Likewise.
37180         * io/posix_fadvise64.c: Likewise.
37181         * io/posix_fallocate.c: Likewise.
37182         * io/posix_fallocate64.c: Likewise.
37183         * io/read.c: Likewise.
37184         * io/readlink.c: Likewise.
37185         * io/readlinkat.c: Likewise.
37186         * io/rmdir.c: Likewise.
37187         * io/sendfile.c: Likewise.
37188         * io/sendfile64.c: Likewise.
37189         * io/statfs.c: Likewise.
37190         * io/statfs64.c: Likewise.
37191         * io/statvfs.c: Likewise.
37192         * io/statvfs64.c: Likewise.
37193         * io/symlink.c: Likewise.
37194         * io/symlinkat.c: Likewise.
37195         * io/ttyname.c: Likewise.
37196         * io/ttyname_r.c: Likewise.
37197         * io/umask.c: Likewise.
37198         * io/unlink.c: Likewise.
37199         * io/unlinkat.c: Likewise.
37200         * io/utime.c: Likewise.
37201         * io/utimensat.c: Likewise.
37202         * io/write.c: Likewise.
37203         * io/xmknod.c: Likewise.
37204         * io/xmknodat.c: Likewise.
37205         * io/xstat.c: Likewise.
37206         * io/xstat64.c: Likewise.
37207         * login/getpt.c: Likewise.
37208         * login/grantpt.c: Likewise.
37209         * login/unlockpt.c: Likewise.
37210         * math/e_acoshl.c: Likewise.
37211         * math/e_acosl.c: Likewise.
37212         * math/e_asinl.c: Likewise.
37213         * math/e_atan2l.c: Likewise.
37214         * math/e_atanhl.c: Likewise.
37215         * math/e_coshl.c: Likewise.
37216         * math/e_expl.c: Likewise.
37217         * math/e_fmodl.c: Likewise.
37218         * math/e_gammal_r.c: Likewise.
37219         * math/e_hypotl.c: Likewise.
37220         * math/e_j0l.c: Likewise.
37221         * math/e_j1l.c: Likewise.
37222         * math/e_jnl.c: Likewise.
37223         * math/e_lgammal_r.c: Likewise.
37224         * math/e_log10l.c: Likewise.
37225         * math/e_log2l.c: Likewise.
37226         * math/e_logl.c: Likewise.
37227         * math/e_powl.c: Likewise.
37228         * math/e_rem_pio2l.c: Likewise.
37229         * math/e_sinhl.c: Likewise.
37230         * math/e_sqrtl.c: Likewise.
37231         * math/fclrexcpt.c: Likewise.
37232         * math/fedisblxcpt.c: Likewise.
37233         * math/feenablxcpt.c: Likewise.
37234         * math/fegetenv.c: Likewise.
37235         * math/fegetexcept.c: Likewise.
37236         * math/fegetround.c: Likewise.
37237         * math/feholdexcpt.c: Likewise.
37238         * math/fesetenv.c: Likewise.
37239         * math/fesetround.c: Likewise.
37240         * math/feupdateenv.c: Likewise.
37241         * math/fgetexcptflg.c: Likewise.
37242         * math/fraiseexcpt.c: Likewise.
37243         * math/fsetexcptflg.c: Likewise.
37244         * math/ftestexcept.c: Likewise.
37245         * math/k_cosl.c: Likewise.
37246         * math/k_rem_pio2l.c: Likewise.
37247         * math/k_sinl.c: Likewise.
37248         * math/k_tanl.c: Likewise.
37249         * math/s_asinhl.c: Likewise.
37250         * math/s_atanl.c: Likewise.
37251         * math/s_cbrtl.c: Likewise.
37252         * math/s_erfl.c: Likewise.
37253         * math/s_expm1l.c: Likewise.
37254         * math/s_log1pl.c: Likewise.
37255         * math/s_tanhl.c: Likewise.
37256         * misc/acct.c: Likewise.
37257         * misc/brk.c: Likewise.
37258         * misc/chflags.c: Likewise.
37259         * misc/chroot.c: Likewise.
37260         * misc/fchflags.c: Likewise.
37261         * misc/fgetxattr.c: Likewise.
37262         * misc/flistxattr.c: Likewise.
37263         * misc/fremovexattr.c: Likewise.
37264         * misc/fsetxattr.c: Likewise.
37265         * misc/fsync.c: Likewise.
37266         * misc/ftruncate.c: Likewise.
37267         * misc/futimes.c: Likewise.
37268         * misc/futimesat.c: Likewise.
37269         * misc/getdomain.c: Likewise.
37270         * misc/getdtsz.c: Likewise.
37271         * misc/gethostid.c: Likewise.
37272         * misc/gethostname.c: Likewise.
37273         * misc/getloadavg.c: Likewise.
37274         * misc/getpagesize.c: Likewise.
37275         * misc/getsysstats.c: Likewise.
37276         * misc/getxattr.c: Likewise.
37277         * misc/gtty.c: Likewise.
37278         * misc/ioctl.c: Likewise.
37279         * misc/lgetxattr.c: Likewise.
37280         * misc/listxattr.c: Likewise.
37281         * misc/llistxattr.c: Likewise.
37282         * misc/lremovexattr.c: Likewise.
37283         * misc/lsetxattr.c: Likewise.
37284         * misc/lutimes.c: Likewise.
37285         * misc/madvise.c: Likewise.
37286         * misc/mincore.c: Likewise.
37287         * misc/mlock.c: Likewise.
37288         * misc/mlockall.c: Likewise.
37289         * misc/mmap.c: Likewise.
37290         * misc/mprotect.c: Likewise.
37291         * misc/msync.c: Likewise.
37292         * misc/munlock.c: Likewise.
37293         * misc/munlockall.c: Likewise.
37294         * misc/munmap.c: Likewise.
37295         * misc/preadv.c: Likewise.
37296         * misc/preadv64.c: Likewise.
37297         * misc/ptrace.c: Likewise.
37298         * misc/pwritev.c: Likewise.
37299         * misc/pwritev64.c: Likewise.
37300         * misc/readv.c: Likewise.
37301         * misc/reboot.c: Likewise.
37302         * misc/remap_file_pages.c: Likewise.
37303         * misc/removexattr.c: Likewise.
37304         * misc/revoke.c: Likewise.
37305         * misc/select.c: Likewise.
37306         * misc/setdomain.c: Likewise.
37307         * misc/setegid.c: Likewise.
37308         * misc/seteuid.c: Likewise.
37309         * misc/sethostid.c: Likewise.
37310         * misc/sethostname.c: Likewise.
37311         * misc/setregid.c: Likewise.
37312         * misc/setreuid.c: Likewise.
37313         * misc/setxattr.c: Likewise.
37314         * misc/sstk.c: Likewise.
37315         * misc/stty.c: Likewise.
37316         * misc/swapoff.c: Likewise.
37317         * misc/swapon.c: Likewise.
37318         * misc/sync.c: Likewise.
37319         * misc/syncfs.c: Likewise.
37320         * misc/syscall.c: Likewise.
37321         * misc/truncate.c: Likewise.
37322         * misc/ualarm.c: Likewise.
37323         * misc/usleep.c: Likewise.
37324         * misc/ustat.c: Likewise.
37325         * misc/utimes.c: Likewise.
37326         * misc/vhangup.c: Likewise.
37327         * misc/writev.c: Likewise.
37328         * posix/_exit.c: Likewise.
37329         * posix/alarm.c: Likewise.
37330         * posix/execve.c: Likewise.
37331         * posix/fexecve.c: Likewise.
37332         * posix/fork.c: Likewise.
37333         * posix/fpathconf.c: Likewise.
37334         * posix/getaddrinfo.c: Likewise.
37335         * posix/getegid.c: Likewise.
37336         * posix/geteuid.c: Likewise.
37337         * posix/getgid.c: Likewise.
37338         * posix/getgroups.c: Likewise.
37339         * posix/getlogin.c: Likewise.
37340         * posix/getlogin_r.c: Likewise.
37341         * posix/getpgid.c: Likewise.
37342         * posix/getpid.c: Likewise.
37343         * posix/getppid.c: Likewise.
37344         * posix/getresgid.c: Likewise.
37345         * posix/getresuid.c: Likewise.
37346         * posix/getsid.c: Likewise.
37347         * posix/getuid.c: Likewise.
37348         * posix/glob64.c: Likewise.
37349         * posix/nanosleep.c: Likewise.
37350         * posix/pathconf.c: Likewise.
37351         * posix/pause.c: Likewise.
37352         * posix/posix_madvise.c: Likewise.
37353         * posix/pread.c: Likewise.
37354         * posix/pread64.c: Likewise.
37355         * posix/pwrite.c: Likewise.
37356         * posix/pwrite64.c: Likewise.
37357         * posix/sched_getaffinity.c: Likewise.
37358         * posix/sched_getp.c: Likewise.
37359         * posix/sched_gets.c: Likewise.
37360         * posix/sched_primax.c: Likewise.
37361         * posix/sched_primin.c: Likewise.
37362         * posix/sched_rr_gi.c: Likewise.
37363         * posix/sched_setaffinity.c: Likewise.
37364         * posix/sched_setp.c: Likewise.
37365         * posix/sched_sets.c: Likewise.
37366         * posix/sched_yield.c: Likewise.
37367         * posix/setgid.c: Likewise.
37368         * posix/setlogin.c: Likewise.
37369         * posix/setpgid.c: Likewise.
37370         * posix/setresgid.c: Likewise.
37371         * posix/setresuid.c: Likewise.
37372         * posix/setsid.c: Likewise.
37373         * posix/setuid.c: Likewise.
37374         * posix/sleep.c: Likewise.
37375         * posix/spawni.c: Likewise.
37376         * posix/sysconf.c: Likewise.
37377         * posix/times.c: Likewise.
37378         * posix/wait.c: Likewise.
37379         * posix/wait3.c: Likewise.
37380         * posix/wait4.c: Likewise.
37381         * posix/waitpid.c: Likewise.
37382         * resolv/gai_sigqueue.c: Likewise.
37383         * resource/getpriority.c: Likewise.
37384         * resource/getrlimit.c: Likewise.
37385         * resource/getrusage.c: Likewise.
37386         * resource/nice.c: Likewise.
37387         * resource/setpriority.c: Likewise.
37388         * resource/setrlimit.c: Likewise.
37389         * resource/ulimit.c: Likewise.
37390         * rt/aio_cancel.c: Likewise.
37391         * rt/aio_fsync.c: Likewise.
37392         * rt/aio_read.c: Likewise.
37393         * rt/aio_sigqueue.c: Likewise.
37394         * rt/aio_suspend.c: Likewise.
37395         * rt/aio_write.c: Likewise.
37396         * rt/clock_getres.c: Likewise.
37397         * rt/clock_gettime.c: Likewise.
37398         * rt/clock_nanosleep.c: Likewise.
37399         * rt/clock_settime.c: Likewise.
37400         * rt/lio_listio.c: Likewise.
37401         * rt/mq_close.c: Likewise.
37402         * rt/mq_getattr.c: Likewise.
37403         * rt/mq_notify.c: Likewise.
37404         * rt/mq_open.c: Likewise.
37405         * rt/mq_receive.c: Likewise.
37406         * rt/mq_send.c: Likewise.
37407         * rt/mq_setattr.c: Likewise.
37408         * rt/mq_timedreceive.c: Likewise.
37409         * rt/mq_timedsend.c: Likewise.
37410         * rt/mq_unlink.c: Likewise.
37411         * rt/shm_open.c: Likewise.
37412         * rt/shm_unlink.c: Likewise.
37413         * rt/timer_create.c: Likewise.
37414         * rt/timer_delete.c: Likewise.
37415         * rt/timer_getoverr.c: Likewise.
37416         * rt/timer_gettime.c: Likewise.
37417         * rt/timer_settime.c: Likewise.
37418         * setjmp/__longjmp.c: Likewise.
37419         * setjmp/setjmp.c: Likewise.
37420         * signal/kill.c: Likewise.
37421         * signal/killpg.c: Likewise.
37422         * signal/raise.c: Likewise.
37423         * signal/sigaction.c: Likewise.
37424         * signal/sigaltstack.c: Likewise.
37425         * signal/sigblock.c: Likewise.
37426         * signal/sigignore.c: Likewise.
37427         * signal/sigintr.c: Likewise.
37428         * signal/signal.c: Likewise.
37429         * signal/sigpause.c: Likewise.
37430         * signal/sigpending.c: Likewise.
37431         * signal/sigqueue.c: Likewise.
37432         * signal/sigreturn.c: Likewise.
37433         * signal/sigset.c: Likewise.
37434         * signal/sigsetmask.c: Likewise.
37435         * signal/sigstack.c: Likewise.
37436         * signal/sigsuspend.c: Likewise.
37437         * signal/sigtimedwait.c: Likewise.
37438         * signal/sigvec.c: Likewise.
37439         * signal/sigwait.c: Likewise.
37440         * signal/sigwaitinfo.c: Likewise.
37441         * signal/sysv_signal.c: Likewise.
37442         * socket/accept.c: Likewise.
37443         * socket/accept4.c: Likewise.
37444         * socket/bind.c: Likewise.
37445         * socket/connect.c: Likewise.
37446         * socket/getpeername.c: Likewise.
37447         * socket/getsockname.c: Likewise.
37448         * socket/getsockopt.c: Likewise.
37449         * socket/isfdtype.c: Likewise.
37450         * socket/listen.c: Likewise.
37451         * socket/recv.c: Likewise.
37452         * socket/recvfrom.c: Likewise.
37453         * socket/recvmsg.c: Likewise.
37454         * socket/send.c: Likewise.
37455         * socket/sendmsg.c: Likewise.
37456         * socket/sendto.c: Likewise.
37457         * socket/setsockopt.c: Likewise.
37458         * socket/shutdown.c: Likewise.
37459         * socket/sockatmark.c: Likewise.
37460         * socket/socket.c: Likewise.
37461         * socket/socketpair.c: Likewise.
37462         * stdio-common/ctermid.c: Likewise.
37463         * stdio-common/cuserid.c: Likewise.
37464         * stdio-common/remove.c: Likewise.
37465         * stdio-common/rename.c: Likewise.
37466         * stdio-common/renameat.c: Likewise.
37467         * stdio-common/tempname.c: Likewise.
37468         * stdlib/getcontext.c: Likewise.
37469         * stdlib/makecontext.c: Likewise.
37470         * stdlib/setcontext.c: Likewise.
37471         * stdlib/swapcontext.c: Likewise.
37472         * stdlib/system.c: Likewise.
37473         * streams/fattach.c: Likewise.
37474         * streams/fdetach.c: Likewise.
37475         * streams/getmsg.c: Likewise.
37476         * streams/getpmsg.c: Likewise.
37477         * streams/putmsg.c: Likewise.
37478         * streams/putpmsg.c: Likewise.
37479         * sysdeps/unix/bsd/getpt.c: Likewise.
37480         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37481         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37482         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37484         Likewise.
37485         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37486         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37487         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37488         * sysvipc/msgctl.c: Likewise.
37489         * sysvipc/msgget.c: Likewise.
37490         * sysvipc/msgrcv.c: Likewise.
37491         * sysvipc/msgsnd.c: Likewise.
37492         * sysvipc/semctl.c: Likewise.
37493         * sysvipc/semget.c: Likewise.
37494         * sysvipc/semop.c: Likewise.
37495         * sysvipc/semtimedop.c: Likewise.
37496         * sysvipc/shmat.c: Likewise.
37497         * sysvipc/shmctl.c: Likewise.
37498         * sysvipc/shmdt.c: Likewise.
37499         * sysvipc/shmget.c: Likewise.
37500         * termios/tcdrain.c: Likewise.
37501         * termios/tcflow.c: Likewise.
37502         * termios/tcflush.c: Likewise.
37503         * termios/tcgetattr.c: Likewise.
37504         * termios/tcgetpgrp.c: Likewise.
37505         * termios/tcsendbrk.c: Likewise.
37506         * termios/tcsetattr.c: Likewise.
37507         * termios/tcsetpgrp.c: Likewise.
37508         * time/adjtime.c: Likewise.
37509         * time/clock.c: Likewise.
37510         * time/getitimer.c: Likewise.
37511         * time/gettimeofday.c: Likewise.
37512         * time/setitimer.c: Likewise.
37513         * time/settimeofday.c: Likewise.
37514         * time/stime.c: Likewise.
37515         * time/time.c: Likewise.
37517 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
37519         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37520         /usr/old/bin.
37522         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37523         instead of spaces.
37524         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37526 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
37528         [BZ #14796]
37529         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37530         FE_TONEAREST before applying Dekker multiplication and Knuth
37531         addition.  Clear inexact exceptions and check for exact zero
37532         results afterwards.
37533         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37534         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37535         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37536         * math/libm-test.inc (fma_test): Add more tests.
37537         (fma_test_towardzero): Likewise.
37538         (fma_test_downward): Likewise.
37539         (fma_test_upward): Likewise.
37540         * sysdeps/generic/math_private.h (default_libc_fesetround): New
37541         function.
37542         (libc_fesetround): New macro.
37543         (libc_fesetroundf): Likewise.
37544         (libc_fesetroundl): Likewise.
37545         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37546         function.
37547         (libc_fesetround_387): Likewise.
37548         (libc_fesetroundf): New macro.
37549         (libc_fesetround): Likewise.
37550         (libc_fesetroundl): Likewise.
37551         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37552         function.
37553         (libc_fesetroundf): New macro.
37554         (libc_fesetround): Likewise.
37555         (libc_fesetroundl): Likewise.
37556         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37557         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37558         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37559         libm_hidden_ver.
37560         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37561         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37562         libm_hidden_def.
37563         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37564         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37565         libm_hidden_ver.
37566         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37567         libm_hidden_def.
37569         [BZ #3439]
37570         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37571         integer constant usable in #if and use that to give value to enum
37572         constant.
37573         (FE_DIVBYZERO): Likewise.
37574         (FE_UNDERFLOW): Likewise.
37575         (FE_OVERFLOW): Likewise.
37576         (FE_INVALID): Likewise.
37577         (FE_INVALID_SNAN): Likewise.
37578         (FE_INVALID_ISI): Likewise.
37579         (FE_INVALID_IDI): Likewise.
37580         (FE_INVALID_ZDZ): Likewise.
37581         (FE_INVALID_IMZ): Likewise.
37582         (FE_INVALID_COMPARE): Likewise.
37583         (FE_INVALID_SOFTWARE): Likewise.
37584         (FE_INVALID_SQRT): Likewise.
37585         (FE_INVALID_INTEGER_CONVERSION): Likewise.
37586         (FE_TONEAREST): Likewise.
37587         (FE_TOWARDZERO): Likewise.
37588         (FE_UPWARD): Likewise.
37589         (FE_DOWNWARD): Likewise.
37590         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37591         (FE_DIVBYZERO): Likewise.
37592         (FE_OVERFLOW): Likewise.
37593         (FE_UNDERFLOW): Likewise.
37594         (FE_INEXACT): Likewise.
37595         (FE_TONEAREST): Likewise.
37596         (FE_DOWNWARD): Likewise.
37597         (FE_UPWARD): Likewise.
37598         (FE_TOWARDZERO): Likewise.
37599         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37600         (FE_UNDERFLOW): Likewise.
37601         (FE_OVERFLOW): Likewise.
37602         (FE_DIVBYZERO): Likewise.
37603         (FE_INVALID): Likewise.
37604         (FE_TONEAREST): Likewise.
37605         (FE_TOWARDZERO): Likewise.
37606         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37607         (FE_OVERFLOW): Likewise.
37608         (FE_UNDERFLOW): Likewise.
37609         (FE_DIVBYZERO): Likewise.
37610         (FE_INEXACT): Likewise.
37611         (FE_TONEAREST): Likewise.
37612         (FE_TOWARDZERO): Likewise.
37613         (FE_UPWARD): Likewise.
37614         (FE_DOWNWARD): Likewise.
37615         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37616         (FE_DIVBYZERO): Likewise.
37617         (FE_OVERFLOW): Likewise.
37618         (FE_UNDERFLOW): Likewise.
37619         (FE_INEXACT): Likewise.
37620         (FE_TONEAREST): Likewise.
37621         (FE_DOWNWARD): Likewise.
37622         (FE_UPWARD): Likewise.
37623         (FE_TOWARDZERO): Likewise.
37625 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
37627         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37629 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
37631         * scripts/cross-test-ssh.sh (command): Use newlines to separate
37632         commands.  Quote $PWD.
37633         (blacklist_exports): Don't use remove_newlines.  Replace "declare
37634         -x" by "export".
37635         (remove_newlines): Remove.
37637 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
37639         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37640         * stdlib/stdlib.h (atof): Moved to ...
37641         * include/bits/stdlib-float.h: Here.  New file.
37642         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37643         * stdlib/bits/stdlib-float.h: New file.
37644         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37645         -mno-sse -mno-mmx.
37646         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37647         <xmmintrin.h>.
37649 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37651         * conform/conformtest.pl (@headers): Add fenv.h.
37652         * conform/data/fenv.h-data: New file.
37653         * include/fenv.h [_ISOMAC]: Disable all contents of file except
37654         include of <math/fenv.h>.
37656         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37657         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37658         && !UNIX98].  Enables tests for XOPEN2K8.
37659         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37660         POSIX2008]: Likewise.
37662         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37663         (struct rusage): Do not expect type or its members.
37665         [BZ #3439]
37666         * math/math.h (FP_NAN): Define macro to integer constant usable in
37667         #if and use that to give value to enum constant.
37668         (FP_INFINITE): Likewise.
37669         (FP_ZERO): Likewise.
37670         (FP_SUBNORMAL): Likewise.
37671         (FP_NORMAL): Likewise.
37673 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
37675         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37676         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37677         arguments.
37679 2012-11-02  Roland McGrath  <roland@hack.frob.com>
37681         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37682         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37683         autoconf-time if not.
37684         * configure.in: Remove AC_PREREQ.
37686 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37688         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37689         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37690         of the internal implementation.
37692 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37694         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37695         except include of <misc/sys/syslog.h>.
37697 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37700         function returns with a NULL context exit with zero.
37702 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37704         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37706 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
37708         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37709         (run_program_cmd): This.
37710         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37711         (tst_langinfo): New variable.  Use it.
37713 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
37715         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37716         floating point opcodes.
37718 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37720         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37721         variable.
37723         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37725         * sysdeps/mach/hurd/powerpc: Remove directory.
37726         * sysdeps/mach/powerpc: Likewise.
37728 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37730         * scripts/check-local-headers.sh: Ignore c++ headers.
37732 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37734         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37735         __libc_cleanup_region_start argument.
37737 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
37739         [BZ #14784]
37740         [BZ #14785]
37741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37742         x * y using scaling, not as x * y + z.
37743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37744         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37745         * math/libm-test.inc (fma_test): Add more tests.
37746         (fma_test_towardzero): Likewise.
37747         (fma_test_downward): Likewise.
37748         (fma_test_upward): Likewise.
37750 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37752         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37754 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37756         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37757         New variable.
37759 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
37761         * rt/tst-shm.c (worker): Correct checking for mmap failure.
37763 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37766         Fix sort order.
37767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37768         Likewise.
37770 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37773         Fix the order of the list for glibc 2.17.
37774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37775         Likewise.
37777 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37781 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37783         [BZ #14610]
37784         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37785         for low part of x being zero before using __atanl (y).
37786         * math/libm-test.inc (atan2_test): Add another test.
37788         * manual/install.texi (Configuring and compiling): Document
37789         general use of test-wrapper and test-wrapper-env.
37790         * INSTALL: Regenerated.
37792         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37793         (__fma): Do not extract and scale down low bits on after-rounding
37794         systems when result rounded to normal precision would have normal
37795         exponent.
37796         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37797         (__fmal): Do not extract and scale down low bits on after-rounding
37798         systems when result rounded to normal precision would have normal
37799         exponent.
37800         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37801         (__fmal): Do not extract and scale down low bits on after-rounding
37802         systems when result rounded to normal precision would have normal
37803         exponent.
37804         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37805         macro.
37806         (fma_test): Add more tests.
37807         (fma_test_towardzero): Likewise.
37808         (fma_test_downward): Likewise.
37809         (fma_test_upward): Likewise.
37811 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
37813         * sysdeps/i386/tininess.h: Renamed to ...
37814         * sysdeps/x86/tininess.h: This.
37815         * sysdeps/x86_64/tininess.h: Removed.
37817 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37819         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37820         input.  Use $(build-program-cmd).
37821         ($(objpfx)tst-array1-static.out): Likewise.
37822         ($(objpfx)tst-array2.out): Likewise.
37823         ($(objpfx)tst-array3.out): Likewise.
37824         ($(objpfx)tst-array4.out): Likewise.
37825         ($(objpfx)tst-array5.out): Likewise.
37826         ($(objpfx)tst-array5-static.out): Likewise.
37828 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
37830         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37831         if defined.
37833         * nss/nsswitch.h (nss_interface_function): Provide new
37834         macro for use with NSS functions.
37835         * grp/initgroups.c: Use new macro.
37836         * nss/getXXbyYY.c: Likewise.
37837         * nss/getXXbyYY_r.c: Likewise.
37838         * nss/getXXent.c: Likewise.
37839         * nss/getXXent_r.c: Likewise.
37840         * sysdeps/posix/getaddrinfo.c: Likewise.
37842 2012-10-30  Andreas Jaeger  <aj@suse.de>
37844         * po/ru.po: Update Russion translation from translation project.
37846 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37848         [BZ #14152]
37849         [BZ #14783]
37850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37851         result and shift together with sticky bit instead of replicating
37852         round-to-nearest rounding.
37853         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37854         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37855         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
37856         missing underflow exceptions.
37857         (fma_test_towardzero): Add more tests.
37858         (fma_test_downward): Likewise.
37859         (fma_test_upward): Likewise.
37861         [BZ #14047]
37862         * sysdeps/generic/tininess.h: New file.
37863         * sysdeps/i386/tininess.h: Likewise.
37864         * sysdeps/sh/tininess.h: Likewise.
37865         * sysdeps/x86_64/tininess.h: Likewise.
37866         * stdlib/tst-strtod-underflow.c: Likewise.
37867         * stdlib/tst-tininess.c: Likewise.
37868         * stdlib/strtod_l.c: Include <tininess.h>.
37869         (round_and_return): Do not set errno for exact underflow cases.
37870         Force an underflow exception when setting errno for underflow.
37871         Determine underflow based on rounding to normal precision if
37872         TININESS_AFTER_ROUNDING.
37873         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37874         ERANGE for exact underflow cases.
37875         * stdlib/Makefile (tests): Add tst-tininess and
37876         tst-strtod-underflow.
37877         ($(objpfx)tst-tininess): Use $(link-libm).
37878         ($(objpfx)tst-strtod-underflow): Likewise.
37880 2012-10-30  Andreas Jaeger  <aj@suse.de>
37882         [BZ#14767]
37883         * elf/Makefile (tests): Remove conditional for have-initfini-array
37884         since this is now always required and the variable does not exist
37885         anymore.
37886         (tests-static): Likewise.
37887         (modules-names): Likewise.
37889         * po/eo.po: Add Esperanto translation from translation project.
37891         * elf/tst-array1.c (fini_array): Make writeable so that it can be
37892         merged with constructor/destructor.
37893         (init_array): Likewise.
37894         * elf/tst-array2dep.c (fini_array): Likewise.
37895         (init_array): Likewise.
37897 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
37899         * manual/message.texi: Delete @cartouche tags.
37901 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
37903         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37904         EOPNOTSUPP.
37905         * sysdeps/mach/hurd/fsync.c: Likewise.
37907         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37908         [_POSIX_REALTIME_SIGNALS]: Change condition to
37909         [_POSIX_REALTIME_SIGNALS > 0].
37911 2012-10-27  Andreas Jaeger  <aj@suse.de>
37913         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37914         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37915         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37916         [__WORDSIZE != 64]: Likewise.
37918 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
37920         *  iconvdata/tst-table.sh: Remove ${SHELL}.
37921         *  iconvdata/tst-tables.sh: Likewise.
37923 2012-10-25  David S. Miller  <davem@davemloft.net>
37925         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37926         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37927         of strtoull.
37929         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37930         ifunc-impl-list.c
37931         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37932         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37933         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37934         file.
37936 2012-10-25  Roland McGrath  <roland@hack.frob.com>
37938         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37939         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37940         __getdirentries.
37942 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37943             Jim Blandy  <jimb@codesourcery.com>
37945         * scripts/cross-test-ssh.sh: New file.
37946         * manual/install.texi (Configuring and compiling): Document use of
37947         cross-test-ssh.sh.
37948         * INSTALL: Regenerated.
37950 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
37952         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37953         EOPNOTSUPP.
37955 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37957         * Makeconfig (run-program-prefix): Fix comment.
37959 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37960             Jim Blandy  <jimb@codesourcery.com>
37962         * Makeconfig (test-wrapper): New variable,
37963         (test-wrapper-env): Likewise.
37964         [$(cross-compiling) = yes && $(test-wrapper) != ""]
37965         (run-built-tests): Define to yes.
37966         (run-program-prefix): Use $(test-wrapper).
37967         (built-program-cmd): Likewise.
37968         * Rules (make-test-out): Use $(test-wrapper-env) and
37969         $(host-built-program-cmd).
37970         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37971         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37972         tst-pathopt.sh.
37973         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37974         $(test-wrapper-env) to tst-rtld-load-self.sh.
37975         ($(objpfx)order2.out): Use $(test-wrapper).
37976         ($(objpfx)tst-initorder.out): Likewise.
37977         ($(objpfx)tst-initorder2.out): Likewise.
37978         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37979         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37980         (test_wrapper_env): New variable.  Use it to run ld.so.
37981         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37982         Use it to run ld.so.
37983         (test_wrapper_env): Likewise.
37984         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37985         $(test-wrapper) to run-iconv-test.sh.
37986         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37987         (ICONV): Use $test_wrapper.
37988         * posix/Makefile ($(objpfx)globtest.out): Pass
37989         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37990         globtest.sh, not $(run-program-prefix).
37991         * posix/globtest.sh (run_via_rtld_prefix): New variable.
37992         (test_wrapper): Likewise.
37993         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
37994         set together with run_via_rtld_prefix.
37995         (run_program_prefix): Define in terms of test_wrapper and
37996         run_via_rtld_prefix.
37998 2012-10-24  Roland McGrath  <roland@hack.frob.com>
38000         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38001         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38002         Targets removed.
38004         [BZ #14743]
38005         * include/time.h: Remove librt_hidden_proto (clock_gettime).
38006         Declare __clock_getres, __clock_gettime, __clock_settime,
38007         __clock_nanosleep, and __clock_getcpuclockid.
38008         * rt/clock_gettime.c: Define __clock_gettime as an alias.
38009         Remove librt_hidden_def (clock_gettime).
38010         * sysdeps/unix/clock_gettime.c: Likewise.
38011         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38012         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38013         * rt/clock_getres.c: Define __clock_getres as an alias.
38014         * sysdeps/posix/clock_getres.c: Likewise.
38015         * rt/clock_settime.c: Define __clock_settime as an alias.
38016         * sysdeps/unix/clock_settime.c: Likewise.
38017         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38018         * sysdeps/unix/clock_nanosleep.c: Likewise.
38019         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38020         * rt/clock-compat.c: New file.
38021         * rt/Makefile (librt-routines): Add clock-compat and move
38022         $(clock-routines) to ...
38023         (routines): ... here, new variable.
38024         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38025         Don't add get_clockfreq here.
38026         * rt/Versions (libc: GLIBC_2.17): New version set.
38027         Add clock_* symbols here.
38028         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
38029         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38030         (GLIBC_2.17): Add clock_* symbols.
38031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38033         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38035         Likewise.
38036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38037         Likewise.
38038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38042         * NEWS: Mention the move.
38044         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38045         Use __open, __read, __close rather than their public counterparts.
38046         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38047         (__get_clockfreq_via_cpuinfo): Likewise.
38048         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38049         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38051         * config.h.in (HAVE_IFUNC): New #undef.
38052         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38053         was successful.
38054         * configure: Regenerated.
38056 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
38058         * configure.in: Move READELF check to start of file.
38059         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38060         libc_cv_asm_gnu_indirect_function in the process.
38061         * configure: Regenerated.
38063 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
38065         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38066         send the output to /dev/null.
38067         (libc_cv_cc_with_libunwind): Likewise.
38068         (libc_cv_as_noexecstack): Likewise.
38069         * configure: Regenerate.
38071 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
38073         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38075         * posix/globtest.sh (TMPDIR): Do not set.
38076         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38077         (testout): Likewise.
38079 2012-10-24  Andreas Jaeger  <aj@suse.de>
38081         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38082         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38083         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38084         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38085         posix_fadvise64, posix_fallocate64.
38087         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38088         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38089         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38090         Likewise.
38091         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38092         Likewise.
38093         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38095         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38096         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38097         <bits/fcntl-linux.h>.
38098         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38100         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38101         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38102         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38103         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38104         [__WORDSIZE != 64]: Likewise.
38106 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
38108         * Makeconfig (run-built-tests): New variable.
38109         * Rules [$(cross-compiling) = yes]: Change condition to
38110         [$(run-built-tests) = no].
38111         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
38112         to [$(run-built-tests) = yes].
38113         * elf/Makefile [$(cross-compiling) = no]: Likewise
38114         * grp/Makefile [$(cross-compiling) = no]: Likewise.
38115         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
38116         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
38117         * intl/Makefile [$(cross-compiling) = no]: Likewise.
38118         * io/Makefile [$(cross-compiling) = no]: Likewise.
38119         * libio/Makefile [$(cross-compiling) = no]: Likewise.
38120         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
38121         * misc/Makefile [$(cross-compiling) = no]: Likewise.
38122         * posix/Makefile [$(cross-compiling) = no]: Likewise.
38123         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
38124         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
38125         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
38126         * string/Makefile [$(cross-compiling) = no]: Likewise.
38128         * posix/Makefile ($(objpfx)globtest.out): Pass
38129         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
38130         $(rtld-installed-name).
38131         * posix/globtest.sh (elf_objpfx): Remove variable.
38132         (rtld_installed_name): Likewise.
38133         (library_path): Likewise.
38134         (run_program_prefix): New variable.  Use for running globtest
38135         binary.
38137 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
38138             Joseph Myers  <joseph@codesourcery.com>
38140         * Makeconfig (host-built-program-cmd): New variable.
38141         * elf/Makefile (tst-stackguard1-ARGS): Use
38142         $(host-built-program-cmd).
38143         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
38144         (tst-spawn-ARGS): Likewise.
38145         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
38147 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
38148             Jim Blandy  <jimb@codesourcery.com>
38150         * Makeconfig (run-via-rtld-prefix): New variable.
38151         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
38152         (built-program-cmd): Likewise.
38154 2012-10-22  Andreas Jaeger  <aj@suse.de>
38156         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
38157         __O_RSYNC if it exists, otherwise to O_SYNC.
38159 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
38160             Joseph Myers  <joseph@codesourcery.com>
38162         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
38163         /dev/null.
38164         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
38165         from /dev/null
38166         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
38167         /dev/null.
38169 2012-10-22  Andreas Jaeger  <aj@suse.de>
38171         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
38172         Define always.
38173         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
38175         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38176         bits/fcntl-linux.h.
38178         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
38179         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
38181         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
38182         to __O_LARGEFILE.
38183         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
38184         to __O_LARGEFILE.
38186 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
38187             Joseph Myers  <joseph@codesourcery.com>
38189         * config.make.in (NM): New variable.
38191 2012-10-21  Andreas Jaeger  <aj@suse.de>
38193         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
38194         definitions and declarations that are provided by
38195         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38197 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
38199         [BZ #14683]
38200         * elf/Makefile (tests-static): Add tst-leaks1-static.
38201         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
38202         ($(objpfx)tst-leaks1-static): New rule.
38203         ($(objpfx)tst-leaks1-static-mem): Likewise.
38204         (tst-leaks1-static-ENV): New macro.
38205         * elf/dl-open.c (dl_open_worker): Check the main application
38206         only if SHARED is defined.
38207         * elf/tst-leaks1-static.c: New file.
38209 2012-10-20  Andreas Jaeger  <aj@suse.de>
38211         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
38212         generic values for Linux.
38213         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38214         and declarations that are provided by <bits/fcntl-linux.h> and
38215         include <bits/fcntl-linux.h>.
38216         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38217         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38219 2012-10-20  Roland McGrath  <roland@hack.frob.com>
38221         * io/fcntl.h: Move include of <bits/types.h> to the top and
38222         include it unconditionally.
38224 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
38226         * wcsmbs/Makefile (tests-ifunc): New variable.
38227         (tests): Add $(tests-ifunc).
38228         * wcsmbs/test-wcschr-ifunc.c: New file.
38229         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38230         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38231         * wcsmbs/test-wcslen-ifunc.c: Likewise.
38232         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38233         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38235         * string/Makefile (tests-ifunc): New variable.
38236         (tests): Add $(tests-ifunc).
38237         * string/test-memccpy.c (TEST_NAME): New macro.
38238         * string/test-memchr.c (TEST_NAME): Likewise.
38239         * string/test-memcmp.c (TEST_NAME): Likewise.
38240         * string/test-memcpy.c (TEST_NAME): Likewise.
38241         * string/test-memmem.c (TEST_NAME): Likewise.
38242         * string/test-memmove.c (TEST_NAME): Likewise.
38243         * string/test-memset.c (TEST_NAME): Likewise.
38244         * string/test-rawmemchr.c (TEST_NAME): Likewise.
38245         * string/test-stpcpy.c (TEST_NAME): Likewise.
38246         * string/test-stpncpy.c (TEST_NAME): Likewise.
38247         * string/test-strcasecmp.c (TEST_NAME): Likewise.
38248         * string/test-strcasestr.c (TEST_NAME): Likewise.
38249         * string/test-strcat.c (TEST_NAME): Likewise.
38250         * string/test-strchr.c (TEST_NAME): Likewise.
38251         * string/test-strcmp.c(TEST_NAME): Likewise.
38252         * string/test-strcpy.c (TEST_NAME): Likewise.
38253         * string/test-strcspn.c (TEST_NAME): Likewise.
38254         * string/test-strlen.c (TEST_NAME): Likewise.
38255         * string/test-strncasecmp.c (TEST_NAME): Likewise.
38256         * string/test-strncmp.c (TEST_NAME): Likewise.
38257         * string/test-strncpy.c (TEST_NAME): Likewise.
38258         * string/test-strnlen.c (TEST_NAME): Likewise.
38259         * string/test-strpbrk.c (TEST_NAME): Likewise.
38260         * string/test-strrchr.c (TEST_NAME): Likewise.
38261         * string/test-strspn.c (TEST_NAME): Likewise.
38262         * string/test-strstr.c (TEST_NAME): Likewise.
38263         * string/test-bcopy-ifunc.c: New file.
38264         * string/test-bzero-ifunc.c: Likewise.
38265         * string/test-memccpy-ifunc.c: Likewise.
38266         * string/test-memchr-ifunc.c: Likewise.
38267         * string/test-memcmp-ifunc.c: Likewise.
38268         * string/test-memcpy-ifunc.c: Likewise.
38269         * string/test-memmem-ifunc.c: Likewise.
38270         * string/test-memmove-ifunc.c: Likewise.
38271         * string/test-mempcpy-ifunc.c: Likewise.
38272         * string/test-memset-ifunc.c: Likewise.
38273         * string/test-rawmemchr-ifunc.c: Likewise.
38274         * string/test-stpcpy-ifunc.c: Likewise.
38275         * string/test-stpncpy-ifunc.c: Likewise.
38276         * string/test-strcasecmp-ifunc.c: Likewise.
38277         * string/test-strcasestr-ifunc.c: Likewise.
38278         * string/test-strcat-ifunc.c: Likewise.
38279         * string/test-strchr-ifunc.c: Likewise.
38280         * string/test-strchrnul-ifunc.c: Likewise.
38281         * string/test-strcmp-ifunc.c: Likewise.
38282         * string/test-strcpy-ifunc.c: Likewise.
38283         * string/test-strcspn-ifunc.c: Likewise.
38284         * string/test-strlen-ifunc.c: Likewise.
38285         * string/test-strncasecmp-ifunc.c: Likewise.
38286         * string/test-strncat-ifunc.c: Likewise.
38287         * string/test-strncmp-ifunc.c: Likewise.
38288         * string/test-strncpy-ifunc.c: Likewise.
38289         * string/test-strnlen-ifunc.c: Likewise.
38290         * string/test-strpbrk-ifunc.c: Likewise.
38291         * string/test-strrchr-ifunc.c: Likewise.
38292         * string/test-strspn-ifunc.c: Likewise.
38293         * string/test-strstr-ifunc.c: Likewise.
38295         * debug/Makefile (tests-ifunc): New variable.
38296         (tests): Add $(tests-ifunc).
38297         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38298         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38299         * debug/test-stpcpy_chk-ifunc.c: New file.
38300         * debug/test-strcpy_chk-ifunc.c: Likewise.
38302 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38304         [BZ #13601]
38305         * elf/dl-load.c (open_verify): Retry read if the entire ELF
38306         header is not read in.
38308 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
38310         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
38311         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
38312         directly.  Pass built executable to script as
38313         $(built-program-cmd).
38314         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
38315         $testprogram without using LD_LIBRARY_PATH and $ldso.
38317         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38318         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38319         $(rtld-installed-name).
38320         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38321         (rtld_installed_name): Likewise.
38322         (library_path): Likewise.
38323         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
38324         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38325         $(run-program-prefix) to tst-tables.sh.
38326         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
38327         it to run tst-table-from and tst-table-to.
38328         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38329         Pass it to tst-table.sh.
38330         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38331         $(run-program-prefix) to tst-gettext.sh.
38332         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38333         tst-translit.sh.
38334         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38335         tst-gettext2.sh.
38336         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
38337         to run tst-gettext.
38338         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
38339         to run tst-gettext2.
38340         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
38341         to run tst-translit.
38342         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38343         $(run-program-prefix) to tst-mtrace.sh.
38344         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
38345         to run tst-mtrace.
38346         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38347         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38348         $(rtld-installed-name).
38349         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38350         (rtld_installed_name): Likewise.
38351         (run_program_prefix): New variable.  Use it to run wordexp-test.
38353         * Makeconfig (ARCH): Remove all definitions.
38354         (machine): Likewise.
38355         [ARCH]: Remove conditional code.
38356         [!objdir]: Give error.
38357         [!objdir] (objpfx): Remove.
38358         [!objdir] (common-objpfx): Likewise.
38359         [!objdir] (common-objdir): Likewise.
38360         * configure.in (config_makefile): Remove.  Hardcode Makefile in
38361         AC_CONFIG_FILES call.
38362         * configure: Regenerated.
38364         [BZ #13888]
38365         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38366         or TMPDIR.
38367         (testout): Likewise.
38369         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38370         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38371         $(rtld-installed-name).
38372         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38373         (rtld_installed_name): Likwise.
38374         (runit): Remove function.
38375         (run_getconf): New variable,  Use it for running getconf binary.
38377 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
38379         [BZ #14716]
38380         * string/test-memmem.c (check_result): New function.
38381         (do_one_test): Use it.
38382         (check1): New function.
38383         (test_main): Use it.
38385 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
38387         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38389 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
38391         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38392         (_G_LSEEK64): Likewise.
38393         (_G_MMAP64): Likewise.
38394         (_G_FSTAT64): Likewise.
38395         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38396         (_G_LSEEK64): Likewise.
38397         (_G_MMAP64): Likewise.
38398         (_G_FSTAT64): Likewise.
38399         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38400         unconditional.  Call __mmap64 directly.
38401         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38402         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
38403         __lseek64 directly.
38404         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38405         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
38406         __mmap64 directly.
38407         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38408         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
38409         __lseek64 directly.
38410         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38411         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
38412         __lseek64 directly.
38413         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38414         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
38415         __lseek64 directly.
38416         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38417         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
38418         __fxstat64 directly.
38419         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38420         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38421         unconditional.
38422         (freopen64) [!_G_OPEN64]: Remove conditional code.
38423         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38424         unconditional.
38425         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38426         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38427         unconditional.
38428         (ftello64) [!_G_LSEEK64]: Remove conditional code.
38429         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38430         unconditional.
38431         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38432         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38433         unconditional.
38434         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38435         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38436         unconditional.
38437         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38438         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38439         unconditional.
38440         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38441         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38442         unconditional.
38443         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38445 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38447         [BZ #12140]
38448         * manual/memory.texi (Malloc Tunable Parameters): Add note
38449         about free list pointers overwriting some perturb bytes.
38450         Wording suggested by Roland McGrath.
38452 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
38454         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38455         (lgamma_test): Likewise.
38456         (tgamma_test): Likewise.
38458 2012-10-16  Florian Weimer  <fweimer@redhat.com>
38460         [BZ #14700]
38461         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38462         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38464 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
38466         * NEWS: Mention BZ #14716.
38467         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38468         when removing AVAILABLE1_USES_J macro.
38470 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
38472         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38473         (__bswap_64): __uint64_t for unsigned 64-bit int.
38475 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
38477         * include/string.h (memmem): Declare libc hidden alias.
38478         * string/memmem.c (memmem): Define libc hidden alias.
38479         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38480         __read, __close instead of open, read, close.
38482 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
38484         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38485         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38486         global and hidden.
38487         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38488         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38489         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38490         Likewise.
38491         (__rawmemchr_sse2): Likewise.
38492         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38493         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38494         (__strchr_sse2): Likewise.
38495         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38496         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38497         (__strcasecmp_sse2): Likewise.
38498         (__strncasecmp_sse2): Likewise.
38499         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38500         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38501         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38502         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38503         (__strrchr_sse2): Likewise.
38504         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38505         ifunc-impl-list.c.
38506         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38507         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38508         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38509         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38510         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38511         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38512         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38513         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38514         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38515         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38516         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38517         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38518         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38519         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38520         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38521         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38522         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38523         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38524         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38525         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38526         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38527         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38528         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38529         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38530         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38531         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38532         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38533         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38534         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38535         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38537         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38538         global and hidden.
38539         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38540         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38541         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38542         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38543         Likewise.
38544         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38545         Likewise.
38546         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38547         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38548         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38549         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38550         ifunc-impl-list.c.
38551         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38552         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38553         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38554         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38555         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38556         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38557         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38558         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38559         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38560         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38561         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38562         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38563         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38564         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38565         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38566         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38567         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38568         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38569         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38570         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38571         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38572         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38573         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38574         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38575         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38576         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38577         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38578         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38579         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38580         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38581         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38582         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38583         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38584         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38585         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38586         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38587         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38588         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38589         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38590         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38591         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38593         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38594         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38595         * include/ifunc-impl-list.h: New file.
38596         * misc/ifunc-impl-list.c: Likewise.
38597         * misc/Makefile (routines): Add ifunc-impl-list.
38598         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38599         * string/test-string.h: Include <ifunc-impl-list.h>.
38600         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38601         TEST_NAME]: New variables.
38602         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38603         are defined.
38604         (test_init): Call __libc_ifunc_impl_list to initialize
38605         func_list if TEST_IFUNC and TEST_NAME are defined.
38607         * string/Makefile (strop-tests): Add bcopy and bzero.
38608         * string/test-bcopy.c: New file.
38609         * string/test-bzero.c: Likewise.
38610         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38611         defined.
38612         * string/test-memset.c: Support bzero test if TEST_BZERO is
38613         defined.
38614         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38615         __libc_memmove.
38616         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38617         __libc_memset.
38618         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38619         of memset.
38621 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
38623         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38624         * configure: Regenerated.
38626         * Makeconfig (+link-static-before-libc): Don't include
38627         $(link-static-libc).
38629         * libio/libio.h (_IO_pos_t): Remove.
38631 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38633         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
38634         McGrath.
38636 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38638         * crypt/crypt-entry.c: Include fips-private.h.
38639         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38640         * crypt/md5c-test.c (main): Tolerate disabled MD5.
38641         * sysdeps/unix/sysv/linux/fips-private.h: New file.
38642         * sysdeps/generic/fips-private.h: New file, dummy fallback.
38644 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38646         * crypt/crypt-private.h: Include stdbool.h.
38647         (_ufc_setup_salt_r): Return bool.
38648         * crypt/crypt-entry.c: Include errno.h.
38649         (__crypt_r): Return NULL with EINVAL for bad salt.
38650         * crypt/crypt_util.c (bad_for_salt): New.
38651         (_ufc_setup_salt_r): Check that salt is long enough and within
38652         the specified alphabet.
38653         * crypt/badsalttest.c: New file.
38654         * crypt/Makefile (tests): Add it.
38655         ($(objpfx)badsalttest): New.
38657 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
38659         * NEWS: Add entry for BZ #14602.
38661 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38663         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38664         type-generic.
38665         * math/libm-test.inc: Update comment listing what functions and
38666         macros are tested.
38667         (isgreater_test): New function.
38668         (isgreaterequal_test): Likewise.
38669         (isless_test): Likewise.
38670         (islessequal_test): Likewise.
38671         (islessgreater_test): Likewise.
38672         (isunordered_test): Likewise.
38673         (main): Call the new functions.
38675 2012-10-09  Roland McGrath  <roland@hack.frob.com>
38677         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38678         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38679         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38680         * sysdeps/i386/configure: Regenerated.
38681         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38682         * sysdeps/mach/configure: Regenerated.
38683         * sysdeps/mach/hurd/configure: Regenerated.
38684         * sysdeps/powerpc/configure: Regenerated.
38685         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38686         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38687         * sysdeps/s390/s390-32/configure: Regenerated.
38688         * sysdeps/s390/s390-64/configure: Regenerated.
38689         * sysdeps/sh/configure: Regenerated.
38690         * sysdeps/sparc/configure: Regenerated.
38691         * sysdeps/unix/sysv/linux/configure: Regenerated.
38692         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38693         * sysdeps/x86_64/configure: Regenerated.
38695         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38696         defined.  Don't check if MAP is NULL.
38698 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38700         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38701         (_G_stat64): Likewise.
38702         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38703         (_G_stat64): Likewise.
38704         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38705         instead of struct _G_stat64.
38706         * libio/fileops.c (mmap_remap_check): Likewise.
38707         (decide_maybe_mmap): Likewise.
38708         (_IO_new_file_seekoff): Likewise.
38709         (_IO_file_stat): Likewise.
38710         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38711         _G_off64_t.
38712         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38713         instead of struct _G_stat64.
38714         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38716 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
38718         [BZ #14602]
38719         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38720         Replace with ...
38721         (CHECK_EOL): New macro.
38722         (two_way_short_needle): Check beginning of haystack for EOL.  Use
38723         CHECK_EOL.
38724         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38725         Replace with CHECK_EOL.
38726         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38727         Replace with CHECK_EOL.
38729 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
38731         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38732         type-generic.
38733         * math/libm-test.inc: Update comment listing what functions and
38734         macros are tested.
38735         (finite_test): New function.
38736         (isinf_test): Likewise.
38737         (isnan_test): Likewise.
38738         (fpclassify_test): Test subnormal input.
38739         (isfinite_test): Likewise.
38740         (isnormal_test): Likewise.
38741         (main): Call the new functions.
38743 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
38745         [BZ #14660]
38746         * Makerules (%.dynsym): Force C locale when running
38747         $(OBJDUMP) --dynamic-syms.
38749 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
38751         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38752         <stdint.h>.
38754 2012-10-06  David S. Miller  <davem@davemloft.net>
38756         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38757         upper 32-bits of the length value in %o2 since we use branch-on-register
38758         tests which consider the entire 64-bit register.
38760 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
38762         * string/test-strstr.c (check2): Add a test for page boundary.
38764 2012-10-05  David S. Miller  <davem@davemloft.net>
38766         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38767         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38768         file.
38769         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38770         sysdep_routines.
38771         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38772         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38773         and bzero when HWCAP_SPARC_CRYPTO is present.
38775 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
38777         [BZ #14602]
38778         * string/test-strstr.c (check2): New function.
38779         (test_main): Call check2.
38781         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38782         and bug-strchr1.
38783         * string/bug-strcasestr1.c (do_test): Moved to ...
38784         * string/test-strcasestr.c (check1): Here.  New function.
38785         (do_one_test): Break out result checking code into ...
38786         (check_result): This.  New function.
38787         (do_one_test): Call check_result.
38788         (test_main): Call check1.
38789         * string/bug-strchr1.c (do_test): Moved to ...
38790         * string/test-strchr.c (check1): Here.  New function.
38791         (do_one_test): Break out result checking code into ...
38792         (check_result): This.  New function.
38793         (do_one_test): Call check_result.
38794         (test_main): Call check1.
38795         * string/bug-strstr1.c (main): Moved to ...
38796         * string/test-strstr.c (check1): Here.  New function.
38797         (do_one_test): Break out result checking code into ...
38798         (check_result): This.  New function.
38799         (do_one_test): Call check_result.
38800         (test_main): Call check1.
38801         * string/bug-strcasestr1.c: Removed.
38802         * string/bug-strchr1.c: Likewise.
38803         * string/bug-strstr1.c: Likewise.
38805         * elf/Makefile (dl-routines): Add hwcaps.
38806         * elf/dl-support.c (_dl_important_hwcaps): Removed.
38807         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38808         (_dl_important_hwcaps): Moved to ...
38809         * elf/dl-hwcaps.c: Here.  New file.
38810         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38812         [BZ #14557]
38813         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38814         if IS_IN_rtld isn't defined.
38816         * elf/dl-support.c (_dl_sysinfo_map): New.
38817         Include "get-dynamic-info.h" and "setup-vdso.h".
38818         (_dl_non_dynamic_init): Call setup_vdso.
38819         * elf/dynamic-link.h: Don't include <assert.h>.
38820         (elf_get_dynamic_info): Moved to ...
38821         * elf/get-dynamic-info.h: Here.  New file.
38822         * elf/dynamic-link.h: Include "get-dynamic-info.h".
38823         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38824         * elf/setup-vdso.h: Here.  New file.
38825         * elf/rtld.c: Include "setup-vdso.h".
38826         (dl_main): Call setup_vdso.
38828 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
38830         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38831         creal in comment listing functions tested.  List finite, isinf,
38832         isnan, isless, islessequal, isgreater, isgreaterequal,
38833         islessgreater, isunordered, lgamma_r and pow10 as functions and
38834         macros not tested.  Mention which functions not tested are aliases
38835         for other functions.  Fix typo.  Note that signs of NaNs are not
38836         tested.
38838         * scripts/config.guess: Update from config.git.
38839         * scripts/config.sub: Likewise.
38841 2012-10-04  Roland McGrath  <roland@hack.frob.com>
38843         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38844         * misc/madvise.c (madvise): Renamed to __madvise.
38845         Make madvise a weak alias.
38846         * include/sys/mman.h: Declare __madvise.
38847         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38848         * sysdeps/unix/syscalls.list
38849         (madvise): Make __madvise the strong name, and madvise a weak alias.
38850         * sysdeps/unix/sysv/linux/syscalls.list
38851         (madvise, mmap): Remove redundant entries.
38852         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38853         * malloc/malloc.c (mtrim): Likewise.
38854         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38856 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38858         * sysdeps/mach/hurd/dl-cache.c: File removed.
38859         * config.h.in (USE_LDCONFIG): New #undef.
38860         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38861         * configure: Regenerated.
38862         * elf/Makefile (dl-routines): Add dl-cache only under
38863         [$(use-ldconfig) = yes].
38864         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38865         cache on [USE_LDCONFIG].
38866         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38867         [USE_LDCONFIG].
38868         * elf/rtld.c (dl_main): Likewise.
38870 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
38872         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38873         _SC_LEVEL4_CACHE_LINESIZE.
38875 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38877         * sysdeps/unix/bsd/confstr.h: File removed.
38879 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
38881         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38882         sys/sdt-config.h.
38884 2012-10-02  Roland McGrath  <roland@hack.frob.com>
38886         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38887         Make 'mapoff' field ElfW(Off) rather than off_t.
38889 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
38891         * nscd/Makefile: Remove nscd-cflags and all its users.
38892         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38893         (CFLAGS-nonlib): Add compiler flags for nscd modules.
38895         [BZ #10631]
38896         * malloc.c (malloc_printerr): Clarify error message.
38898 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
38900         [BZ #14648]
38901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38902         Set bit_FMA_Usable if FMA is supported.
38903         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38904         macro.
38905         (bit_FMA4_Usable): Updated.
38906         (index_FMA_Usable): New macro.
38907         (CPUID_FMA): Likewise
38908         (HAS_FMA): Defined with bit_FMA_Usable.
38910 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38912         * bits/types.h (__swblk_t): Type removed.
38913         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38914         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38915         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38916         (__SWBLK_T_TYPE): Likewise.
38917         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38918         (__SWBLK_T_TYPE): Likewise.
38919         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38920         (__SWBLK_T_TYPE): Likewise.
38921         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38922         (__SWBLK_T_TYPE): Likewise.
38924 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
38925             Honza Horak <hhorak@redhat.com>
38927         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38928         (xdr_mapname): Use YPMAXMAP as maxsize.
38929         (xdr_peername): Use YPMAXPEER as maxsize.
38930         (xdr_keydat): Use YPAXRECORD as maxsize.
38931         (xdr_valdat): Use YPMAXRECORD as maxsize.
38933 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38935         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38937         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38938         * csu/init-first.c: ... here.
38939         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38940         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38941         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38942         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38943         * sysdeps/i386/init-first.c: File removed.
38944         * sysdeps/sh/init-first.c: File removed.
38946 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
38948         [BZ #14645]
38949         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38950         if x * y might underflow to zero and z is zero.
38951         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38952         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38953         * math/libm-test.inc (min_subnorm_value): New variable.
38954         (fma_test): Add more tests.
38955         (fma_test_towardzero): Likewise.
38956         (fma_test_downward): Likewise
38957         (fma_test_upward): Likewise.
38958         (initialize): Set min_subnorm_value.
38960 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
38962         [BZ #14638]
38963         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38964         0 + 0.
38965         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38966         mode for addition resulting in exact zero.
38967         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38968         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38969         exact 0 + 0.
38970         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38971         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38972         * math/libm-test.inc (fma_test): Add more tests.
38973         (fma_test_towardzero): New function.
38974         (fma_test_downward): Likewise.
38975         (fma_test_upward): Likewise.
38976         (main): Call the new functions.
38978 2012-09-28  David S. Miller  <davem@davemloft.net>
38980         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38982 2012-09-28  Roland McGrath  <roland@hack.frob.com>
38984         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38985         instead of SIGALRM.
38987         * sysdeps/gnu/_G_config.h: Moved to ...
38988         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38989         * sysdeps/mach/hurd/_G_config.h: Moved to ...
38990         * sysdeps/generic/_G_config.h: ... here.
38992         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
38994         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38996         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38997         Conditionalize target on [libnss_test1.so-version].
38999         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39001         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39002         (elfobjdir): Move out of conditionals.
39004         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39005         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39006         (__nss_lookup_function): Conditionalize label remove_from_tree on
39007         [!DO_STATIC_NSS || SHARED], matching its only use.
39009 2012-09-28  David S. Miller  <davem@davemloft.net>
39011         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39012         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39013         file.
39014         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39015         sysdep_routines.
39016         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39017         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39018         when HWCAP_SPARC_CRYPTO is present.
39020 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39022         * io/tst-mknodat.c: Create a FIFO instead of a socket.
39024 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
39026         [BZ #6530]
39027         * stdio-common/vfprintf.c (process_string_arg): Revert
39028         2000-07-22 change.
39030 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
39032         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39033         for testcase.
39034         * stdio-common/tst-sprintf.c: Include <locale.h>
39035         (main): Test sprintf's handling of incomplete multibyte
39036         characters.
39038 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
39040         * elf/dl-runtime.c (VERSYMIDX): Removed.
39041         * elf/dl-version.c (VERSYMIDX): Likewise.
39042         * elf/do-rel.h (VERSYMIDX): Likewise.
39043         (VALIDX): Likewise.
39044         * elf/dynamic-link.h (VERSYMIDX): Likewise.
39045         * elf/rtld.c (VALIDX): Likewise.
39046         (ADDRIDX): Likewise.
39047         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39048         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39049         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
39050         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39051         (VALIDX): Likewise.
39052         (ADDRIDX): Likewise.
39054 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39056         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39058 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
39060         [BZ #11438]
39061         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39062         to global scope.
39063         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39064         addresses are in the same scope as 192.0.2/24.
39065         * posix/gai.conf: Document new scope table defaults.
39067 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39069         [BZ #5298]
39070         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39071         for ftell.  Compute offsets from write pointers instead.
39072         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39074 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39076         [BZ #14543]
39077         * libio/Makefile (tests): New test case tst-fseek.
39078         * libio/tst-fseek.c: New test case to verify that fseek/ftell
39079         combination works in wide mode.
39080         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39081         state when the external buffer state changes.
39083 2012-09-27  David S. Miller  <davem@davemloft.net>
39085         [BZ #14376]
39086         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39087         pass reloc->r_addend in as the 'high' argument to
39088         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39092 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39094         * rt/tst-aio2.c: Include <pthread.h>.
39095         * rt/tst-aio3.c: Likewise.
39097 2012-09-27  Steve Ellcey  <sellcey@mips.com>
39099         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39101 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
39103         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39104         contents on [SHARED].
39106 2012-09-26  Marek Polacek  <polacek@redhat.com>
39108         [BZ #14530]
39109         [BZ #13741]
39110         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
39111         for C++ and GCC <4.3 as well as for non GCC compilers.
39113 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
39115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39117 2012-09-25  Roland McGrath  <roland@hack.frob.com>
39119         * Makefile.in (all, install): Declare with .PHONY.
39120         Reported by Michael Hope <michael.hope@linaro.org>.
39122 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39124         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
39125         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
39126         system header.
39127         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
39128         Likewise.
39129         (sydep_routines): Add the new and the internal functions.
39130         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
39131         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
39132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
39133         (GLIBC_2.17): Add the new function.
39134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39135         (GLIBC_2.17): Likewise.
39136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
39137         (GLIBC_2.17): Likewise.
39138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
39139         (GLIBC_2.17): Likewise.
39140         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
39142 2012-09-25  Alan Modra  <amodra@gmail.com>
39144         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
39145         Add release barrier before setting once_control to say
39146         initialisation is done.  Add hints on lwarx.  Use macro in
39147         place of isync.
39148         (clear_once_control): Add release barrier.
39150 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
39152         [BZ #13629]
39153         * math/s_clog.c (__clog): Handle more values close to |z| = 1
39154         specially.
39155         * math/s_clog10.c (__clog10): Likewise.
39156         * math/s_clog10f.c (__clog10f): Likewise.
39157         * math/s_clog10l.c (__clog10l): Likewise.
39158         * math/s_clogf.c (__clogf): Likewise.
39159         * math/s_clogl.c (__clogl): Likewise.
39160         * math/Makefile (libm-calls): Add x2y2m1.
39161         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
39162         (__x2y2m1): Likewise.
39163         (__x2y2m1l): Likewise.
39164         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
39165         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
39166         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
39167         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39168         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
39169         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
39170         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
39171         * sysdeps/i386/fpu/libm-test-ulps: Update.
39172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39174         [BZ #14621]
39175         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
39176         int as type of variable DEPTH.
39177         (glob): Use size_t instead of int as type of variables NEWCOUNT
39178         and OLD_PATHC.
39180 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39182         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39183         Add s_sincosf-sse2.
39184         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
39185         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
39186         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
39187         macros for using routine as __sincosf_ia32.
39188         Use macro for function declaration and weak_alias.
39189         * sysdeps/i386/fpu/libm-test-ulps: Update.
39191         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
39192         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39194         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
39195         subnormal argument.
39196         * math/s_cexpf.c (__cexpf): Likewise.
39197         * math/s_csinf.c (__csinf): Likewise.
39198         * math/s_csinhf.c (__csinhf): Likewise.
39199         * math/s_ctanf.c (__ctanf): Likewise.
39200         * math/s_ctanhf.c (__ctanhf): Likewise.
39201         * math/s_ccosh.c (__ccoshf): Likewise.
39202         * math/s_cexp.c (__cexpl): Likewise.
39203         * math/s_csin.c (__csin): Likewise.
39204         * math/s_csinh.c (__csinh): Likewise.
39205         * math/s_ctan.c (__ctan): Likewise.
39206         * math/s_ctanh.c (ctanh): Likewise.
39207         * math/s_ccoshl.c (__ccoshl): Likewise.
39208         * math/s_cexpl.c (__cexpl): Likewise.
39209         * math/s_csinl.c (__csinl): Likewise.
39210         * math/s_csinhl.c (__csinhl): Likewise.
39211         * math/s_ctanl.c (__ctanl): Likewise.
39212         * math/s_ctanhl.c (__ctanhl): Likewise.
39214 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
39216         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39217         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39218         (_IO_off_t): Define to __off_t, not _G_off_t.
39219         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39220         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39221         (_IO_wint_t): Define to wint_t, not _G_wint_t.
39222         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39223         type of __dummy and __dummy2 fields.
39224         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39225         (_G_ssize_t): Likewise.
39226         (_G_off_t): Likewise.
39227         (_G_pid_t): Likewise.
39228         (_G_uid_t): Likewise.
39229         (_G_wchar_t): Likewise.
39230         (_G_wint_t): Likewise.
39231         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39232         (_G_ssize_t): Likewise.
39233         (_G_off_t): Likewise.
39234         (_G_pid_t): Likewise.
39235         (_G_uid_t): Likewise.
39236         (_G_wchar_t): Likewise.
39237         (_G_wint_t): Likewise.
39238         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39239         (_G_ssize_t): Likewise.
39240         (_G_off_t): Likewise.
39241         (_G_pid_t): Likewise.
39242         (_G_uid_t): Likewise.
39243         (_G_wchar_t): Likewise.
39244         (_G_wint_t): Likewise.
39246 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39248         * malloc/arena.c: Include malloc-sysdep.h.
39249         (shrink_heap): Use check_may_shrink_heap to decide if madvise
39250         is sufficient to shrink the heap or an unmap is needed.
39251         * sysdeps/generic/malloc-sysdep.h: New file.  Define
39252         new function check_may_shrink_heap.
39253         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
39254         new function check_may_shrink_heap.
39256 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39258         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39259         comments.
39261 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
39263         * catgets/test-gencat.sh: Add "set -e".
39264         * elf/tst-pathopt.sh: Likewise.
39265         * grp/tst_fgetgrent.sh: Likewise.
39266         * iconvdata/run-iconv-test.sh: Likewise.
39267         * intl/tst-gettext.sh: Likewise.
39268         * intl/tst-gettext2.sh: Likewise.
39269         * intl/tst-gettext4.sh: Likewise.
39270         * intl/tst-gettext6.sh: Likewise.
39271         * intl/tst-translit.sh: Likewise.
39272         * io/ftwtest-sh: Likewise.
39273         * libio/test-freopen.sh: Likewise.
39274         * malloc/tst-mtrace.sh: Likewise.
39275         * posix/globtest.sh: Likewise.
39276         * posix/tst-getconf.sh: Likewise.
39277         * posix/wordexp-tst.sh: Likewise.
39278         * stdio-common/tst-printf.sh: Likewise.
39279         * stdio-common/tst-unbputc.sh: Likewise.
39280         * stdlib/tst-fmtmsg.sh: Likewise.
39281         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39282         * catgets/Makefile: Do not specify -e option when running
39283         testsuite shell scripts.
39284         * elf/Makefile: Likewise.
39285         * grp/Makefile: Likewise.
39286         * iconvdata/Makefile: Likewise.
39287         * intl/Makefile: Likewise.
39288         * io/Makefile: Likewise.
39289         * libio/Makefile: Likewise.
39290         * malloc/Makefile: Likewise.
39291         * posix/Makefile: Likewise.
39292         * stdio-common/Makefile: Likewise.
39293         * stdlib/Makefile: Likewise.
39294         * sysdeps/x86_64/Makefile: Likewise.
39296         * io/ftwtest-sh: Add copyright header.
39297         * posix/globtest.sh: Likewise.
39298         * posix/tst-getconf.sh: Likewise.
39299         * posix/wordexp-tst.sh: Likewise.
39300         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39302 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
39304         [BZ #13679]
39305         * Makeconfig (+link): Defined as $(+link-static) if
39306         $(build-shared) isn't yes.
39307         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39308         isn't yes.
39309         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39311         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39313         [BZ #14562]
39314         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39315         new chunk size with MALLOC_ALIGN_MASK.
39317 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
39319         [BZ #5044]
39320         * stdio-common/printf_fphex.c: Include <stdbool.h> and
39321         <rounding-mode.h>.
39322         (__printf_fphex): Determine rounding using get_rounding_mode and
39323         round_away.
39324         * stdio-common/tst-printf-round.c (struct hex_test): New
39325         structure.
39326         (hex_tests): New variable.
39327         (test_hex_in_one_mode): New function.
39328         (do_test): Also run tests for hex float output.
39330 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
39332         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39333         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39334         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39335         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39336         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39337         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39338         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39339         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39341 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
39343         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39344         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39345         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39346         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39348 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
39350         [BZ #14579]
39351         * elf/rtld.c (dl_main): Limit the check for self loading to normal
39352         mode only.
39353         * elf/tst-rtld-load-self.sh: New test.
39354         * elf/Makefile: Run it.
39356 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
39358         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39359         (tst-writev-ENV): Remove.
39360         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39362 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
39364         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39366 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
39368         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39369         unconditional.
39370         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39371         Likewise.
39372         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39373         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39374         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39375         Likewise.
39377 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
39379         [BZ #14587]
39380         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39381         * config.make.in (have-cpp-asm-debuginfo): Removed.
39382         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39383         * configure: Regenerated.
39385 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
39387         [BZ #5044]
39388         * stdio-common/printf_fp.c: Include <stdbool.h> and
39389         <rounding-mode.h>.
39390         (___printf_fp): Determine rounding using get_rounding_mode and
39391         round_away.
39392         * stdio-common/tst-printf-round.c: New file.
39393         * stdio-common/Makefile (tests): Add tst-printf-round.
39394         (link-libm): New variable.
39395         ($(objpfx)tst-printf-round): Depend in $(link-libm).
39397 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
39399         [BZ #14576]
39400         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39401         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39402         Likewise.
39403         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39404         Likewise.
39406 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
39408         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39409         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39410         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39411         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39413 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
39415         [BZ #14518]
39416         * include/rounding-mode.h: New file.
39417         * sysdeps/generic/get-rounding-mode.h: Likewise.
39418         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39419         * stdlib/strtod_l.c: Include <rounding-mode.h>.
39420         (MAX_VALUE): New macro.
39421         (MIN_VALUE): Likewise.
39422         (overflow_value): New function.
39423         (underflow_value): Likewise.
39424         (round_and_return): Use overflow_value and underflow_value to
39425         determine return values in overflow and underflow cases.  Use
39426         round_away to determine rounding depending on rounding mode.
39427         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39428         determine return values in overflow and underflow cases.
39429         * stdlib/tst-strtod-round.c: Include <fenv.h>.
39430         (struct test_results): New structure.
39431         (struct test): Use struct test_results to store expected results
39432         for all rounding modes.
39433         (TEST): Include expected results for all rounding modes.
39434         (test_in_one_mode): New function.
39435         (do_test): Use test_in_one_mode to compute and check results.
39436         Check results for all rounding modes.
39437         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39438         $(link-libm).
39440 2012-12-09  Allan McRae  <allan@archlinux.org>
39442         * sysdeps/i386/fpu/libm-test-ulps: Update
39444 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
39446         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39447         (_G_int32_t): Likewise.
39448         (_G_uint16_t): Likewise.
39449         (_G_uint32_t): Likewise.
39450         (_G_HAVE_BOOL): Likewise.
39451         (_G_HAVE_ATEXIT): Likewise.
39452         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39453         (_G_HAVE_IO_FILE_OPEN): Likewise.
39454         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39455         (_G_int32_t): Likewise.
39456         (_G_uint16_t): Likewise.
39457         (_G_uint32_t): Likewise.
39458         (_G_HAVE_BOOL): Likewise.
39459         (_G_HAVE_ATEXIT): Likewise.
39460         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39461         (_G_HAVE_IO_FILE_OPEN): Likewise.
39462         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39463         (_G_int32_t): Likewise.
39464         (_G_uint16_t): Likewise.
39465         (_G_uint32_t): Likewise.
39466         (_G_HAVE_BOOL): Likewise.
39467         (_G_HAVE_ATEXIT): Likewise.
39468         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39469         (_G_HAVE_IO_FILE_OPEN): Likewise.
39471 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
39473         * csu/libc-tls.c: Update copyright years.
39475 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
39477         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39478         [!_G_USING_THUNKS]: Remove conditional code.
39479         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39480         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39482         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39483         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39484         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39485         (_G_VTABLE_LABEL_PREFIX): Likewise.
39486         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39487         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39488         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39489         (_G_VTABLE_LABEL_PREFIX): Likewise.
39490         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39491         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39492         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39493         (_G_VTABLE_LABEL_PREFIX): Likewise.
39494         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39496 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
39498         * libio/Makefile: Include ../Makeconfig before tests.
39499         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39500         only if $(build-shared) is yes.
39502         * iconv/gconv_db.c: Update copyright years.
39504 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39506         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39507         unwind info if defined PIC. Fix special cases description.
39508         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39510         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39511         DP_HI_MASK entry.
39512         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39514 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
39516         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39518         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39519         is NULL.
39521         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39522         (LDLIBS-tst-chk4): This.
39523         (LDFLAGS-tst-chk5): Renamed to ...
39524         (LDLIBS-tst-chk5): This.
39525         (LDFLAGS-tst-chk6): Renamed to ...
39526         (LDLIBS-tst-chk6): This.
39527         (LDFLAGS-tst-lfschk4): Renamed to ...
39528         (LDLIBS-tst-lfschk4): This.
39529         (LDFLAGS-tst-lfschk5): Renamed to ...
39530         (LDLIBS-tst-lfschk5): This.
39531         (LDFLAGS-tst-lfschk6): Renamed to ...
39532         (LDLIBS-tst-lfschk6): This.
39534         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39535         on $(common-objpfx)soversions.mk.
39537 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
39539         [BZ #10014]
39540         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39541         example host name.
39543 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39545         * malloc/arena.c (arena_get_retry): New function that gets
39546         another arena for the caller to try its request on.
39547         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39548         current arena cannot fulfill the request.
39549         (__libc_memalign): Likewise.
39550         (__libc_memalign): Likewise.
39551         (__libc_pvalloc): Likewise.
39552         (__libc_calloc): Likewise.
39554 2012-09-05  John Tobey  <john.tobey@gmail.com>
39556         [BZ #13542]
39557         * manual/arith.texi (Operations on Complex): Fix description
39558         of carg branch cut.
39560 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
39562         [BZ #10014]
39563         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39564         host name.
39566         [BZ #10038]
39567         * manual/memory.texi (Memory): Make order of menu items match
39568         order of sections.
39570 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39572         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39573         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
39574         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39576 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39578         * csu/libc-tls.c (static_dtv): Renamed to ...
39579         (_dl_static_dtv): This.  Make it global.
39580         (_dl_initial_dtv): Removed.
39581         (__libc_setup_tls): Updated.
39582         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39583         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39584         DL_INITIAL_DTV.
39586 2012-09-06  Petr Machata  <pmachata@redhat.com>
39588         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39589         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39590         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39591         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39593 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39595         [BZ #14545]
39596         * csu/libc-tls.c (_dl_initial_dtv): New variable.
39597         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39598         freeing dtv[-1].
39600 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39602         [BZ #14544]
39603         * Makeconfig (link-static-before-libc): Replace $(+prector)
39604         with $(+prectorT).
39605         (link-static-after-libc): Replace $(+postctor) with
39606         $(+postctorT).
39607         (link-bounded): Replace $(+prector)/$(+postctor) with
39608         $(+prectorT)/$(+postctorT).
39609         (+prectorT): New macro.
39610         (+postctorT): Likewise.
39612 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
39614         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39615         (round_str): Handle values above the maximum for IBM long double
39616         as inexact.
39617         * stdlib/tst-strtod-round.c (tests): Regenerated.
39619 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39621         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39622         assembler flag.
39623         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39624         zarch_nohighgprs around the zarch optimized routines.
39625         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39626         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39627         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39628         for zarch.
39630 2012-09-05  David S. Miller  <davem@davemloft.net>
39632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39634         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39635         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39636         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39637         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39638         entries.
39640 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39642         * malloc/arena.c: Fold copyright years.
39643         * malloc/mcheck.c, malloc/memusage.c: Likewise.
39645 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39647         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39649 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39651         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
39653 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39655         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39656         change internal state upon failure.
39658 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39660         * malloc/mcheck.c (mcheck_check_all): Fix typo.
39661         * malloc/memusage.c (mmap): Likewise.
39662         (mmap64, mremap): Likewise.  Adjust name in comment.
39664 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39666         * libio/fileops.c: Fix typos in comments.
39667         * libio/oldfileops.c: Likewise.
39668         * libio/wfileops.c: Likewise.
39670 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39672         [BZ #1349]
39673         * malloc/Makefile (tests): Add tst-malloc-usable test case.
39674         (tst-malloc-usable-ENV): Set environment for test case.
39675         * malloc/hooks.c (malloc_check_get_size): New function to get
39676         requested size.
39677         * malloc/malloc.c (musable): Use malloc_check_get_size.
39678         * malloc/tst-malloc-usable.c: New test case.
39680 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39682         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39684 2012-09-05  Allan McRae  <allan@archlinux.org>
39686         [BZ #13966]
39687         * configure.in (CXX_SYSINCLUDES): Use compiler output to
39688         determine header location.
39689         * configure: Regenerated.
39691 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39693         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39694         float format.
39695         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39696         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39697         format.
39698         (test): Regenerate.
39700 2012-09-04  David S. Miller  <davem@davemloft.net>
39702         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39703         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39704         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39706 2012-09-04  Florian Weimer  <fweimer@redhat.com>
39708         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39709         failures.
39711         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39713 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
39715         [BZ #9914]
39716         * libio/iogetdelim.c: Include <limits.h>.
39717         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39718         + len + 1 would overflow.
39720 2012-09-03  Andreas Jaeger  <aj@suse.de>
39722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39723         * sysdeps/i386/fpu/libm-test-ulps: Update.
39725 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39727         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39728         Add s_sinf-sse2, s_conf-sse2.
39730         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39731         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39732         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39733         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39735         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39736         for using routine as __sinf_ia32.
39737         Use macro for function declaration and weak_alias.
39738         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39739         for using routine as __cosf_ia32.
39740         Use macro for function declaration and weak_alias.
39742         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39743         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39745         * sysdeps/x86_64/fpu/s_sinf.S: New file.
39746         * sysdeps/x86_64/fpu/s_cosf.S: New file.
39747         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39749         * math/libm-test.inc (cos_test): Add more test cases.
39750         (sin_test): Likewise.
39751         (sincos_test): Likewise.
39753 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39755         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39756         (IFUNC_RESOLVE): Make pointers to the specialized implementations
39757         hidden.
39758         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39760 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
39762         [BZ #14538]
39763         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39764         first element of the GOT.
39765         (elf_machine_load_address): Return the difference between
39766         the runtime address of _DYNAMIC and elf_machine_dynamic ().
39768 2012-09-01  Allan McRae  <allan@archlinux.org>
39770         [BZ #13412]
39771         * configure.in (AWK): Require gawk version 3.0 or later.
39772         * configure: Regenerated.
39774 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
39776         * sysdeps/unix/sysv/linux/kernel-features.h
39777         (__ASSUME_POSIX_CPU_TIMERS): Remove.
39778         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39779         [__NR_clock_getres]: Make code unconditional.
39780         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39781         (clock_getcpuclockid): Remove code left unreachable by removal of
39782         conditionals.
39783         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39784         code unconditional.
39785         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39786         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39787         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39788         Make code unconditional.
39789         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39790         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39791         * sysdeps/unix/sysv/linux/clock_settime.c
39792         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39793         conditional code.
39794         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39795         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39797 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
39799         [BZ #14476]
39800         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39801         scripts/test-installation.pl.
39803         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39804         and $ld_so_version if it is set.
39806 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39808         [BZ #14516]
39809         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39810         failure if reading from procfs failed.
39811         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39813 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39815         * sysdeps/unix/sysv/linux/kernel-features.h
39816         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39817         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39818         Remove conditional code.
39819         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39820         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39821         Remove conditional code.
39822         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39823         * sysdeps/unix/sysv/linux/i386/fxstat.c
39824         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39825         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39826         * sysdeps/unix/sysv/linux/i386/fxstatat.c
39827         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39828         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39829         * sysdeps/unix/sysv/linux/i386/lxstat.c
39830         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39831         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39832         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39833         Remove conditional code.
39834         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39835         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39836         Remove conditional code.
39837         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39838         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39839         <kernel-features.h>.
39840         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39841         Remove.
39842         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39843         Remove conditional code.
39844         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39845         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39846         Remove conditional.
39848 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
39850         [BZ #5400]
39851         * NEWS: Add fixed bug number.
39853 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39855         [BZ #14519]
39856         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39857         underflowing exponent in case of negative sign.
39858         * stdlib/tst-strtod-round-data: Add more tests.
39859         * stdlib/tst-strtod-round.c (tests): Regenerated.
39861         [BZ #3479]
39862         * stdlib/strtod_l.c (NDIG): Remove.
39863         (HEXNDIG): Likewise.
39864         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39865         smallest representable value.
39866         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39867         lie within an exact representation of 1/2 ulp of the result.
39868         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39869         unconditionally.
39870         (TENS_P9_IDX): Define unconditionally.
39871         (TENS_P9_SIZE): Likewise.
39872         (TENS_P10_IDX): Likewise.
39873         (TENS_P10_SIZE): Likewise.
39874         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39875         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39876         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39877         entries for 10^2^13 and 10^2^14.
39878         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39879         (TENS_P13_IDX): Define.
39880         (TENS_P13_SIZE): Likewise.
39881         (TENS_P14_IDX): Likewise.
39882         (TENS_P14_SIZE): Likewise.
39883         (_fpioconst_pow10): Change array size to
39884         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
39885         unconditional.
39886         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39887         1024]: Add entries for 10^2^13 and 10^2^14.
39888         [LAST_POW10 > _LAST_POW10]: Remove #error.
39889         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39890         (_fpioconst_pow10): Change array size to
39891         FPIOCONST_POW10_ARRAY_SIZE.
39892         * stdlib/gen-fpioconst.c: New file.
39893         * stdlib/gen-tst-strtod-round.c: Likewise.
39894         * stdlib/tst-strtod-round-data: Likewise.
39895         * stdlib/tst-strtod-round.c: Likewise.
39896         * stdlib/Makefile (tests): Add tst-strtod-round.
39898         [BZ #14459]
39899         * stdlib/strtod_l.c: Include <stdint.h>.
39900         (NDEBUG): Do not define.
39901         (round_and_return): Change EXPONENT parameter to type intmax_t.
39902         Rearrange calculations to avoid internal overflow possibilities.
39903         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39904         Rearrange calculations to avoid internal overflow possibilities.
39905         Assert that number fits inside MPNSIZE limbs.
39906         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39907         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
39908         calculations and add assertions to avoid internal overflow
39909         possibilities.  Add casts to avoid signed/unsigned operations.
39910         * stdlib/tst-strtod-overflow.c: New file.
39911         * stdlib/Makefile (tests): Add tst-strtod-overflow.
39913 2012-08-25  Marek Polacek  <polacek@redhat.com>
39915         * time/time.h: Fix some typos in comments.
39917 2012-08-23  Roland McGrath  <roland@hack.frob.com>
39919         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39920         * posix/tst-rfc3484-2.c: Likewise.
39921         * posix/tst-rfc3484-3.c: Likewise.
39923 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
39925         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39926         (EF_ARM_ABI_FLOAT_HARD): Likewise.
39928 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
39930         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39931         #include of fxstatat64.c.
39933 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39935         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39936         * shadow/getspent_r.c: Likewise.
39937         * shadow/getspnam.c: Likewise.
39938         * shadow/getspnam_r.c: Likewise.
39939         * gshadow/getsgent.c: Likewise.
39940         * gshadow/getsgent_r.c: Likewise.
39941         * gshadow/getsgnam.c: Likewise.
39942         * gshadow/getsgnam_r.c: Likewise.
39943         * inet/getnetbyad.c: Likewise.
39944         * inet/getnetbyad_r.c: Likewise.
39945         * inet/getnetbynm.c: Likewise.
39946         * inet/getnetbynm_r.c: Likewise.
39947         * inet/getnetent.c: Likewise.
39948         * inet/getnetent_r.c: Likewise.
39949         * inet/getproto.c: Likewise.
39950         * inet/getproto_r.c: Likewise.
39951         * inet/getprtent.c: Likewise.
39952         * inet/getprtent_r.c: Likewise.
39953         * inet/getprtname.c: Likewise.
39954         * inet/getprtname_r.c: Likewise.
39955         * inet/getrpcbyname.c: Likewise.
39956         * inet/getrpcbyname_r.c: Likewise.
39957         * inet/getrpcbynumber.c: Likewise.
39958         * inet/getrpcbynumber_r.c: Likewise.
39959         * inet/getrpcent.c: Likewise.
39960         * inet/getrpcent_r.c: Likewise.
39961         * inet/getaliasent.c: Likewise.
39962         * inet/getaliasent_r.c: Likewise.
39963         * inet/getaliasname.c: Likewise.
39964         * inet/getaliasname_r.c: Likewise.
39965         * nscd/getgrgid_r.c: Likewise.
39966         * nscd/getgrnam_r.c: Likewise.
39967         * nscd/gethstbyad_r.c: Likewise.
39968         * nscd/gethstbynm3_r.c: Likewise.
39969         * nscd/getpwnam_r.c: Likewise.
39970         * nscd/getpwuid_r.c: Likewise.
39971         * nscd/getsrvbynm_r.c: Likewise.
39972         * nscd/getsrvbypt_r.c: Likewise.
39973         * nscd/gai.c: Likewise.
39975         * configure.in (build_nscd): New substituted variable, set
39976         by --disable-build-nscd and defaults to $use_nscd.
39977         * configure: Regenerated.
39978         * config.make.in (build-nscd): New substituted variable.
39979         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39980         Change conditional to require [$(build-nscd) = yes] as well.
39981         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39983         [BZ# 13696]
39984         * configure.in (use_nscd): New substituted variable, set by
39985         --disable-nscd.  If enabled, define USE_NSCD.
39986         * configure: Regenerated.
39987         * config.h.in: Add USE_NSCD.
39988         * config.make.in (use-nscd): New substituted variable.
39989         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39990         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39991         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39992         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39993         (CFLAGS-getgrnam_r.c): Likewise.
39994         (CFLAGS-initgroups.c): Likewise.
39995         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39996         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39997         Variables removed.
39998         * inet/getnetgrent_r.c
39999         (nscd_setnetgrent): New function, broken out of ...
40000         (setnetgrent): ... here.  Call it.
40001         (innetgr): Conditionalize nscd bits on [USE_NSCD].
40002         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40003         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40004         * nscd/Makefile (routines, aux): Move definitions after include of
40005         Makeconfig.  Conditionalize on [$(use-nscd) != no].
40006         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40007         Conditionalize on [USE_NSCD].
40008         (is_nscd, nscd_init_cb): Likewise.
40009         (nss_load_library): Conditionalize init callback on [USE_NSCD].
40010         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40011         * nss/nss_db/db-init.c: Likewise.
40012         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40013         [USE_NSCD].
40014         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40015         (make_request): Use it.
40016         (cache_valid_p): New function.
40017         (__check_pf): Use it.
40018         * NEWS: Add item for --disable-nscd.
40020 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
40022         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40023         to support sed >= 4.2.1-20-ga9bf076.
40024         * configure: Regenerated.
40026 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40028         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40029         Conditionalize whole body on [IREL].
40031 2012-08-22  Jeff Law <law@redhat.com>
40033         [BZ #14505]
40034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40035         if the family is PF_UNSPEC.
40037 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
40039         * Makerules (lib-version): Rename from V.
40040         (install-lib-nosubdir): Change V to lib-version.
40042 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
40044         [BZ #14252]
40045         * powerpc32/power6/wcschr.c: New file.
40046         * powerpc32/power6/wcscpy.c: New file.
40047         * powerpc32/power6/wcsrchr.c: New file.
40048         * powerpc64/power6/wcschr.c: New file.
40049         * powerpc64/power6/wcscpy.c: New file.
40050         * powerpc64/power6/wcsrchr.c: New file.
40052 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
40054         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40055         (two_way_short_needle): Use it.
40056         * string/strstr.c (AVAILABLE1_USES_J): Define.
40057         * string/strcasestr.c: Likewise.
40059         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40060         array references.
40061         * string/strcasestr.c (TOLOWER): Make side-effect safe.
40063         [BZ #11607]
40064         * NEWS: Add an entry.
40065         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40066         define their defaults.
40067         (two_way_short_needle): Detect end-of-string on-the-fly.
40068         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40069         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40070         * string/bug-strcasestr1.c: New test.
40071         * string/Makefile: Run it.
40073 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
40075         [BZ #11607]
40076         * string/str-two-way.h (two_way_short_needle): Optimize matching of
40077         the first character.
40079 2012-08-21  Roland McGrath  <roland@hack.frob.com>
40081         * csu/elf-init.c (__libc_csu_irel): Function removed.
40082         * csu/libc-start.c (apply_irel): New function.
40083         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40085 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
40087         * sysdeps/unix/sysv/linux/kernel-features.h
40088         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40089         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40090         <kernel-features.h>.
40091         [__NR_fadvise64_64]: Make code unconditional.
40092         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40093         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40094         !__NR_fadvise64_64)]: Likewise.
40095         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40096         !__NR_fadvise64_64))]: Likewise.
40097         [__NR_fadvise64]: Make code unconditional.
40098         [!__NR_fadvise64]: Remove conditional code.
40099         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40100         <kernel-features.h>.
40101         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40102         unconditional.
40103         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40104         conditional code.
40105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
40106         not include <kernel-features.h>.
40107         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40108         unconditional.
40109         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40110         conditional code.
40111         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
40112         include <kernel-features.h>.
40113         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40114         unconditional.
40115         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40116         conditional code.
40118 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40120         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
40121         slight instruction rearrangements per scrollpipe analysis.
40122         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40124 2012-08-20  Roland McGrath  <roland@hack.frob.com>
40126         * manual/syslog.texi (syslog; vsyslog, closelog):
40127         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
40128         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
40130         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
40131         DSOCAPS to match condition on defining it.
40133 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
40135         * sysdeps/unix/sysv/linux/kernel-features.h
40136         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
40137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
40138         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40139         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
40141         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40142         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
40144         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40145         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40147         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
40148         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
40150         * sysdeps/unix/sysv/linux/kernel-features.h
40151         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
40152         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
40153         unconditional.
40154         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40155         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
40156         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40157         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40158         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
40159         Make code unconditional.
40160         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40161         (__mmap64) [!__NR_mmap2]: Likewise.
40162         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
40163         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40164         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40165         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
40166         [__NR_mmap2]: Make code unconditional.
40167         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40168         (__mmap64) [!__NR_mmap2]: Likewise.
40170 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40172         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
40174 2012-08-18  Andreas Jaeger  <aj@suse.de>
40176         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
40178 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
40180         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
40181         * include/unistd.h (__have_sock_cloexec): Likewise.
40182         (__have_pipe2): Likewise.
40183         (__have_dup3): Likewise.
40185 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
40187         [BZ #9685]
40188         * include/unistd.h (__have_pipe2): Change define into an extern int.
40189         (__have_dup3): Likewise.
40190         * socket/have_sock_cloexec.c: Include fcntl.h.
40191         (__have_pipe2): New variable.
40192         (__have_dup3): Likewise.
40194 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
40196         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
40198 2012-08-17  Marek Polacek  <polacek@redhat.com>
40200         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
40201         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
40203 2012-08-17  Roland McGrath  <roland@hack.frob.com>
40205         * configure.in: Add AC_SUBST for sysheaders.
40206         * configure: Regenerated.
40207         * config.make.in (sysheaders): New substituted variable.
40209         * sysdeps/unix/mkfifo.c: Moved ...
40210         * sysdeps/posix/mkfifo.c: ... here.
40211         * sysdeps/unix/mkfifoat.c: Moved ...
40212         * sysdeps/posix/mkfifoat.c: ... here.
40214         * sysdeps/unix/utime.c: Moved ...
40215         * sysdeps/posix/utime.c: ... here.
40217         * sysdeps/unix/time.c: Moved ...
40218         * sysdeps/posix/time.c: ... here.
40219         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40220         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
40222         * sysdeps/unix/nice.c: Moved ...
40223         * sysdeps/posix/nice.c: ... here.
40225         * sysdeps/unix/alarm.c: Moved ...
40226         * sysdeps/posix/alarm.c: ... here.
40228         * intl/Makefile ($(codeset_mo)): Depend on the input file.
40230 2012-08-17  Jeff Law <law@redhat.com>
40232         * intl/Makefile (codeset_mo): New variable.
40233         ($(codeset_mo)): New target.
40234         (tst-codeset.out): Depend on that.  Remove explicit rule.
40235         (tst-gettext3.out, tst-gettext5.out): Likewise.
40236         (LOCPATH-ENV, tst-codeset-ENV): New variables.
40237         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40238         * intl/tst-codeset.sh: Remove.
40239         * intl/tst-gettext3.sh: Likewise.
40240         * intl/tst-gettext5.sh: Likewise.
40242 2012-08-17  Roland McGrath  <roland@hack.frob.com>
40244         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
40245         * sysdeps/unix/syscalls.list: ... here.
40247         * sysdeps/posix/getaddrinfo.c
40248         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40249         (gaiconf_init, gaiconf_reload): Use them.
40250         [!_STATBUF_ST_NSEC]
40251         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40252         Define using time_t rather than struct timespec.
40254         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40255         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40256         Macros removed.
40257         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40258         [!NO_THREADS].
40259         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40260         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40261         Likewise.
40263         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40264         __libc_cleanup_push argument.
40266         * bits/param.h: New file.
40267         * misc/sys/param.h: New file.
40268         * include/sys/param.h: New file.
40269         * misc/Makefile (headers): Add bits/param.h.
40270         * sysdeps/generic/sys/param.h: File removed.
40271         * sysdeps/unix/sysv/linux/bits/param.h: New file.
40272         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40273         * sysdeps/mach/hurd/bits/param.h: New file.
40274         * sysdeps/mach/hurd/sys/param.h: File removed.
40276         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40277         last change.
40279         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40280         [_IO_MTSAFE_IO].
40281         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40282         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40283         New macros.
40285         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40286         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40287         rather than -D_IO_MTSAFE_IO conditionally.
40288         * stdio-common/Makefile (CPPFLAGS): Likewise.
40289         * wcsmbs/Makefile (CPPFLAGS): Likewise.
40290         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40291         Use $(libio-mtsafe).
40292         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40293         of -D_IO_MTSAFE_IO.
40294         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40295         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40296         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40297         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40298         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40299         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40300         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40301         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40302         (CFLAGS-fread_u_chk.c): Likewise.
40303         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40304         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40305         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40306         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40307         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40308         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40309         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40310         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40311         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40313         * libio/Makefile: Test [$(libc-reentrant) = yes]
40314         instead of [$(filter %REENTRANT, $(defines)) nonempty].
40316         * Makeconfig
40317         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40318         * sysdeps/pthread/configure: File removed.
40319         * sysdeps/pthread/Makeconfig: New file.
40320         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40321         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40323 2012-08-16  Gary Benson  <gbenson@redhat.com>
40325         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40326         unmapping the first object in a namespace.
40328 2012-08-16  Roland McGrath  <roland@hack.frob.com>
40330         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40331         (__internal_setnetgrent): ... this.  Add internal_function to
40332         definition.  Add libc_hidden_def.
40333         (setnetgrent): Update caller.
40334         (internal_endnetgrent): Renamed to ...
40335         (__internal_endnetgrent): ... this.  Add internal_function to
40336         definition.  Add libc_hidden_def.
40337         (endnetgrent): Update caller.
40338         (internal_getnetgrent_r): Renamed to ...
40339         (__internal_getnetgrent_r): ... this.  Add internal_function to
40340         definition.  Add libc_hidden_def.
40341         (__getnetgrent_r): Update caller.
40342         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
40344 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
40346         * stdlib/longlong.h: Update from GCC.
40348 2012-08-16  Roland McGrath  <roland@hack.frob.com>
40350         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40351         on _QL, which is set by umul_ppmm but never used.
40352         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40353         variables, which are set by GMP macros but never used.
40354         * stdio-common/_itowa.c (_itowa): Likewise.
40355         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40356         * stdlib/mod_1.c (mpn_mod_1): Likewise.
40358 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
40360         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40361         struct La_sh_regs is not constant.
40362         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40363         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40364         and struct La_sparc64_regs are not constant.
40366 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
40368         * sysdeps/unix/sysv/linux/kernel-features.h
40369         (__ASSUME_POSIX_TIMERS): Remove.
40370         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40371         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40372         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40373         Make code unconditional.
40374         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40375         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40376         Make code unconditional.
40377         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40378         * sysdeps/unix/sysv/linux/clock_nanosleep.c
40379         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40380         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40381         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40382         Make code unconditional.
40383         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40384         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40385         (__libc_missing_posix_timers): Remove.
40387 2012-08-15  Roland McGrath  <roland@hack.frob.com>
40389         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40390         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40392         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40394         * elf/dl-sym.c: Include <stdlib.h>.
40396         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40397         constants, which avoids warnings in 32-bit builds.
40399         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40400         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40402         * misc/lseek.c: File moved to ...
40403         * io/lseek.c: ... here.
40405         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40407         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40408         shifting LEN more than 31 bits at once.
40410 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40412         [BZ #14195]
40413         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40414         segmentation fault for a case of two empty input strings.
40415         * string/test-strncasecmp.c (check1): Renamed to...
40416         (bz12205): ...this.
40417         (bz14195): Add new testcase for two empty input strings and N > 0.
40418         (test_main): Call new testcase, adapt for renamed function.
40420 2012-08-15  Andreas Jaeger  <aj@suse.de>
40422         [BZ #14090]
40423         * crypt/md5test2.c: New test, based on test supplied by Serge
40424         Belyshev <belyshev@depni.sinp.msu.ru>.
40425         * crypt/Makefile (xtests): Add md5test-giant..
40426         * crypt/Makefile ($(objpfx)md5test-giant): Add.
40428 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
40430         [BZ #14090]
40431         * crypt/md5.c (md5_process_block): Don't assume the buffer
40432         length is less than 2**32.
40433         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40434         length is less than 2**64.
40436 2012-08-15  Roland McGrath  <roland@hack.frob.com>
40438         * string/str-two-way.h: Include <sys/param.h>.
40439         (MAX): Macro removed.
40441         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40442         Move #define and #undef of memmove to just before and after
40443         including <string.h>.
40445         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40446         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40447         and after including <string.h>.  Move declarations of
40448         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40449         to before #include "string/memmove.c".
40451         * include/dirent.h: Declare __getdirentries.
40453         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40454         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40456 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
40458         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40459         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40460         * sysdeps/i386/configure: Regenerated.
40461         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40462         STABS_CURRENT_FILE, and STABS_FUN.
40463         (END): Remove call to STABS_FUN_END.
40464         (STABS_CURRENT_FILE1): Delete.
40465         (STABS_CURRENT_FILE): Likewise.
40466         (STABS_FUN): Likewise.
40467         (STABS_FUN_END): Likewise.
40468         (STABS_FUN2): Likewise.
40469         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40470         * sysdeps/x86_64/configure: Regenerated.
40472 2012-08-14  Roland McGrath  <roland@hack.frob.com>
40474         * elf/dl-open.c: Include <atomic.h>.
40475         * elf/dl-lookup.c: Likewise.
40477 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
40479         * sysdeps/unix/sysv/linux/kernel-features.h
40480         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40481         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40482         unconditionally.
40483         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40484         unconditionally.
40485         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40486         condition on __ASSUME_CLONE_THREAD_FLAGS.
40488 2012-08-14  Andreas Jaeger  <aj@suse.de>
40490         * sysdeps/i386/fpu/libm-test-ulps: Update.
40492 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
40494         * include/atomic.h (atomic_exchange_and_add): Split into ...
40495         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40496         New atomic macros.
40498 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
40500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40502 2012-08-13  Jeff Law <law@redhat.com>
40504         * manual/stdio.texi (snprintf): Clarify handling of the trailing
40505         null byte in the output string.
40507 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
40509         * sysdeps/unix/sysv/linux/kernel-features.h
40510         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40511         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40512         (__ASSUME_ARG_MAX_STACK_BASED): Define.
40513         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40514         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40515         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
40516         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40518 2012-08-09  Jeff Law <law@redhat.com>
40520         [BZ #13939]
40521         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40522         When avoid_arena is set, don't retry in the that arena.  Pick the
40523         next one, whatever it might be.
40524         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40525         (arena_lock): Pass in new parameter to arena_get2.
40526         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40527         arena_get2.
40528         (__libc_malloc): Unify retrying after main arena failure with
40529         __libc_memalign version.
40530         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40532 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
40534         [BZ #14166]
40535         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40536         to __redirect_strstr.
40537         (__strstr_sse42): Use typeof __redirect_strstr.
40538         (__strstr_ia32): Likewise.
40539         (__libc_strstr): New prototype.
40540         (strstr): Renamed to ...
40541         (__libc_strstr): This.
40542         (strstr): New strong alias of __libc_strstr.
40543         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40544         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40545         __redirect_time.
40546         Include <time.h>.
40547         (__libc_time): New prototype.
40548         (time_ifunc): Replace time with __libc_time.
40549         (time): New strong alias and hidden definition of __libc_time.
40550         (__GI_time): Remove strong alias.
40551         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40552         Include <stddef.h>.
40553         (memmove): Redefined to __redirect_memmove.
40554         (__memmove_sse2): Use typeof __redirect_memmove.
40555         (__memmove_ssse3): Likewise.
40556         (__memmove_ssse3_back): Likewise.
40557         (__libc_memmove): New prototype.
40558         (memmove): Renamed to ...
40559         (__libc_memmove): This.
40560         (memmove): New strong alias of __libc_memmove.
40562 2012-08-08  Mark Salter  <msalter@redhat.com>
40564         * elf/elf.h
40565         (R_MN10300_TLS_GD): Define.
40566         (R_MN10300_TLS_LD): Likewise.
40567         (R_MN10300_TLS_LDO): Likewise.
40568         (R_MN10300_TLS_GOTIE): Likewise.
40569         (R_MN10300_TLS_IE): Likewise.
40570         (R_MN10300_TLS_LE): Likewise.
40571         (R_MN10300_TLS_DTPMOD): Likewise.
40572         (R_MN10300_TLS_DTPOFF): Likewise.
40573         (R_MN10300_TLS_TPOFF): Likewise.
40574         (R_MN10300_SYM_DIFF): Likewise.
40575         (R_MN10300_ALIGN): Likewise.
40576         (R_MN10300_NUM): Update.
40578 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
40580         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40581         Remove.
40583 2012-08-08  Roland McGrath  <roland@hack.frob.com>
40585         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40587         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40588         sysdeps/unix -> sysdeps/posix move.
40589         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40591 2012-08-07      Allan McRae     <allan@archlinux.org>
40593         [BZ #14303]
40594         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40595         (SUNOS_CPP): Likewise.
40596         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40597         not found.
40598         (open_input): Call CPP using execvp.
40600 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
40602         * sysdeps/unix/sysv/linux/kernel-features.h
40603         (__ASSUME_PROT_GROWSUPDOWN): Remove.
40604         (__ASSUME_NO_CLONE_DETACHED): Likewise.
40605         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40606         (__ASSUME_WAITID_SYSCALL): Likewise.
40607         * sysdeps/unix/sysv/linux/dl-execstack.c
40608         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40609         code unconditional.
40610         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40611         conditional code.
40612         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40613         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40614         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40615         code.
40616         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40617         unconditional.
40618         [__ASSUME_WAITID_SYSCALL]: Likewise.
40619         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40621 2012-08-07  Roland McGrath  <roland@hack.frob.com>
40623         * sysdeps/unix/closedir.c: Renamed to ...
40624         * sysdeps/posix/closedir.c: ... here.
40625         * sysdeps/unix/dirfd.c: Renamed to ...
40626         * sysdeps/posix/dirfd.c: ... here.
40627         * sysdeps/unix/dirstream.h: Renamed to ...
40628         * sysdeps/posix/dirstream.h: ... here.
40629         * sysdeps/unix/fdopendir.c: Renamed to ...
40630         * sysdeps/posix/fdopendir.c: ... here.
40631         * sysdeps/unix/opendir.c: Renamed to ...
40632         * sysdeps/posix/opendir.c: ... here.
40633         * sysdeps/unix/readdir.c: Renamed to ...
40634         * sysdeps/posix/readdir.c: ... here.
40635         * sysdeps/unix/readdir_r.c: Renamed to ...
40636         * sysdeps/posix/readdir_r.c: ... here.
40637         * sysdeps/unix/rewinddir.c: Renamed to ...
40638         * sysdeps/posix/rewinddir.c: ... here.
40639         * sysdeps/unix/seekdir.c: Renamed to ...
40640         * sysdeps/posix/seekdir.c: ... here.
40641         * sysdeps/unix/telldir.c: Renamed to ...
40642         * sysdeps/posix/telldir.c: ... here.
40643         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40644         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40645         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40646         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40648         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40649         * bits/fcntl.h: ... here.
40651         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40652         not 0.
40653         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40654         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40655         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40656         (struct flock): Move l_start, l_len to the beginning.
40657         Use __pid_t for l_pid.
40658         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40659         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40660         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40661         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40662         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40663         [__USE_LARGEFILE64] (struct flock64): New type.
40664         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40666         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40667         * bits/dirent.h: ... here.
40669         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40670         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40672 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
40674         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40675         Change from 2.6.0 to 2.6.16.
40676         * sysdeps/unix/sysv/linux/configure: Regenerated.
40677         * sysdeps/unix/sysv/linux/kernel-features.h
40678         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40679         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40680         version.
40681         (__ASSUME_UTIMES): Likewise.
40682         (__ASSUME_CLONE_STOPPED): Remove.
40683         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40684         architectures, not kernel version.
40685         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40686         (__ASSUME_NO_CLONE_DETACHED): Likewise.
40687         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40688         (__ASSUME_WAITID_SYSCALL): Likewise.
40689         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40690         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40691         * README: State 2.6.16 as minimum Linux kernel version.  Do not
40692         refer to older versions.
40694 2012-08-06  Roland McGrath  <roland@hack.frob.com>
40696         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40697         Define alphasort64 as an alias.
40698         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40699         Define versionsort64 as an alias.
40700         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40701         Define scandir64 as an alias.
40702         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40703         Define scandirat64 as an alias.
40704         * dirent/alphasort64.c (alphasort64):
40705         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40706         * dirent/versionsort64.c: Likewise.
40707         * dirent/scandir64.c: Likewise.
40708         * dirent/scandirat64.c: Likewise.
40709         * sysdeps/wordsize-64/alphasort.c: File removed.
40710         * sysdeps/wordsize-64/alphasort64.c: File removed.
40711         * sysdeps/wordsize-64/scandir.c: File removed.
40712         * sysdeps/wordsize-64/scandir64.c: File removed.
40713         * sysdeps/wordsize-64/scandirat.c: File removed.
40714         * sysdeps/wordsize-64/scandirat64.c: File removed.
40715         * sysdeps/wordsize-64/versionsort.c: File removed.
40716         * sysdeps/wordsize-64/versionsort64.c: File removed.
40717         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40718         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40719         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40720         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40721         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40722         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40723         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40724         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40726         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40727         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40728         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40729         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40730         [defined __arch64__ || defined __sparcv9]
40731         (__INO_T_MATCHES_INO64_T): New macro.
40732         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40733         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40734         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40735         * sysdeps/unix/sysv/linux/bits/dirent.h
40736         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40737         (_DIRENT_MATCHES_DIRENT64): New macro.
40739         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40740         Define lockf64 as an alias.
40741         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40742         Define fseeko64 as an alias.
40743         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40744         Define ftello64 as an alias.
40745         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40746         Define _IO_fgetpos64 and fgetpos64 as aliases.
40747         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40748         Define _IO_fsetpos64 and fsetpos64 as aliases.
40749         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40750         Conditionalize body on this.
40751         * libio/fseeko64.c: Likewise.
40752         * libio/ftello64.c: Likewise.
40753         * libio/iofgetpos64.c: Likewise.
40754         * libio/iofsetpos64.c: Likewise.
40755         * sysdeps/wordsize-64/lockf.c: File removed.
40756         * sysdeps/wordsize-64/lockf64.c: File removed.
40757         * sysdeps/wordsize-64/fseeko.c: File removed.
40758         * sysdeps/wordsize-64/fseeko64.c: File removed.
40759         * sysdeps/wordsize-64/ftello.c: File removed.
40760         * sysdeps/wordsize-64/ftello64.c: File removed.
40761         * sysdeps/wordsize-64/iofgetpos.c: File removed.
40762         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40763         * sysdeps/wordsize-64/iofsetpos.c: File removed.
40764         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40765         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40766         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40767         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40768         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40769         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40770         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40771         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40772         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40773         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40774         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40776         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40777         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40778         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40779         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40780         [defined __arch64__ || defined __sparcv9]
40781         (__OFF_T_MATCHES_OFF64_T): New macro.
40782         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40783         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40784         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40785         (__OFF_T_MATCHES_OFF64_T): New macro.
40787 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40789         * stdlib/secure-getenv.c (__secure_getenv): Replace
40790         GLIBC_2_16 with GLIBC_2_17.
40792 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40794         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40795         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40797 2012-08-03  David S. Miller  <davem@davemloft.net>
40799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40801 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40803         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40804         Remove.
40805         (__ASSUME_CORRECT_SI_PID): Likewise.
40806         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40807         (__ASSUME_TMPFS_NAME): Likewise.
40808         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40809         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40810         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40811         (HAVE_AUX_SECURE): Make definition unconditional.
40812         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40813         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40815 2012-08-03  Roland McGrath  <roland@hack.frob.com>
40817         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40818         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40819         * sysdeps/mach/hurd/eloop-threshold.h: New file.
40820         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40821         __eloop_threshold instead of SYMLOOP_MAX.
40823         * sysdeps/generic/eloop-threshold.h: New file.
40824         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40825         of MAXSYMLINKS.
40826         * elf/chroot_canon.c (chroot_canon): Likewise.
40828 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40830         [BZ #13717]
40831         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40832         Change to 2.6.0 everywhere.
40833         * sysdeps/unix/sysv/linux/configure: Regenerated.
40834         * sysdeps/unix/sysv/linux/kernel-features.h
40835         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40836         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40837         kernel versions.
40838         (__ASSUME_POSIX_TIMERS): Define unconditionally.
40839         (__ASSUME_FUTEX_REQUEUE): Remove.
40840         (__ASSUME_STATFS64): Define unconditionally.
40841         (__ASSUME_AT_SECURE): Likewise.
40842         (__ASSUME_CORRECT_SI_PID): Likewise.
40843         (__ASSUME_TGKILL): Define without depending on kernel version for
40844         i386.
40845         (__ASSUME_UTIMES): Likewise.
40846         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40847         kernel version.
40848         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40849         (__ASSUME_TMPFS_NAME): Likewise.
40850         * README: Update reference to Linux kernel versions.
40852 2012-08-02  Marek Polacek  <polacek@redhat.com>
40854         [BZ# 14150]
40855         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
40856         libc_cv_asm_type_prefix with %.
40857         * configure: Regenerated.
40858         * include/libc-symbols.h: Remove comment about
40859         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40860         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40861         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40862         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40863         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40864         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40865         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40866         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40867         * elf/tst-unique2mod1.c: Likewise.
40868         * elf/tst-unique1mod2.c: Likewise.
40869         * elf/tst-unique1mod1.c: Likewise.
40870         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40871         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40872         Replace ASM_TYPE_DIRECTIVE with .type.
40873         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40874         * sysdeps/i386/sysdep.h: Likewise.
40875         * sysdeps/x86_64/sysdep.h: Likewise.
40876         * sysdeps/sh/sysdep.h: Likewise.
40877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40878         Do not define ASM_TYPE_DIRECTIVE.
40879         * sysdeps/powerpc/sysdep.h: Likewise.
40880         * sysdeps/powerpc/powerpc32/sysdep.h:
40881         Replace ASM_TYPE_DIRECTIVE with .type.
40882         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40883         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40884         * sysdeps/i386/fpu/e_powf.S: Likewise.
40885         * sysdeps/i386/fpu/e_expl.S: Likewise.
40886         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40887         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40888         * sysdeps/i386/fpu/e_pow.S: Likewise.
40889         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40890         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40891         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40892         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40893         * sysdeps/i386/fpu/e_log2.S: Likewise.
40894         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40895         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40896         * sysdeps/i386/fpu/e_powl.S: Likewise.
40897         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40898         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40899         * sysdeps/i386/fpu/e_logl.S: Likewise.
40900         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40901         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40902         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40903         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40904         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40905         * sysdeps/i386/fpu/e_log.S: Likewise.
40906         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40907         * sysdeps/i386/fpu/e_logf.S: Likewise.
40908         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40909         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40910         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40911         * sysdeps/i386/fpu/e_log10.S: Likewise.
40912         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40913         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40914         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40915         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40916         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40917         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40918         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40919         * sysdeps/i386/i686/strtok.S: Likewise.
40920         * sysdeps/i386/i386-mcount.S: Likewise.
40921         * sysdeps/i386/strtok.S: Likewise.
40922         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40923         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40924         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40925         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40926         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40927         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40928         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40929         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40930         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40931         * sysdeps/x86_64/_mcount.S: Likewise.
40932         * sysdeps/x86_64/strtok.S: Likewise.
40933         * sysdeps/sh/_mcount.S: Likewise.
40935 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40937         * libio/iofopen.c: Include <fcntl.h>.
40938         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40939         (_IO_fopen64, fopen64): Define as aliases.
40940         * libio/iofopen64.c: Include <fcntl.h>.
40941         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40942         Conditionalize body on this.
40943         * sysdeps/wordsize-64/iofopen.c: File removed.
40944         * sysdeps/wordsize-64/iofopen64.c: File removed.
40946 2012-08-01  Marek Polacek  <polacek@redhat.com>
40948         * libc/Makeconfig: Use elf in place of binfmt-subdir.
40949         Use dlfcn directly instead of a variable.
40950         (binfmt-subdir): Do not define.
40951         (dlfcn): Likewise.
40953 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
40955         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40956         Remove all definitions.
40957         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40958         <kernel-features.h>.
40959         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40960         (miss_F_GETOWN_EX): Remove all definitions.
40961         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40962         macro definition.
40963         [!__ASSUME_FCNTL64]: Remove conditional code.
40964         [__ASSUME_FCNTL64]: Make code unconditional.
40965         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40966         <kernel-features.h>.
40967         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40968         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40969         (lockf64) [__NR_fcntl64]: Make code unconditional.
40970         (lockf64) [__ASSUME_FCNTL64]: Likewise.
40972         * sysdeps/unix/sysv/linux/kernel-features.h
40973         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40974         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40975         Make code unconditional.
40976         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40977         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40979         [__NR_vfork]: Make code unconditional.
40980         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40981         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40983         [__NR_vfork]: Make code unconditional.
40984         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40985         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40987 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40989         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40990         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40992         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40993         Define mkstemp64 as an alias.
40994         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40995         Define mkstemps64 as an alias.
40996         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40997         Define mkostemp64 as an alias.
40998         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40999         Define mkostemps64 as an alias.
41000         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41001         Conditionalize body on this.
41002         * misc/mkostemp64.c: Likewise.
41003         * misc/mkostemps64.c: Likewise.
41004         * misc/mkstemps64.c: Likewise.
41005         * sysdeps/wordsize-64/mkstemp64.c: File removed.
41006         * sysdeps/wordsize-64/mkostemp64.c: File removed.
41007         * sysdeps/wordsize-64/mkostemp.c: File removed.
41008         * sysdeps/wordsize-64/mkstemp.c: File removed.
41009         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41010         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41011         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41012         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41014         [BZ #14138]
41015         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41016         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41017         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41018         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41020         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41021         compat_symbol macros from <shlib-compat.h> rather than the underlying
41022         default_symbol_version and symbol_version macros, so that DEFAULT
41023         lines in shlib-versions are respected.
41024         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41026 2012-08-01  Florian Weimer  <fweimer@redhat.com>
41028         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41029         Declare with warn_unused_result.
41030         (setgid, setregid, setegid, setresgid): Likewise.
41031         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41032         Likewise.
41033         * WUR-REPORT: Remove set*id functions.
41035 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
41037         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41039 2012-07-31  Roland McGrath  <roland@hack.frob.com>
41041         [BZ #10191]
41042         * include/sys/socket.h (__libc_accept, __libc_accept4):
41043         Add attribute_hidden.
41044         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41046         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41047         use of PTR_MANGLE.
41048         * inet/getnetgrent_r.c (setup): Likewise.
41050         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41052 2012-07-31  David S. Miller  <davem@davemloft.net>
41054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41056 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
41058         [BZ #13629]
41059         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41060         value between 1.0 and 2.0 and smaller part has absolute value less
41061         than 1.0.
41062         * math/s_clog10.c (__clog10): Likewise.
41063         * math/s_clog10f.c (__clog10f): Likewise.
41064         * math/s_clog10l.c (__clog10l): Likewise.
41065         * math/s_clogf.c (__clogf): Likewise.
41066         * math/s_clogl.c (__clogl): Likewise.
41067         * math/libm-test.inc (clog_test): Add more tests.
41068         (clog10_test): Likewise.
41069         * sysdeps/i386/fpu/libm-test-ulps: Update.
41070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41072 2012-07-31  Florian Weimer  <fweimer@redhat.com>
41074         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41075         Exit with zero in case no suitable GID is found, and write a
41076         message to standard error.
41078 2012-07-30  Roland McGrath  <roland@hack.frob.com>
41080         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41081         rather than to 1.
41082         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41083         (MAXPATHLEN): Removed.
41084         (NOGROUP, NODEV): New macros.
41085         (setbit, clrbit, isset, isclr): New macros.
41086         (howmany, roundup, powerof2): New macros.
41087         (DEV_BSIZE): New macro.
41089         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41090         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41092         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41093         definition on [!__NO_LONG_DOUBLE_MATH].
41095         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41096         PTR_MANGLE and PTR_DEMANGLE.
41098         * socket/accept4.c (accept4): Rename to __libc_accept4.
41099         Define accept4 as a weak alias.
41101         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41102         on [_DIRENT_HAVE_D_TYPE].
41103         * io/ftw.c (ftw_dir): Likewise.
41105         * io/xmknod.c (__xmknod): Don't check PATH for being null.
41107         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
41109         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
41110         Use the BSD numbers rather than the arbitrary ones we had.
41111         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
41112         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
41113         (SIGXCPU, SIGXFSZ): New macros.
41114         (_NSIG): Now 32.
41116         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
41117         initializer on [_LIBC_REENTRANT].
41119         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
41120         definitions inside [_POSIX_MAPPED_FILES].
41122         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
41124         * dirent/opendir.c: Include <fcntl.h>.
41126         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
41127         (__libc_getspecific): Likewise.
41128         (__libc_key_create): Likewise.
41130         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
41131         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
41132         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
41133         (tmpfile64): Define as alias.
41134         * sysdeps/wordsize-64/tmpfile.c: File removed.
41135         * sysdeps/wordsize-64/tmpfile64.c: File removed.
41136         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
41137         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
41139         * stdio-common/vfscanf.c: Include <stdbool.h>.
41140         * nss/makedb.c: Likewise.
41141         * stdio-common/_i18n_number.h: Likewise.
41142         * argp/argp-help.c: Likewise.
41143         * posix/wordexp.c: Likewise.
41144         * sysdeps/posix/spawni.c: Likewise.
41145         * nss/nss_files/files-initgroups.c: Likewise.
41146         * stdio-common/reg-modifier.c: Include <stdlib.h>.
41147         * nss/nss_files/files-initgroups.c: Likewise.
41148         * nss/nss_db/db-netgrp.c: Likewise.
41149         * nss/nss_db/db-initgroups.c: Likewise.
41150         * io/fchmodat.c: Include <sys/stat.h>.
41152         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
41153         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
41155         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
41156         [HAVE_MMAP].
41158         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
41159         Add multiple inclusion protection.
41161 2012-07-27  David S. Miller  <davem@davemloft.net>
41163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41165 2012-07-27  Gary Benson  <gbenson@redhat.com>
41167         [BZ #14298]
41168         * elf/rtld.c: Include <stap-probe.h>.
41169         (dl_main): Added static probes "init_start" and "init_complete".
41170         * elf/dl-load.c: Include <stap-probe.h>.
41171         (lose): Take new parameter "nsid".
41172         Added static probe "map_failed".
41173         (_dl_map_object_from_fd): Pass namespace id to lose.
41174         Added static probe "map_start".
41175         (open_verify): Pass namespace id to lose.
41176         * elf/dl-open.c: Include <stap-probe.h>.
41177         (dl_open_worker) Added static probes "map_complete", "reloc_start"
41178         and "reloc_complete".
41179         * elf/dl-close.c: Include <stap-probe.h>.
41180         (_dl_close_worker): Added static probes "unmap_start" and
41181         "unmap_complete".
41182         * elf/rtld-debugger-interface.txt: New file documenting the above.
41184 2012-07-26  Roland McGrath  <roland@hack.frob.com>
41186         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
41187         rather than a string variable.
41188         * sunrpc/rpc_main.c (h_output): Likewise.
41189         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
41191 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
41193         * inet/check_native.c: New file.
41195 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
41197         [BZ #13629]
41198         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
41199         if larger part has absolute value 1.0.
41200         * math/s_clog10.c (__clog10): Likewise.
41201         * math/s_clog10f.c (__clog10f): Likewise.
41202         * math/s_clog10l.c (__clog10l): Likewise.
41203         * math/s_clogf.c (__clogf): Likewise.
41204         * math/s_clogl.c (__clogl): Likewise.
41205         * math/libm-test.inc (clog_test): Add more tests.
41206         (clog10_test): Likewise.
41207         * sysdeps/i386/fpu/libm-test-ulps: Update.
41208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41210         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
41211         (pltexit): Likewise.
41212         (La_regs): Likewise.
41213         (La_retval): Likewise.
41214         (int_retval): Likewise.
41215         Update #error for removed macros to refer only to definitions in
41216         tst-audit.h.
41217         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41218         macro.
41219         (pltexit): Likewise.
41220         (La_regs): Likewise.
41221         (La_retval): Likewise.
41222         (int_retval): Likewise.
41223         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41224         macro.
41225         (pltexit): Likewise.
41226         (La_regs): Likewise.
41227         (La_retval): Likewise.
41228         (int_retval): Likewise.
41229         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41230         macro.
41231         (pltexit): Likewise.
41232         (La_regs): Likewise.
41233         (La_retval): Likewise.
41234         (int_retval): Likewise.
41235         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41236         macro.
41237         (pltexit): Likewise.
41238         (La_regs): Likewise.
41239         (La_retval): Likewise.
41240         (int_retval): Likewise.
41241         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41242         macro.
41243         (pltexit): Likewise.
41244         (La_regs): Likewise.
41245         (La_retval): Likewise.
41246         (int_retval): Likewise.
41247         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41248         macro.
41249         (pltexit): Likewise.
41250         (La_regs): Likewise.
41251         (La_retval): Likewise.
41252         (int_retval): Likewise.
41253         * sysdeps/generic/tst-audit.h: Update comment to refer only to
41254         macro definitions in tst-audit.h.
41255         * sysdeps/i386/tst-audit.h: New file.
41256         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41257         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41258         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41259         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41260         * sysdeps/sh/tst-audit.h: Likewise.
41261         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41262         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41263         * sysdeps/x86_64/tst-audit.h: Likewise.
41265 2012-07-26  Andreas Jaeger  <aj@suse.de>
41267         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41268         ptrace.
41270         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41271         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41272         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41273         PTRACE_O_MASK.
41274         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41275         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41276         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41278         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41279         value.
41281         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41282         _sigsys.
41283         (si_call_addr, si_syscall, si_arch): Define new macro.
41284         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41285         _sigsys.
41286         (si_call_addr, si_syscall, si_arch): Define new marcro.
41287         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41288         _sigsys.
41289         (si_call_addr, si_syscall, si_arch): Define new macro.
41290         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41291         _sigsys.
41292         (si_call_addr, si_syscall, si_arch): Define new macro.
41294 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
41296         [BZ #13717]
41297         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41298         Change to 2.4.21 where previously 2.4.1.
41299         * sysdeps/unix/sysv/linux/configure: Regenerated.
41300         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41301         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41302         Linux kernel version.
41303         (__ASSUME_STD_AUXV): Remove.
41304         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41305         kernel version.
41306         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41307         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41308         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41309         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41310         (__ASSUME_NETLINK_SUPPORT): Likewise.
41311         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41312         (__no_netlink_support): Remove conditional definition.
41313         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41314         Remove.
41315         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41316         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41317         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41318         (if_nameindex_ioctl): Remove.
41319         (if_nameindex_netlink): Do not handle __no_netlink_support.
41320         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41321         code.
41322         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41323         Remove conditional code.
41324         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41325         code.
41326         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41327         unconditional.
41328         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41329         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41330         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41331         Remove.
41332         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41333         [!__ASSUME_STD_AUXV]: Remove conditional code.
41334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41335         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41336         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41338         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41339         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41340         code.
41341         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41343         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41344         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41345         conditional code.
41346         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41348         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41349         code.
41350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41351         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41352         conditional code.
41353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41354         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41355         code unconditional.
41356         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41357         conditional code.
41358         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41359         unconditional.
41360         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41361         conditional code.
41362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41363         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41364         unconditional.
41365         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41366         conditional code.
41367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41368         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41369         code unconditional.
41370         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41371         conditional code.
41372         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41373         unconditional.
41374         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41375         conditional code.
41376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41377         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41378         code unconditional.
41379         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41380         conditional code.
41381         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41382         unconditional.
41383         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41384         conditional code.
41386 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
41388         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41389         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41390         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41391         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41392         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41393         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41394         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41395         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41396         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41397         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41398         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41399         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41400         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41401         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41402         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41403         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41404         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41405         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41406         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41408         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41409         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41410         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41412 2012-07-25  Florian Weimer  <fweimer@redhat.com>
41414         * Versions.def: Add GLIBC_2.17.
41415         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41416         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41417         Introduce __libc_secure_getenv.
41418         * stdlib/Versions (2.17): Add secure_getenv
41419         (GLIBC_PRIVATE): Add __libc_secure_getenv.
41420         * stdlib/secure-getenv.c: Rename __secure_getenv to
41421         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
41422         symbol __secure_getenv for GLIBC_2.0.
41423         * stdlib/tst-secure-getenv.c: New.
41424         * stdlib/Makefile (tests): Add testcase.
41425         * manual/startup.texi (Environment Access): Document
41426         secure_getenv.
41427         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41428         __libc_secure_getenv.
41429         * inet/ruserpass.c (ruserpass): Likewise.
41430         * malloc/mtrace.c (mtrace): Likewise.
41431         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
41432         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
41433         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41434         * sysdeps/posix/tempname.c: Likewise.  Evaluate
41435         HAVE_SECURE_GETENV.
41436         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
41437         __secure_getenv to __libc_secure_getenv.
41438         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
41439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41440         Likewise.
41441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41442         Likewise.
41443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41445         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41451 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
41453         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41454         (struct La_i86_retval): Likewise.
41455         (struct La_x86_64_regs): Likewise.
41456         (struct La_x86_64_retval): Likewise.
41457         (struct La_x32_regs): Likewise.
41458         (struct La_x32_retval): Likewise.
41459         (struct La_ppc32_regs): Likewise.
41460         (struct La_ppc32_retval): Likewise.
41461         (struct La_ppc64_regs): Likewise.
41462         (struct La_ppc64_retval): Likewise.
41463         (struct La_sh_regs): Likewise.
41464         (struct La_sh_retval): Likewise.
41465         (struct La_s390_32_regs): Likewise.
41466         (struct La_s390_32_retval): Likewise.
41467         (struct La_s390_64_regs): Likewise.
41468         (struct La_s390_64_retval): Likewise.
41469         (struct La_sparc32_regs): Likewise.
41470         (struct La_sparc32_retval): Likewise.
41471         (struct La_sparc64_regs): Likewise.
41472         (struct La_sparc64_retval): Likewise.
41473         (struct audit_ifaces): Remove architecture-specific pltenter and
41474         pltexit members.
41475         * sysdeps/i386/ldsodefs.h: New file.
41476         * sysdeps/powerpc/ldsodefs.h: Likewise.
41477         * sysdeps/s390/ldsodefs.h: Likewise.
41478         * sysdeps/sh/ldsodefs.h: Likewise.
41479         * sysdeps/sparc/ldsodefs.h: Likewise.
41480         * sysdeps/x86_64/ldsodefs.h: Likewise.
41482 2012-07-25  Marek Polacek  <polacek@redhat.com>
41484         [BZ #6808]
41485         * math/libm-test.inc (yn_test): Add another test.
41486         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41487         to ERANGE when the result is +-Inf.
41488         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41489         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41490         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41491         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41493 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
41495         * conform/data/time.h-data (NULL): Use macro-constant.  Require
41496         equal to 0.
41497         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
41498         clock_t.
41499         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
41501 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
41503         * configure.in <sysdeps resolving>: Correct printing
41504         Implies_before.
41505         * configure: Regenerate.
41507 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
41509         * math/w_ilogb.c: Include <limits.h>.
41510         * math/w_ilogbl.c: Likewise.
41512 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
41514         * manual/lang.texi (__va_copy): Document primarily as ISO C99
41515         va_copy.  Document allowing for unavailable va_copy only as
41516         pre-C99 compatibility.
41517         * manual/string.texi (Copying and Concatenation): Use va_copy
41518         instead of __va_copy in concat example.
41520 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
41522         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41523         (__sendto): Use create_address_port.  Initialize APORT and deallocate
41524         it if not null.
41526         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41527         with O_NOLINK passed to __file_name_lookup.
41529         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41530         with O_NOLINK passed to __file_name_lookup.
41532         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41533         negative N or less than NGIDS.
41535         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41536         type to string_t.  Set ERANGE as errno and return it if NAME is not big
41537         enough.  Use memcpy instead of strncpy.
41539 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
41541         * elf/Makefile (check-data): Remove.
41542         (localplt.data): New vpath directive.
41543         ($(objpfx)check-localplt.out): Use localplt.data from vpath
41544         instead of $(check-data).
41545         * scripts/data/localplt-generic.data: Move to ...
41546         * sysdeps/generic/localplt.data: ... here.
41547         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41548         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41549         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41551         ... here.
41552         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41554         ... here.
41555         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41557         ... here.
41558         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41560         ... here.
41561         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41563         ... here.
41564         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41566         ... here.
41568 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41570         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41571         PPC32 and PPC64 files.
41572         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41573         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41575 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41577         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41578         __makecontext_ret to ...
41579         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41580         ... here and call exit if uc_link is NULL.  New file.
41581         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41582         __makecontext_ret.S.
41583         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41584         __makecontext_ret to ...
41585         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41586         ... here and call exit if uc_link is NULL.  New file.
41587         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41588         __makecontext_ret.S.
41590 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41592         * elf/elf.h (R_390_IRELATIVE): New definition.
41593         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41594         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
41595         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41596         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41597         (elf_machine_lazy_rel): Likewise.
41598         * sysdeps/s390/dl-irel.h: New file.
41599         * sysdeps/s390/s390-64/memcpy.S: New asm code.
41600         * sysdeps/s390/s390-64/memset.S: New asm code.
41601         * sysdeps/s390/s390-64/memcmp.S: New asm code.
41602         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41603         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41604         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41605         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41606         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41607         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41608         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41609         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41610         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41611         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41612         * sysdeps/s390/s390-32/memcpy.S: New asm code.
41613         * sysdeps/s390/s390-32/memset.S: New asm code.
41614         * sysdeps/s390/s390-32/memcmp.S: New asm code.
41616 2012-07-17  Marek Polacek  <polacek@redhat.com>
41618         [BZ #14349]
41619         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41620         * sysdeps/s390/s390-64/configure.in: Likewise.
41621         * sysdeps/sparc/configure.in: Likewise.
41622         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41623         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41624         * sysdeps/i386/configure.in: Likewise.
41625         * sysdeps/x86_64/configure.in: Likewise.
41626         * sysdeps/sh/configure.in: Likewise.
41627         * sysdeps/s390/s390-32/configure: Regenerated.
41628         * sysdeps/s390/s390-64/configure: Likewise.
41629         * sysdeps/x86_64/configure: Likewise.
41630         * sysdeps/sh/configure: Likewise.
41631         * sysdeps/powerpc/powerpc64/configure: Likewise.
41632         * sysdeps/powerpc/powerpc32/configure: Likewise.
41633         * sysdeps/sparc/configure: Likwise.
41634         * sysdeps/i386/configure: Likewise.
41636         * elf/dl-open.c: Comment fixes.
41638 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
41640         * Makefile [CXX] (check-data): Remove.
41641         [CXX] (c++-types.data): New vpath directive.
41642         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41643         vpath.  Do not allow for C++ type data being missing.
41644         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41645         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41646         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41647         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41648         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41649         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41650         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41652         ... here.
41653         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41655         ... here.
41656         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41658         ... here.
41659         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41661         ... here.
41662         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41664         ... here.
41665         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41667         ... here.
41668         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41670         ... here.
41671         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41674         * elf/tls-macros.h (TLS_LE): Move architecture-specific
41675         definitions to architecture-specific files.
41676         (TLS_IE): Likewise.
41677         (TLS_LD): Likewise.
41678         (TLS_GD): Likewise.
41679         * sysdeps/i386/tls-macros.h: New file.
41680         * sysdeps/powerpc/tls-macros.h: Likewise.
41681         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41682         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41683         * sysdeps/sh/tls-macros.h: Likewise.
41684         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41685         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41686         * sysdeps/x86_64/tls-macros.h: Likewise.
41688 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41690         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41691         zero value for regular exit case.
41693         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41694         (__start_context): Preserve zero value for regular exit case.
41696 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41697             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41699         * manual/setjmp.texi (setcontext): Clarify normal process
41700         termination when uc_link is the null pointer.
41701         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41702         exit call.
41704 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
41706         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41707         preprocessor.  Test for each exception mask separately.
41709 2012-07-16  Andreas Jaeger  <aj@suse.de>
41711         * po/ru.po: Update from translation team.
41713 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
41715         * conform/data/string.h-data (NULL): Use macro-constant.  Require
41716         equal to 0.
41717         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41718         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41719         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41720         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41721         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41723 2012-07-13  Andreas Jaeger  <aj@suse.de>
41725         * po/fr.po: Update from translation team.
41727 2012-07-12  Marek Polacek  <polacek@redhat.com>
41729         [BZ #14173]
41730         * math/libm-test.inc (yn_test): Add test for BZ #14173.
41731         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41732         loop condition.
41734 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
41736         [BZ #13717]
41737         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41738         Change to 2.4.1 where previously 2.4.0.
41739         * sysdeps/unix/sysv/linux/configure: Regenerated.
41740         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41741         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41742         version.
41743         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41744         (__ASSUME_AT_CLKTCK): Remove.
41745         (__ASSUME_AT_PAGESIZE): Likewise.
41746         (__ASSUME_AT_XID): Likewise.
41747         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41748         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41749         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41750         unconditionally.
41751         (HAVE_AUX_PAGESIZE): Likewise.
41752         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41753         [__ASSUME_AT_CLKTCK]: Make code unconditional.
41754         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41756 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
41758         [BZ #14307]
41759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41760         the temporary buffer used to invoke __gethostbyname2_r,
41761         __gethostbyaddr_r and gethostbyname4_r to make room for struct
41762         host_data / struct gaih_addrtuple.
41763         * resolv/nss_dns/dns-host.c (global scope): Move definition of
41764         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41765         header file nss/nsswitch.h.
41766         * nss/nsswitch.h (global scope): Add definition of implementation
41767         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41768         resolv/nss_dns/dns-host.c).
41770 2012-07-11  Andreas Jaeger  <aj@suse.de>
41772         * po/fr.po: Update from translation team.
41774         * po/sv.po: Update from translation team
41775         * po/fr.po: Another update from translation team.
41777 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41779         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41780         for subnormals or multiply small sinh result by itself.
41781         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41784 2012-07-11  David S. Miller  <davem@davemloft.net>
41786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41788 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
41790         [BZ #14347]
41791         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41792         (INTERNAL_MARK): Shift it here.
41794 2012-07-10  Marek Polacek  <polacek@redhat.com>
41796         [BZ #14151]
41797         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
41798         libc_cv_asm_global_directive with .globl.
41799         * configure: Regenerated.
41800         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41801         with .globl.
41802         * sysdeps/i386/configure: Regenerated.
41803         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41804         with .globl.
41805         * sysdeps/x86_64/configure: Regenerated.
41806         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41807         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41808         * elf/tst-unique2mod2.c: Likewise.
41809         * elf/tst-unique2mod1.c: Likewise.
41810         * elf/tst-unique1mod2.c: Likewise.
41811         * elf/tst-unique1mod1.c: Likewise.
41812         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41813         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41814         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41815         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41816         * sysdeps/mach/sysdep.h: Likewise.
41817         * sysdeps/i386/sysdep.h: Likewise.
41818         * sysdeps/i386/i386-mcount.S: Likewise.
41819         * sysdeps/x86_64/_mcount.S: Likewise.
41820         * sysdeps/x86_64/sysdep.h: Likewise.
41821         * sysdeps/sh/_mcount.S: Likewise.
41822         * sysdeps/sh/sysdep.h: Likewise.
41823         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41824         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41825         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41826         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41827         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41828         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41829         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41830         * locale/localeinfo.h: Likewise.
41831         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41832         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41834 2012-07-09  Roland McGrath  <roland@hack.frob.com>
41836         [BZ #14336]
41837         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41838         system".
41839         * manual/message.texi (The Uniforum approach): Likewise.
41840         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41841         (glibc iconv Implementation): Likewise.
41843 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
41845         [BZ #14337]
41846         * math/s_clog.c (__clog): Avoid scaling a value down where that
41847         could result in underflow.
41848         * math/s_clog10.c (__clog10): Likewise.
41849         * math/s_clog10f.c (__clog10f): Likewise.
41850         * math/s_clog10l.c (__clog10l): Likewise.
41851         * math/s_clogf.c (__clogf): Likewise.
41852         * math/s_clogl.c (__clogl): Likewise.
41853         * math/libm-test.inc (clog_test): Add more tests.
41854         (clog10_test): Likewise.
41855         * sysdeps/i386/fpu/libm-test-ulps: Update.
41856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41858 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
41860         [BZ #14283]
41861         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41862         by 7 not 8 to examine high bit of fractional part.
41864         [BZ #14042]
41865         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41866         for call to __mcount_internal.
41867         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41868         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41869         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41871 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
41873         [BZ #14154]
41874         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41875         approximation for values within 0x1p-13f of an odd multiple of
41876         pi/4.
41877         * math/libm-test.inc (tan_test): Do not allow spurious underflow
41878         exception.  Add more tests.
41879         * sysdeps/i386/fpu/libm-test-ulps: Update.
41881         [BZ #6778]
41882         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41883         inputs and return -1 for them.  Do not check for +Inf in case not
41884         reachable for +Inf.
41885         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41886         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41887         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41888         and return -1 for them.  Do not check for +Inf in case not
41889         reachable for +Inf.
41890         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41891         define.
41892         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41893         and return -1 for them.  Do not check for +Inf in case not
41894         reachable for +Inf.
41895         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
41896         spurious underflow.
41897         * sysdeps/i386/fpu/libm-test-ulps: Update.
41898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41900 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
41902         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41904 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
41906         [BZ #14157]
41907         [BZ #14331]
41908         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41909         could result in spurious underflow.  Scale down values above
41910         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41911         * math/s_csqrtf.c (__csqrtf): Likewise.
41912         * math/s_csqrtl.c (__csqrtl): Likewise.
41913         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
41914         spurious underflow.
41915         * sysdeps/i386/fpu/libm-test-ulps: Update.
41916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41918 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
41920         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41921         xopen-msg.sed.
41922         * catgets/xopen-msg.awk: New file.
41923         * catgets/xopen-msg.sed: Removed.
41925         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41926         po2text.sed.
41927         * intl/po2test.awk: New file.
41928         * intl/po2test.sed: Removed.
41930 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
41932         [BZ #14328]
41933         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41934         or multiply small sinh result by itself.
41935         * math/s_ctanf.c (__ctanf): Likewise.
41936         * math/s_ctanh.c (__ctanh): Likewise.
41937         * math/s_ctanhf.c (__ctanhf): Likewise.
41938         * math/s_ctanhl.c (__ctanhl): Likewise.
41939         * math/s_ctanl.c (__ctanl): Likewise.
41940         * math/libm-test.inc (ctan_test_tonearest): New function.
41941         (ctan_test_towardzero): Likewise.
41942         (ctan_test_downward): Likewise.
41943         (ctan_test_upward): Likewise.
41944         (ctanh_test_tonearest): Likewise.
41945         (ctanh_test_towardzero): Likewise.
41946         (ctanh_test_downward): Likewise.
41947         (ctanh_test_upward): Likewise.
41948         (main): Call these new functions.
41949         * sysdeps/i386/fpu/libm-test-ulps: Update.
41950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41952 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
41954         * .gitignore: Delete /ports entry.
41956 2012-07-03  Andreas Jaeger  <aj@suse.de>
41958         * po/bg.po: Update from translation team.
41959         * po/cs.po: Likewise.
41960         * po/de.po: Likewise.
41961         * po/hr.po: Likewise.
41962         * po/nl.pl: Likewise.
41963         * po/pl.po: Likewise.
41964         * po/vi.po: Likewise.
41966 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
41968         * Makeconfig [!+link] (+link-before-libc): New variable.
41969         [!+link] (+link-after-libc): Likewise.
41970         [!+link] (+link-tests): Likewise.
41971         [!+link] (+link): Define in terms of $(+link-before-libc) and
41972         $(+link-after-libc).
41973         [!+link-static] (+link-static-before-libc): New variable.
41974         [!+link-static] (+link-static-after-libc): Likewise.
41975         [!+link-static] (+link-static-tests): Likewise.
41976         [!+link-static] (+link-static): Define in terms of
41977         $(+link-static-before-libc) and $(+link-static-after-libc).
41978         [build-shared] (link-libc-before-gnulib): New variable.
41979         [build-shared] (link-libc-tests): Likewise.
41980         [build-shared] (link-libc): Define in terms of
41981         $(link-libc-before-gnulib).
41982         [!build-shared] (link-libc-tests): New variable.
41983         (link-libc-static-tests): New variable.
41984         [!gnulib] (gnulib-arch): New variable.
41985         [!gnulib] (gnulib-tests): Likewise.
41986         [!gnulib] (static-gnulib-arch): Likewise.
41987         [!gnulib] (static-gnulib-tests): Likewise.
41988         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
41989         Define with "=" instead of ":=".
41990         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
41991         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
41992         * Rules (binaries-all-notests): New variable.
41993         (binaries-all-tests): Likewise.
41994         (binaries-static-notests): Likewise.
41995         (binaries-static-tests): Likewise.
41996         (binaries-all): Define using $(binaries-all-notests) and
41997         $(binaries-all-tests).
41998         (binaries-static): Define using $(binaries-static-notests) and
41999         $(binaries-static-tests).
42000         (binaries-shared-tests): New variable.
42001         (binaries-shared-notests): Likewise.
42002         (binaries-shared): Remove variable.
42003         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42004         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42005         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42006         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42007         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42008         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42009         * elf/Makefile (sln-modules): New variable.
42010         (extra-objs): Add $(sln-modules:=.o).
42011         (ldconfig-modules): Add static-stubs.
42012         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42013         * elf/static-stubs.c: New file.
42015         [BZ #14283]
42016         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42017         by 7 not 8 to examine high bit of fractional part.  Use volatile
42018         variables when splitting into final array of floats if
42019         __FLT_EVAL_METHOD__ != 0.
42020         * math/libm-test.inc (cos_test): Add another test.
42021         (sin_test): Likewise.
42022         * sysdeps/i386/fpu/libm-test-ulps: Update.
42024         [BZ #14273]
42025         * math/libm-test.inc (cosh_test): Add more tests.
42027         * version.h (RELEASE): Set to "development".
42028         (VERSION): Set to "2.16.90".
42030 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
42032         * NEWS: Update copyright. Remove last-updated date.
42033         Mention math library bug fixes and timezone data changes.
42034         * README: Mention GNU/Hurd, x32, and HPPA support status.
42036 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
42038         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42040 2012-06-27  Andreas Jaeger  <aj@suse.de>
42042         * manual/contrib.texi (Contributors): Add Samuel Thibault.
42044 2012-06-25  Andreas Jaeger  <aj@suse.de>
42046         * sysdeps/s390/fpu/libm-test-ulps: Update.
42048 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
42049             Thomas Schwinge  <thomas@codesourcery.com>
42051         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42052         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42053         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42054         fanotify_mark.
42056 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
42058         * sysdeps/mach/start.c: Remove file.
42059         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42060         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42061         * sysdeps/sh/init-first.c: Likewise.
42063         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42064         registers for frame unwinding purposes, add CFI directives.
42065         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42066         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42067         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42068         Likewise.
42070         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42071         __fortify_fail returning.
42072         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42074         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42075         sysdeps/sh/____longjmp_chk.S.
42076         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42077         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42078         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42079         (gen-as-const-headers): Append sigaltstack-offsets.sym.
42081         * sysdeps/sh/abort-instr.h: New file.
42082         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42083         process in case exit returns.
42085         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42086         initialize the GOT register before use.
42088         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42089         calculation of ARGC > 4.
42091         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42092         meaningful names to some local labels.
42094 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42095             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42097         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42098         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42099         (__arch_compare_and_exchange_val_16_acq): Likewise.
42100         (__arch_compare_and_exchange_val_32_acq): Likewise.
42101         (atomic_exchange_and_add): Fix gUSA sequence.
42102         (atomic_add): Likewise.
42103         (atomic_add_negative): Likewise.
42104         (atomic_add_zero): Likewise.
42105         (atomic_bit_test_set): Likewise.
42107 2012-06-22  Andreas Schwab  <schwab@redhat.com>
42109         [BZ #13579]
42110         * include/link.h (struct link_map): Add l_free_initfini.
42111         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
42112         l_initfini.
42113         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
42114         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
42115         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
42116         set.
42118 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
42120         * configure.in: Use AC_LANG_SOURCE.
42121         * configure: Regenerate.
42123 2012-06-22  Roland McGrath  <roland@hack.frob.com>
42125         * configure.in (libc_cv_localstatedir): New substituted variable.
42126         * configure: Regenerated.
42127         * config.make.in (localstatedir): New variable, substituted from
42128         libc_cv_localstatedir.
42129         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
42130         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
42131         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
42132         * sysdeps/gnu/configure: Regenerated.
42134 2012-06-21  Jeff Law  <law@redhat.com>
42136         [BZ #14277]
42137         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
42138         free.  Simplify list management for _LIBC case.
42140 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
42142         [BZ #14273]
42143         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
42144         Clear sign bit of 64-bit integer value before comparing against
42145         overflow value.
42147         * sysdeps/mach/configure: Regenerated.
42149 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
42151         [BZ #14278]
42152         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
42154 2012-06-21  Jeff Law  <law@redhat.com>
42156         [BZ #13882]
42157         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
42158         uint16_t for elements in the "seen" array to avoid char overflows.
42159         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42160         * elf/dl-open.c (dl_open_worker): Likewise.
42162 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
42164         * scripts/list-sources.sh: Scan PORTS for translations.
42165         * po/libc.pot: Regenerated.
42167 2012-06-21  Andreas Jaeger  <aj@suse.de>
42169         [BZ #12194]
42170         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
42171         warning.
42172         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
42173         * bits/byteswap-16.h (__bswap_16): Likewise.
42174         * bits/byteswap.h (__bswap_constant_16): Likewise.
42176 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
42178         [BZ #14117]
42179         * sysdeps/i386/fpu_control.h: Removed.
42180         * sysdeps/x86_64/fpu_control.h: Moved to ...
42181         * sysdeps/x86/fpu_control.h: Here.
42183         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
42184         (_FPU_SETCW): Likewise.
42186 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
42188         [BZ #14117]
42189         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
42190         * sysdeps/x86/fpu/bits/mathinline.h: This.
42191         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42193         [BZ #14050]
42194         [BZ #14117]
42195         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
42196         functions if __x86_64__ is defined.
42198 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
42200         * string/endian.h: Add !__ASSEMBLER__ condition for including
42201         conversion interfaces.
42203 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
42205         [BZ #14241]
42206         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
42207         of ABS(x) in calculating zero to negative powers other than odd
42208         integers.
42209         * math/libm-test.inc (pow_test): Add more tests.
42211 2012-06-15  Andreas Jaeger  <aj@suse.de>
42213         * manual/contrib.texi (Contributors): Update entry of Liubov
42214         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42215         Machado Filho.
42217 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
42219         * string/string.h: Add __wur to GNU version of strerror_r.
42221 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
42223         [BZ #14229]
42224         * string/Makefile (tests): Add tst-strtok_r.
42225         * string/tst-strtok_r.c: New file.
42226         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42227         RAX_LP/RDX_LP on SAVE_PTR.
42229 2012-06-14  Roland McGrath  <roland@hack.frob.com>
42231         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42233 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
42235         * libm_test.inc (csqrt_test): Allow more spurious underflow
42236         exceptions.
42237         (j0_test): Likewise.
42238         (j1_test): Likewise.
42239         (y0_test): Likewise.
42240         (y1_test): Likewise.
42242 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
42244         * po/Makefile (libc.pot): Use UTF-8 charset.
42246 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
42248         [BZ #14210]
42249         Suppress sign-conversion warning from FD_SET.
42250         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42251         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42252         not unsigned long int.
42253         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42255 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
42257         [BZ #14050]
42258         [BZ #14117]
42259         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42260         __extern_always_inline instead of __extern_inline.
42261         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42262         (__signbit): Likewise.
42263         (__signbitl): Support C++ namespace.
42264         (lrintf): New inline function.
42265         (lrint): Likewise.
42266         (llrintf): Likewise.
42267         (llrint): Likewise.
42268         (fmaxf): Likewise.
42269         (fmax): Likewise.
42270         (fminf): Likewise.
42271         (fmin): Likewise.
42272         (rint): Likewise.
42273         (rintf): Likewise.
42274         (ceil): Likewise.
42275         (ceilf): Likewise.
42276         (floor): Likewise.
42277         (floorf): Likewise.
42278         (nearbyint): Likewise.
42279         (nearbyintf): Likewise.
42281 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
42283         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42284         non-default versions.
42286 2012-06-11  Roland McGrath  <roland@hack.frob.com>
42288         [BZ #14218]
42289         * manual/argp.texi (Argp): Reword argp_parse description slightly.
42291 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
42293         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42294         (FE_UPWARD, FE_DOWNWARD): Don't define.
42295         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42296         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42298         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42299         reading it.
42300         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42301         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42303 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42305         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42306         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42307         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42308         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42310 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
42312         [BZ #14117]
42313         * sysdeps/i386/fpu/bits/fenv.h: Removed.
42314         * sysdeps/i386/fpu/Implies: New file.
42315         * sysdeps/x86_64/fpu/Implies: Likewise.
42316         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42317         * sysdeps/x86/fpu/bits/fenv.h: This.
42319         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42320         __SSE_MATH__.
42322 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42324         [BZ #14134]
42325         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42326         character 0xffff that matches the last element of the
42327         conversion table.
42329 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42331         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42332         fmodl commit.
42334 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42336         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42337         values higher than 25.6283.
42339 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42341         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42342         subnormal exponent extraction and add some __builtin_expect.
42343         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42344         Fix for subnormal mantissa calculation.
42346 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
42348         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42349         cpu2 is -1 and errno is not ENOSYS.
42351 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
42353         [BZ #14117]
42354         * sysdeps/i386/i486/bits/string.h: Renamed to ...
42355         * sysdeps/x86/bits/string.h: This.
42356         * sysdeps/x86_64/bits/string.h: Removed.
42358         * sysdeps/i386/i486/bits/string.h: Define inline functions only
42359         if not compiling for x86-64, but compiling for >= i486.
42361         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42362         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42364         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42365         New macro from Linux kernel 3.4.0.
42366         (FP_XSTATE_MAGIC2): Likewise.
42367         (FP_XSTATE_MAGIC2_SIZE): Likewise.
42368         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42369         (struct _fpx_sw_bytes): New struct.
42370         (struct _xsave_hdr): Likewise.
42371         (struct _ymmh_state): Likewise.
42372         (struct _xstate): Likewise.
42374         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42375         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42376         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42377         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42378         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42379         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42381         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42382         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42383         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42384         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42385         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42386         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42388 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42390         [BZ #13743]
42391         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42392         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42393         (sysdep_headers): Include sys/platform/ppc.h.
42394         * sysdeps/powerpc/test-gettimebase.c: Test for
42395         __ppc_get_timebase() to catch future ISA opcode/insn changes.
42396         * manual/Makefile (appendices): Include platform.texi.
42397         * manual/contrib.texi (Contributors): Update @node pointers.
42398         * manual/maint.texi (Maintenance): Likewise.
42399         (Platform): New node.
42400         * manual/platform.texi: New file.  Document the new features.
42402 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42403             Jakub Jelinek  <jakub@redhat.com>
42405         [BZ #14188]
42406         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42407         where __builtin_expect is unavailable.
42409 2012-06-03  David S. Miller  <davem@davemloft.net>
42411         * stdlib/longlong.h: Updated from GCC.
42413 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
42415         [BZ #14042]
42416         * sysdeps/powerpc/powerpc32/mcount.c: New file.
42417         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42418         __mcount_internal.
42419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42420         (GLIBC_2.16): Likewise.
42422 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42424         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42426 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
42428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42429         (default-abi): New variable.
42430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42431         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42432         variable.
42433         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42434         Likewise.
42435         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42436         Likewise.
42437         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42438         Likewise.
42440         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42441         definition.  Document in comment.
42443 2012-06-01  David S. Miller  <davem@davemloft.net>
42445         * stdlib/longlong.h: Updated from GCC.
42447 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42449         [BZ #14117]
42450         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42451         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42452         sys/debugreg.h sys/io.h here.
42453         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42454         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42455         sys/io.h.
42456         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42457         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42458         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42459         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42460         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42461         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42463         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42464         Define only if __x86_64__ is defined.
42466 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
42468         [BZ #14048]
42469         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42470         Use int64_t for variable i.
42471         * math/libm-test.inc (fmod_test): Add more tests.
42473         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42474         z computation is not scheduled after fetestexcept.
42475         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42476         Use math_force_eval instead of asm to ensure calculation scheduled
42477         before exception test.
42478         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42479         Ensure a1 + u.d computation is not scheduled after fetestexcept.
42481 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
42483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42484         computation is not scheduled after fetestexcept.
42486 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42488         [BZ #14117]
42489         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42490         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42492 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42494         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42495         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42497 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
42499         [BZ #14117]
42500         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42501         <bits/wordsize.h>.
42502         (__WCHAR_MIN): Support __WORDSIZE == 64.
42503         (__WCHAR_MAX): Likewise.
42505         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42506         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42508         [BZ #14183]
42509         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42510         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42512         [BZ #14117]
42513         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42514         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42516         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42517         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42519         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42520         Defined to 1 if __x86_64__ isn't defined.
42521         (_STAT_VER_LINUX_OLD): New.
42522         (st_atime): Remove duplicate.
42523         (st_mtime): Likewise.
42524         (st_ctime): Likewise.
42526 2012-05-31  David S. Miller  <davem@davemloft.net>
42528         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42529         entries.
42531 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
42533         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42534         gen-libm-test.pl.
42536         [BZ #14132]
42537         * elf/dl-reloc.c: Include <_itoa.h>.
42538         (_dl_reloc_bad_type): Remove use of INTUSE.
42539         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42540         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42541         * stdio-common/psiginfo.c (psiginfo): Likewise.
42542         * stdio-common/psignal.c (psignal): Likewise.
42543         * string/strsignal.c (strsignal): Likewise.
42544         * include/signal.h (_sys_siglist): Declare hidden proto.
42545         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
42546         INTVARDEF with libc_hidden_data_def.
42547         * stdio-common/itoa-udigits.c: Likewise.
42548         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42549         (_itoa_lower_digits_internal): Remove declaration.
42550         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42551         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42552         (_sys_sigabbrev_internal): Remove aliases.
42553         (_sys_siglist): Define hidden alias.
42555 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
42557         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42558         bits/sysctl.h.
42560 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
42562         [BZ #14117]
42563         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42564         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42566         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42567         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42568         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42569         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42570         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42571         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42573         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42574         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42575         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42577         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42578         with __addr.
42579         (insw): Likewise.
42580         (insl): Likewise.
42581         (outsb): Likewise.
42582         (outsw): Likewise.
42583         (outsl): Likewise.
42585         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42586         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42587         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42589         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42590         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42591         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42592         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42593         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42594         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42596         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42597         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42599         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42600         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42602         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42603         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42604         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42606         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42607         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42608         to ...
42609         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42611         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42612         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42613         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42615         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42616         for x86-64.
42617         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42619 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
42621         * math/math.h (M_El): Use two more decimal places.
42622         (M_LOG2El): Likewise.
42623         (M_LOG10El): Likewise.
42624         (M_LN2l): Likewise.
42625         (M_LN10l): Likewise.
42626         (M_PIl): Likewise.
42627         (M_PI_2l): Likewise.
42628         (M_PI_4l): Likewise.
42629         (M_1_PIl): Likewise.
42630         (M_2_PIl): Likewise.
42631         (M_2_SQRTPIl): Likewise.
42632         (M_SQRT2l): Likewise.
42633         (M_SQRT1_2l): Likewise.
42635 2012-05-31  David S. Miller  <davem@davemloft.net>
42637         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42638         values between float registers.
42639         * sysdeps/sparc/sparc64/memset.S: Likewise.
42640         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42642 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
42644         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42645         -D_FORTIFY_SOURCE=1.
42646         (CPPFLAGS-tst-longjmp_chk.c): Define.
42647         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42648         (CPPFLAGS-tst-longjmp_chk2.c): Define.
42649         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42650         CFLAGS-tst-wchar-h.c.
42652 2012-05-31  Marek Polacek  <polacek@redhat.com>
42654         [BZ #14132]
42655         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42656         __endmntent_internal): Remove declaration.
42657         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42658         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42659         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42661 2012-05-30  David S. Miller  <davem@davemloft.net>
42663         * sysdeps/sparc/sparc32/soft-fp/q_util.c
42664         (___Q_simulate_exceptions): Use real FP ops rather than writing
42665         into the %fsr.
42666         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42667         Likewise.
42669 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42671         [BZ #14117]
42672         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42673         * sysdeps/x86/bits/xtitypes.h: This.
42675         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42676         * sysdeps/x86/bits/wordsize.h: This.
42678         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42679         * sysdeps/x86/bits/huge_vall.h: This.
42681         * sysdeps/i386/bits/select.h: Removed.
42682         * sysdeps/x86_64/bits/select.h: Renamed to ...
42683         * sysdeps/x86/bits/select.h: This.
42685         * sysdeps/i386/bits/setjmp.h: Removed.
42686         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42687         * sysdeps/x86/bits/setjmp.h: This.
42689         * sysdeps/i386/bits/mathdef.h: Removed.
42690         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42691         * sysdeps/x86/bits/mathdef.h: This.
42693 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
42695         [BZ #14132]
42696         * include/sys/socket.h (__connect_internal)
42697         (__libc_sa_len_internal): Remove declaration.
42698         (__connect, __libc_sa_len): Declare hidden_proto.
42699         (SA_LEN): Remove use of INTUSE.
42700         * socket/connect.c: Add libc_hidden_def.
42701         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42702         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42703         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42704         alias.
42705         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42706         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42707         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42708         of adding _internal alias.
42710 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42712         [BZ #14117]
42713         * sysdeps/i386/bits/link.h: Removed.
42714         * sysdeps/i386/bits/linkmap.h: Likewise.
42715         * sysdeps/x86_64/bits/link.h: Renamed to ...
42716         * sysdeps/x86/bits/link.h: This.
42717         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42718         * sysdeps/x86/bits/linkmap.h: This.
42720         * sysdeps/i386/bits/endian.h: Removed.
42721         * sysdeps/x86_64/bits/endian.h: Renamed to ...
42722         * sysdeps/x86/bits/endian.h: This.
42724         * sysdeps/i386/bits/byteswap.h: Removed.
42725         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42726         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42727         * sysdeps/x86/bits/byteswap.h: This.
42728         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42729         * sysdeps/x86/bits/byteswap-16.h: This.
42730         * sysdeps/i386/Implies: Add x86.
42731         * sysdeps/x86_64/Implies: Likewise.
42733 2012-05-30  David S. Miller  <davem@davemloft.net>
42735         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42736         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42737         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42738         (FP_TRAPPING_EXCEPTIONS): Define.
42739         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42740         (FP_TRAPPING_EXCEPTIONS): Define.
42741         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42742         subnormals only when inexact has been signalled or underflow
42743         exceptions are enabled.
42744         (_FP_PACK_CANONICAL): Likewise.
42746 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42748         [BZ #14183]
42749         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42750         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42752 2012-05-30  Richard Henderson  <rth@twiddle.net>
42754         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42755         with #ifndef NOT_IN_libc.
42757         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
42758         marked to avoid plt entry.
42760 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42762         [BZ #14112]
42763         * Makeconfig (default-abi): New macro.
42764         (abi-includes): Likewise.
42765         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
42766         $(abi-$(default-abi)-lib-soname) for soname if defined.
42767         ($(common-objpfx)gnu/lib-names.stmp): Generate from
42768         abi-variants.
42769         * Makefile (installed-stubs): Likewise.
42770         * include/stubs-biarch.h: Removed.
42771         * scripts/lib-names.awk: Only handle one library at a time.
42772         * scripts/soversions.awk: Remove WORDSIZE support.
42773         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42774         entries.
42775         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42776         Removed.
42777         (syscall-list-default-condition): Likewise.
42778         (syscall-list-default-condition): Likewise.
42779         (syscall-list-includes): Likewise.
42780         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42781         syscall-list-* with abi-*.  Handle undefined abi-variants.
42782         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42783         * sysdeps/unix/sysv/linux/i386/Implies: New file.
42784         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42785         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42786         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42787         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42788         Removed.
42789         (syscall-list-32-options): Likewise.
42790         (syscall-list-32-condition): Likewise.
42791         (syscall-list-64-options): Likewise.
42792         (syscall-list-64-condition): Likewise.
42793         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42794         macro.
42795         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42796         Renamed to ...
42797         (abi-*): This.
42798         (abi-64-ld-soname): New macro.
42799         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42800         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42801         Renamed to ...
42802         (abi-*): This.
42803         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42804         * sysdeps/x86_64/x32/shlib-versions: Likewise.
42806 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
42808         * sysdeps/unix/sysv/linux/kernel-features.h
42809         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42810         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42811         include <kernel-features.h>.
42812         [!__NR_ftruncate64]: Remove conditional code.
42813         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42814         [__NR_ftruncate64]: Make code unconditional.
42815         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42816         * sysdeps/unix/sysv/linux/truncate64.c: Do not
42817         include <kernel-features.h>.
42818         [!__NR_ftruncate64]: Remove conditional code.
42819         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42820         [__NR_ftruncate64]: Make code unconditional.
42821         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42823         include <kernel-features.h>.
42824         [!__NR_ftruncate64]: Remove conditional code.
42825         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42826         [__NR_ftruncate64]: Make code unconditional.
42827         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42829         include <kernel-features.h>.
42830         [!__NR_ftruncate64]: Remove conditional code.
42831         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42832         [__NR_ftruncate64]: Make code unconditional.
42833         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42835         * configure.in (libc_cv_fpie): Weaken to a compile test using
42836         LIBC_TRY_CC_OPTION.
42837         * configure: Regenerated.
42839 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42845         Refreshed.
42846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42852         Refreshed.
42854 2012-05-27  David S. Miller  <davem@davemloft.net>
42856         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42857         (___Q_zero): New.
42858         (__Q_simulate_exceptions): Return void.  Change to simulate
42859         exceptions by writing into the %fsr.
42860         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42861         (__Qp_handle_exceptions): Likewise.
42862         (numbers): Delete.
42863         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42864         __Qp_handle_exceptions.
42865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42866         __Qp_handle_exceptions.
42867         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42868         as unused and give dummy FP_RND_NEAREST initializer.
42869         (FP_INHIBIT_RESULTS): Define.
42870         (___Q_simulate_exceptions): Update declaration.
42871         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42872         formatting.
42873         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42874         as unused and give dummy FP_RND_NEAREST initializer.
42875         (__Qp_handle_exceptions): Update declaration.
42876         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42877         formatting.
42879 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
42881         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42882         the temporary FPU control word.
42883         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42884         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42885         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42886         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42887         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42888         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42889         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42890         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42891         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42892         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42893         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42895 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42897         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42898         fields.
42900 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
42902         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42903         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42904         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42905         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42906         Likewise.
42907         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42908         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42909         Likewise.
42911 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
42913         * po/h.po: Update from translation team.
42915 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
42917         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42919         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42920         handling of denormals.
42921         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42922         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42923         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42924         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42925         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42926         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42927         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42928         Likewise.
42930 2012-05-26  Marek Polacek  <polacek@redhat.com>
42932         [BZ #14152]
42933         * math/libm-test.inc (fma_test): Don't always expect underflow
42934         exception.
42936 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42938         [BZ #12416]
42939         * elf/tst-execstack.c: Include stackinfo.h.
42940         (do_test): Adjust test case to ensure that pthread_getattr_np
42941         behaviour remains the same after marking stack executable.
42943 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42945         * sysdeps/unix/sysv/linux/kernel-features.h
42946         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42947         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42948         kernel-features.h.
42949         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42950         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42951         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42952         kernel-features.h.
42953         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42954         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42956 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
42958         * configure.in: Define the default includes to being none.
42959         * configure: Regenerated.
42961 2012-05-25  Roland McGrath  <roland@hack.frob.com>
42963         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42964         * sysdeps/x86_64/setjmp.S: Likewise.
42965         * sysdeps/i386/bsd-setjmp.S: Likewise.
42966         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42967         * sysdeps/i386/setjmp.S: Likewise.
42968         * sysdeps/i386/__longjmp.S: Likewise.
42969         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42970         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42972         * include/stap-probe.h: New file.
42973         * configure.in: Handle --enable-systemtap.
42974         * configure: Regenerated.
42975         * config.h.in (USE_STAP_PROBE): New #undef.
42976         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42977         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42978         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42980 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42982         [BZ #13717]
42983         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42984         to 2.4.0 where earlier.
42985         * sysdeps/unix/sysv/linux/configure: Regenerated.
42986         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42987         <kernel-features.h>.
42988         [__ASSUME_32BITUIDS]: Make code unconditional.
42989         [!__ASSUME_32BITUIDS]: Remove conditional code.
42990         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42991         <kernel-features.h>.
42992         [__ASSUME_32BITUIDS]: Make code unconditional.
42993         [!__ASSUME_32BITUIDS]: Remove conditional code.
42994         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42995         [__ASSUME_32BITUIDS]: Make code unconditional.
42996         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42997         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42998         <kernel-features.h>.
42999         [__ASSUME_32BITUIDS]: Make code unconditional.
43000         [!__ASSUME_32BITUIDS]: Remove conditional code.
43001         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43002         <kernel-features.h>.
43003         [__ASSUME_32BITUIDS]: Make code unconditional.
43004         [!__ASSUME_32BITUIDS]: Remove conditional code.
43005         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43006         <kernel-features.h>.
43007         [__ASSUME_32BITUIDS]: Make code unconditional.
43008         [!__ASSUME_32BITUIDS]: Remove conditional code.
43009         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43010         <kernel-features.h>.
43011         [__ASSUME_32BITUIDS]: Make code unconditional.
43012         [!__ASSUME_32BITUIDS]: Remove conditional code.
43013         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43014         <kernel-features.h>.
43015         [__ASSUME_32BITUIDS]: Make code unconditional.
43016         [!__ASSUME_32BITUIDS]: Remove conditional code.
43017         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43018         <kernel-features.h>.
43019         [__ASSUME_32BITUIDS]: Make code unconditional.
43020         [!__ASSUME_32BITUIDS]: Remove conditional code.
43021         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43022         <kernel-features.h>.
43023         [__ASSUME_32BITUIDS]: Make code unconditional.
43024         [!__ASSUME_32BITUIDS]: Remove conditional code.
43025         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43026         <kernel-features.h>.
43027         [__ASSUME_32BITUIDS]: Make code unconditional.
43028         [!__ASSUME_32BITUIDS]: Remove conditional code.
43029         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43030         <kernel-features.h>.
43031         [__ASSUME_32BITUIDS]: Make code unconditional.
43032         [!__ASSUME_32BITUIDS]: Remove conditional code.
43033         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43034         <kernel-features.h>.
43035         [__ASSUME_32BITUIDS]: Make code unconditional.
43036         [!__ASSUME_32BITUIDS]: Remove conditional code.
43037         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43038         <kernel-features.h>.
43039         [__NR_setresgid] (__setresgid): Do not declare.
43040         [__ASSUME_32BITUIDS]: Make code unconditional.
43041         [!__ASSUME_32BITUIDS]: Remove conditional code.
43042         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43043         <kernel-features.h>.
43044         [__NR_setresuid] (__setresuid): Do not declare.
43045         [__ASSUME_32BITUIDS]: Make code unconditional.
43046         [!__ASSUME_32BITUIDS]: Remove conditional code.
43047         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43048         <kernel-features.h>.
43049         [__ASSUME_32BITUIDS]: Make code unconditional.
43050         [!__ASSUME_32BITUIDS]: Remove conditional code.
43051         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
43052         <kernel-features.h>.
43053         [__ASSUME_32BITUIDS]: Make code unconditional.
43054         [!__ASSUME_32BITUIDS]: Remove conditional code.
43055         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
43056         <kernel-features.h>.
43057         [__ASSUME_32BITUIDS]: Make code unconditional.
43058         [!__ASSUME_32BITUIDS]: Remove conditional code.
43059         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
43060         <kernel-features.h>.
43061         [__ASSUME_32BITUIDS]: Make code unconditional.
43062         [!__ASSUME_32BITUIDS]: Remove conditional code.
43063         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
43064         <kernel-features.h>.
43065         [__ASSUME_32BITUIDS]: Make code unconditional.
43066         [!__ASSUME_32BITUIDS]: Remove conditional code.
43067         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
43068         <kernel-features.h>.
43069         [__ASSUME_32BITUIDS]: Make code unconditional.
43070         [!__ASSUME_32BITUIDS]: Remove conditional code.
43071         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
43072         <kernel-features.h>.
43073         [__ASSUME_32BITUIDS]: Make code unconditional.
43074         [!__ASSUME_32BITUIDS]: Remove conditional code.
43075         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43076         <kernel-features.h>.
43077         [__ASSUME_32BITUIDS]: Make code unconditional.
43078         [!__ASSUME_32BITUIDS]: Remove conditional code.
43079         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43080         <kernel-features.h>.
43081         [__ASSUME_32BITUIDS]: Make code unconditional.
43082         [!__ASSUME_32BITUIDS]: Remove conditional code.
43083         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43084         <kernel-features.h>.
43085         [__ASSUME_32BITUIDS]: Make code unconditional.
43086         [!__ASSUME_32BITUIDS]: Remove conditional code.
43087         * sysdeps/unix/sysv/linux/kernel-features.h
43088         (__ASSUME_SETRESUID_SYSCALL): Remove.
43089         (__ASSUME_SETRESGID_SYSCALL): Likewise.
43090         (__ASSUME_32BITUIDS): Likewise.
43091         (__ASSUME_LDT_WORKS): Likewise.
43092         (__ASSUME_O_DIRECTORY): Likewise.
43093         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43094         architecture but not kernel version.
43095         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43096         (__ASSUME_MMAP2_SYSCALL): Likewise.
43097         (__ASSUME_STAT64_SYSCALL): Likewise.
43098         (__ASSUME_IPC64): Likewise.
43099         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43100         <kernel-features.h>.
43101         [__ASSUME_32BITUIDS]: Make code unconditional.
43102         [!__ASSUME_32BITUIDS]: Remove conditional code.
43103         * sysdeps/unix/sysv/linux/opendir.c: Do not include
43104         <kernel-features.h>.
43105         [__ASSUME_O_DIRECTORY]: Make code unconditional.
43106         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
43107         132096]: Remove conditional code.
43108         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
43109         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43110         <kernel-features.h>.
43111         [__ASSUME_32BITUIDS]: Make code unconditional.
43112         [!__ASSUME_32BITUIDS]: Remove conditional code.
43113         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43114         <kernel-features.h>.
43115         [__ASSUME_32BITUIDS]: Make code unconditional.
43116         [!__ASSUME_32BITUIDS]: Remove conditional code.
43117         * sysdeps/unix/sysv/linux/setegid.c: Do not include
43118         <kernel-features.h>.
43119         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
43120         unconditional.
43121         (__setresgid): Do not declare.
43122         [__ASSUME_32BITUIDS]: Make code unconditional.
43123         [!__ASSUME_32BITUIDS]: Remove conditional code.
43124         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
43125         <kernel-features.h>.
43126         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
43127         unconditional.
43128         (__setresuid): Do not declare.
43129         [__ASSUME_32BITUIDS]: Make code unconditional.
43130         [!__ASSUME_32BITUIDS]: Remove conditional code.
43131         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43132         <kernel-features.h>.
43133         [__ASSUME_32BITUIDS]: Make code unconditional.
43134         [!__ASSUME_32BITUIDS]: Remove conditional code.
43135         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
43136         <kernel-features.h>.
43137         [__ASSUME_32BITUIDS]: Make code unconditional.
43138         [!__ASSUME_32BITUIDS]: Remove conditional code.
43140 2012-05-25  Richard Henderson  <rth@twiddle.net>
43142         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
43143         dl_hwcap to ifunc resolver.
43144         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
43145         elf_ifunc_invoke.
43146         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
43147         dl_hwcap to ifunc resolver.
43148         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
43150 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43152         [BZ #14153]
43153         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
43154         for |x| <= 2**-26, not 2**-57.
43155         * math/libm-test.inc (acos_test): Do not allow spurious underflow
43156         exception.
43158 2012-05-24  Jeff Law  <law@redhat.com>
43160         * stdio-common/Makefile (tests): Add bug25.
43161         * stdio-common/bug25.c: New test.
43163 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
43165         [BZ #13576]
43166         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
43167         multiple of MALLOC_ALIGNMENT in size.
43168         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
43170 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43172         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
43173         Require >= 256.
43174         (FILENAME_MAX): Use macro-int-constant.
43175         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
43176         (_IOFBF): Use macro-int-constant.
43177         (_IOLBF): Likewise.
43178         (_IONBF): Likewise.
43179         (SEEK_CUR): Likewise.
43180         (SEEK_END): Likewise.
43181         (SEEK_SET): Likewise.
43182         (TMP_MAX): Likewise.
43183         (EOF): Use macro-int-constant.  Require < 0.
43184         (NULL): Use macro-constant.  Require == 0.
43185         (stdin): Require type to be FILE *.
43186         (stdout): Likewise.
43187         (stderr): Likewise.
43188         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
43189         macro-int-constant.
43190         (EXIT_SUCCESS): Likewise.
43191         (NULL): Use macro-constant.  Require == 0.
43192         (RAND_MAX): Use macro-int-constant.
43193         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
43194         [C99-based standards] (strtof): Require function.
43195         [C99-based standards] (strtold): Likewise.
43196         [C99-based standards] (strtoll): Likewise.
43197         [C99-based standards] (strtoull): Likewise.
43198         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43199         [ISO || ISO99 || ISO11] (limits.h): Likewise.
43200         [ISO || ISO99 || ISO11] (math.h): Likewise.
43201         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
43202         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43203         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43205 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
43207         [BZ #14132]
43208         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
43209         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
43210         * intl/dgettext.c (DCGETTEXT): Likewise.
43211         * intl/gettext.c (DCGETTEXT): Likewise.
43212         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43213         * posix/regex_internal.h (gettext): Likewise.
43214         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43215         Remove declaration.
43216         * include/argz.h (__argz_count_internal)
43217         (__argz_stringify_internal): Remove declaration.
43218         (__argz_count, __argz_stringify): Declare hidden proto.
43219         * intl/dcgettext.c: Remove use of INTDEF.
43220         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43221         * string/argz-stringify.c: Likewise.
43222         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43223         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43224         Declare hidden proto.
43225         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43226         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43227         Declare hidden proto.
43228         * include/stdio.h (__asprintf_internal): Don't declare.
43229         (__asprintf): Don't define as macro.  Declare hidden proto.
43230         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43231         (__fsetlocking): Declare hidden proto.
43232         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43233         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43234         hidden proto.
43235         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43236         (_IO_setlinebuf): Remove use of INTUSE.
43237         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43238         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43239         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43240         Remove declaration.
43241         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43242         (_IO_do_flush): Remove use of INTUSE.
43243         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43244         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43245         (_IO_adjust_column, _IO_least_wmarker)
43246         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43247         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43248         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43249         (_IO_default_doallocate, _IO_wdefault_doallocate)
43250         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43251         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43252         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43253         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43254         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43255         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43256         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43257         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43258         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43259         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43260         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43261         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43262         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43263         proto.
43264         (_IO_flush_all_internal, _IO_adjust_column_internal)
43265         (_IO_default_uflow_internal, _IO_default_finish_internal)
43266         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43267         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43268         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43269         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43270         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43271         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43272         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43273         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43274         (_IO_file_close_internal, _IO_file_close_it_internal)
43275         (_IO_file_underflow_internal, _IO_file_overflow_internal)
43276         (_IO_file_init_internal, _IO_file_attach_internal)
43277         (_IO_file_fopen_internal, _IO_file_read_internal)
43278         (_IO_file_sync_internal, _IO_file_seek_internal)
43279         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43280         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43281         (_IO_str_underflow_internal, _IO_str_overflow_internal)
43282         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43283         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43284         (_IO_list_all_internal, _IO_link_in_internal)
43285         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43286         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43287         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43288         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43289         (_IO_do_write_internal, _IO_padn_internal)
43290         (_IO_getline_info_internal, _IO_getline_internal)
43291         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43292         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43293         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43294         (_IO_vfscanf_internal, _IO_vfprintf_internal)
43295         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43296         (_IO_init_internal, _IO_un_link_internal): Don't declare.
43297         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43298         with libc_hidden_ver, remove use of INTUSE.
43299         * libio/genops.c: Likewise.
43300         * libio/freopen.c: Likewise.
43301         * libio/freopen64.c: Likewise.
43302         * libio/iofclose.c: Likewise.
43303         * libio/iofdopen.c: Likewise.
43304         * libio/iofflush.c: Likewise.
43305         * libio/iofflush_u.c: Likewise.
43306         * libio/iofgets.c: Likewise.
43307         * libio/iofgets_u.c: Likewise.
43308         * libio/iofopen.c: Likewise.
43309         * libio/iofopncook.c: Likewise.
43310         * libio/iofread.c: Likewise.
43311         * libio/iofread_u.c: Likewise.
43312         * libio/ioftell.c: Likewise.
43313         * libio/iofwrite.c: Likewise.
43314         * libio/iogetline.c: Likewise.
43315         * libio/iogets.c: Likewise.
43316         * libio/iogetwline.c: Likewise.
43317         * libio/iopadn.c: Likewise.
43318         * libio/iopopen.c: Likewise.
43319         * libio/ioseekoff.c: Likewise.
43320         * libio/ioseekpos.c: Likewise.
43321         * libio/iosetbuffer.c: Likewise.
43322         * libio/iosetvbuf.c: Likewise.
43323         * libio/ioungetc.c: Likewise.
43324         * libio/ioungetwc.c: Likewise.
43325         * libio/iovdprintf.c: Likewise.
43326         * libio/iovsprintf.c: Likewise.
43327         * libio/iovsscanf.c: Likewise.
43328         * libio/memstream.c: Likewise.
43329         * libio/obprintf.c: Likewise.
43330         * libio/oldfileops.c: Likewise.
43331         * libio/oldiofclose.c: Likewise.
43332         * libio/oldiofdopen.c: Likewise.
43333         * libio/oldiofopen.c: Likewise.
43334         * libio/oldiopopen.c: Likewise.
43335         * libio/oldstdfiles.c: Likewise.
43336         * libio/putc.c: Likewise.
43337         * libio/setbuf.c: Likewise.
43338         * libio/setlinebuf.c: Likewise.
43339         * libio/stdfiles.c: Likewise.
43340         * libio/strops.c: Likewise.
43341         * libio/vasprintf.c: Likewise.
43342         * libio/vscanf.c: Likewise.
43343         * libio/vsnprintf.c: Likewise.
43344         * libio/vswprintf.c: Likewise.
43345         * libio/wfiledoalloc.c: Likewise.
43346         * libio/wfileops.c: Likewise.
43347         * libio/wgenops.c: Likewise.
43348         * libio/wmemstream.c: Likewise.
43349         * libio/wstrops.c: Likewise.
43350         * libio/__fpurge.c: Likewise.
43351         * libio/__fsetlocking.c: Likewise.
43352         * assert/assert.c: Likewise.
43353         * debug/fgets_chk.c: Likewise.
43354         * debug/fgets_u_chk.c: Likewise.
43355         * debug/fread_chk.c: Likewise.
43356         * debug/fread_u_chk.c: Likewise.
43357         * debug/gets_chk.c: Likewise.
43358         * debug/obprintf_chk.c: Likewise.
43359         * debug/vasprintf_chk.c: Likewise.
43360         * debug/vdprintf_chk.c: Likewise.
43361         * debug/vsnprintf_chk.c: Likewise.
43362         * debug/vsprintf_chk.c: Likewise.
43363         * malloc/mtrace.c: Likewise.
43364         * misc/error.c: Likewise.
43365         * misc/syslog.c: Likewise.
43366         * stdio-common/asprintf.c: Likewise.
43367         * stdio-common/fxprintf.c: Likewise.
43368         * stdio-common/getw.c: Likewise.
43369         * stdio-common/isoc99_fscanf.c: Likewise.
43370         * stdio-common/isoc99_scanf.c: Likewise.
43371         * stdio-common/isoc99_vfscanf.c: Likewise.
43372         * stdio-common/isoc99_vscanf.c: Likewise.
43373         * stdio-common/isoc99_vsscanf.c: Likewise.
43374         * stdio-common/printf-prs.c: Likewise.
43375         * stdio-common/printf_fp.c: Likewise.
43376         * stdio-common/printf_fphex.c: Likewise.
43377         * stdio-common/printf_size.c: Likewise.
43378         * stdio-common/putw.c: Likewise.
43379         * stdio-common/scanf.c: Likewise.
43380         * stdio-common/sprintf.c: Likewise.
43381         * stdio-common/tmpfile.c: Likewise.
43382         * stdio-common/vfprintf.c: Likewise.
43383         * stdio-common/vfscanf.c: Likewise.
43384         * stdlib/strfmon_l.c: Likewise.
43385         * sunrpc/openchild.c: Likewise.
43386         * sunrpc/xdr_stdio.c: Likewise.
43387         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43388         * sysdeps/mach/hurd/tmpfile.c: Likewise.
43390 2012-05-24  Roland McGrath  <roland@hack.frob.com>
43392         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43394         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43395         in the third column, to generate for the shared library an IFUNC
43396         that uses _dl_vdso_vsym.
43397         * Makerules (COMPILE.c, compile-stdin.c): New variables.
43398         * Makeconfig (object-suffixes-noshared): New variable.
43400         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43401         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43402         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43403         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43405         [BZ #14132]
43406         * include/sys/time.h (__gettimeofday): Remove macro.
43407         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43408         * time/gettimeofday.c (__gettimeofday): Remove #undef.
43409         Remove INTDEF.
43410         (__gettimeofday): Add libc_hidden_def.
43411         (gettimeofday): Add libc_hidden_weak.
43412         * sysdeps/mach/gettimeofday.c: Likewise.
43413         * sysdeps/posix/gettimeofday.c: Likewise.
43414         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43415         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43416         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43417         (__gettimeofday_internal): Remove strong_alias.
43418         (__gettimeofday): Add libc_hidden_def.
43419         (gettimeofday): Add libc_hidden_weak.
43420         * sysdeps/unix/syscalls.list (gettimeofday):
43421         Remove __gettimeofday_internal alias.
43423 2012-05-24  Daniel Jacobowitz  <drow@false.org>
43424             H.J. Lu  <hongjiu.lu@intel.com>
43426         [BZ #12495]
43427         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43428         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43429         (largebin_index_32_big): New.
43430         (largebin_index): Use it for 16-byte alignment.
43431         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
43432         correction with front_misalign.
43434 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
43436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43438         Likewise.
43439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43440         Likewise.
43441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43442         Likewise.
43443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43444         Likewise.
43445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43446         Likewise.
43447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43448         Likewise.
43449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43450         Likewise.
43451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43452         Likewise.
43453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43454         Likewise.
43455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43456         Likewise.
43457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43458         Likewise.
43459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43460         Likewise.
43462         * scripts/data/c++-types-x32-linux-gnu.data: New file.
43463         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43465 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43467         [BZ #10846]
43468         [BZ #14036]
43469         * math/libm-test.inc (exp_test): Add test from bug 14036.
43470         (pow_test): Add test from bug 10846.
43472         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43473         and other flags.
43474         (special_function): Do not include flags in test name.
43475         (parse_args): Likewise.
43476         * sysdeps/i386/fpu/libm-test-ulps: Update.
43477         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43478         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43479         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43482         * math/gen-libm-test.pl (%beautify): Add entries for underflow
43483         exceptions.
43484         * math/libm-test.inc ("Philosophy"): Update comment about
43485         exception testing.
43486         (UNDERFLOW_EXCEPTION): New macro.
43487         (UNDERFLOW_EXCEPTION_OK): Likewise.
43488         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43489         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43490         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43491         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43492         (INVALID_EXCEPTION_OK): Update value.
43493         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43494         (OVERFLOW_EXCEPTION_OK): Likewise.
43495         (IGNORE_ZERO_INF_SIGN): Likewise.
43496         (test_exceptions): Handle underflow exceptions.
43497         (acos_test): Update for underflow exception expectations.
43498         (cexp_test): Likewise.
43499         (clog_test): Likewise.
43500         (clog10_test): Likewise.
43501         (csqrt_test): Likewise.
43502         (ctan_test): Likewise.
43503         (ctanh_test): Likewise.
43504         (exp_test): Likewise.
43505         (exp10_test): Likewise.
43506         (exp2_test): Likewise.
43507         (expm1_test): Likewise.
43508         (fma_test): Likewise.
43509         (j0_test): Likewise.
43510         (jn_test): Likewise.
43511         (nexttoward_test): Likewise.
43512         (pow_test): Likewise.
43513         (scalbn_test): Likewise.
43514         (scalbln_test): Likewise.
43515         (tan_test): Likewise.
43516         (y1_test): Likewise.
43517         * sysdeps/i386/fpu/libm-test-ulps: Update.
43518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43520 2012-05-23  David S. Miller  <davem@davemloft.net>
43522         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43523         (__libc_sigaction): Remove unused local variables.
43525 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43527         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43529 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
43531         mktime: avoid signed integer overflow
43532         * time/mktime.c (__mktime_internal): Do not mishandle the case
43533         where diff == INT_MIN.
43535         mktime: simplify computation of average
43536         * time/mktime.c (ranged_convert): Use new time_t_avg function
43537         instead of rolling our own (probably-slower) code.
43539         mktime: do not assume signed right shift propagates sign bit
43540         * time/mktime.c (isdst_differ): New static function.
43541         (__mktime_internal): No need to normalize tm_isdst now.
43542         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43543         tm_isdst values.
43545         mktime: merge another wrapv change from gnulib
43546         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43547         from some compilers.
43549         mktime: remove incorrect attempt at unusual arithmetics
43550         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43551         The code didn't really work on such machines anyway.
43552         (TYPE_MINIMUM): Assume two's complement.
43553         (twos_complement_arithmetic): Verify that long_int and time_t
43554         are two's complement (or unsigned, in the latter case).
43556         mktime: check signed shifts on long_int and time_t, too
43557         * time/mktime.c (SHR): Check that shifts work as desired
43558         on the types long_int and time_t too, as SHR is used on
43559         such types.
43561         mktime: do not assume 'long' is wide enough
43562         * time/mktime.c (verify): Move decl up.
43563         (long_int): New type.
43564         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43565         to remove assumption in the code that 'long' is wide enough to
43566         store year values.  This assumption is not true on x32 and on
43567         some non-glibc platforms.
43569         mktime: merge wrapv change from gnulib
43570         * time/mktime.c (WRAPV): New macro.
43571         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43572         (guess_time_tm, __mktime_internal): Do not assume that signed
43573         integer overflow wraps around; modern compilers generate code
43574         where this assumption is no longer valid.
43576 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43578         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43579         Replace "jmp L(pseudo_end)" with "ret".
43580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43581         Likewise.
43583 2012-05-23  Andreas Jaeger  <aj@suse.de>
43585         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43586         * sysdeps/unix/sysv/linux/poll.c: Remove file.
43588 2012-05-23  Andreas Jaeger  <aj@suse.de>
43589             Maximilian Attems  <max@stro.at>
43591         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43592         New macros.
43594 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43596         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43597         code so that pseudo_end is just ret and the stack pointer is
43598         correct also for static library in error case.
43600 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
43602         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43603         move to syscalls.list.
43604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43609         * manual/install.texi (Running make install): Do not mention Linux
43610         kernel version for which pt_chown is not needed.
43611         (Linux): Do not mention problems with nscd with 2.0 kernels.
43612         * INSTALL: Regenerated.
43614 2012-05-23  Andreas Jaeger  <aj@suse.de>
43616         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43617         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43618         macro.
43619         * sysdeps/unix/sysv/linux/s390/bits/mman.h
43620         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43621         * sysdeps/unix/sysv/linux/sh/bits/mman.h
43622         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43623         * sysdeps/unix/sysv/linux/i386/bits/mman.h
43624         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43625         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43626         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43627         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43628         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43629         * sysdeps/unix/sysv/linux/bits/in.h
43630         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43632 2012-05-22  Roland McGrath  <roland@hack.frob.com>
43634         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43635         (PREPARE_VERSION): Just use assert instead, it will be elided
43636         under [NDEBUG] anyway.
43638 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43640         * sysdeps/unix/sysv/linux/Makefile: Include
43641         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43642         (sysdep_routines): Remove sysctl.
43643         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43644         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43645         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43646         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43647         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43649 2012-05-22  Andreas Jaeger  <aj@suse.de>
43651         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43652         that pseudo_end is just ret and the stack pointer is correct also
43653         for static library in error case.
43655 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
43657         [BZ #14122]
43658         * nss/nsswitch.c (defconfig_entries): New variable.
43659         (__nss_database_lookup): Don't leak defconfig entries.
43660         (nss_parse_service_list): Don't leak on error paths.
43661         (free_database_entries): New function.
43662         (free_defconfig): New function.
43663         (free_mem): Move common code to free_database_entries.
43665 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43667         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43668         Add arch_prctl.
43669         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43671         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43672         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43673         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43674         New macro.
43675         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43676         (INTERNAL_SYSCALL_TYPES): Likewise.
43677         (LOAD_ARGS_TYPES_[1-6]): Likewise.
43678         (LOAD_REGS_TYPES_[1-6]): Likewise.
43679         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43680         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43682 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43684         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43685         copysignl for GLIBC_2_0.
43686         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43687         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43688         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43689         logbl for GLIBC_2_0.
43690         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43691         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43693 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43695         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43696         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43698         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43699         Use "neg %eax".
43701         * time/mktime.c: Update copyright years.
43703 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
43705         mktime: merge comment-quoting-style change from gnulib
43706         * time/mktime.c: Quote 'like this' in comments.
43707         The GNU coding standards suggest that we no longer quote `like this',
43708         as "`" and "'" are typically rendered asymmetrically nowadays.
43709         The typical gnulib style is to quote 'like this' when quoting
43710         code, and "like this" when quoting English.
43712         * time/mktime.c (compile-command): Add "-I.".
43714         mktime: merge mktime-internal.h change from gnulib
43715         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43717         mktime: merge time_r change from gnulib
43718         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43720         mktime: merge DEBUG change from gnulib
43721         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43722         case system <time.h> has a #define.
43724         mktime: merge <sys/types.h> change from gnulib
43725         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43726         since <time.t> is now guaranteed to define time_t.
43728         mktime: merge HAVE_CONFIG_H change from gnulib
43729         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43731 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43733         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43734         Use "neg %eax".
43736         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43737         __rlim_t cast.
43738         (struct rusage): Use anonymous union to pad each field to
43739         __syscall_slong_t.
43741 2012-05-21  David S. Miller  <davem@davemloft.net>
43743         * Makefules (o-iterator): Remove .s cases.
43744         (compile-command.s): Delete.
43745         (COMPILE.s): Delete.
43746         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43748 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
43750         * configure.in (libc_cv_predef_stack_protector): Only consider
43751         "foobar" and "__stack_chk_fail" lines in libc_undefs.
43752         * configure: Regenerated.
43754 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43756         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43757         New macro.  Use R*LP on int and pointer.
43758         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43759         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43760         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43761         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43763         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43764         [__WORDSIZE_TIME64_COMPAT32] instead of
43765         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43766         (struct utmp): Likewise.
43767         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43768         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43769         Renamed to ...
43770         (__WORDSIZE_TIME64_COMPAT32): This.
43771         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43772         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43773         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43774         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43775         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43776         (__WORDSIZE_TIME64_COMPAT32): New macro.
43778 2012-05-21  Andreas Jaeger  <aj@suse.de>
43780         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43781         only if [SHARED]. Add prototype for __wcschr_ia32.
43783 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43785         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43786         of %rbp unmolested in the jmp_buf while mangling the low bits.
43787         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43788         unmolested high bits of %rbp while demangling the low bits.
43789         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43791 2012-05-21  Andreas Jaeger  <aj@suse.de>
43793         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43794         * sunrpc/svc_simple.c: Use it for registerrpc.
43795         * sunrpc/xcrypt.c: Use it for passwd2des.
43797         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43799 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43801         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43802         Don't define if [__SYSCALL_WORDSIZE != 32].
43803         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43804         New macro.
43806 2012-05-21  Bruno Haible  <bruno@clisp.org>
43807             Andreas Jaeger  <aj@suse.de>
43809         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43810         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43811         inptr and inend for must_buffer_ch.
43812         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43813         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43814         * stdio-common/Makefile (tests): Remove bug15.
43815         (bug15-ENV): Remove macro.
43816         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43817         anymore.
43819 2012-05-19  Andreas Jaeger  <aj@suse.de>
43820             Roland McGrath  <roland@hack.frob.com>
43822         * manual/contrib.texi: Completely rewritten. It contains now an
43823         alphabetical list of contributors and their contributions.
43825 2012-05-21  Richard Henderson  <rth@twiddle.net>
43827         * misc/getauxval.c (__getauxval): Use unsigned long int.
43828         * misc/sys/auxv.h: Include <sys/cdefs.h>.
43829         (getauxval): Use unsigned long int.
43831 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43833         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43835 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43837         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43838         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43839         __alignof__ (long double).
43841 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43845 2012-05-20  Richard Henderson  <rth@twiddle.net>
43847         * misc/getauxval.c: New file.
43848         * misc/sys/auxv.h: New file.
43849         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43850         (routines): Add getauxval.
43851         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43852         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43853         * elf/dl-sysdep.c (_dl_auxv): Remove.
43854         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43855         * elf/dl-support.c (_dl_auxv): New variable.
43856         (_dl_aux_init): Initialize it.
43857         * manual/startup.texi (Auxiliary Vector): New node.
43858         * sysdeps/generic/bits/hwcap.h: New file.
43859         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43860         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
43861         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43862         * sysdeps/sparc/sysdep.h: ... here.  Include it.
43863         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43864         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43866         Update.
43867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43870         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43876 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43880 2012-05-19  David S. Miller  <davem@davemloft.net>
43882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43884 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43886         [BZ #14123]
43887         * math/s_ccosh.c: Include <float.h>
43888         (__ccosh): Avoid internal overflow calculating sinh and cosh
43889         values before multiplying by sin and cos values.
43890         * math/s_ccoshf.c: Likewise.
43891         * math/s_ccoshl.c: Likewise.
43892         * math/s_csin.c: Likewise.
43893         * math/s_csinf.c: Likewise.
43894         * math/s_csinl.c: Likewise.
43895         * math/s_csinh.c: Likewise.
43896         * math/s_csinhf.c: Likewise.
43897         * math/s_csinhl.c: Likewise.
43898         * math/libm-test.inc (ccos_test): Add more tests.
43899         (ccosh_test): Likewise.
43900         (csin_test): Likewise.
43901         (csinh_test): Likewise.
43902         * sysdeps/i386/fpu/libm-test-ulps: Update.
43903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43905 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
43907         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43908         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43910         * sysdeps/x86_64/x32/_itoa.h: Add comment.
43912 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43914         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43915         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43916         * sysdeps/powerpc/soft-fp/Versions: Likewise.
43917         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43918         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43919         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43920         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43921         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43922         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43923         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43924         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43925         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43926         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43927         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43928         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43929         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43930         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43931         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43932         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43933         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43934         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43935         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43936         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43937         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43938         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43939         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43940         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43941         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43942         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43943         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43944         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43946 2012-05-18  Andreas Jaeger  <aj@suse.de>
43948         * csu/.gitignore: Delete.
43950 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43952         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43953         (timex): Use __syscall_slong_t.
43955 2012-05-18  Andreas Jaeger  <aj@suse.de>
43956             Carlos O'Donell  <carlos_odonell@mentor.com>
43958         * manual/install.texi (Configuring and compiling): Update
43959         description about files modified in the source directory.
43960         * INSTALL: Regenerated.
43962 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43964         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43965         value.  Use "or" to set return value to -1.
43966         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43967         negate return value.
43969 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43971         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43972         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43973         failure if the compiler has Graphite support disabled.
43974         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43975         Likewise.
43976         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43977         (CFLAGS-memmove.c): Likewise.
43978         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43979         Likewise.
43981 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43983         * sysdeps/x86_64/x32/_itoa.h: New file.
43985         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43986         getdents system call only if kernel and user dirents have the
43987         same d_ino and d_off.
43989         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43990         LLONG_MAX != LONG_MAX.
43991         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43992         (_fitoa_word): Likewise.
43994         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43995         years.
43996         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43997         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43998         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44000         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44001         include <bits/wordsize.h>.  Check __x86_64__ instead of
44002         __WORDSIZE.
44003         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44004         if __x86_64__ is defined.  Use anonymous union on fpstate.
44006         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44007         anonymous union.
44009 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
44011         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44012         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44013         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44014         Refer to _rtld_local_ro instead of _rtld_global_ro.
44015         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44016         Likewise.
44017         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44018         Likewise.
44019         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44020         Likewise.
44021         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44022         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44023         of _rtld_global, and rtld_progname instead of _dl_argv[0].
44025         * sysdeps/powerpc/powerpc32/dl-machine.c
44026         (__elf_machine_runtime_setup) [PROF]: Don't reference
44027         _dl_prof_resolve.
44029 2012-05-18  Andreas Jaeger  <aj@suse.de>
44031         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44032         function only available for GCCs before 3.4 since GCC 3.4
44033         introduced a builtin.
44034         (lrint): Likewise.
44035         (llrintf): Likewise.
44036         (llrint): Likewise.
44037         (fmaxf): Likewise.
44038         (fmax): Likewise.
44039         (fminf): Likewise.
44040         (fmin): Likewise.
44041         (rint): Likewise.
44042         (rintf): Likewise.
44043         (nearbyint): Likewise.
44044         (nearbyintf): Likewise.
44045         (ceil): Likewise.
44046         (ceilf): Likewise.
44047         (floor): Likewise.
44048         (floorf): Likewise.
44050 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44052         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44053         on both fields and cast pointer to __syscall_ulong_t.
44055         * bits/types.h (__fsword_t): New type.
44056         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44057         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44058         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44059         (__FSWORD_T_TYPE): Likewise.
44060         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44061         (__FSWORD_T_TYPE): Likewise.
44062         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44063         (__FSWORD_T_TYPE): Likewise.
44064         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44065         (__FSWORD_T_TYPE): Likewise.
44066         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44067         __SWORD_TYPE with __fsword_t.
44068         (statfs64): Likewise.
44070 2012-05-17  David S. Miller  <davem@davemloft.net>
44072         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44074 2012-05-17  Andreas Jaeger  <aj@suse.de>
44076         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44077         warning.
44079 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44081         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44083 2012-05-17  Andreas Jaeger  <aj@suse.de>
44085         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44086         when it is used.
44088 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
44090         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44092 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44094         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44095         * sysdeps/x86_64/tst-mallocalign1.c: New file.
44097 2012-05-17  Andreas Jaeger  <aj@suse.de>
44098             Carlos O'Donell  <carlos_odonell@mentor.com>
44100         [BZ #14059]
44101         * sysdeps/x86_64/multiarch/init-arch.h
44102         (bit_YMM_Usable): Rename to...
44103         (bit_AVX_Usable): ... this.
44104         (bit_FMA4_Usable): New macro.
44105         (bit_XMM_state): New macro.
44106         (bit_YMM_state): New macro.
44107         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
44108         [__ASSEMBLER__] (index_AVX_Usable): ... this.
44109         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
44110         (CPUID_OSXSAVE): New macro.
44111         (CPUID_AVX): New macro.
44112         (CPUID_FMA4): New macro.
44113         (index_YMM_Usable): Rename to...
44114         (index_AVX_Usable): ... this.
44115         (HAS_AVX): Use HAS_ARCH_FEATURE.
44116         (HAS_FMA4): Likewise.
44117         (HAS_YMM_USABLE): Remove.
44118         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44119         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
44120         are present.
44121         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
44122         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
44123         * sysdeps/x86_64/multiarch/Makefile: Likewise.
44124         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
44125         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
44127 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
44129         * math/libm-test.c: Support platforms without multiple rounding modes.
44130         * math/bug-nextafter.c: Support platforms without FP exceptions.
44131         * math/bug-nexttoward.c: Likewise.
44132         * math/test-fenv.c: Likewise.
44133         * math/test-misc.c: Likewise.
44134         * stdlib/bug-getcontext.c: Likewise.
44136 2012-05-17  Andreas Jaeger  <aj@suse.de>
44138         * manual/examples/search.c (critter_cmp): Change signature to
44139         avoid warnings.
44140         * manual/string.texi (Collation Functions): Likewise.
44142 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44144         * bits/types.h: Fold copyright years.
44145         * bits/typesizes.h: Likewise.
44146         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
44147         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44148         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
44149         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
44150         * time/time.h: Likewise.
44152 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
44154         [BZ #208]
44155         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
44156         in instead of returning them.  Return void.
44157         (__libc_mallinfo): Accumulate over all arenas.
44158         (__malloc_stats): Adjust for change in int_mallinfo interface.
44160 2012-05-16  Roland McGrath  <roland@hack.frob.com>
44162         [BZ #10375]
44163         * configure.in (NM): Add AC_CHECK_TOOL for it.
44164         (libc_extra_cflags): New substituted variable.
44165         Check for -fstack-protector being used implicitly.
44166         * configure: Regenerated.
44167         * config.make.in (config-extra-cflags): New variable,
44168         gets @libc_extra_cflags@.
44169         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
44171         [BZ #10375]
44172         * configure.in: Check for _FORTIFY_SOURCE being predefined.
44173         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
44174         * configure: Regenerated.
44175         * config.make.in (CPPUNDEFS): New substituted variable.
44176         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
44177         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
44178         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
44180 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44182         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
44183         (mq_attr): Use __syscall_slong_t.
44185 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44187         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
44188         Check __x86_64__ instead of __WORDSIZE.
44189         (_STAT_VER_LINUX): Likewise.
44190         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
44191         __syscall_ulong_t and __syscall_slong_t.
44192         (stat64): Likewise.
44194 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44196         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
44198 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44200         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
44202 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44204         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
44205         __syscall_ulong_t.
44207         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
44208         include <bits/wordsize.h>.  Check __x86_64__ instead of
44209         __WORDSIZE.
44210         (greg_t): Use "__extension__ long long int" if __x86_64__ is
44211         defined.
44212         (mcontext_t): Replace "unsigned long" with "unsigned long long".
44214         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44215         include <bits/wordsize.h>.  Check __x86_64__ instead of
44216         __WORDSIZE.
44217         (user_regs_struct): Use "__extension__ unsigned long long"
44218         instead of "unsigned long" if __x86_64__ is defined.
44219         (user): Likewise.  Pad after pointer field if __ILP32__ is
44220         defined.
44222 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
44224         * configure.in (makeinfo): Require version 4.5 or later.  Allow
44225         versions 5 to 9.
44226         * configure: Regenerated.
44227         * manual/install.texi (texinfo): Increase version requirement to
44228         4.5 or later.
44229         * INSTALL: Regenerated.
44231         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44233 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44235         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44237         * sysdeps/x86_64/x32/ffs.c: New file.
44239         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44240         __syscall_ulong_t.
44241         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44242         defined.  Use __syscall_ulong_t.
44243         (shminfo): Use __syscall_ulong_t.
44244         (shm_info): Likewise.
44246         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44247         __syscall_ulong_t.
44249         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44250         <bits/wordsize.h>.
44251         (msgqnum_t): Use __syscall_ulong_t.
44252         (msglen_t): Likewise.
44253         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
44254         __syscall_ulong_t.
44256         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44257         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44259         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44261         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44262         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44264         * sysvipc/sys/msg.h (msgbuf): Replace long int with
44265         __syscall_slong_t.
44267         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44268         include <bits/wordsize.h>.  Check __x86_64__ instead of
44269         __WORDSIZE.
44271         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44272         "unsigned long long int" if __x86_64__ is defined.
44273         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44275         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44276         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44277         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44279         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44280         <stdint.h>.
44281         (GET_PC): Cast to uintptr_t first.
44282         (GET_FRAME): Likewise.
44283         (GET_STACK): Likewise.
44285         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44286         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44287         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44288         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44289         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44290         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44291         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44292         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44293         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44294         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44295         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44296         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44297         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44298         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44299         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44300         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44301         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44302         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44303         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44304         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44305         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44306         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44307         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44308         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44309         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44310         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44311         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44312         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44313         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44315 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
44317         * Makerules (+depfiles): Also collect depfiles from .oS in
44318         $(extra-objs).
44319         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44320         .oS, $(libnldbl-routines)).
44322         * Makerules (native-compile-mkdep-flags): Define.
44323         * sunrpc/Makefile (extra-objs): Add $(addprefix
44324         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44325         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44326         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
44327         calling $(make-target-directory).
44329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44331         * bits/types.h (__snseconds_t): Removed.
44332         * time/time.h (struct timespec): Replace __snseconds_t with
44333         __syscall_slong_t.
44334         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44335         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44336         Likewise.
44337         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44338         (__SNSECONDS_T_TYPE): Likewise.
44339         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44340         (__SNSECONDS_T_TYPE): Likewise.
44341         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44342         (__SNSECONDS_T_TYPE): Likewise.
44344 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44346         * sysdeps/mach/hurd/bits/typesizes.h
44347         (__SYSCALL_SLONG_TYPE): New macro.
44348         (__SYSCALL_ULONG_TYPE): Likewise.
44350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44352         * bits/types.h (__syscall_slong_t): New type.
44353         (__syscall_ulong_t): Likewise.
44355         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44356         (__SYSCALL_ULONG_TYPE): Likewise.
44357         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44358         (__SYSCALL_SLONG_TYPE): Likewise.
44359         (__SYSCALL_ULONG_TYPE): Likewise.
44360         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44361         (__SYSCALL_SLONG_TYPE): Likewise.
44362         (__SYSCALL_ULONG_TYPE): Likewise.
44363         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44364         (__SYSCALL_SLONG_TYPE): Likewise.
44365         (__SYSCALL_ULONG_TYPE): Likewise.
44367 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44369         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44370         Add sigaltstack-offsets.sym.
44371         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44372         <sigaltstack-offsets.h>.
44373         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
44374         longjmp_msg pointer.
44375         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
44376         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44377         signal stack.
44378         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44380 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
44382         * elf/stackguard-macros.h: Remove file.
44383         * sysdeps/generic/stackguard-macros.h: New file.
44384         * sysdeps/i386/stackguard-macros.h: Likewise.
44385         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44386         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44387         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44388         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44389         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44390         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44391         * sysdeps/x86_64/stackguard-macros.h: Likewise.
44392         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44393         <elf/stackguard-macros.h>.
44395         [BZ #14109]
44396         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44397         __aligned__ in attribute.
44398         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44399         (gregset_t): Likewise.
44401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44403         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44404         * sysdeps/x86_64/64/Implies-after: Here.  New file.
44405         * sysdeps/x86_64/x32/Implies-after: New file.
44407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44409         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44410         and access return value for _dl_profile_fixup.  Use R10_LP to
44411         load frame size.
44413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44415         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44419         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44420         * sysdeps/x86_64/x32/sysdep.h: New file.
44422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44424         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44425         * sysdeps/x86_64/setjmp.S: Likewise.
44427 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44429         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44430         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44431         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44432         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44433         remove unused global constant.
44435 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
44437         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44438         include of <not-cancel.h>.
44440 2012-05-15  Roland McGrath  <roland@hack.frob.com>
44442         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44444 2012-05-15  Jeff Law  <law@redhat.com>
44445             Andreas Jaeger  <aj@suse.de>
44447         [BZ #13594]
44448         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44449         out from...
44450         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44451         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44452         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44453         code changing __hst_map_handle.map.
44455 2012-05-15  Roland McGrath  <roland@hack.frob.com>
44457         * configure.in (sysnames): Look for Implies-before and Implies-after
44458         files.
44459         * configure: Regenerated.
44461 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44463         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44464         8-byte data alignment with LP_SIZE alignment.
44466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44468         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44469         into R10_LP.
44471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44473         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44477         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44478         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44479         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44480         Likewise.
44481         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44485         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44486         (stackinfo_sub_sp): Likewise.
44488 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44490         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44491         RAX_LP.
44493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44495         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44496         into R*_LP.
44498 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44500         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44501         sizes into R*_LP.
44503 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44505         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44507 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44509         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44510         into R11_LP and load __x86_64_shared_cache_size_half into
44511         R8_LP.
44513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44515         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44516         R8_LP.
44518 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44520         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44521         logb for POWER7.
44522         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44523         logbf for POWER7.
44524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44525         logbl for POWER7.
44526         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44527         powerpc32/power7/fpu/s_logb.c via #include.
44528         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44529         powerpc32/power7/fpu/s_logbf.c via #include.
44530         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44531         powerpc32/power7/fpu/s_logbl.c via #include.
44533 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
44535         * README.libm: Remove file.
44537 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44539         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44540         count for x32.  Use R*_LP and omit operand-size suffix.
44542 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44544         * shlib-versions: Move x86_64-.*-linux.* entries to ...
44545         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
44546         * sysdeps/x86_64/x32/shlib-versions: New file.
44548 2012-05-14  Roland McGrath  <roland@hack.frob.com>
44550         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44551         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44552         Use _dl_fatal_printf instead.
44554 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
44556         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44557         set if not set by the user.  Do not allow for being unset.
44558         * sysdeps/unix/sysv/linux/configure: Regenerated.
44560 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44562         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44563         the `q' suffix from lea and replace .quad with ASM_ADDR.
44565 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44567         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44568         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
44569         instead of $17.
44570         (PTR_DEMANGLE): Likewise.
44572 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44574         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44575         (LP_OP): Likewise.
44576         (ASM_ADDR): Likewise.
44577         (RAX_LP): Likewise.
44578         (RBP_LP): Likewise.
44579         (RBX_LP): Likewise.
44580         (RCX_LP): Likewise.
44581         (RDI_LP): Likewise.
44582         (RSI_LP): Likewise.
44583         (RSP_LP): Likewise.
44584         (R8_LP): Likewise.
44585         (R9_LP): Likewise.
44586         (R10_LP): Likewise.
44587         (R10_LP): Likewise.
44588         (R11_LP): Likewise.
44589         (R12_LP): Likewise.
44590         (R13_LP): Likewise.
44591         (R14_LP): Likewise.
44592         (R15_LP): Likewise.
44594 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44596         * sysdeps/x86_64/x32/dl-machine.h: New file.
44598 2012-05-14  Andreas Jaeger  <aj@suse.de>
44600         * manual/Makefile (subdir): Remove export of subdir.
44601         (all): Remove target.
44602         (.PHONY): Remove all from list.
44603         (mkinstalldirs): Remove.
44604         (.PHONY): Remove installdirs from list.
44605         ($(inst_infodir)/libc.info): Use make-target-directory.
44606         (installdirs): Remove.
44607         (subdir_%): Remove.
44608         (glibc-targets): Remove.
44609         (lib): Remove.
44610         (stubs): Remove.
44611         ($(objpfx)stubs ../po/manual.pot): Remove.
44612         ($(objpfx)stamp%): Remove.
44613         (make-target-directory): Remove.
44614         (subdir_install): Remove.
44615         (routines): Remove.
44616         (aux): Remove.
44617         (sources): Remove.
44618         (objects): Remove.
44619         (headers): Remove.
44621         [BZ #13750]
44622         * manual/.gitignore: Remove, it's not needed anymore.
44623         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44624         all files in it.
44625         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44626         directory.
44627         (texis): Renamed to $(objpfx)texis.
44628         (texis-path): New, contains path to generated files.
44629         (chapters.%): Use texis-path for complete path, add extra argument
44630         libc-texinfo.sh.
44631         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44632         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44633         (summary,texi, stamp-summary): Use complete path of
44634         files. Generate files in build dir.
44635         (dir-add.texi): Build in build dir.
44636         (libm-err.texi,stamp-libm-err): Likewise.
44637         (version.texi, stamp-version): Likewise.
44638         (.%c.texi): Likewise.
44639         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44640         (mostlyclean): Remove target.
44641         (realclean): Remove target.
44642         (generated): Add new variable with contents from mostlyclean and
44643         realclean, remove entries duplicated in common-mostlyclean, add
44644         stamp-libm-err and stamp-version.
44645         (generated-dirs): Add libc directory.
44646         ($(inst_infodir)/libc.info): Install files from build dir.
44648         * manual/install.texi (Configuring and compiling): Adjust since
44649         the info files are not part of the tar ball anymore.
44651 2012-05-14  Andreas Jaeger  <aj@suse.de>
44653         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44654         variable.
44656 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
44658         [BZ #13717]
44659         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44660         to 2.2.0 where earlier.
44661         * sysdeps/unix/sysv/linux/configure: Regenerated.
44662         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44663         Remove conditional code.
44664         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44665         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44666         Remove conditional code.
44667         [!__NR_lchown]: Likewise.
44668         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44669         [__NR_lchown]: Likewise.
44670         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44671         comment referencing __ASSUME_LCHOWN_SYSCALL.
44672         * sysdeps/unix/sysv/linux/i386/sigaction.c
44673         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44674         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44675         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44676         Remove conditional code.
44677         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44678         (__protocol_available): Remove #if 0 code.
44679         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44680         conditional code.
44681         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44682         * sysdeps/unix/sysv/linux/kernel-features.h
44683         (__ASSUME_GETCWD_SYSCALL): Don't define.
44684         (__ASSUME_REALTIME_SIGNALS): Likewise.
44685         (__ASSUME_PREAD_SYSCALL): Likewise.
44686         (__ASSUME_PWRITE_SYSCALL): Likewise.
44687         (__ASSUME_POLL_SYSCALL): Likewise.
44688         (__ASSUME_LCHOWN_SYSCALL): Likewise.
44689         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44690         non-SPARC.
44691         (__ASSUME_SIOCGIFNAME): Don't define.
44692         (__ASSUME_MSG_NOSIGNAL): Likewise.
44693         (__ASSUME_SENDFILE): Define unconditionally.
44694         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44695         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44696         conditional code.
44697         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44698         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44699         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44700         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44701         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44702         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44703         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44705         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44706         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44708         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44709         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44711         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44712         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44714         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44715         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44717         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44718         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44720         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44721         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44723         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44724         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44726         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44727         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44728         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44729         Remove conditional code.
44730         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44731         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44732         Remove conditional code.
44733         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44734         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44735         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44736         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44737         Remove conditional code.
44738         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44739         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44740         Remove conditional code.
44741         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44742         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44743         Remove conditional code.
44744         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44745         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44746         Remove conditional code.
44747         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44748         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44749         Remove conditional code.
44750         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44751         * sysdeps/unix/sysv/linux/sh/pwrite64.c
44752         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44753         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44754         * sysdeps/unix/sysv/linux/sigaction.c
44755         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44756         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44757         * sysdeps/unix/sysv/linux/sigpending.c
44758         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44759         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44760         * sysdeps/unix/sysv/linux/sigprocmask.c
44761         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44762         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44763         * sysdeps/unix/sysv/linux/sigsuspend.c
44764         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44765         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44766         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44767         (__libc_missing_rt_sigs): Remove.
44768         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44769         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44770         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44771         Remove conditional code.
44772         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44773         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44774         return 1.
44775         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44776         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44777         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44778         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44780 2012-05-14  Andreas Jaeger  <aj@suse.de>
44782         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44783         it's not used in glibc.
44784         (__coshm1): Likewise.
44785         (__acosh1p): Likewise.
44786         (__sgn): Likewise.
44788         * manual/string.texi (Copying and Concatenation): Add missing
44789         variable in concat example.
44790         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44792 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44794         [BZ #14103]
44795         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44796         __builtin_clzl with __builtin_clzll.
44798 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44800         [BZ #14104]
44801         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44802         libc_freeres_ptr.
44804 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44806         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44807         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44808         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44809         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44811 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
44813         * NEWS: Update ia64 info.
44815 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
44817         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44818         used as bcopy.
44820 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
44822         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44823         * sysdeps/unix/syscalls.list (dup3): Likewise.
44824         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44825         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44827 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44829         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44830         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44832 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44834         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44835         thread pointer.
44836         (TLS_IE): Use mov/add instead of movq/addq to load thread
44837         pointer.
44838         (TLS_GD_PREFIX): New.
44839         (TLS_GD): Use it.
44841 2012-05-11  David S. Miller  <davem@davemloft.net>
44843         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44844         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44845         (_FPU_SETCW): Likewise.
44847 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44849         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44850         is 32-byte aligned.
44852 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
44854         [BZ #11837]
44855         * iconvdata/gb18030.c: Update tables.
44856         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
44857         characters specially.
44858         (BODY for TO_LOOP): Add encoding of missing ranges.
44860 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
44862         [BZ #13673]
44863         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44864         * sysdeps/mach/hurd/dup3.c: Likewise.
44865         * sysdeps/mach/hurd/readlinkat.c: Likewise.
44866         * sysdeps/powerpc/memmove.c:: Likewise.
44868 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44870         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44871         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44873 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44875         * elf/elf.h (R_X86_64_RELATIVE64): New.
44876         (R_X86_64_NUM): Updated.
44877         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44878         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
44879         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44880         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44881         tst-quad1pie tst-quad2pie
44882         (modules-names): Add tst-quadmod1 tst-quadmod2.
44883         ($(objpfx)tst-quad1): New dependency.
44884         ($(objpfx)tst-quad2): Likewise.
44885         ($(objpfx)tst-quad1pie): Likewise.
44886         ($(objpfx)tst-quad2pie): Likewise.
44887         * sysdeps/x86_64/tst-quad1.c: New file.
44888         * sysdeps/x86_64/tst-quad1pie.c: New file.
44889         * sysdeps/x86_64/tst-quad2.c: Likewise.
44890         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44891         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44892         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44893         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44894         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44896 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44898         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44899         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44900         * streams/stropts.h (t_scalar_t): Define type.
44902         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44903         (_PATH_PRESERVE): Set to "/var/lib".
44904         (_PATH_RWHODIR): Set to "/var/spool/rwho".
44906         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44907         instead of int.
44909         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44910         if __dir_mkfile succeeded.
44912         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44913         checking for _hurd_dtablesize.  Unlock it right after having
44914         finished _hurd_dtable allocation.
44916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44918         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44919         * sysdeps/mach/hurd/configure: Regenerated.
44920         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44921         special-casing to...
44922         * sysdeps/gnu/configure.in: ... this new file.
44923         * sysdeps/unix/sysv/linux/configure: Regenerated.
44924         * sysdeps/gnu/configure: New generated file.
44926         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44927         for Linux: use nsec instead of usec, as well as:
44928         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44929         members of type struct timespec.
44930         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44931         New macros.
44932         (struct stat64): Likewise.
44933         (_STATBUF_ST_NSEC): New macro.
44934         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44936         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44937         __strtoul_internal rather than strtoul.
44939 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44941         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44942         and reject them.
44944 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44946         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44947         which preserves existing values.
44948         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44950 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44952         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44953         TIMEOUT values.  Return EINVAL for NFDS values either negative or
44954         greater than FD_SETSIZE.
44956 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44958         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44959         allocated, call __vm_protect to finish enabling the existing space, and
44960         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44961         allocate the remainder.
44963 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44965         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44966         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
44968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44970         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44971         sysdeps/mach/hurd/readlink.c.
44973         * posix/tst-sysconf.c (posix_options): Only use
44974         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44975         _POSIX_SYNCHRONIZED_IO when they are defined
44976         * sysdeps/mach/hurd/bits/posix_opt.h:
44977         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44978         (_XOPEN_REALTIME): Undefine macro.
44979         (_XOPEN_REALTIME_THREADS): Undefine macro.
44980         (_XOPEN_SHM): Undefine macro.
44981         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44982         macro to -1.
44983         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44984         macro to -1.
44985         (_POSIX_ASYNC_IO): Undefine macro.
44986         (_POSIX_PRIORITIZED_IO): Undefine macro.
44987         (_POSIX_SPIN_LOCKS): Define macro to -1.
44989         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44990         SA_NODEFER, SA_RESETHAND.
44991         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44992         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44993         F_DUPFD_CLOEXEC.
44995 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44997         * elf/Makefile (pldd-modules): Define unconditionally.
44999 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45001         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45003 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45005         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45006         Return ENOENT when name is empty.
45007         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45009 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45011         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45013         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45015 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45017         Fix mlock in all cases except non-readable pages.
45018         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45019         instead of VM_PROT_ALL as parameter to __vm_wire function.
45021         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45022         (__mkdir): When path is `/', just fail with EEXIST.
45023         * sysdeps/mach/hurd/mkdirat.c: Likewise.
45025 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45027         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45028         <sys/uio.h> (for writev).
45029         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45030         and <sys/param.h> (for MIN).
45032 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45034         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45035         REQUESTED_TIME.  Properly set the remaining time and return EINTR
45036         if interrupted.
45038 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45040         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45041         Depend on against $(link-rpcuserlibs).
45043 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45045         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45046         (__libc_stack_end): Do not use attribute_relro.
45047         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45048         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
45049         to libthread-provided value.
45050         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45051         attribute_relro.
45053 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45055         [BZ #3748]
45056         * bits/libc-lock.h (__libc_once_get): New macro.
45057         * sysdeps/mach/bits/libc-lock.h: Likewise.
45058         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45059         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45060         instead of using implementation details.
45062         * libio/fileops.c: Unconditionally include <kernel-features.h>.
45063         * libio/freopen.c: Likewise.
45064         * libio/freopen64.c: Likewise.
45065         * misc/syslog.c: Likewise.
45066         * nscd/connections.c: Likewise.
45067         * nscd/netgroupcache.c: Likewise.
45068         * sysdeps/posix/getcwd.c: Likewise.
45070 2012-05-10  Roland McGrath  <roland@hack.frob.com>
45072         * math/w_ilogbf.c: Add #include <limits.h>.
45074 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45076         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
45077         path instead of returning without unlocking.
45079         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45080         immediate-write ioctls.
45081         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45083 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45085         * sysdeps/mach/hurd/i386/init-first.c (init): Use
45086         __builtin_frame_address instead of making assumptions about the
45087         location of the return address relative to DATA.  Force early load of
45088         the return address.
45089         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45090         __builtin_frame_address.
45092         dup3 for GNU Hurd.
45093         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45094         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
45095         implement dup3 and do some further code clean-ups.
45096         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45097         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45099 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45101         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45103         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45104         HURD_CRITICAL_END around holding _hurd_dtable_lock.
45105         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
45106         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
45107         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
45108         d->port.lock.
45110         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
45111         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
45112         when handler == SIG_ERR, not when handler != SIG_ERR.
45114 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45116         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
45117         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
45118         definitions.
45120         accept4 for GNU Hurd.
45121         * include/sys/socket.h (__libc_accept4): New prototype.
45122         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
45123         to implement __libc_accept4.
45124         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
45125         __libc_accept4.
45126         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
45128         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
45129         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
45130         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
45131         signal-defines.sym.
45133 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45135         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
45137 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45139         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
45140         assertion on O_CLOEXEC flag.
45141         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
45142         * hurd/intern-fd.c: Likewise.
45143         * hurd/port2fd.c: Likewise.
45145 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45147         [BZ #3906]
45148         * bits/in.h (IPV6_PKTINFO): Define new macro.
45149         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
45151 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45153         [BZ #13954]
45154         [BZ #13955]
45155         [BZ #13956]
45156         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
45157         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45158         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
45159         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45160         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45161         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45162         * math/libm-test.inc (logb_test) : Additional logb tests.
45164 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
45165             Andreas Jaeger  <aj@suse.de>
45167         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
45168         * configure: Regenerated.
45169         * config.h.in (LINK_OBSOLETE_RPC): New macro.
45170         * config.make.in (link-obsolete-rpc): New substituted variable.
45171         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
45172         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
45173         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45174         (shared-only-routines): Don't set it under [link-obsolete-rpc],
45175         so that libc.a contains the symbols.
45176         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45177         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
45178         * sunrpc/auth_none.c: Likewise.
45179         * sunrpc/auth_unix.c: Likewise.
45180         * sunrpc/authdes_prot.c: Likewise.
45181         * sunrpc/authuxprot.c: Likewise.
45182         * sunrpc/clnt_gen.c: Likewise.
45183         * sunrpc/clnt_perr.c: Likewise.
45184         * sunrpc/clnt_raw.c: Likewise.
45185         * sunrpc/clnt_simp.c: Likewise.
45186         * sunrpc/clnt_tcp.c: Likewise.
45187         * sunrpc/clnt_udp.c: Likewise.
45188         * sunrpc/clnt_unix.c: Likewise.
45189         * sunrpc/des_crypt.c: Likewise.
45190         * sunrpc/des_soft.c: Likewise.
45191         * sunrpc/get_myaddr.c: Likewise.
45192         * sunrpc/key_call.c: Likewise.
45193         * sunrpc/key_prot.c: Likewise.
45194         * sunrpc/netname.c: Likewise.
45195         * sunrpc/pm_getmaps.c: Likewise.
45196         * sunrpc/pm_getport.c: Likewise.
45197         * sunrpc/pmap_clnt.c: Likewise.
45198         * sunrpc/pmap_prot.c: Likewise.
45199         * sunrpc/pmap_prot2.c: Likewise.
45200         * sunrpc/pmap_rmt.c: Likewise.
45201         * sunrpc/publickey.c: Likewise.
45202         * sunrpc/rpc_cmsg.c: Likewise.
45203         * sunrpc/rpc_common.c: Likewise.
45204         * sunrpc/rpc_dtable.c: Likewise.
45205         * sunrpc/rpc_prot.c: Likewise.
45206         * sunrpc/rpc_thread.c: Likewise.
45207         * sunrpc/rtime.c: Likewise.
45208         * sunrpc/svc.c: Likewise.
45209         * sunrpc/svc_auth.c: Likewise.
45210         * sunrpc/svc_raw.c: Likewise.
45211         * sunrpc/svc_run.c: Likewise.
45212         * sunrpc/svc_tcp.c: Likewise.
45213         * sunrpc/svc_udp.c: Likewise.
45214         * sunrpc/svc_unix.c: Likewise.
45215         * sunrpc/svcauth_des.c: Likewise.
45216         * sunrpc/xcrypt.c: Likewise.
45217         * sunrpc/xdr.c: Likewise.
45218         * sunrpc/xdr_array.c: Likewise.
45219         * sunrpc/xdr_float.c: Likewise.
45220         * sunrpc/xdr_intXX_t.c: Likewise.
45221         * sunrpc/xdr_mem.c: Likewise.
45222         * sunrpc/xdr_rec.c: Likewise.
45223         * sunrpc/xdr_ref.c: Likewise.
45224         * sunrpc/xdr_sizeof.c: Likewise.
45225         * sunrpc/xdr_stdio.c: Likewise.
45227 2012-05-10  Roland McGrath  <roland@hack.frob.com>
45229         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45230         change.  Update copyright years.
45232 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
45234         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45236 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
45237             Joseph Myers  <joseph@codesourcery.com>
45238             Paul Pluzhnikov  <ppluzhnikov@google.com>
45240         [BZ #14012]
45241         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45242         requiring rpcgen.
45243         [cross-compiling] (extra-libs): Likewise.
45244         [cross-compiling] (extra-libs-others): Likewise.
45245         [cross-compiling] (librpcsvc-routines): Likewise.
45246         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45247         [cross-compiling] (omit-deps): Likewise.
45248         (sunrpc-CPPFLAGS): New variable.
45249         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45250         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45251         (cross-rpcgen-objs): New variable.
45252         (extra-objs): Append $(cross-rpcgen-objs).
45253         ($(cross-rpcgen-objs)): New rule.
45254         ($(objpfx)cross-rpcgen): Likewise.
45255         (rpcgen-cmd): Define to use $(built-program-file).  Expand
45256         comment.
45257         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45258         ($(objpfx)x%.stmp): Likewise.
45259         * sunrpc/proto.h [IS_IN_build] (_): Define.
45260         [IS_IN_build] (_libc_intl_domainname): Likewise.
45262 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45264         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45265         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45266         and R_X86_64_TPOFF64.
45268 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
45270         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45271         sysdeps/unix/sysv/syscalls.list.
45272         (stime): Likewise.
45273         (utime): Likewise.
45274         * sysdeps/unix/sysv/syscalls.list: Remove file.
45276 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
45278         [BZ #3440]
45279         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45280         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45281         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45282         (__LC_IDENTIFICATION): Make these macros useful in #if
45283         expressions, as required by C99.
45285 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
45287         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45288         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
45289         after this.
45291 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
45293         * stdlib/longlong.h: Updated from GCC.
45295 2012-05-09  Andreas Jaeger  <aj@suse.de>
45297         * nscd/nscd.c (run_modes): Make named enum, reorder so that
45298         default is first entry.
45299         (run_mode): Set type.
45300         (main): Remove informal message about syslog.
45301         (options): Fix typo.
45303         [BZ #14053]
45304         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
45305         to asm.
45306         (lrint): Likewise.
45307         (llrintf): Likewise.
45308         (llrint): Likewise.
45309         (rint): Likewise.
45310         (rintf): Likewise.
45311         (nearbyint): Likewise.
45312         (nearbyintf): Likewise.
45314 2012-05-09  Andreas Jaeger  <aj@suse.de>
45315             Pedro Alves  <palves@redhat.com>
45317         * nscd/nscd.c (run_mode): Use enum.
45318         (main): Cleanup coding style issue.
45320 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
45321             Andreas Jaeger  <aj@suse.de>
45323         * nscd/nscd.c (go_background): Replaced with...
45324         (run_mode): ... this.
45325         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
45326         (options): Add -F --foreground.
45327         (main): Implement it.
45328         (parse_opt): Parse it.
45330 2012-05-09  Andreas Jaeger  <aj@suse.de>
45332         [BZ #14083]
45333         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45334         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45335         -Wconversion warning.
45336         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45337         Likewise.
45339 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
45341         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
45342         == 0.
45343         (LC_ALL): Use macro-int-constant.
45344         (LC_COLLATE): Likewise.
45345         (LC_CTYPE): Likewise.
45346         (LC_MESSAGES): Likewise.
45347         (LC_MONETARY): Likewise.
45348         (LC_NUMERIC): Likewise.
45349         (LC_TIME): Likewise.
45350         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45351         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45352         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45353         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45354         Specify type.
45355         [C99-based standards] (float_t): Expect type.
45356         [C99-based standards] (double_t): Expect type.
45357         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
45358         type.
45359         [C99-based standards] (HUGE_VALL): Likewise.
45360         [C99-based standards] (INFINITY): Likewise.
45361         [C99-based standards] (NAN): Likewise.
45362         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45363         [C99-based standards] (FP_NAN): Likewise.
45364         [C99-based standards] (FP_NORMAL): Likewise.
45365         [C99-based standards] (FP_SUBNORMAL): Likewise.
45366         [C99-based standards] (FP_ZERO): Likewise.
45367         [C99-based standards] (FP_FAST_FMA): Use
45368         optional-macro-int-constant.  Specify type.  Require == 1.
45369         [C99-based standards] (FP_FAST_FMAF): Likewise.
45370         [C99-based standards] (FP_FAST_FMAL): Likewise.
45371         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45372         [C99-based standards] (FP_ILOGBNAN): Likewise.
45373         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45374         Specify type.
45375         [C99-based standards] (MATH_ERREXCEPT): Likewise.
45376         [C99-based standards] (math_errhandling): Specify type.
45377         [ISO99 || ISO11] (signgam): Do not allow.
45378         [non-C99-based standards] (copysignf): Do not allow.
45379         [non-C99-based standards] (exp2f): Likewise.
45380         [non-C99-based standards] (log2f): Likewise.
45381         [non-C99-based standards] (modff): Allow.
45382         [non-C99-based standards] (erff): Do not allow.
45383         [non-C99-based standards] (erfcf): Likewise.
45384         [non-C99-based standards] (gammaf): Likewise.
45385         [non-C99-based standards] (hypotf): Likewise.
45386         [non-C99-based standards] (j0f): Likewise.
45387         [non-C99-based standards] (j1f): Likewise.
45388         [non-C99-based standards] (jnf): Likewise.
45389         [non-C99-based standards] (lgammaf): Likewise.
45390         [non-C99-based standards] (tgammaf): Likewise.
45391         [non-C99-based standards] (y0f): Likewise.
45392         [non-C99-based standards] (y1f): Likewise.
45393         [non-C99-based standards] (ynf): Likewise.
45394         [non-C99-based standards] (isnanf): Likewise.
45395         [non-C99-based standards] (acoshf): Likewise.
45396         [non-C99-based standards] (asinhf): Likewise.
45397         [non-C99-based standards] (atanhf): Likewise.
45398         [non-C99-based standards] (cbrtf): Likewise.
45399         [non-C99-based standards] (expm1f): Likewise.
45400         [non-C99-based standards] (ilogbf): Likewise.
45401         [non-C99-based standards] (log1pf): Likewise.
45402         [non-C99-based standards] (logbf): Likewise.
45403         [non-C99-based standards] (nextafterf): Likewise.
45404         [non-C99-based standards] (remainderf): Likewise.
45405         [non-C99-based standards] (rintf): Likewise.
45406         [non-C99-based standards] (scalbf): Likewise.
45407         [non-C99-based standards] (copysignl): Likewise.
45408         [non-C99-based standards] (exp2l): Likewise.
45409         [non-C99-based standards] (log2l): Likewise.
45410         [non-C99-based standards] (modfl): Allow.
45411         [non-C99-based standards] (erfl): Do not allow.
45412         [non-C99-based standards] (erfcl): Likewise.
45413         [non-C99-based standards] (gammal): Likewise.
45414         [non-C99-based standards] (hypotl): Likewise.
45415         [non-C99-based standards] (j0l): Likewise.
45416         [non-C99-based standards] (j1l): Likewise.
45417         [non-C99-based standards] (jnl): Likewise.
45418         [non-C99-based standards] (lgammal): Likewise.
45419         [non-C99-based standards] (tgammal): Likewise.
45420         [non-C99-based standards] (y0l): Likewise.
45421         [non-C99-based standards] (y1l): Likewise.
45422         [non-C99-based standards] (ynl): Likewise.
45423         [non-C99-based standards] (isnanl): Likewise.
45424         [non-C99-based standards] (acoshl): Likewise.
45425         [non-C99-based standards] (asinhl): Likewise.
45426         [non-C99-based standards] (atanhl): Likewise.
45427         [non-C99-based standards] (cbrtl): Likewise.
45428         [non-C99-based standards] (expm1l): Likewise.
45429         [non-C99-based standards] (ilogbl): Likewise.
45430         [non-C99-based standards] (log1pl): Likewise.
45431         [non-C99-based standards] (logbl): Likewise.
45432         [non-C99-based standards] (nextafterl): Likewise.
45433         [non-C99-based standards] (remainderl): Likewise.
45434         [non-C99-based standards] (rintl): Likewise.
45435         [non-C99-based standards] (scalbl): Likewise.
45436         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45437         [non-C99-based standards] (FP_*): Do not allow.
45438         [C99-based standards] (FP_*): Change to
45439         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45440         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45441         allow.
45442         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45443         (SIG_ERR): Likewise.
45444         [X/Open-based standards] (SIG_HOLD): Likewise.
45445         (SIG_IGN): Likewise.
45446         (SIGABRT): Use macro-int-constant.  Specify type.  Require
45447         positive value.
45448         (SIGFPE): Likewise.
45449         (SIGILL): Likewise.
45450         (SIGINT): Likewise.
45451         (SIGSEGV): Likewise.
45452         (SIGTER): Likewise.
45453         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45454         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45455         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45456         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45457         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45458         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45459         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45460         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45461         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45462         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45463         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45464         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45465         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45466         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45467         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45468         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45469         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45470         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45471         [X/Open-based standards] (SIGTRAP): Likewise.
45472         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45473         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45474         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45475         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45476         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45477         allow.
45479 2012-05-08  Ian Wienand  <ianw@vmware.com>
45481         [BZ #14080]
45482         * time/tzset.c (__tzset_parse_tz): Update default rules for
45483         daylight time changes in the Energy Policy Act of 2005.
45485 2012-05-09  Andreas Jaeger  <aj@suse.de>
45487         [BZ #13983]
45488         * elf/ldconfig.c (parse_conf): Change string to make clear that
45489         ldconfig only issued a warning if ld.so.conf does not exist.
45491 2012-05-08  David S. Miller  <davem@davemloft.net>
45493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45494         movxtod instead of popping the value on the stack.
45496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45498 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
45500         * config.h.in: Add HAVE_ARM_PCS_VFP.
45502 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
45504         [BZ #13979]
45505         * include/features.h: Warn if user requests __FORTIFY_SOURCE
45506         checking but the checks are disabled for any reason.
45508 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
45510         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45511         and ELF64_R_TYPE with ELFW(R_TYPE).
45513 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
45515         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45516         (ulimit): Likewise.
45518         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45519         (settimeofday): Likewise.
45521 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
45523         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
45524         a struct th_u2 inside the union, and move tu_block/tu_code into
45525         a new th_u3 union of tu_block/tu_code inside of that.  Move
45526         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
45527         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
45528         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45529         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45530         (th_stuff): Change to th_u1.tu_stuff.
45531         (th_data): Define.
45532         (th_msg): Change to th_u1.th_u2.tu_data.
45534 2012-05-07  David S. Miller  <davem@davemloft.net>
45536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45538         [BZ #14074]
45539         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45540         (SETUP_PIC_REG): Use it.
45541         (SETUP_PIC_REG_LEAF): Use it.
45543 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
45545         [BZ #13885]
45546         [BZ #13923]
45547         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45548         USE_AS_EXPM1L.
45549         (EXPL_FINITE): Likewise.
45550         (FLDLOG): Likewise.
45551         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45552         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45553         e_expl.S.
45554         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45555         USE_AS_EXPM1L.
45556         (EXPL_FINITE): Likewise.
45557         (FLDLOG): Likewise.
45558         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45559         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45560         e_expl.S.
45561         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
45562         test of -max_value argument for long double.
45563         * sysdeps/i386/fpu/libm-test-ulps: Update.
45564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45566 2012-05-06  David S. Miller  <davem@davemloft.net>
45568         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45569         quad soft-float symbols whose references which are compiler
45570         generated.
45571         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45573 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
45575         [BZ #13884]
45576         [BZ #13914]
45577         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45578         USE_AS_EXP10L.
45579         (EXPL_FINITE): Likewise.
45580         (FLDLOG): Likewise.
45581         (c0): Likewise.
45582         (c1): Likewise.
45583         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
45584         Adjust comments for base varying.
45585         (__expl_finite): Change alias to EXPL_FINITE.
45586         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45587         e_expl.S.
45588         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45589         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45590         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45591         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45592         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45593         USE_AS_EXP10L.
45594         (EXPL_FINITE): Likewise.
45595         (FLDLOG): Likewise.
45596         (c0): Likewise.
45597         (c1): Likewise.
45598         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
45599         Adjust comments for base varying.
45600         (__expl_finite): Change alias to EXPL_FINITE.
45601         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
45602         tests for bugs.
45603         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45605         [BZ #14064]
45606         * math/libm-test.inc (check_float_internal): Correct ulp
45607         calculation for subnormal expected results.
45609 2012-05-06  Andreas Jaeger  <aj@suse.de>
45611         * Makeconfig (+math-flags): New, set to -frounding-math.
45612         (+cflags): Add +math-flags so that all of glibc gets compiled with
45613         it.
45615         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45617 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
45619         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45620         Disable one test.
45622         [BZ #13787]
45623         [BZ #13922]
45624         [BZ #14036]
45625         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45626         (__ieee754_expl): Allow for and saturate large arguments.
45627         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45628         (u_threshold): Likewise.
45629         (__exp): Call __ieee754_exp before checking for overflow and
45630         underflow.
45631         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45632         (u_threshold): Likewise.
45633         (__expf): Call __ieee754_expf before checking for overflow and
45634         underflow.
45635         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45636         (u_threshold): Likewise.
45637         (__expl): Call __ieee754_expl before checking for overflow and
45638         underflow.
45639         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45640         (__ieee754_expl): Allow for and saturate large arguments.
45641         * math/libm-test.inc (exp_test): Add another test.  Do not allow
45642         missing overflow exception on overflow.
45643         (expm1_test): Do not allow missing overflow exception on overflow.
45645         * sysdeps/i386/fpu/e_expl.c: Move to ...
45646         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
45647         rather than using inline asm.
45648         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45649         * sysdeps/x86_64/fpu/e_expl.S: Copy from
45650         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45652         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45653         (nice): Likewise.
45654         (poll): Likewise.
45655         (signal): Likewise.
45656         (time): Likewise.
45657         (times): Likewise.
45659 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45661         * sysdeps/unix/syscalls.list (adjtime): Add entry from
45662         sysdeps/unix/common/syscalls.list.
45663         (fchmod): Likewise.
45664         (fchown): Likewise.
45665         (ftruncate): Likewise.
45666         (getrusage): Likewise.
45667         (gettimeofday): Likewise.
45668         (setpgid): Likewise.
45669         (setregid): Likewise.
45670         (setreuid): Likewise.
45671         (sigaction): Likewise.
45672         (truncate): Likewise.
45673         (vhangup): Likewise.
45674         * sysdeps/unix/common/syscalls.list: Remove file.
45675         * sysdeps/unix/bsd/Implies: Don't include unix/common.
45676         * sysdeps/unix/sysv/linux/Implies: Likewise.
45678 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
45680         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45682         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45683         Moved to ...
45684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45685         Here.
45686         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45687         to ...
45688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45689         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45690         to ...
45691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45692         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45693         to ...
45694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45695         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45696         to ...
45697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45698         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45699         to ...
45700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45701         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45702         to ...
45703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45704         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45705         to ...
45706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45707         Here.
45708         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45709         to ...
45710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45711         Here.
45712         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45713         to ...
45714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45715         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45716         Moved to ...
45717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45718         Here.
45719         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45720         to ...
45721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45723 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45725         * sysdeps/unix/common/bits/dirent.h: Remove file.
45726         * sysdeps/unix/common/bits/fcntl.h: Likewise.
45728         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45729         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45730         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45731         * sysdeps/unix/bsd/isatty.c: Likewise.
45732         * sysdeps/unix/bsd/tcdrain.c: Likewise.
45733         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45734         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45736 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45738         [BZ #13563]
45739         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45740         long double comparison inaccuracies.
45741         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45744 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
45746         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45747         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45749 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45751         [BZ #14049]
45752         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45753         nonzero digits before rounding a hex value.
45754         * stdlib/tst-strtod.c (tests): Add another test.
45756 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45758         * sysdeps/s390/fpu/libm-test-ulps: Update.
45760 2012-05-03  Andreas Jaeger  <aj@suse.de>
45762         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45763         does not get optimized out.
45764         (malloc_opt_barrier): New.
45766 2012-05-03  Andreas Jaeger  <aj@suse.de>
45767             Roland McGrath  <roland@hack.frob.com>
45769         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45770         intermediate file deletion.
45771         (generated): Add .symlist files.
45773 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
45775         [BZ #13775]
45776         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45777         Redirect under this condition.
45778         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45779         [__USE_GNU] (__dprintf_chk): Not under this condition.
45780         [__USE_GNU] (__vdprintf_chk): Likewise.
45781         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45782         under this condition.
45783         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45784         [__USE_XOPEN2K8] (dprintf): Define under this condition.
45785         [__USE_XOPEN2K8] (vdprintf): Likewise.
45786         [__USE_GNU] (__dprintf_chk): Not under this condition.
45787         [__USE_GNU] (__vdprintf_chk): Likewise.
45788         [__USE_GNU] (dprintf): Likewise.
45789         [__USE_GNU] (vdprintf): Likewise.
45791 2012-05-03  Roland McGrath  <roland@hack.frob.com>
45793         * elf/Makefile (common-generated): Set this instead of generated for
45794         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
45795         $(all-built-dso)-derived lists.
45797 2012-05-03  Andreas Jaeger  <aj@suse.de>
45799         * sysdeps/i386/fpu/libm-test-ulps: Update.
45801         * FAQ: Removed.
45802         * FAQ.in: Likewise.
45803         * scripts/gen-FAQ.pl: Likewise.
45804         * manual/install.texi (Installation): Point to online location of
45805         FAQ.
45806         * Makefile (files-for-dist): Remove FAQ.
45807         (FAQ): Remove.
45809 2012-05-02  Allan McRae  <allan@archlinux.org>
45811         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45812         (LDFLAGS-reldepmod5.so): Likewise.
45813         (LDFLAGS-reldep6mod1.so): Likewise.
45814         (LDFLAGS-reldep6mod4.so): Likewise.
45815         (LDFLAGS-reldep8mod3.so): Likewise.
45816         (LDFLAGS-unload4mod1.so): Likewise.
45817         (LDFLAGS-unload4mod2.so): Likewise.
45818         (LDFLAGS-tst-initorder): Likewise.
45819         (LDFLAGS-tst-initordera2.so): Likewise.
45820         (LDFLAGS-tst-initordera3.so): Likewise.
45821         (LDFLAGS-tst-initordera4.so): Likewise.
45822         (LDFLAGS-tst-initorderb2.so): Likewise.
45823         (LDFLAGS-noload): Likewise.
45824         (LDFLAGS-next): Likewise.
45825         (LDFLAGS-order2mod1.so): Likewise.
45826         (LDFLAGS-order2mod2.so): Likewise.
45827         (LDFLAGS-tst-initorder2): Likewise.
45828         (LDFLAGS-tst-initorder2a.so): Likewise.
45829         (LDFLAGS-tst-initorder2b.so): Likewise.
45830         (LDFLAGS-tst-initorder2c.so): Likewise.
45831         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45833 2012-05-02  David S. Miller  <davem@davemloft.net>
45835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45837 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
45839         [BZ #14055]
45840         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45842 2012-05-02  Andreas Jaeger  <aj@suse.de>
45844         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45845         since we manipulate rounding mode.
45846         (CPPFLAGS-test-idouble.c): Likewise.
45847         (CPPFLAGS-test-ifloat.c): Likewise.
45848         (CFLAGS-test-ldouble.c): Likewise.
45849         (CFLAGS-test-double.c): Likewise.
45850         (CFLAGS-test-float.c): Likewise.
45851         (CFLAGS-test-misc.c): Likewise.
45852         (CFLAGS-test-test-fenv.c): Likewise.
45854 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45856         [BZ #2550]
45857         [BZ #2570]
45858         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45859         comparisons to determine direction to adjust input.
45861 2012-05-01  Roland McGrath  <roland@hack.frob.com>
45863         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45864         output to the target.
45866         * scripts/localplt.awk: New file.
45867         * elf/Makefile ($(objpfx)check-localplt): Target removed.
45868         (check-localplt-CFLAGS): Variable removed.
45869         ($(all-built-dso:=.jmprel)): New static pattern rule.
45870         (generated): Add those targets.
45871         (localplt-built-dso): New variable.
45872         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45874         * elf/check-localplt.c: File removed.
45876         * scripts/check-execstack.awk: New file.
45877         * elf/Makefile ($(objpfx)check-execstack): Target removed.
45878         (check-execstack-CFLAGS): Variable removed.
45879         ($(objpfx)check-execstack.h): Target removed.
45880         ($(objpfx)execstack-default): New target.
45881         (generated): Add that instead of check-execstack.h.
45882         ($(all-built-dso:=.phdr)): New static pattern rule.
45883         (generated): Add those targets.
45884         * elf/check-execstack.c: File removed.
45886         * scripts/check-textrel.awk: New file.
45887         * elf/Makefile ($(objpfx)check-textrel): Target removed.
45888         (check-textrel-CFLAGS): Variable removed.
45889         (all-built-dso): Use := to define.o
45890         ($(all-built-dso:=.dyn)): New static pattern rule.
45891         (generated): Add those targets.
45892         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45893         * config.make.in (READELF): New substituted variable.
45894         * elf/check-textrel.c: File removed.
45896 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45898         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45899         allow.
45900         * conform/data/ctype.h-data [C99-based standards] (isblank):
45901         Expect function.
45902         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45903         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45904         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45905         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45906         Specify type.  Require positive value.
45907         (EILSEQ): Likewise.
45908         (ERANGE): Likewise.
45909         [ISO || POSIX] (EILSEQ): Do not expect.
45910         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45911         Specify type.  Require positive value.
45912         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45913         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45914         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45915         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45916         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45917         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45918         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45919         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45920         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45921         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45922         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45923         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45924         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45925         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45926         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45927         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45928         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45929         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45930         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45931         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45932         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45933         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45934         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45935         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45936         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45937         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45938         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45939         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45940         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45941         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45942         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45943         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45944         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45945         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45946         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45947         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45948         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45949         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45950         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45951         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45952         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45953         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45954         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45955         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45956         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45957         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45958         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45959         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45960         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45961         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45962         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45963         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45964         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45965         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45966         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45967         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45968         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45969         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45970         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45971         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45972         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45973         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45974         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45975         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45976         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45977         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45978         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45979         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45980         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45981         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45982         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45983         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45984         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45985         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45986         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45987         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45988         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45989         Require >= 2.
45990         (FLT_ROUNDS): Expect as macro, not constant.
45991         (FLT_MANT_DIG): Use macro-int-constant.
45992         (DBL_MANT_DIG): Likewise.
45993         (LDBL_MANT_DIG): Likewise.
45994         (FLT_DIG): Likewise.
45995         (DBL_DIG): Likewise.
45996         (LDBL_DIG): Likewise.
45997         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
45998         (DBL_MIN_EXP): Likewise.
45999         (LDBL_MIN_EXP): Likewise.
46000         (FLT_MAX_EXP): Use macro-int-constant.
46001         (DBL_MAX_EXP): Likewise.
46002         (LDBL_MAX_EXP): Likewise.
46003         (FLT_MAX_10_EXP): Likewise.
46004         (DBL_MAX_10_EXP): Likewise.
46005         (LDBL_MAX_10_EXP): Likewise.
46006         (FLT_MAX): Use macro-constant.
46007         (DBL_MAX): Likewise.
46008         (LDBL_MAX): Likewise.
46009         (FLT_EPSILON): Use macro-constant.  Give upper bound.
46010         (DBL_EPSILON): Likewise.
46011         (LDBL_EPSILON): Likewise.
46012         (FLT_MIN): Likewise.
46013         (DBL_MIN): Likewise.
46014         (LDBL_MIN): Likewise.
46015         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46016         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46017         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46018         [ISO11] (FLT_HAS_SUBNORM): Likewise.
46019         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46020         [ISO11] (DBL_DECIMAL_DIG): Likewise.
46021         [ISO11] (FLT_DECIMAL_DIG): Likewise.
46022         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46023         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46024         [ISO11] (FLT_TRUE_MIN): Likewise.
46025         [ISO11] (LDBL_TRUE_MIN): Likewise.
46026         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46027         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46028         (SCHAR_MIN): Use macro-int-constant.  Specify type.
46029         (SCHAR_MAX): Likewise.
46030         (UCHAR_MAX): Likewise.
46031         (CHAR_MIN): Likewise.
46032         (CHAR_MAX): Likewise.
46033         (MB_LEN_MAX): Use macro-int-constant.
46034         (SHRT_MIN): Use macro-int-constant.  Specify type.
46035         (SHRT_MAX): Likewise.
46036         (USHRT_MAX): Likewise.
46037         (INT_MAX): Likewise.
46038         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
46039         bound negative.
46040         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46041         bound with "U".
46042         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46043         bound with "L".
46044         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
46045         bound negative.  Suffix upper bound with "L".
46046         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46047         bound with "UL".
46048         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46049         Specify type.
46050         [C99-based standards] (LLONG_MAX): Likewise.
46051         [C99-based standards] (ULLONG_MAX): Likewise.
46052         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
46053         == 0.
46054         [ISO11] (max_align_t): Require type.
46055         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46057         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46058         from $CFLAGS, without defining away __attribute__ calls.
46059         (checknamespace): Use $CFLAGS_namespace.
46061         * conform/conformtest.pl (@keywords): Only include C99 keywords
46062         for standards based on C99 or C11.
46064         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46065         Disable tests.
46066         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46067         UNIX98]: Likewise.
46069         * conform/conformtest.pl: Handle "macro-int-constant" and test for
46070         usability of symbols in #if.
46072         * conform/conformtest.pl: If macro or constant types start
46073         "promoted:", expect the symbol to be of the following type
46074         promoted by the integer promotions.
46076         * conform/conformtest.pl: Parse all "constant" and "macro" lines
46077         in one place.  Also handle "macro-constant".
46079         * conform/conformtest.pl: Only accept expected macro values with
46080         "==".  Parse all "macro" lines in one place.
46081         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46083         * conform/conformtest.pl: Handle braced types on "constant" lines
46084         instead of handling "typed-constant".
46085         * conform/data/signal.h-data: Use "constant" instead of
46086         "typed-constant".
46088         * conform/conformtest.pl: Handle "optional-" at start of lines in
46089         one place rather than duplicating several cases.  Handle each
46090         format of "macro" line with initial "optional-".
46092         * conform/conformtest.pl: Only accept expected constant or
46093         optional-constant values with "==".  Parse all "constant" lines in
46094         one place.  Parse all "optional-constant" lines in one place.
46095         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46096         * conform/data/fmtmsg.h-data: Likewise.
46097         * conform/data/netinet/in.h-data: Likewise.
46098         * conform/data/tar.h-data: Likewise.
46099         * conform/data/limits.h-data: Use "==" form on "constant" and
46100         "optional-constant" lines.
46102         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46103         Use -std=c99 for XOPEN2K.
46104         (@knownproblems): Remove.
46105         (newtoken): Don't check %isknown.
46107         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
46108         Do not expect macro.
46109         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
46110         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
46111         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46112         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
46113         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
46114         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
46115         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
46116         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
46117         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
46118         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
46119         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
46120         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
46121         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
46122         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
46123         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
46124         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
46125         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
46126         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
46127         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
46128         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
46129         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
46130         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
46131         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
46132         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
46133         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
46134         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
46135         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
46136         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
46137         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
46138         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
46139         [XPG3] (acosh): Likewise.
46140         [XPG3] (asinh): Likewise.
46141         [XPG3] (atanh): Likewise.
46142         [XPG3] (cbrt): Likewise.
46143         [XPG3] (expm1): Likewise.
46144         [XPG3] (ilogb): Likewise.
46145         [XPG3] (log1p): Likewise.
46146         [XPG3] (logb): Likewise.
46147         [XPG3] (nextafter): Likewise.
46148         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
46149         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
46150         [XPG3] (remainder): Likewise.
46151         [XPG3] (rint): Likewise.
46152         [XPG3 || XPG4 || UNIX98] (round): Likewise.
46153         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
46154         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
46155         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
46156         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
46157         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
46158         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
46159         [UNIX98 || XOPEN2K] (scalb): Expect.
46160         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
46161         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
46162         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
46163         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
46164         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
46165         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
46166         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
46167         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
46168         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
46169         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
46170         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
46171         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
46172         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
46173         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
46174         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
46175         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
46176         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
46177         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
46178         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
46179         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
46180         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
46181         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
46182         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
46183         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
46184         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
46185         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
46186         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
46187         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
46188         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
46189         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
46190         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
46191         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
46192         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
46193         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
46194         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
46195         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
46196         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
46197         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
46198         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
46199         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
46200         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
46201         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
46202         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
46203         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
46204         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
46205         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
46206         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
46207         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
46208         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
46209         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
46210         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
46211         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
46212         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46213         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46214         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46215         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46216         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46217         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46218         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46219         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46220         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46221         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46222         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46223         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46224         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46225         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46226         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46227         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46228         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46229         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46230         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46231         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46232         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46233         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46234         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46235         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46236         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46237         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46238         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46239         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46240         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46241         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46242         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46243         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46244         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46245         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46246         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46247         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46248         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46249         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46250         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46251         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46252         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46253         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46254         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46255         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46256         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46257         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46258         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46259         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46260         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46261         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46262         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46263         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46264         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46265         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46266         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46267         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46268         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46269         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46270         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46271         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46272         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46273         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46274         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46275         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46276         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46277         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46278         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46279         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46280         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46281         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46282         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46283         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46284         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46285         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46286         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46287         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46288         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46289         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46290         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46291         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46292         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46293         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46294         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46295         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46296         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46298         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46299         _XOPEN_SOURCE_EXTENDED for XPG4.
46301         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46303         * Makeconfig (localtime): Remove variable.
46304         (inst_localtime-file): Likewise.
46306 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46309         Update.
46310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46311         Update.
46312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46313         Update.
46314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46315         Update.
46316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46317         Update.
46318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46319         Update.
46320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46321         Update.
46322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46323         Update.
46324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46325         Update.
46327 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
46329         [BZ #2550]
46330         [BZ #2570]
46331         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46332         comparisons to determine direction to adjust input.
46333         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46334         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46335         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46336         Likewise.
46337         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46338         Likewise.
46339         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46340         Likewise.
46341         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46342         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46343         Likewise.
46344         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46345         Likewise.
46346         * math/libm-test.inc (nexttoward_test): Add more tests.
46348 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46350         [BZ #14040]
46351         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46352         in version GLIBC_2.1, not GLIBC_2.0.
46353         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46354         Likewise.
46356 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
46358         [BZ #13942]
46359         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46360         (1 - x) * (1 + x).
46361         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46362         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46363         * math/libm-test.inc (acos_test): Add more tests.
46364         (asin_test): Likewise.
46365         * sysdeps/i386/fpu/libm-test-ulps: Update.
46366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46368         [BZ #14034]
46369         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46370         of square root.
46371         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46372         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46373         * math/libm-test.inc (acos_test_tonearest): New function.
46374         (acos_test_towardzero): Likewise.
46375         (acos_test_downward): Likewise.
46376         (acos_test_upward): Likewise.
46377         (asin_test_tonearest): Likewise.
46378         (asin_test_towardzero): Likewise.
46379         (asin_test_downward): Likewise.
46380         (asin_test_upward): Likewise.
46381         (main): Call the new functions.
46382         * sysdeps/i386/fpu/libm-test-ulps: Update.
46383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46385         [BZ #13884]
46386         [BZ #13924]
46387         * math/e_exp10.c: Include <float.h>.
46388         (__ieee754_exp10): Handle underflow here rather than multiplying
46389         large negative argument by M_LN10.
46390         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46391         of __ieee754_expf.
46392         * math/e_exp10l.c: Include <float.h>.
46393         (__ieee754_exp10l): Handle underflow here rather than multiplying
46394         large negative argument by M_LN10l.
46395         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
46396         spurious overflow exception on underflow.
46398 2012-04-29  Marek Polacek  <polacek@redhat.com>
46400         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46401         (__fortify_function): New macro.
46402         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46403         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46404         __extern_always_inline.
46405         * libio/bits/stdio2.h: Likewise.
46406         * libio/bits/stdio.h: Likewise.
46407         * string/string.h: Likewise.
46408         * string/bits/string3.h: Likewise.
46409         * include/stdio.h: Likewise.
46410         * stdlib/bits/stdlib.h: Likewise.
46411         * stdlib/stdlib.h: Likewise.
46412         * rt/bits/mqueue2.h: Likewise.
46413         * rt/mqueue.h: Likewise.
46414         * posix/bits/unistd.h: Likewise.
46415         * posix/unistd.h: Likewise.
46416         * io/bits/poll2.h: Likewise.
46417         * io/bits/fcntl2.h: Likewise.
46418         * io/fcntl.h: Likewise.
46419         * io/sys/poll.h: Likewise.
46420         * misc/bits/syslog.h: Likewise.
46421         * misc/bits/syslog-ldbl.h: Likewise.
46422         * misc/sys/syslog.h: Likewise.
46423         * socket/bits/socket2.h: Likewise.
46424         * socket/sys/socket.h: Likewise.
46425         * debug/tst-chk1.c: Likewise.
46426         * wcsmbs/bits/wchar2.h: Likewise.
46427         * wcsmbs/bits/wchar-ldbl.h: Likewise.
46428         * wcsmbs/wchar.h: Likewise.
46430 2012-04-29  Andreas Jaeger  <aj@suse.de>
46432         * Makerules (tests): Remove enable-check-abi protection.
46433         (check-abi-warn): Remove.
46434         (check-abi-%): Remove check-abi-warn usage.
46436         * configure.in: Remove check-abi configure option.
46437         * configure: Regenerated.
46438         * config.make.in (enable-check-abi): Remove.
46440 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
46442         [BZ #14033]
46443         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46444         double functions to double *_finite functions.
46446         [BZ #13941]
46447         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46448         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46449         LDBL_MIN_EXP.
46450         * stdio-common/Makefile (tests): Add tst-sprintf3.
46451         * stdio-common/tst-sprintf3.c: New file.
46453         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46454         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46456 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
46458         * conform/conformtest.pl: Remove duplicate typed-constant
46459         handling.
46461 2012-04-28  David S. Miller  <davem@davemloft.net>
46463         * Makerules (%.abilist): Add vpath on sysdep_dirs.
46464         (check-abi-%): Remove AWK script prerequisite and explicit
46465         abilist directory.
46466         (check-abi): Rewrite to just diff the symlist with the abilist.
46467         (config-tls, config-abi-config): Delete, no longer used.
46468         (update-abi-%): Remove AWK script and explicit abilist directory.
46469         (update-abi): Rewrite to simply compare and conditionally copy the
46470         symlist and the sysdep abilist file.  Remove update-abi-config
46471         checks.
46472         * abilist/ld.abilist: Remove.
46473         * abilist/libBrokenLocale.abilist: Remove.
46474         * abilist/libanl.abilist: Remove.
46475         * abilist/libcrypt.abilist: Remove.
46476         * abilist/libdl.abilist: Remove.
46477         * abilist/librt.abilist: Remove.
46478         * abilist/libthread_db.abilist: Remove.
46479         * abilist/libutil.abilist: Remove.
46480         * scripts/extract-abilist.awk: Remove.
46481         * scripts/merge-abilist.awk: Remove.
46482         * sysdeps/generic/libcidn.abilist: New file.
46483         * sysdeps/generic/libnss_compat.abilist: New file.
46484         * sysdeps/generic/libnss_db.abilist: New file.
46485         * sysdeps/generic/libnss_dns.abilist: New file.
46486         * sysdeps/generic/libnss_files.abilist: New file.
46487         * sysdeps/generic/libnss_hesiod.abilist: New file.
46488         * sysdeps/generic/libnss_nis.abilist: New file.
46489         * sysdeps/generic/libnss_nisplus.abilist: New file.
46490         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46491         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46492         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46493         file.
46494         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46495         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46496         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46497         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46498         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46499         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46500         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46501         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46502         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46503         file.
46504         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46505         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46506         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46507         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46508         file.
46509         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46510         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46511         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46512         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46513         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46514         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46515         file.
46516         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46517         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46518         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46519         file.
46520         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46521         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46522         New file.
46523         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46524         New file.
46525         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46526         New file.
46527         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46528         New file.
46529         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46530         New file.
46531         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46532         New file.
46533         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46534         New file.
46535         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46536         New file.
46537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46538         New file.
46539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46540         New file.
46541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46542         New file.
46543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46544         New file.
46545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46546         New file.
46547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46548         file.
46549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46550         New file.
46551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46552         New file.
46553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46554         file.
46555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46556         New file.
46557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46558         New file.
46559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46560         file.
46561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46562         New file.
46563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46564         New file.
46565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46566         New file.
46567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46568         New file.
46569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46570         New file.
46571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46572         New file.
46573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46575         file.
46576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46577         New file.
46578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46579         file.
46580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46581         file.
46582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46583         file.
46584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46585         file.
46586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46587         file.
46588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46589         New file.
46590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46591         file.
46592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46593         file.
46594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46595         New file.
46596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46597         file.
46598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46600         file.
46601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46602         New file.
46603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46604         file.
46605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46606         file.
46607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46608         file.
46609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46610         file.
46611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46612         file.
46613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46614         New file.
46615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46616         file.
46617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46618         file.
46619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46620         New file.
46621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46622         file.
46623         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46624         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46625         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46626         file.
46627         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46628         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46629         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46630         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46631         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46632         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46633         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46634         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46635         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46636         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46639         file.
46640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46641         New file.
46642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46643         file.
46644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46645         file.
46646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46647         file.
46648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46649         file.
46650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46651         file.
46652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46653         New file.
46654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46655         New file.
46656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46657         file.
46658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46659         New file.
46660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46661         file.
46662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46664         file.
46665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46666         New file.
46667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46668         file.
46669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46670         file.
46671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46672         file.
46673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46674         file.
46675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46676         file.
46677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46678         New file.
46679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46680         New file.
46681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46682         file.
46683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46684         New file.
46685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46686         file.
46688 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
46690         * conform/conformtest.pl: Fix typo in handling typed-constant from
46691         allow-header.
46693 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46695         * README: Cut down references to pre-2.6 Linux kernels and
46696         Linuxthreads.  Update lists of configurations in libc and ports
46697         and sort alphabetically.  Say "or newer" with Linux kernel version
46698         requirements.
46700         * config.h.in [IS_IN_build]: Allow compiling without optimization.
46702 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46704         [BZ #887]
46705         * math/libm-test.inc (logb_test_downward): New test to expose
46706         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46707         rounding mode.
46709 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46711         [BZ #14027]
46712         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46713         to be done.
46714         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46715         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46717 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
46719         * sysdeps/unix/i386/brk.S: Remove file.
46720         * sysdeps/unix/i386/dl-brk.S: Likewise.
46721         * sysdeps/unix/i386/pipe.S: Likewise.
46722         * sysdeps/unix/i386/sigreturn.S: Likewise.
46723         * sysdeps/unix/i386/syscall.S: Likewise.
46724         * sysdeps/unix/i386/vfork.S: Likewise.
46725         * sysdeps/unix/i386/wait.S: Likewise.
46727         * sysdeps/unix/common/tcsendbrk.c: Move to ...
46728         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46730         * configure.in (arm*-none*): Do not allow without
46731         --enable-hacker-mode.
46732         (netbsd*): Remove case setting base_os.
46733         (386bsd*): Likewise.
46734         (freebsd*): Likewise.
46735         (bsdi*): Likewise.
46736         (osf*): Likewise.
46737         (sunos*): Likewise.
46738         (ultrix*): Likewise.
46739         (newsos*): Likewise.
46740         (dynix*): Likewise.
46741         (*bsd*): Likewise.
46742         (sysv*): Likewise.
46743         (isc*): Likewise.
46744         (esix*): Likewise.
46745         (sco*): Likewise.
46746         (minix*): Likewise.
46747         (irix4*): Likewise.
46748         (irix6*): Likewise.
46749         (solaris[2-9]*): Likewise.
46750         (none): Likewise.
46751         * configure: Regenerated.
46753 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46755         [BZ #11521]
46756         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46757         overflow or cancellation in calculating denominator.
46758         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46759         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46760         down expression to avoid unexpected rounding in newer GCCs.
46761         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46763 2012-04-26  David S. Miller  <davem@davemloft.net>
46765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46766         long-double compat symbols.
46767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46781 2012-04-25  David S. Miller  <davem@davemloft.net>
46783         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46784         HWCAP_* values only after the memory barriers have been defined.
46785         (atomic_full_barrier): Define.
46786         (atomic_read_barrier): Define.
46787         (atomic_write_barrier): Define.
46789 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46791         * shlib-versions: Add libgcc_s version information.
46792         * sysdeps/generic/libgcc_s.h: Remove.
46793         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46794         libgcc_s.h.
46795         * sysdeps/gnu/unwind-resume.c: Likewise.
46796         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46798 2012-04-25  David S. Miller  <davem@davemloft.net>
46800         * sysdeps/unix/sparc/brk.S: Delete.
46801         * sysdeps/unix/sparc/dl-brk.S: Delete.
46802         * sysdeps/unix/sparc/pipe.S: Delete.
46803         * sysdeps/unix/sparc/sysdep.S: Delete.
46804         * sysdeps/unix/sparc/sysdep.h: Delete.
46805         * sysdeps/unix/sparc/vfork.S: Delete.
46806         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46807         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46808         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46809         (ret_ERRVAL, r0, r1, MOVE): Define.
46810         (JUMPTARGET): Remove.
46811         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46812         sysdeps/unix/sparc/sysdep.h
46813         (ENTRY, END): Remove.
46814         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46816 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
46818         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46819         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46820         -DIS_IN_build.
46822         * timezone/README: Update upstream location and email address for
46823         tzcode and tzdata.
46824         * timezone/zdump.c: Update from tzcode 2012b.
46825         * timezone/zic.c: Likewise.
46827         * configure.in (libc_cv_as_needed): Remove test.
46828         * configure: Regenerated.
46829         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46830         conditional definition.
46831         [$(have-as-needed) != yes] (no-as-needed): Likewise.
46832         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46833         * config.make.in (have-as-needed): Remove variable.
46835 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46836             Paul Pluzhnikov  <ppluzhnikov@google.com>
46838         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46839         strings correctly.
46841 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
46843         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46844         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46845         * sysdeps/sh/strlen.S: Likewise.
46847 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46849         * sysdeps/unix/fork.S: Remove file.
46850         * sysdeps/unix/i386/fork.S: Likewise.
46851         * sysdeps/unix/sparc/fork.S: Likewise.
46853         * sysdeps/unix/system.c: Remove file.
46854         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46856         * sysdeps/unix/getegid.S: Remove file.
46857         * sysdeps/unix/geteuid.S: Likewise.
46859 2012-04-24  Roland McGrath  <roland@hack.frob.com>
46861         * scripts/check-localplt.awk: New file.
46862         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46863         of diff.
46864         * scripts/data/localplt-generic.data: Add a comment.
46866         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46867         NODE when __dir_mkfile failed.
46868         * sysdeps/mach/hurd/symlinkat.c: Likewise.
46869         Reported by Ludovic Courtès <ludo@gnu.org>.
46871 2012-04-24  Andreas Jaeger  <aj@suse.de>
46873         * Makerules (common-clean): Also remove gen-as-const-headers
46874         files.
46876 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46878         * Makerules (native-compile): Do not change working directory for
46879         build.  Use $(OUTPUT_OPTION) in command.
46880         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46882 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46884         [BZ #13886]
46885         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46886         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46887         * math/libm-test.inc (floor_test): Add more tests.
46888         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46890 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46892         * sysdeps/unix/getdents.c: Remove file.
46893         * sysdeps/unix/sysv/getdents.c: Likewise.
46894         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46896         * sysdeps/unix/syscalls.list (madvise): Add syscall from
46897         sysdeps/unix/mman/syscalls.list.
46898         (mmap): Likewise.
46899         (mprotect): Likewise.
46900         (msync): Likewise.
46901         (munmap): Likewise.
46902         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46903         * sysdeps/unix/mman/syscalls.list: Remove.
46904         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46906         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46907         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46908         * configure: Regenerated.
46909         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46910         $(libgcc_s_suffix).
46911         * config.make.in (libgcc_s_suffix): Remove variable.
46913 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
46915         * sysdeps/unix/sysv/gethostname.c: Move to ...
46916         * sysdeps/posix/gethostname.c: ... here.
46918         * sysdeps/unix/execve.S: Remove file.
46920         * sysdeps/unix/_exit.S: Remove file.
46922 2012-04-23  Andreas Jaeger  <aj@suse.de>
46924         [BZ #13739]
46925         * manual/Makefile: Remove make dist support, there's no
46926         need for a stand-alone documentation tar ball.
46927         (TEXI2DVI): Define always, it's not in Makeconfig.
46928         (dist): Removed.
46929         (tar-it): Removed.
46930         (edition): Removed.
46931         (glibc-doc-$(edition).tar): Removed
46932         (%.Z): Removed.
46933         (%.gz): Removed.
46934         (%.uu): Removed.
46935         (ETAGS): Remove, it's in Makeconfig.
46936         (move-if-change): Remove, it's in Makeconfig.
46938 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
46940         [BZ #13970]
46941         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46942         (strtod, strtof, strtold, strtol, strtoul, strtoq)
46943         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46944         (strtod_l, strtof_l, strtold_l): Remove __wur.
46945         It is not necessarily an error to ignore strtol's return value.
46946         One can reliably look at the stored endptr to decide whether
46947         the number had valid syntax.
46949 2012-04-21  Andreas Jaeger  <aj@suse.de>
46951         [BZ #13739]
46952         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46954 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
46956         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46957         * sysdeps/unix/sysv/Versions: Remove file.
46959 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
46961         [BZ #13927]
46962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46964 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
46966         [BZ #7064]
46967         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46968         version from __vm86.
46970 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
46972         * sysdeps/unix/common/lxstat.c: Remove file.
46973         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46975         * sysdeps/unix/sysv/Makefile: Remove file.
46977         * sysdeps/unix/sysv/direct.h: Remove file.
46979         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46980         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46981         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46982         * sysdeps/unix/sysv/bits/signum.h: Likewise.
46983         * sysdeps/unix/sysv/bits/stat.h: Likewise.
46984         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46985         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46987         * sysdeps/unix/sysv/setrlimit.c: Remove file.
46989         * sysdeps/unix/xmknod.c: Remove file.
46990         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46992         * sysdeps/unix/sysv/settimeofday.c: Remove file.
46994         * sysdeps/unix/sysv/i386/time.S: Remove file.
46996         * sysdeps/unix/fxstat.c: Remove file.
46997         * sysdeps/unix/xstat.c: Likewise.
46998         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47000         * sysdeps/unix/sysv/sigaction.c: Remove file.
47002         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47003         (sysdep_headers): Remove variable.
47004         [termio.h not in sysdep_headers] (generated): Likewise.
47005         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47006         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47007         * sysdeps/unix/sysv/tcdrain.c: Likewise.
47008         * sysdeps/unix/sysv/tcflow.c: Likewise.
47009         * sysdeps/unix/sysv/tcflush.c: Likewise.
47010         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47011         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47012         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47013         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47014         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47016         * sysdeps/unix/siglist.c: Remove file.
47018         * sysdeps/unix/getppid.S: Remove file.
47020         * sysdeps/unix/mkdir.c: Remove file.
47021         * sysdeps/unix/rmdir.c: Likewise.
47023 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
47025         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47026         ERR_MAX value.
47027         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47028         errlist-compat value.
47030 2012-04-18  David S. Miller  <davem@davemloft.net>
47032         * sysdeps/generic/memcopy.h (reg_char): Delete.
47033         * debug/strcat_chk.c: Use char, not reg_char.
47034         * debug/strcpy_chk.c: Likewise.
47035         * debug/strncat_chk.c: Likewise.
47036         * debug/strncpy_chk.c: Likewise.
47037         * string/memchr.c: Likewise.
47038         * string/memrchr.c: Likewise.
47039         * string/rawmemchr.c: Likewise.
47040         * string/strcat.c: Likewise.
47041         * string/strchr.c: Likewise.
47042         * string/strchrnul.c: Likewise.
47043         * string/strcmp.c: Likewise.
47044         * string/strcpy.c: Likewise.
47045         * string/strncat.c: Likewise.
47046         * string/strncmp.c: Likewise.
47047         * string/strncpy.c: Likewise.
47049 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47051         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47052         __builtin_memcopy is called when src and dest ranges are known to not
47053         overlap.
47055 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47057         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47058         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47059         fwd_align_merge macro call.
47060         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47061         bwd_align_merge macro call.
47062         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47064 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47066         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47067         bwd_align_merge macros.
47068         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47069         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47070         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47072 2012-04-18  David S. Miller  <davem@davemloft.net>
47074         * sysdeps/sparc/sparc64/memcopy.h: Delete.
47076 2012-04-18  Andreas Jaeger  <aj@suse.de>
47078         [BZ# 6794]
47079         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47080         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47081         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47083         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47084         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47085         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47087         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47088         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47089         Adjust for changed ldbl-128 files.
47091         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47092         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47093         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47095 2012-04-17  David S. Miller  <davem@davemloft.net>
47097         * sysdeps/sparc/sparc32/memcopy.h: Delete.
47099 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
47101         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47102         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47103         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47104         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47105         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47106         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
47108 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47110         [BZ #6794]
47111         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
47112         * math/libm-test.inc: Add ilogb errno and exception tests.
47113         * math/w_ilogb.c: New file: ilogb wrapper.
47114         * math/w_ilogbf.c: New file: ilogbf wrapper.
47115         * math/w_ilogbl.c: New file: ilogbl wrapper.
47116         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
47117         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
47118         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
47119         exception being thrown with 0.0 as argument.
47120         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
47121         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
47122         exception being thrown with 0.0 as argument.
47123         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
47124         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47125         exception being thrown with 0.0 as argument.
47126         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
47127         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47128         exception being thrown with 0.0 as argument.
47129         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
47130         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
47131         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
47132         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
47133         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
47134         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
47135         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
47136         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
47137         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
47139 2012-04-17  Petr Baudis  <pasky@ucw.cz>
47141         * include/sys/uio.h: Change __vector to __iovec to avoid clash
47142         with altivec.
47144 2012-04-16  Marek Polacek  <polacek@redhat.com>
47146         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
47148 2012-04-16  Marek Polacek  <polacek@redhat.com>
47150         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
47151         operands of fdivp instruction.
47153 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
47155         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
47156         * elf/tst-auditmod3b.c: Likewise.
47157         * elf/tst-auditmod4b.c: Likewise.
47158         * elf/tst-auditmod5b.c: Likewise.
47159         * elf/tst-auditmod6b.c: Likewise.
47160         * elf/tst-auditmod6c.c: Likewise.
47161         * elf/tst-auditmod7b.c: Likewise.
47162         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
47163         * sysdeps/x86_64/preconfigure.in: Likewise.
47164         * sysdeps/x86_64/preconfigure: Regenerated.
47166 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
47168         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
47169         __ILP32__.
47171 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
47173         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47174         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
47176 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
47178         [BZ #13973]
47179         * locale/iso-639.def: Fix gl language name. Spotted by
47180         Yaron Shahrabani.
47182 2012-04-12  Roland McGrath  <roland@hack.frob.com>
47184         [BZ #2074]
47185         * libio/libio.h (__io_write_fn): Update comment.
47187 2012-04-12  Petr Baudis  <pasky@ucw.cz>
47189         [BZ #2074]
47190         * stdio.texi (Hook Functions): The user provided writer function
47191         is not allowed to return -1.
47193 2012-04-11  David S. Miller  <davem@davemloft.net>
47195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47197 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
47199         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
47200         Add a leading slash to rtkaio.
47202 2012-04-11  Jim Meyering  <meyering@redhat.com>
47204         [BZ #11959]
47205         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
47206         It is not necessarily an error to ignore fwrite's return
47207         value.  One can reliably use ferror to test for errors after
47208         the fact.
47210 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
47212         * bits/types.h (__snseconds_t): New type.
47213         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47215         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47216         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47217         (__SNSECONDS_T_TYPE): Likewise.
47218         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47219         (__SNSECONDS_T_TYPE): Likewise.
47220         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47221         (__SNSECONDS_T_TYPE): Likewise.
47223 2012-04-10  Andreas Jaeger  <aj@suse.de>
47225         [BZ #2636]
47226         * manual/time.texi (Processor Time): Return type of times is
47227         elapsed real time since an arbitrary point in the past.
47228         (CPU Time): Move CLK_TCK from here...
47229         (Processor Time): ...to here.  Correct description.
47230         * manual/conf.texi (Constants for Sysconf): Correct description of
47231         _SC_CLK_TCK.
47233 2012-04-10  David S. Miller  <davem@davemloft.net>
47235         [BZ #13967]
47236         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47237         where the is a gap between DT_REL(A) and DT_JMPREL.
47239 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
47241         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47242         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47243         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47245 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47247         * elf/dl-support.c (_dl_inhibit_cache): New variable.
47248         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47249         (dl_main): Handle --inhibit-cache.
47250         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47251         _dl_inhibit_cache.
47252         * elf/dl-load.c (_dl_map_object): Use it.
47253         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47255 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
47257         [BZ #13872]
47258         * sysdeps/i386/fpu/e_powl.S (p78): New object.
47259         (__ieee754_powl): Saturate large exponents rather than testing for
47260         overflow of y*log2(x).
47261         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47262         * math/libm-test.inc (pow_test): Do not permit spurious overflow
47263         exceptions.
47265         [BZ #11521]
47266         * math/s_ctan.c: Include <float.h>.
47267         (__ctan): Avoid internal overflow or cancellation in calculating
47268         denominator.
47269         * math/s_ctanf.c: Likewise.
47270         * math/s_ctanl.c: Likewise.
47271         * math/s_ctanh.c: Likewise.
47272         * math/s_ctanhf.c: Likewise.
47273         * math/s_ctanhl.c: Likewise.
47274         * math/libm-test.inc (ctan_test): Add more tests.
47275         (ctanh_test): Likewise.
47276         * sysdeps/i386/fpu/libm-test-ulps: Update.
47277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47279 2012-04-09  Andreas Jaeger  <aj@suse.de>
47281         [BZ #6894]
47282         * manual/filesys.texi (Directory Entries): Mention that d_namlen
47283         is an optional BSD extension.
47285         [BZ #10254]
47286         * manual/stdio.texi (Opening Streams): Document additional fopen
47287         parameters.
47289 2012-04-09  Roland McGrath  <roland@hack.frob.com>
47291         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47292         %eax without telling the compiler.
47294 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
47296         [BZ # 13963]
47297         * manual/install.texi: Use sourceware.org.
47299 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
47301         [BZ #13873]
47302         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47303         (__ieee754_pow): Generate overflow and underflow using huge*huge
47304         and tiny*tiny rather than just returning constant infinity or zero
47305         for large exponents.
47306         * math/libm-test.inc (pow_test): Require overflow exceptions for
47307         applicable cases of large exponents.
47309         [BZ #706]
47310         * sysdeps/i386/fpu/e_pow.S (p10): New object.
47311         (__ieee754_pow): Use iterative multiplication algorithm only for
47312         integer exponents with absolute value below 1024.  Check for odd
47313         integer exponents when using algorithm for real exponents.
47314         * math/libm-test.inc (pow_test): Add more tests.
47315         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47317 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
47319         [BZ #13705]
47320         * math/libm-test.inc (exp_test): Do not allow overflow exception
47321         on underflow test.
47323 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
47325         [BZ #13705]
47326         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47327         instead of __kernel_standard_f.
47329 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
47331         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47332         * sysdeps/x86_64/memset_chk.S: Likewise.
47334 2012-04-08  Andreas Jaeger  <aj@suse.de>
47336         [BZ #10153]
47337         * manual/startup.texi (Environment Access): Describe return value
47338         for putenv and setenv.
47340         [BZ #6895]
47341         * manual/filesys.texi (Directory Entries): Add description for
47342         DT_LNK.
47344         [BZ #6890]
47345         * manual/filesys.texi (Directory Entries): Clarify that it's file
47346         system not operating system in the description of DT_UNKNOWN.
47348         [BZ #6578]
47349         * manual/syslog.texi (closelog): Fix reference, it's openlog.
47351 2012-04-08  Stephen Compall  <s11@member.fsf.org>
47353         [BZ #6649]
47354         * manual/llio.texi (Opening and Closing Files): Add cross
47355         reference to explain mode argument.
47357 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
47359         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47360         * sysdeps/x86_64/memset_chk.S: Likewise.
47362 2012-04-07  David S. Miller  <davem@davemloft.net>
47364         * elf/elf.h (R_SPARC_WDISP10): Define.
47365         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47366         R_SPARC_SIZE32.
47367         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47368         R_SPARC_SIZE64 and R_SPARC_H34.
47370 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
47372         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47373         conditions and remove no longer applicable assertion.
47375 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
47377         * bits/byteswap.h: Include <features.h>.
47378         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47379         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47381 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
47383         * bits/byteswap.h (__bswap_16): Removed.
47384         Include <bits/byteswap-16.h> to get __bswap_16.
47385         * sysdeps/i386/bits/byteswap.h: Likewise.
47386         * sysdeps/s390/bits/byteswap.h: Likewise.
47387         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47388         * bits/byteswap-16.h: New file.
47389         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47390         * sysdeps/s390/bits/byteswap-16.h: Likewise.
47391         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47392         * string/Makefile (headers): Add bits/byteswap-16.h.
47394 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47396         [BZ #13895]
47397         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47398         extra indirection.
47399         * nss/Makefile (tests-static, tests): Add tst-nss-static.
47400         * nss/tst-nss-static.c: New.
47402 2012-04-06  Robert Millan  <rmh@gnu.org>
47404         [BZ #6486]
47405         * manual/llio.texi (File Position Primitive): lseek
47406         refers to WHENCE when it really means OFFSET.
47408 2012-04-06  Andreas Jaeger  <aj@suse.de>
47410         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47411         strncmp declarations.
47413         * abilist/libc.abilist: Add __poll and __ppoll.
47415 2012-04-05  David S. Miller  <davem@davemloft.net>
47417         * scripts/check-local-headers.sh: Accept a host triplet in the
47418         path matched by the exclude regexp.
47420         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47421         definition.
47422         * sysdeps/powerpc/powerpc32/dl-machine.h
47423         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47424         * sysdeps/s390/s390-32/dl-machine.h
47425         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47426         * sysdeps/sparc/sparc32/dl-machine.h
47427         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47428         * sysdeps/sparc/sparc64/dl-machine.h
47429         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47431         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47432         lazy binding.
47433         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
47434         undefined symbol errors.
47436         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
47437         DT_NEEDED entries.
47439 2012-04-05  Michael Matz  <matz@suse.de>
47441         [BZ #13592]
47442         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47444 2012-04-05  Andreas Jaeger  <aj@suse.de>
47446         [BZ #13908]
47447         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47448         comment.
47450 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47452         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47453         which ROUND is no valid rounding mode.
47455 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47457         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47458         read again.
47459         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47461 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47463         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47464         an exception using FPU order intentionally.
47466 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47468         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47469         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47470         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47471         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47473 2012-04-05  Simon Josefsson  <simon@josefsson.org>
47475         [BZ #12340]
47476         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47477         EINVAL when BUFLEN is too smal.
47479 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47481         [BZ #13553]
47482         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47483         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47485 2012-04-03  Andreas Jaeger  <aj@suse.de>
47487         [BZ #13938]
47488         * manual/setjmp.texi (System V contexts): Fix sentence.
47490         [BZ #13926]
47491         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47492         New macro for this case.
47493         [!__GNUC__] (__bswap_64): New inline function for this case.
47494         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47495         * bits/byteswap.h: Likewise.
47496         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47497         ull, guard with __GLIBC_HAVE_LONG_LONG.
47499         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47500         __GLIBC_HAVE_LONG_LONG.
47502         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47503         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47505 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47507         [BZ #13691]
47508         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47509         inptr and inend, rather than using last_ch.
47511 2012-04-02  David S. Miller  <davem@davemloft.net>
47513         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47514         * stdio-common/printf-parse.h (read_int): Change return type to
47515         'int', return -1 on INT_MAX overflow.
47516         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47517         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
47518         overflows INT_MAX.  Check for overflow of in-format-string precision
47519         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
47520         SIZE_MAX not INT_MAX for integer overflow test.
47521         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47522         skip the construct in the format string but do not record anything.
47523         * stdio-common/bug22.c: Adjust to test both width/prevision
47524         INT_MAX overflow as well as total length INT_MAX overflow.  Check
47525         explicitly for proper errno values.
47527 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47529         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47530         CHAR_MAX.
47531         * string/test-strcmp.c [! WIDE]: Likewise.
47532         * time/tst-mktime2.c: Likewise for INT_MAX.
47533         * string/test-string.h: #include <sys/param.h> for MIN.
47535         * csu/init-first.c (__libc_init_first): Call __ctype_init.
47536         * sysdeps/i386/init-first.c (init): Likewise.
47537         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47538         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47539         * sysdeps/sh/init-first.c (init): Likewise.
47541 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
47543         * po/ru.po: Update from translation team.
47544         * po/vi.po: Likewise.
47546 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47548         * resolv/nss_dns/dns-host.c: Merge copyright years.
47550 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47552         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47553         Optimize memcpy with prefetch if
47554         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
47555         src, dst pointers have unequal 16 byte alignments.
47557 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47559         [BZ #13928]
47560         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47561         from a CNAME entry and return the minimum ttl for the query.
47562         (gaih_getanswer_slice): Likewise.
47564 2012-03-30  Jeff Law  <law@redhat.com>
47566         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47567         due to long keys.
47568         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47569         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47571         * resolv/nss_dns/dns-host.c: Update copyright year.
47573 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
47575         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47576         requests to save a system call.  Fix check that all bytes are sent.
47578         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47579         comments for sendmmsg.
47581 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47583         [BZ #13691]
47584         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47585         with only 1 character between 0x0041 and 0x01b0.
47586         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47587         * wcsmbs/tst-mbsnrtowcs.c: New file.
47589 2012-03-29  David S. Miller  <davem@davemloft.net>
47591         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47592         small copies by hand.
47594 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47596         [BZ #13761]
47597         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47598         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47599         group memberships.
47601 2012-03-28  David S. Miller  <davem@davemloft.net>
47603         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47604         that branches into memcpy.
47605         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47606         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47607         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47608         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47609         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47610         bits.
47611         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47612         implementation too.
47613         * sysdeps/sparc/mempcpy.S: New file.
47615         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47616         the IFUNC routine in the libc case.
47617         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47619         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47620         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47621         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47622         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47623         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47624         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47625         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47626         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47628         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47629         loop to 256 bytes instead of 64 bytes and fix test signedness.
47631         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47632         * sysdeps/sparc/sparc32/Makefile: rather than here...
47633         * sysdeps/sparc/sparc64/Makefile: and here.
47635 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
47637         * malloc/mallocbug.c: Avoid warnings about unused variables.
47639 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47641         [BZ #13760]
47642         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47643         in the right place. Discard and retry query if response is
47644         larger than input buffer size.
47646 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
47648         [BZ #369]
47649         [BZ #2678]
47650         [BZ #3866]
47651         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47652         x for large integer exponent.
47653         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47654         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
47655         sign of result as needed afterwards.
47656         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47657         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47658         result for underflowing pow the same as for overflow.
47659         (__kernel_standard_l): Handle powl overflow and underflow here
47660         rather than calling __kernel_standard.
47661         * math/libm-test.inc (pow_test): Add more tests.
47663         [BZ #3868]
47664         [BZ #13879]
47665         [BZ #13910]
47666         [BZ #13911]
47667         [BZ #13912]
47668         [BZ #13913]
47669         [BZ #13915]
47670         [BZ #13916]
47671         [BZ #13917]
47672         [BZ #13918]
47673         [BZ #13919]
47674         [BZ #13920]
47675         [BZ #13921]
47676         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47677         * sysdeps/ieee754/k_standard.c: Include <float.h>.
47678         (__kernel_standard_l): New function.
47679         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47680         __kernel_standard.
47681         * math/w_acosl.c (__acosl): Likewise.
47682         * math/w_asinl.c (__asinl): Likewise.
47683         * math/w_atan2l.c (__atan2l): Likewise.
47684         * math/w_atanhl.c (__atanhl): Likewise.
47685         * math/w_coshl.c (__coshl): Likewise.
47686         * math/w_exp10l.c (__exp10l): Likewise.
47687         * math/w_exp2l.c (__exp2l): Likewise.
47688         * math/w_fmodl.c (__fmodl): Likewise.
47689         * math/w_hypotl.c (__hypotl): Likewise.
47690         * math/w_j0l.c (__j0l, __y0l): Likewise.
47691         * math/w_j1l.c (__j1l, __y1l): Likewise.
47692         * math/w_jnl.c (__jnl, __ynl): Likewise.
47693         * math/w_lgammal.c (__lgammal): Likewise.
47694         * math/w_log10l.c (__log10l): Likewise.
47695         * math/w_log2l.c (__log2l): Likewise.
47696         * math/w_logl.c (__logl): Likewise.
47697         * math/w_powl.c (__powl): Likewise.
47698         * math/w_remainderl.c (__remainderl): Likewise.
47699         * math/w_scalbl.c (sysv_scalbl): Likewise.
47700         * math/w_sinhl.c (__sinhl): Likewise.
47701         * math/w_sqrtl.c (__sqrtl): Likewise.
47702         * math/w_tgammal.c (__tgammal): Likewise.
47703         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47704         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47705         * math/libm-test.inc (acos_test): Add more tests.
47706         (acosh_test): Likewise.
47707         (asin_test): Likewise.
47708         (atanh_test): Likewise.
47709         (exp_test): Likewise.
47710         (exp10_test): Likewise.
47711         (exp2_test): Likewise.
47712         (expm1_test): Likewise.
47713         (lgamma_test): Likewise.
47714         (log_test): Likewise.
47715         (log10_test): Likewise.
47716         (log1p_test): Likewise.
47717         (log2_test): Likewise.
47718         (pow_test): Do not allow some spurious overflow exceptions.
47719         (sqrt_test): Add more tests.
47720         (tgamma_test): Likewise.
47721         (y0_test): Likewise.
47722         (y1_test): Likewise.
47723         (yn_test): Likewise.
47725 2012-03-27  Anton Blanchard  <anton@samba.org>
47727         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47728         MAP_HUGETLB.
47729         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47730         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47731         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47733 2012-03-27  David S. Miller  <davem@davemloft.net>
47735         * conform/Makefile: Run run-conformtest.sh using $(BASH).
47737         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47738         have-as-vis3 check.
47740 2012-03-27  Andreas Jaeger  <aj@suse.de>
47742         * sysdeps/x86_64/elf/configure.in: Moved to ...
47743         * sysdeps/x86_64/configure.in: ... here.
47744         * sysdeps/x86_64/elf/start.S: Moved to ...
47745         * sysdeps/x86_64/start.S: ... here.
47746         * sysdeps/x86_64/elf/configure: Delete.
47748         * sysdeps/x86_64/configure.in: Merge contents from
47749         sysdeps/i386/configure.in (without i686 check).
47751         * sysdeps/i386/elf/Versions: Merge into ...
47752         * sysdeps/i386/Versions: ... this.
47753         * sysdeps/i386/elf/Versions: Delete file.
47754         * sysdeps/i386/elf/start.S: Moved to ...
47755         * sysdeps/i386/start.S: ...here.
47756         * sysdeps/i386/elf/configure.in: Merge into...
47757         * sysdeps/i386/configure.in: ...here.
47758         * sysdeps/i386/elf/configure.in: Delete file.
47759         * sysdeps/i386/elf/configure: Delete file.
47761         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47762         * debug/backtracesyms.c: ... here.
47763         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47764         * debug/backtracesymsfd.c: ... here.
47765         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47766         * sysdeps/generic/ifunc-sel.h: ... here.
47768         * sysdeps/unix/i386/start.c: Delete file.
47769         * sysdeps/unix/sparc/start.c: Delete file.
47770         * sysdeps/unix/start.c: Delete file.
47772         * sysdeps/sh/elf/configure.in: Moved to ...
47773         * sysdeps/sh/configure.in: ... here.
47774         * sysdeps/sh/elf/start.S: Moved to ...
47775         * sysdeps/sh/start.S: ... here.
47776         * sysdeps/sh/elf/configure: Delete file.
47778         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47779         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47780         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47781         * sysdeps/powerpc/powerpc64/entry.h: ... here.
47782         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47783         * sysdeps/powerpc/powerpc64/start.S: here.
47784         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47785         * sysdeps/powerpc/powerpc64/Makefile: ... this.
47786         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47787         * sysdeps/powerpc/powerpc64/configure.in: ... this.
47788         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47790         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47791         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47792         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47793         * sysdeps/powerpc/powerpc32/start.S: ... here.
47794         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47795         * sysdeps/powerpc/powerpc32/configure.in: ... this.
47796         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47798         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47799         * sysdeps/powerpc/ifunc-sel.h: ... here.
47800         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47801         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47803         * sysdeps/sparc/elf/configure.in: Moved to ...
47804         * sysdeps/sparc/configure.in: ... here.
47805         * sysdeps/sparc/elf/configure: Delete file.
47806         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47807         * sysdeps/sparc/sparc32/start.S: ... here.
47808         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47809         * sysdeps/sparc/sparc64/start.S: ... here.
47810         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47811         * sysdeps/sparc/sparc32/Makefile: ... this.
47812         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47813         * sysdeps/sparc/sparc64/Makefile: ... this.
47815         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47816         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47817         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47818         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47819         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47820         * sysdeps/s390/s390-32/setjmp.S: ... here.
47821         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47822         * sysdeps/s390/s390-32/configure.in: ... here.
47823         * sysdeps/s390/s390-32/elf/configure: Delete file.
47824         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47825         * sysdeps/s390/s390-32/start.S: ... here.
47827         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47828         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47829         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47830         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47831         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47832         * sysdeps/s390/s390-64/setjmp.S: ... here.
47833         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47834         * sysdeps/s390/s390-64/configure.in: ... here
47835         * sysdeps/s390/s390-64/elf/configure: Delete file.
47836         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47837         * sysdeps/s390/s390-64/start.S: ... here.
47838         * sysdeps/s390/s390-64/elf/configure: Delete.
47840         * configure.in: Remove support for elf directories in sysdeps.
47842         * configure: Regenerated.
47843         * sysdeps/i386/configure: Regenerated.
47844         * sysdeps/powerpc/powerpc32/configure: Regenerated.
47845         * sysdeps/powerpc/powerpc64/configure: Regenerated.
47846         * sysdeps/s390/s390-32/configure: Regenerated.
47847         * sysdeps/s390/s390-64/configure: Regenerated.
47848         * sysdeps/sh/configure: Regenerated.
47849         * sysdeps/sparc/configure: Regenerated.
47850         * sysdeps/x86_64/configure: Regenerated.
47852 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
47854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47856         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47857         denormal result into account.
47859 2012-03-25  Roland McGrath  <roland@hack.frob.com>
47861         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47862         Reported by Allan McRae <allan@archlinux.org>.
47864 2012-03-23  Jeff Law  <law@redhat.com>
47866         * nss/getnssent.c (__nss_getent): Fix typo.
47868 2012-03-23  David S. Miller  <davem@davemloft.net>
47870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47872 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
47874         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47875         to pad to uint64_t for each field.
47876         (dl_tls_index): Replace unsigned long with uint64_t.
47878 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
47879         Paul Pluzhnikov  <ppluzhnikov@google.com>
47881         [BZ #6528]
47882         * grp/Makefile (otherlibs): Don't set it.
47883         * inet/Makefile (otherlibs): Likewise.
47884         * login/Makefile (otherlibs): Likewise.
47885         * nscd/Makefile (otherlibs): Likewise.
47886         * posix/Makefile (otherlibs): Likewise.
47887         * pwd/Makefile (otherlibs): Likewise.
47888         * rt/Makefile (otherlibs): Likewise.
47889         * sunrpc/Makefile (otherlibs): Likewise.
47890         * nss/Makefile (otherlibs): Likewise.
47891         Add libnss_files to routines and static-only-routines.
47892         ($(objpfx)getent): Remove rule.
47893         * resolv/Makefile: Add libnss_dns and libresolv to routines and
47894         static-only-routines.
47896 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47898         [BZ #13892]
47899         * math/s_cexp.c: Include <float.h>.
47900         (__cexp): Handle exp result overflowing not necessarily
47901         overflowing both real and imaginary parts of result.
47902         * math/s_cexpf.c: Likewise.
47903         * math/s_cexpl.c: Likewise.
47904         * math/libm-test.inc (cexp_test): Add more tests.
47905         * sysdeps/i386/fpu/libm-test-ulps: Update.
47906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47908 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47910         * include/link.h (ELFW): New macro.
47911         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47912         Replace ELF64_R_TYPE with ELFW(R_TYPE).
47914 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47916         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47917         with uint64_t.
47919 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47921         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47922         declaration.
47923         (struct La_x32_retval): Likewise.
47925 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47927         * sysdeps/x86_64/preconfigure.in: New file.
47928         * sysdeps/x86_64/preconfigure: New generated file.
47930 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47932         [BZ #13824]
47933         * math/e_exp2l.c: Include <float.h>.
47934         (__ieee754_exp2l): Handle overflow and underflow cases
47935         separately.  Only pass fractional part of argument to
47936         __ieee754_expl.
47937         * math/libm-test.inc (exp2_test): Add more tests.
47939         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47940         negating x to take absolute value.
47941         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47942         Likewise.
47943         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47944         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47945         Likewise.
47946         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47947         computing low part if x was negated.
47948         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47950 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47952         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47953         la_x32_gnu_pltexit.
47954         (pltexit): Cast int_retval to ptrdiff_t.
47955         * elf/tst-auditmod3b.c: Likewise.
47956         * elf/tst-auditmod4b.c: Likewise.
47957         * elf/tst-auditmod5b.c: Likewise.
47958         * elf/tst-auditmod6b.c: Likewise.
47959         * elf/tst-auditmod6c.c: Likewise.
47960         * elf/tst-auditmod7b.c: Likewise.
47962         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47963         and x32_gnu_pltexit.
47965         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47966         __ELF_NATIVE_CLASS.
47967         (La_x32_regs): New macro.
47968         (La_x32_retval): Likewise.
47969         (la_x32_gnu_pltenter): New function prototype.
47970         (la_x32_gnu_pltexit): Likewise.
47972 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
47974         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47975         exponent.
47977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47979         * configure.in (libc_cv_cc_nofma): Check for option to disable
47980         generation of FMA instructions.
47981         * configure: Regenerate.
47982         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47983         * sysdeps/ieee754/dbl-64/Makefile: New file.
47984         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47985         Remove brandred-fma4.
47986         (CFLAGS-brandred-fma4.c): Remove.
47987         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47988         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47989         define.
47990         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47991         define.
47993 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47995         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47996         LLONG_MAX != LONG_MAX.
47997         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47998         (_fitoa_word): Likewise.
47999         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48000         LLONG_MAX != LONG_MAX.
48001         * stdio-common/_itowa.h: Include <_itoa.h>.
48002         (_itowa_word): Use _ITOA_WORD_TYPE on value.
48003         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
48004         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
48005         only if not defined.
48006         (_ITOA_WORD_TYPE): Likewise.
48007         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48008         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48010 2012-03-21  David S. Miller  <davem@davemloft.net>
48012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48014 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48016         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48017         of x86_64 when setting libc_cv_slibdir, libdir and
48018         libc_cv_localedir.
48019         * sysdeps/unix/sysv/linux/configure: Regenerated.
48021 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48023         * manual/lang.texi (Old Varargs): Remove section.
48024         (How Variadic): Update menu.
48025         (va_start): Do not mention varargs.h.
48027 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48028             Joseph Myers  <joseph@codesourcery.com>
48030         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48031         link test.
48032         * configure: Regenerated.
48034 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48036         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48037         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48038         conformtest.pl
48040 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48042         * NOTES: Remove.
48043         * Makefile (files-for-dist): Remove NOTES.
48044         (NOTES): Remove rule.
48045         * README: Don't refer to NOTES.
48046         * manual/creature.texi: Don't include macros.texi.
48047         * manual/intro.texi (creature.texi): Remove comment referring to
48048         NOTES.
48050         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48051         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48052         * configure: Regenerated.
48053         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48054         LIBC_TRY_CC_OPTION.
48055         (libc_cv_as_i686): Likewise.
48056         (libc_cv_cc_avx): Likewise.
48057         (libc_cv_cc_sse2avx): Likewise.
48058         (libc_cv_cc_fma4): Likewise.
48059         (libc_cv_cc_novzeroupper): Likewise.
48060         * sysdeps/i386/configure: Regenerated.
48062         [BZ #13883]
48063         * sysdeps/i386/fpu/s_cexp.S: Remove.
48064         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48065         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48066         * math/libm-test.inc (cexp_test): Add more tests.
48067         * sysdeps/i386/fpu/libm-test-ulps: Update.
48068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48070 2012-03-21  Allan McRae  <allan@archlinux.org>
48072         * timezone/Makefile: Do not install iso3166.tab and zone.tab
48074 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48076         [BZ #13871]
48077         * math/w_exp2.c: Do not include <float.h>.
48078         (o_threshold, u_threshold): Remove.
48079         (__exp2): Calculate result before checking finiteness and calling
48080         __kernel_standard.
48081         * math/w_exp2f.c: Likewise.
48082         * math/w_exp2l.c: Likewise.
48083         * math/libm-test.inc (exp2_test): Require overflow exception for
48084         1e6 input.
48086         [BZ #3866]
48087         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48088         range of signed 64-bit integers before using fistpll.  Remove
48089         checks for whether integers fit in mantissa bits.
48090         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48091         the range of signed 32-bit integers before using fistpl.  Remove
48092         checks for whether integers fit in mantissa bits.
48093         * sysdeps/i386/fpu/e_powl.S (p64): New object.
48094         (__ieee754_powl): Test for y outside the range of signed 64-bit
48095         integers before using fistpll.  Reduce 64-bit values to 63-bit
48096         ones as needed.
48097         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48098         divide-by-zero is raised for zero to large negative powers.
48099         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48100         (__ieee754_powl): Test for y outside the range of signed 64-bit
48101         integers before using fistpll.  Reduce 64-bit values to 63-bit
48102         ones as needed.
48103         * math/libm-test.inc (pow_test): Add more tests.
48105 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48107         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
48108         <stdio-common/_itoa.h>.
48109         * debug/segfault.c: Likewise.
48110         * elf/dl-cache.c: Likewise.
48111         * elf/dl-minimal.c: Likewise.
48112         * elf/dl-misc.c: Likewise.
48113         * elf/dl-sysdep.c: Likewise.
48114         * elf/dl-version.c: Likewise.
48115         * elf/rtld.c: Likewise.
48116         * hurd/hurdsock.c: Likewise.
48117         * hurd/lookup-retry.c: Likewise.
48118         * malloc/malloc.c: Likewise.
48119         * malloc/mtrace.c: Likewise.
48120         * nscd/nscd_getgr_r.c: Likewise.
48121         * nscd/nscd_getpw_r.c: Likewise.
48122         * nscd/nscd_getserv_r.c: Likewise.
48123         * posix/getopt_init.c: Likewise.
48124         * posix/wordexp.c: Likewise.
48125         * stdio-common/_itoa.c: Likewise.
48126         * stdio-common/printf_fphex.c: Likewise.
48127         * stdio-common/vfprintf.c: Likewise.
48128         * string/_strerror.c: Likewise.
48129         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
48130         * sysdeps/i386/i686/hp-timing.h: Likewise.
48131         * sysdeps/mach/_strerror.c: Likewise.
48132         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
48133         * sysdeps/mach/hurd/sethostid.c: Likewise.
48134         * sysdeps/mach/hurd/xmknodat.c: Likewise.
48135         * sysdeps/mach/xpg-strerror.c: Likewise.
48136         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48137         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48138         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
48139         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
48140         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48141         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
48142         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48143         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48144         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
48145         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
48146         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
48147         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48148         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
48149         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48150         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48151         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
48152         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
48153         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
48154         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48155         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48156         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
48158         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
48160         * stdio-common/_itoa.h: Moved to ...
48161         * sysdeps/generic/_itoa.h: Here.
48163         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
48165         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
48166         instead of "_itoa.h" and "_itowa.h".
48167         * stdio-common/vfprintf.: Likewise.
48169 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48171         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
48172         <bits/wordsize.h>.
48173         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
48174         (__signbit): Likwise.
48175         (llrintf): Likwise.
48176         (llrint): Likwise.
48178 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48180         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
48181         __WORDSIZE != 64.
48183 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
48185         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
48186         OVERFLOW_EXCEPTION_OK.
48187         * math/libm-test.inc ("Philosophy"): Update comment about
48188         exception testing.
48189         (OVERFLOW_EXCEPTION): Define.
48190         (OVERFLOW_EXCEPTION_OK): Likewise.
48191         (INVALID_EXCEPTION_OK): Renumber.
48192         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48193         (IGNORE_ZERO_INF_SIGN): Likewise.
48194         (test_exceptions): Handle FE_OVERFLOW.
48195         (exp10_test): Expect overflow exceptions.
48196         (exp2_test): Likewise.
48197         (expm1_test): Likewise.
48198         (nextafter_test): Likewise.
48199         (pow_test): Likewise.
48200         (scalbn_test): Likewise.
48201         (scalbln_test): Likewise.
48203 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48205         * sysdeps/x86_64/bits/atomic.h
48206         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
48207         64bit integer.
48208         (atomic_exchange_acq): Likewise.
48209         (__arch_exchange_and_add_body): Likewise.
48210         (__arch_add_body): Likewise.
48211         (atomic_add_negative): Likewise.
48212         (atomic_add_zero): Likewise.
48214 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48216         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
48217         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48219 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48221         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48222         Check __x86_64__ instead of __WORDSIZE.
48224 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48226         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48228 2012-03-19  David S. Miller  <davem@davemloft.net>
48230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48232         * sysdeps/sparc/fpu/fenv_private.h: New file.
48233         * sysdeps/sparc/fpu/math_private.h: Use it.
48234         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48235         Remove.
48236         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
48237         (libc_feholdexcept_setroundl): Remove.
48238         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48239         Remove.
48240         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48241         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48243 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48245         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48246         int64_t instead of long int.
48247         (INSERT_WORDS64): Likwise.
48249 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48251         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48252         _Unwind_GetCFA return to _Unwind_Ptr first.
48254 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
48256         [BZ #13629]
48257         * math/s_clog.c: Include <float.h>.
48258         (__clog): Scale large or subnormal inputs.
48259         * math/s_clogf.c: Likewise.
48260         * math/s_clogl.c: Likewise.
48261         * math/s_clog10.c: Include <float.h>.
48262         (M_LOG10_2): Define.
48263         (__clog10): Scale large or subnormal inputs.
48264         * math/s_clog10f.c: Likewise.
48265         * math/s_clog10l.c: Likewise.
48266         * math/libm-test.inc (clog_test): Add more tests.
48267         (clog10_test): Likewise.
48268         * sysdeps/i386/fpu/libm-test-ulps: Update.
48269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48271         [BZ #11451]
48272         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48273         x and y.
48274         * math/libm-test.inc (atan2_test): Add another test.
48276         * Makerules (common-objdir-compile): Remove.
48277         * sysdeps/unix/Makefile (config-generated): Do not add
48278         $(unix-generated) to variable.
48279         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48280         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48281         Remove rule.
48282         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48283         Likewise.
48284         [generic bits/local_lim.h] (before-compile): Do not append to
48285         variable.
48286         [generic bits/local_lim.h] (common-generated): Likewise.
48287         [generic sys/param.h] (before-compile): Do not append to variable.
48288         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48289         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48290         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48291         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48292         include.
48293         [generic sys/param.h] (sys/param.h-includes): Remove variable.
48294         [generic sys/param.h] (sys/param.h-includes): Remove rule.
48295         [generic sys/param.h] ($(addprefix
48296         $(common-objpfx),$(sys/param.h-includes))): Likewise.
48297         [generic sys/param.h] (common-generated): Do not append to
48298         variable.
48299         [generic sys/param.h] (sysdep_headers): Likewise.
48300         [generic bits/errno.h] (before-compile): Do not append to
48301         variable.
48302         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48303         rule.
48304         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48305         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48306         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48307         [generic bits/errno.h] (common-generated): Do not append to
48308         variable.
48309         [generic bits/ioctls.h] (before-compile): Do not append to
48310         variable.
48311         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48312         rule.
48313         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48314         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48315         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48316         rule.
48317         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48318         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48319         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48320         [generic bits/ioctls.h] (common-generated): Do not append to
48321         variable.
48322         [generic sys/syscall.h] (syscall.h): Remove variable.
48323         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48324         rule.
48325         [generic sys/syscall.h] (before-compile): Do not append to
48326         variable.
48327         [generic sys/syscall.h] (common-generated): Likewise.
48328         * sysdeps/unix/errnos-tmpl.c: Remove file.
48329         * sysdeps/unix/errnos.awk: Likewise.
48330         * sysdeps/unix/ioctls-tmpl.c: Likewise.
48331         * sysdeps/unix/ioctls.awk: Likewise.
48332         * sysdeps/unix/mk-local_lim.c: Likewise.
48333         * sysdeps/unix/snarf-ioctls: Likewise.
48335 2012-03-19  Richard Henderson  <rth@twiddle.net>
48337         * sysdeps/i386/fpu/fenv_private.h: New file.
48338         * sysdeps/i386/fpu/math_private.h: Use it.
48339         (math_opt_barrier, math_force_eval): Remove.
48340         (libc_feholdexcept_setround_53bit): Remove.
48341         (libc_feupdateenv_53bit): Remove.
48342         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48343         (math_opt_barrier, math_force_eval): Remove.
48344         (libc_feholdexcept): Remove.
48345         (libc_feholdexcept_setround): Remove.
48346         (libc_fetestexcept, libc_fesetenv): Remove.
48347         (libc_feupdateenv_test): Remove.
48348         (libc_feupdateenv, libc_feholdsetround): Remove.
48349         (libc_feresetround): Remove.
48351         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48352         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48354         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48355         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48356         (libc_feupdateenv_testl): New.
48357         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48358         (libc_feupdateenv_testf): New.
48359         (libc_feupdateenv): Use libc_feupdateenv_test.
48360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48361         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48363         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48364         (libc_feholdsetroundf, libc_feholdsetroundl): New.
48365         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48366         (libc_feresetround_noex): New.
48367         (libc_feresetround_noexf): New.
48368         (libc_feresetround_noexl): New.
48369         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48370         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48371         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48372         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48373         SET_RESTORE_ROUND.
48374         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48375         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48376         (__cos): Likewise.
48377         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48378         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48379         SET_RESTORE_ROUND_NOEX.
48380         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48381         SET_RESTORE_ROUND_NOEXF.
48382         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48383         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48384         (libc_feholdsetroundf): New.
48385         (libc_feresetround, libc_feresetroundf): New.
48387         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48388         (libc_feholdexcept_setround_53bit): Convert from macro to function.
48389         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
48391         * sysdeps/generic/math_private.h: Include <fenv.h>.
48392         (default_libc_feholdexcept): New.
48393         (default_libc_feholdexcept_setround): New.
48394         (default_libc_fesetenv, default_libc_feupdateenv): New.
48395         (libc_feholdexcept): Only define if undefined.
48396         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48397         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48398         (libc_feholdexcept_setroundl): Likewise.
48399         (libc_feholdexcept_setround_53bit): Likewise.
48400         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48401         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48402         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48403         (libc_feupdateenv_53bit): Likewise.
48404         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48405         (libc_feholdexcept): Convert from macro to inline function.
48406         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48407         (libc_fesetenv, libc_feupdateenv): Likewise.
48409         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48410         not previously defined.
48411         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48412         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48413         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48414         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48415         * sysdeps/ieee754/flt-32/math_private.h: New file.
48416         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48417         math_private.h below SET_FLOAT_WORD.
48418         (__isnan, __isinf_ns, __finite): Remove.
48419         (__isnanf, __isinf_nsf, __finitef): Remove.
48421 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
48423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48425 2012-03-17  David S. Miller  <davem@davemloft.net>
48427         [BZ #6471]
48428         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48429         for 2.16.
48431 2012-03-16  David S. Miller  <davem@davemloft.net>
48433         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48434         warnings.
48436         [BZ #6471]
48437         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48438         properly.
48439         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48440         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48441         sysdep_routines when subdir is sysvipc.
48442         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48443         __getshmlba helper.
48445         * sysdeps/sparc/fpu/libm-test/ulps: Update.
48447 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48449         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48450         [__LP64__].
48452 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48454         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48455         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48456         (__lround): Renamed to ...
48457         (__llround): This.  Replace long int with long long int.
48458         Define lround functions as aliases of llround functions.
48459         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48461 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48463         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48464         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
48465         adresses to uintptr_t.  Replace "long int" and "unsigned long
48466         int" with "greg_t" on va_arg.
48468 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48470         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48471         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48473         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48474         Move e_machine check before EI_CLASS check.  Handle x32
48475         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48476         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48477         SKIP_EM_IA_64 and include
48478         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48480         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48481         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48482         (add_system_dir): New macro.
48484         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48485         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48487 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
48489         [BZ #2551]
48490         [BZ #2552]
48491         [BZ #2553]
48492         [BZ #2554]
48493         [BZ #2562]
48494         [BZ #2563]
48495         [BZ #2565]
48496         [BZ #2566]
48497         [BZ #2576]
48498         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48499         (y0): Likewise.
48500         * math/w_j0f.c (j0f): Likewise.
48501         (y0f): Likewise.
48502         * math/w_j0l.c (__j0l): Likewise.
48503         (__y0l): Likewise.
48504         * math/w_j1.c (j1): Likewise.
48505         (y1): Likewise.
48506         * math/w_j1f.c (j1f): Likewise.
48507         (y1f): Likewise.
48508         * math/w_j1l.c (__j1l): Likewise.
48509         (__y1l): Likewise.
48510         * math/w_jn.c (jn): Likewise.
48511         (yn): Likewise.
48512         * math/w_jnf.c (jnf): Likewise.
48513         (ynf): Likewise.
48514         * math/w_jnl.c (__jnl): Likewise.
48515         (__ynl): Likewise.
48516         * math/libm-test.inc (j0_test): Add more tests.
48517         (j1_test): Likewise.
48518         (jn_test): Likewise.  Add trailing semicolon to existing test.
48519         (y0_test): Likewise.
48520         (y1_test): Likewise.
48521         * sysdeps/i386/fpu/libm-test-ulps: Update.
48522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48524         [BZ #13851]
48525         [BZ #13854]
48526         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48527         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48528         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48529         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48530         (__tanl): Set errno for infinite argument.
48531         * sysdeps/i386/fpu/mptan.c: Remove.
48532         * sysdeps/i386/fpu/s_tan.S: Likewise.
48533         * sysdeps/i386/fpu/s_tanl.S: Likewise.
48534         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48535         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48536         * math/libm-test.inc (tan_test): Add more tests and enable more
48537         tests for double and long double.
48538         * sysdeps/i386/fpu/libm-test-ulps: Update.
48539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48541 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
48543         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48544         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48546 2012-03-16  Roland McGrath  <roland@hack.frob.com>
48548         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48549         * configure.in: Use it for both main tree and add-ons.
48550         * configure: Regenerated.
48552 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48554         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48556 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
48558         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48559         in comment.
48561         [BZ #13851]
48562         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48563         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48564         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48565         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48566         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48567         infinite argument.
48568         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48569         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48570         != 0 for prec == 2.
48571         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48572         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48573         * sysdeps/i386/fpu/s_cosl.S: Likewise.
48574         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48575         * sysdeps/i386/fpu/s_sinl.S: Likewise.
48576         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48577         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48578         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48579         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48580         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48581         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48582         * math/libm-test.inc (cos_test): Add more tests and enable more
48583         tests for long double.
48584         (sin_test): Likewise.
48585         (sincos_test): Likewise.
48586         * sysdeps/i386/fpu/libm-test-ulps: Update.
48587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48589 2012-03-16  David S. Miller  <davem@davemloft.net>
48591         * sysdeps/sparc/fpu/math_private.h: New file.
48593 2012-03-15  David S. Miller  <davem@davemloft.net>
48595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48596         file.
48597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
48598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48599         file.
48600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48605         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48606         sysdep routines.
48607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48609         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48610         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48612         * sysdeps/sparc/sparc-ifunc.h: New file.
48613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48614         sparc-ifunc.h
48615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48617         Likewise.
48618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48619         Likewise.
48620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48624         Likewise.
48625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48630         Likewise.
48631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48632         Likewise.
48633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48637         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48638         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48639         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48640         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48641         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48647         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48648         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48649         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48650         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48651         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48652         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48653         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48654         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48655         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48656         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48658 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48660         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48661         scaling.
48662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48664 2012-03-15  Andreas Jaeger  <aj@suse.de>
48666         [BZ #13852]
48667         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48668         ieee754/flt-32 implementation for sin, cos and sincos.
48669         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48670         * sysdeps/i386/fpu/s_cosf.S: Likewise.
48671         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48672         * sysdeps/i386/fpu/s_sinf.S: Likewise.
48673         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48674         ieee754/flt-32 implementation for tan.
48676         * math/libm-test.inc (cos_test): Enable some large input tests for
48677         float as well
48678         (sin_test): Likewise.
48679         (sincos_test): Likewise.
48680         (tan_test): Add tests for large input.
48682         * sysdeps/i386/fpu/libm-test-ulps: Update.
48684 2012-03-15  Andreas Jaeger  <aj@suse.de>
48686         [BZ #13658]
48687         * math/libm-test.inc (cos_test): Add more test cases.
48688         (sin_test): Likewise.
48689         (sincos_test): Likewise.
48691 2012-03-15  Andreas Jaeger  <aj@suse.de>
48693         [BZ #13837]
48694         * math/libm-test.inc (cos_test): Add a test case for large input
48695         value.
48696         (sin_test): Likewise.
48697         (sincos_test): Likewise.
48699 2012-03-15  Andreas Jaeger  <aj@suse.de>
48700             Joseph Myers  <joseph@codesourcery.com>
48702         [BZ #13658]
48703         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48704         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48705         * sysdeps/i386/fpu/branred.c: Likewise.
48706         * sysdeps/i386/fpu/dosincos.c: Likewise.
48707         * sysdeps/i386/fpu/mpa.c: Likewise.
48708         * sysdeps/i386/fpu/s_cos.S: Likewise.
48709         * sysdeps/i386/fpu/s_sin.S: Likewise.
48710         * sysdeps/i386/fpu/s_sincos.S: Likewise.
48711         * sysdeps/i386/fpu/sincos32.c: Likewise.
48713         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48714         Define.
48715         (libc_feupdateenv_53bit): Define.
48716         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48717         Define.
48718         (libc_feupdateenv_53bit): Define.
48720         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48721         53 bit (without extend i386 double precision).
48723         * math/libm-test.inc (sincos_test): Add tests for large input.
48724         (sin): Likewise.
48725         (cos): Likewise.
48727         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48729 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48733 2012-03-15  David S. Miller  <davem@davemloft.net>
48735         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48736         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48737         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48738         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48751         file.
48752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48754         file.
48755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48757         file.
48758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48760         file.
48761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48762         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48763         fmin/fmax sysdep routines.
48764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48766 2012-03-14  David S. Miller  <davem@davemloft.net>
48768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48770         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48772         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48773         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48775         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48777         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48788         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48789         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48790         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48791         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48792         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48793         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48794         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48795         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48796         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48797         routines.
48798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48799         file.
48800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48802         file.
48803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48805         file.
48806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48808         file.
48809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48811         file.
48812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48814         file.
48815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48816         file.
48817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48818         file.
48819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48820         file.
48821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48822         New file.
48823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48824         file.
48825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48826         file.
48827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48829         file.
48830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48832         file.
48833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48835         file.
48836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48838         VIS3 routines.
48840         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48841         New file.
48843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48845         * sysdeps/sparc/configure.in: New file.
48846         * sysdeps/sparc/configure: Generate.
48847         * configure.in (libc_cv_sparc_as_vis3): Substitute.
48848         * configure: Regenerate.
48849         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48850         * config.make.in (have-as-vis3): New.
48851         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48852         available use -Av9d instead of -Av9a.
48853         * sysdeps/sparc/sparc64/Makefile: Likewise.
48854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48856         New file.
48857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48858         file.
48859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48860         New file.
48861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48862         file.
48863         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48864         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48865         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48866         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48867         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48869         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48870         fzeros/fnegs to load 0x80000000 into a float register instead of
48871         using the stack.
48872         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48874 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48876         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48877         bits/syscall.h.
48878         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48879         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48880         ($(inst_includedir)/bits/syscall.h): Remove rule.
48881         ($(objpfx)bits/syscall.d): Include instead of
48882         $(objpfx)syscall-list.d.
48883         (generated): Change syscall-list.h and syscall-list.d to
48884         bits/syscall.h and bits/syscall.d.
48886 2012-03-14  Roland McGrath  <roland@hack.frob.com>
48888         [BZ #13846]
48889         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48891 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48893         [BZ #13841]
48894         * math/s_csqrt.c: Include <float.h>.
48895         (__csqrt): Scale large or subnormal inputs.
48896         * math/s_csqrtf.c: Likewise.
48897         * math/s_csqrtl.c: Likewise.
48898         * math/libm-test.inc (csqrt_test): Add more tests.
48899         * sysdeps/i386/fpu/libm-test-ulps: Update.
48900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48902         [BZ #13840]
48903         * math/libm-test.inc (hypot_test): Add more tests.
48905 2012-03-13  David S. Miller  <davem@davemloft.net>
48907         [BZ #13840]
48908         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48909         double-precision for the calculation instead of scaling.
48911 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
48913         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48914         manipulate bits before adding and subtracting TWO52[sx].
48915         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48916         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48917         Likewise.
48918         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48920 2012-03-13  David S. Miller  <davem@davemloft.net>
48922         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48923         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48924         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48925         rtld-global-offsets.h
48926         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48928         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48929         large parameters.
48931         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48933         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48934         'err' in the ifdef scope in which it is actually used.
48936         * nss/nss_db/db-init.c: Include string.h
48938 2012-03-12  David S. Miller  <davem@davemloft.net>
48940         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48941         masking out of the most significant byte of random value used.
48942         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48943         Fix coding style in previous change.
48945         * sysdeps/unix/sysv/linux/kernel-features.h
48946         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48947         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48948         expression.
48949         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48950         later.
48952 2012-03-11  David S. Miller  <davem@davemloft.net>
48954         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48955         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48956         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48957         for 'resultvar' otherwise things get truncated on 64-bit.
48959         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48960         Fix masking out of the most significant byte of random value used.
48962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48964 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
48966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48968 2012-03-09  David S. Miller  <davem@davemloft.net>
48970         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48971         variables with appropriate CPP guards.
48972         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48973         from the frame pointer, not the stack pointer.  Correct layout
48974         comments.  Fix test on resulting framesize and the management of
48975         the outregs buffer for pltexit.  Preserve floating point return
48976         values across _dl_call_pltexit call.
48977         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48978         framesize and the management of the outregs buffer for pltexit.
48979         Preserve floating point return values across _dl_call_pltexit
48980         call.
48981         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48982         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48983         (la_sparc64_gnu_pltexit): New functions.
48984         (print_exit): Fix format string for return register value.
48986 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
48988         * sunrpc/Makefile (others): Add rpcgen.
48989         ($(objpfx)rpcgen): Remove special build rule and dependency on
48990         libc.
48991         * sunrpc/rpcgen.c: New file.
48993 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
48995         [BZ #13673]
48996         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48997         * stdio-common/bug-vfprintf-nargs.c: Likewise.
48998         * sysdeps/i386/crti.S: Likewise.
48999         * sysdeps/i386/crtn.S: Likewise.
49000         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49001         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49002         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49003         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49004         * sysdeps/sh/crti.S: Likewise.
49005         * sysdeps/sh/crtn.S: Likewise.
49006         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49008         [BZ #13673]
49009         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49010         with URL.
49011         * locale/programs/locfile-kw.gperf: Likewise.
49012         * locale/programs/charmap-kw.h: Regenerated.
49013         * locale/programs/locfile-kw.h: Likewise.
49015         [BZ #13673]
49016         * intl/plural.y: Replace FSF snail mail address with URL.
49017         * intl/plural.c: Regenerated.
49019 2012-03-09  Richard Henderson  <rth@twiddle.net>
49021         * include/math_private.h: Remove file.
49022         * math/math_private.h: Move file ...
49023         * sysdeps/generic/math_private.h: ... here.
49025         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49026         * sysdeps/powerpc/fpu/math_private.h: Likewise.
49027         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49029         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
49030         and <math_private.h>.
49031         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49032         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49033         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49034         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49035         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49036         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49037         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49038         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49039         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49040         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49041         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49042         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49043         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49044         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49045         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49046         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49047         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49048         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49049         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49050         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49051         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49052         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49053         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49054         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49055         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49056         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49057         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49058         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49059         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49060         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49061         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49062         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49063         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49064         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49065         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49066         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49067         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49068         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49069         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49070         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49071         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49072         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49073         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49074         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49075         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49076         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49077         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49078         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49079         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49080         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49081         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49082         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49083         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49084         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49085         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49086         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49087         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49088         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49089         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49090         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49091         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49092         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49093         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49094         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49095         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49096         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49097         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49098         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49099         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49100         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49101         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49102         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49103         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49104         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49105         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
49106         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
49107         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
49108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49109         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
49110         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
49111         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49112         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
49113         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49114         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49115         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49116         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49117         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
49118         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
49119         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49120         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49121         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49122         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49123         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49124         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49125         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49126         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49127         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49128         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49129         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49130         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49131         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49132         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49133         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49134         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49135         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49136         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49137         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49138         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49139         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49140         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49141         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49142         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49143         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49144         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49145         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
49146         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49147         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49148         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49149         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49150         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49151         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49152         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49153         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49154         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
49155         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49156         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49157         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49158         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
49159         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49160         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
49161         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
49162         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49163         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49164         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
49165         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
49166         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49167         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49168         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49169         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
49170         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49171         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49172         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49173         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49174         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
49175         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
49176         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49177         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49178         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49179         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
49180         * sysdeps/ieee754/k_standard.c: Likewise.
49181         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49182         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49183         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49184         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49185         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49186         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49187         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49188         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49189         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49190         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49191         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49192         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49193         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49194         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49195         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49196         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49197         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49198         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49199         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49200         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
49201         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
49202         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
49203         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49204         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49205         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49206         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
49207         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49208         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49209         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49210         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49211         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49212         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49213         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49214         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49215         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49216         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49217         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49218         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49219         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49220         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49221         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49222         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49223         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49224         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49225         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49226         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49227         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49228         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49229         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49230         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49231         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49232         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49233         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49234         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49235         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49236         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49237         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49238         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49239         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49240         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49241         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49242         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49243         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49244         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49245         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49246         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49247         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49248         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49249         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49250         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49251         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49252         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49253         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49254         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49255         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49256         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49257         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49258         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49259         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49260         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49261         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49262         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49263         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49264         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49265         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49266         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49267         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49268         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49269         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49270         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49271         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49272         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49273         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49274         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49275         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49276         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49277         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49278         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49279         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49280         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49281         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49282         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49283         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49284         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49285         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49286         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49287         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49288         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49289         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49290         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49291         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49292         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49293         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49294         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49295         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49296         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49297         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49298         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49299         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49300         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49301         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49302         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49303         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49304         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49305         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49306         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49307         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49308         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49309         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49310         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49311         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49312         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49313         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49314         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49315         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49316         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49317         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49318         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49319         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49320         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49321         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49322         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49323         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49324         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49325         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49326         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49327         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49328         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49329         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49330         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49331         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49332         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49333         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49334         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49335         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49336         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49337         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49338         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49339         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49340         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49341         * sysdeps/ieee754/s_lib_version.c: Likewise.
49342         * sysdeps/ieee754/s_matherr.c: Likewise.
49343         * sysdeps/ieee754/s_signgam.c: Likewise.
49344         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49345         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49346         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49347         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49348         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49349         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49350         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49351         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49352         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49353         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49354         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49355         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49356         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49357         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49358         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49359         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49360         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49361         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49362         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49363         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49364         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49366 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
49368         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49369         * sunrpc/rpc_main.c: Likewise.
49370         * sunrpc/rpc_svcout.c: Likewise.
49372 2012-03-09  David S. Miller  <davem@davemloft.net>
49374         * include/math_private.h: New file.
49376 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
49378         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49379         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49380         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49381         from <bits/socket_type.h>.
49382         (enum __socket_type): Don't define here.
49383         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49385         bits/socket_type.h.
49387         [BZ #13566]
49388         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49389         checking __USE_GNU.
49391         * Makerules ($(inst_includedir)/%.h): New rule.
49392         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49393         (install-others): Remove variable setting.
49394         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49396 2012-03-08  Richard Henderson  <rth@twiddle.net>
49398         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49399         from macro to inline function; merge with the
49400         !__LIBC_INTERNAL_MATH_INLINES version.
49401         (__ieee754_sqrtf): Likewise.
49403         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49404         to inline function.
49405         (__rintf, __floor, __floorf): Likewise.
49407         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49408         macro to inline function.
49409         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49411         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49412         not <math/math_private.h>.
49414 2012-03-08  David S. Miller  <davem@davemloft.net>
49416         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49417         copyright year.
49418         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49420 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
49422         * resolv/gai_misc.c (handle_requests): Fix struct timespec
49423         normalization.
49424         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49425         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49427 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
49429         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
49430         be defined individually, they must be defined as a block.  Define
49431         S for printing a string instead of hidint the different by using a
49432         macro for adding the 'l'.
49433         * stdio-common/tst-fphex-wide.c: Adjust.
49435 2012-03-07  Marek Polacek  <polacek@redhat.com>
49437         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49439 2012-03-08  Marek Polacek  <polacek@redhat.com>
49441         [BZ #13806]
49442         * stdio-common/Makefile (tests): Add tst-fphex-wide.
49443         * stdio-common/tst-fphex.c: Define a few macros to make the
49444         test reusable.  Use them.
49445         * stdio-common/tst-fphex-wide.c: New file.
49447 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
49449         [BZ #6911]
49450         * manual/macros.texi (gnusystems): New macro.
49451         (nongnusystems): Likewise.
49452         (gnulinuxhurdsystems): Likewise.
49453         (gnuhurdsystems): Likewise..
49454         (gnulinuxsystems): Likewise.
49455         * manual/charset.texi: Use new macros or @theglibc{} to refer to
49456         variants of the GNU system, not "GNU system".
49457         * manual/conf.texi: Likewise.
49458         * manual/errno.texi: Likewise.  Update example of errno macro
49459         expansion.
49460         * manual/filesys.texi: Likewise.
49461         (getumask): Document as specific to GNU/Hurd.
49462         * manual/install.texi: Likewise.  Reword some references to
49463         GNU/Linux.
49464         * manual/intro.texi: Likewise.
49465         * manual/io.texi: Likewise.
49466         (File Name Portability): Detail which constraints are inapplicable
49467         to all GNU systems and which are only inapplicable to GNU/Hurd.
49468         * manual/job.texi: Likewise.
49469         * manual/llio.texi: Likewise.
49470         (O_NOCTTY): Document as present on GNU/Linux.
49471         * manual/maint.texi: Likewise.
49472         * manual/memory.texi: Likewise.
49473         * manual/pattern.texi: Likewise.
49474         * manual/pipe.texi: Likewise.
49475         * manual/process.texi: Likewise.
49476         * manual/resource.texi: Likewise.
49477         (RUSAGE_CHILDREN): Remove statement about specifying a particular
49478         child on GNU/Hurd.
49479         * manual/setjmp.texi: Likewise.
49480         * manual/signal.texi: Likewise.
49481         * manual/startup.texi: Likewise.
49482         * manual/stdio.texi: Likewise.
49483         * manual/terminal.texi: Likewise.
49484         (ONLCR): Document as POSIX.
49485         (OXTABS): Document availability on GNU/Linux as XTABS.
49486         (ONOEOT): Document availability separately from other bits.
49487         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49488         * manual/time.texi: Likewise.
49489         * manual/users.texi: Likewise.
49490         * INSTALL: Regenerated.
49491         * sysdeps/gnu/errlist.c: Regenerated.
49493         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49494         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49495         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
49496         puts.
49497         * configure: Regenerated.
49499 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
49501         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49502         default includes instead of AC_HEADER_CHECK.
49503         * sysdeps/i386/configure: Regenerated.
49505         [BZ #10716]
49506         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49507         * math/s_cacoshf.c (__cacoshf): Likewise.
49508         * math/s_cacoshl.c (__cacoshl): Likewise.
49509         * math/s_casinh.c (__casinh): Set signs of result from argument.
49510         * math/s_casinhf.c (__casinhf): Likewise.
49511         * math/s_casinhl.c (__casinhl): Likewise.
49512         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49513         (casinh_test): Add more tests.
49514         * sysdeps/i386/fpu/libm-test-ulps: Update.
49515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49517 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
49519         * po/zh_TW.po: Update from translation team.
49521         * login/Makefile (distribute): Remove variable.
49522         * catgets/Makefile: Likewise.
49523         * mach/Makefile: Likewise.
49524         * malloc/Makefile: Likewise.
49525         * misc/Makefile: Likewise.
49526         * iconv/Makefile: Likewise.
49527         * nscd/Makefile: Likewise.
49528         * hurd/Makefile: Likewise.
49529         * manual/Makefile: Likewise.
49530         * locale/Makefile: Likewise.
49531         * intl/Makefile: Likewise.
49532         * conform/Makefile: Likewise.
49533         * nss/Makefile: Likewise.
49534         * time/Makefile: Likewise.
49535         * soft-fp/Makefile: Likewise.
49536         * dirent/Makefile: Likewise.
49537         * gmon/Makefile: Likewise.
49538         * po/Makefile: Likewise.
49539         * rt/Makefile: Likewise.
49540         * socket/Makefile: Likewise.
49541         * math/Makefile: Likewise.
49542         * signal/Makefile: Likewise.
49543         * debug/Makefile: Likewise.
49544         * elf/Makefile: Likewise.
49545         * timezone/Makefile: Likewise.
49546         * stdlib/Makefile: Likewise.
49547         * iconvdata/Makefile: Likewise.
49548         * sunrpc/Makefile: Likewise.
49549         * io/Makefile: Likewise.
49550         * argp/Makefile: Likewise.
49551         * inet/Makefile: Likewise.
49552         * hesiod/Makefile: Likewise.
49553         * grp/Makefile: Likewise.
49554         * csu/Makefile: Likewise.
49555         * wctype/Makefile: Likewise.
49556         * crypt/Makefile: Likewise.
49557         * libio/Makefile: Likewise.
49558         * string/Makefile: Likewise.
49559         * nis/Makefile: Likewise.
49560         * resolv/Makefile: Likewise.
49561         * stdio-common/Makefile: Likewise.
49562         * wcsmbs/Makefile: Likewise.
49563         * dlfcn/Makefile: Likewise.
49564         * posix/Makefile: Likewise.
49566         [BZ #6959]
49567         * timezone/Makefile: Don't install timezone files, just the programs
49568         and scripts.
49570 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
49572         * nss/databases.def: Add missing gshadow entry.
49574         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
49576 2012-03-06  Marek Polacek  <polacek@redhat.com>
49578         [BZ #13726]
49579         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49580         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49581         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49582         * stdio-common/tst-long-dbl-fphex.c: New file.
49584 2012-03-06  David S. Miller  <davem@davemloft.net>
49586         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49587         (set_obp_int): New function.
49588         (get_obp_int): New function.
49589         (__get_clockfreq_via_dev_openprom): Likewise.
49590         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49591         Avoid unused variable warnings on 'val' and use builtin_expect.
49592         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49593         __builtin_expect.
49594         (INLINE_CLONE_SYSCALL): Likewise.
49596 2012-03-05  David S. Miller  <davem@davemloft.net>
49598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49600 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
49602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49604         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49605         only for |x| >= 40.
49606         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49608 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
49610         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49611         Replace gettimeofday with __vdso_gettimeofday.
49613         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49614         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49615         __vdso_clock_gettime and __vdso_getcpu.
49617         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49618         time with __vdso_time.
49620 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
49622         * manual/lang.texi (size_t): Note types to which size_t may be
49623         equivalent with the GNU C Library, but do not describe when
49624         differences between them are significant.
49626 2012-03-05  Andreas Jaeger  <aj@suse.de>
49628         * sysdeps/i386/fpu/libm-test-ulps: Update.
49630 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
49632         [BZ #3976]
49633         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49634         (__ieee754_pow): Save and restore rounding mode and use
49635         round-to-nearest for main computations.
49636         * math/libm-test.inc (pow_test_tonearest): New function.
49637         (pow_test_towardzero): Likewise.
49638         (pow_test_downward): Likewise.
49639         (pow_test_upward): Likewise.
49640         (main): Call the new functions.
49641         * sysdeps/i386/fpu/libm-test-ulps: Update.
49642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49644         [BZ #3976]
49645         * math/libm-test.inc (cosh_test_tonearest): New function.
49646         (cosh_test_towardzero): Likewise.
49647         (cosh_test_downward): Likewise.
49648         (cosh_test_upward): Likewise.
49649         (sinh_test_tonearest): Likewise.
49650         (sinh_test_towardzero): Likewise.
49651         (sinh_test_downward): Likewise.
49652         (sinh_test_upward): Likewise.
49653         (main): Call the new functions.
49654         * sysdeps/i386/fpu/libm-test-ulps: Update.
49655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49657 2012-03-05  Tom de Vries  <tom@codesourcery.com>
49659         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49660         default stack guard is set in last bytes.
49661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49663 2012-03-05  Kees Cook  <keescook@chromium.org>
49665         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49667         [BZ #13656]
49668         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49669         possibly allocate from heap instead of stack.
49670         * stdio-common/bug-vfprintf-nargs.c: New file.
49671         * stdio-common/Makefile (tests): Add nargs overflow test.
49673 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
49675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49677 2012-03-03  Marek Polacek  <polacek@redhat.com>
49679         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49680         * math/math_private.h: Likewise.
49681         * stdlib/tst-strtod.c: Likewise.
49682         * sysdeps/i386/i486/bits/atomic.h: Likewise.
49683         * sysdeps/x86_64/bits/atomic.h: Likewise.
49685 2012-03-02  David S. Miller  <davem@davemloft.net>
49687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49691         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49692         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49693         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49694         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49696 2012-03-02  Roland McGrath  <roland@hack.frob.com>
49698         [BZ #13792]
49699         * manual/examples/README: New file, says the example source files
49700         can be used under GPL>=2.
49701         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49702         line containing just "*/".
49703         * manual/examples/add.c: Add copyright header (GPL>=2).
49704         * manual/examples/argp-ex1.c: Likewise.
49705         * manual/examples/argp-ex2.c: Likewise.
49706         * manual/examples/argp-ex3.c: Likewise.
49707         * manual/examples/argp-ex4.c: Likewise.
49708         * manual/examples/atexit.c: Likewise.
49709         * manual/examples/db.c: Likewise.
49710         * manual/examples/dir.c: Likewise.
49711         * manual/examples/dir2.c: Likewise.
49712         * manual/examples/execinfo.c: Likewise.
49713         * manual/examples/filecli.c: Likewise.
49714         * manual/examples/filesrv.c: Likewise.
49715         * manual/examples/fmtmsgexpl.c: Likewise.
49716         * manual/examples/genpass.c: Likewise.
49717         * manual/examples/inetcli.c: Likewise.
49718         * manual/examples/inetsrv.c: Likewise.
49719         * manual/examples/isockad.c: Likewise.
49720         * manual/examples/longopt.c: Likewise.
49721         * manual/examples/memopen.c: Likewise.
49722         * manual/examples/memstrm.c: Likewise.
49723         * manual/examples/mkfsock.c: Likewise.
49724         * manual/examples/mkisock.c: Likewise.
49725         * manual/examples/mygetpass.c: Likewise.
49726         * manual/examples/pipe.c: Likewise.
49727         * manual/examples/popen.c: Likewise.
49728         * manual/examples/rprintf.c: Likewise.
49729         * manual/examples/search.c: Likewise.
49730         * manual/examples/select.c: Likewise.
49731         * manual/examples/setjmp.c: Likewise.
49732         * manual/examples/sigh1.c: Likewise.
49733         * manual/examples/sigusr.c: Likewise.
49734         * manual/examples/stpcpy.c: Likewise.
49735         * manual/examples/strdupa.c: Likewise.
49736         * manual/examples/strftim.c: Likewise.
49737         * manual/examples/strncat.c: Likewise.
49738         * manual/examples/subopt.c: Likewise.
49739         * manual/examples/swapcontext.c: Likewise.
49740         * manual/examples/termios.c: Likewise.
49741         * manual/examples/testopt.c: Likewise.
49742         * manual/examples/testpass.c: Likewise.
49743         * manual/examples/timeval_subtract.c: Likewise.
49745         [BZ #13792]
49746         * manual/time.texi (Elapsed Time): Move timeval_subtract example
49747         function to ...
49748         * manual/timeval_subtract.c.texi: ... here, new file.
49750 2012-03-02  David S. Miller  <davem@davemloft.net>
49752         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49754 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
49756         [BZ #3976]
49757         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49758         (__sin): Save and restore rounding mode and use round-to-nearest
49759         for all computations.
49760         (__cos): Save and restore rounding mode and use round-to-nearest
49761         for all computations.
49762         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49763         <fenv.h>.
49764         (tan): Save and restore rounding mode and use round-to-nearest for
49765         all computations.
49766         * math/libm-test.inc (cos_test_tonearest): New function.
49767         (cos_test_towardzero): Likewise.
49768         (cos_test_downward): Likewise.
49769         (cos_test_upward): Likewise.
49770         (sin_test_tonearest): Likewise.
49771         (sin_test_towardzero): Likewise.
49772         (sin_test_downward): Likewise.
49773         (sin_test_upward): Likewise.
49774         (tan_test_tonearest): Likewise.
49775         (tan_test_towardzero): Likewise.
49776         (tan_test_downward): Likewise.
49777         (tan_test_upward): Likewise.
49778         (main): Call the new functions.
49779         * sysdeps/i386/fpu/libm-test-ulps: Update.
49780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49782         [BZ #10135]
49783         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49784         small n, then large n, before computing and testing k+n.
49785         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49787         Likewise.
49788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49789         Likewise.
49790         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49791         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49792         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49793         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49794         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49795         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49796         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49797         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49798         * math/libm-test.inc (scalbn_test): Add more tests.
49799         (scalbln_test): Likewise.
49801         * manual/filesys.texi (mode_t): Describe constraints on size and
49802         signedness, not exact equivalence to a particular type.
49803         (ino_t): Likewise.
49804         (ino64_t): Likewise.
49805         (dev_t): Likewise.
49806         (nlink_t): Likewise.
49807         (blkcnt_t): Likewise.
49808         (blkcnt64_t): Likewise.
49809         * manual/llio.texi (off_t): Likewise.
49811         [BZ #3976]
49812         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49813         (__ieee754_exp): Save and restore rounding mode and use
49814         round-to-nearest for all computations.
49815         * math/libm-test.inc (exp_test_tonearest): New function.
49816         (exp_test_towardzero): Likewise.
49817         (exp_test_downward): Likewise.
49818         (exp_test_upward): Likewise.
49819         (main): Call the new functions.
49820         * sysdeps/i386/fpu/libm-test-ulps: Update.
49821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49823 2012-03-01  Chris Demetriou  <cgd@google.com>
49825         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49826         have predictable order.
49828 2012-03-01  David S. Miller  <davem@davemloft.net>
49830         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49832         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49833         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49834         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49835         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49837         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49838         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49839         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49841         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49842         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49843         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49844         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49845         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49849         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49850         * sysdeps/sparc/fpu/libm-test-ulps: to here.
49851         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49853         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49854         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49855         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49856         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49857         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49858         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49859         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49860         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49861         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49862         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49863         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49864         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49865         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49866         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49867         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49868         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49869         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49870         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49871         * sysdeps/sparc/elf/configure: Regenerated.
49873 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
49875         * configure.in (AS, LD): Require binutils 2.20 or later.
49876         * configure: Regenerated.
49877         * manual/install.texi (Tools for Compilation): Give binutils 2.20
49878         as required minimum version.
49879         * INSTALL: Regenerated.
49881         [BZ #2541]
49882         [BZ #4108]
49883         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49884         before squaring exponent.
49885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49886         bottom long double and 27 bits of top long double before squaring
49887         exponent.
49888         * math/libm-test.inc (erfc_test): Add more tests.
49889         * sysdeps/i386/fpu/libm-test-ulps: Update.
49890         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49893 2012-03-01  Kai Tietz  <ktietz@redhat.com>
49895         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49896         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49897         containing bit-fields.
49898         * soft-fp/extended.h (_FP_UNION_E): Likewise.
49899         * soft-fp/single.h (_FP_UNION_S): Likewise.
49900         * soft-fp/double.h (_FP_UNION_D): Likewise.
49902 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49904         [BZ #13786]
49905         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49906         not include ../strcmp.S.
49907         [USE_AS_STRNCASECMP_L]: Likewise.
49908         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49909         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49910         * sysdeps/i386/i686/multiarch/strncase_l-c.c
49911         (__strncasecmp_l_ia32): Define as alias to
49912         __strncasecmp_l_nonascii.
49914         [BZ #5794]
49915         * math/libm-test.inc (expm1_test): Add test for bug 5794.
49916         * sysdeps/i386/fpu/libm-test-ulps: Update.
49917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49919         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49922 2012-02-29  Jeff Law  <law@redhat.com>
49924         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49925         out of bounds read.
49927 2012-02-29  Marek Polacek  <polacek@redhat.com>
49929         [BZ #13706]
49930         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49931         * elf/Makefile: Add rules to run tst-unused-dep.out.
49933 2012-02-28  David S. Miller  <davem@davemloft.net>
49935         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49936         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49937         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49938         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49939         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49940         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49942 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49944         * math/libm-test.inc (llround_test): Move one test from
49945         lround_test.  Use TEST_f_L in moved test.
49946         (lround_test): Move misplaced test to llround_test.  Add testcase
49947         from bug 2561.
49949 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
49951         * sysdeps/x86_64/fpu/e_expf.S: New file.
49952         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49954 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
49956         [BZ #13637]
49957         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49958         of remain_len that may cause incomplete multi-byte character and
49959         false match.
49960         * posix/bug-regex33.c: New file.
49961         * posix/Makefile (tests): Add bug-regex33.
49963 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
49965         * manual/macros.texi: New file.
49966         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49967         * manual/libc.texinfo: Include macros.texi.
49968         * manual/creatute.texi: Likewise.
49969         * manual/install.texi: Likewise.
49970         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49971         @glibcadj{} in references to the GNU C Library.
49972         * manual/charset.texi: Likewise.
49973         * manual/conf.texi: Likewise.
49974         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
49975         when not using those macros.
49976         * manual/creature.texi: Likewise.
49977         * manual/crypt.texi: Likewise.
49978         * manual/errno.texi: Likewise.
49979         * manual/filesys.texi: Likewise.
49980         * manual/header.texi: Likewise.
49981         * manual/install.texi: Likewise.
49982         * manual/intro.texi: Likewise.
49983         * manual/io.texi: Likewise.
49984         * manual/job.texi: Likewise.
49985         * manual/lang.texi: Likewise.
49986         * manual/libc.texiinfo: Likewise.
49987         * manual/llio.texi: Likewise.
49988         * manual/locale.texi: Likewise.
49989         * manual/maint.texi: Likewise.
49990         * manual/math.texi: Likewise.
49991         * manual/memory.texi: Likewise.
49992         * manual/message.texi: Likewise.
49993         * manual/nss.texi: Likewise.
49994         * manual/pattern.texi: Likewise.
49995         * manual/process.texi: Likewise.
49996         * manual/resource.texi: Likewise.
49997         * manual/search.texi: Likewise.
49998         * manual/setjmp.texi: Likewise.
49999         * manual/signal.texi: Likewise.
50000         * manual/socket.texi: Likewise.
50001         * manual/startup.texi: Likewise.
50002         * manual/stdio.texi: Likewise.
50003         * manual/string.texi: Likewise.
50004         * manual/sysinfo.texi: Likewise.
50005         * manual/syslog.texi: Likewise.
50006         * manual/terminal.texi: Likewise.
50007         * manual/time.texi: Likewise.
50008         * manual/users.texi: Likewise.
50009         * INSTALL: Regenerated.
50010         * NOTES: Regenerated.
50011         * sysdeps/gnu/errlist.c: Regenerated.
50013 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
50015         * include/dirent.h: Include <dirstream.h> before
50016         <dirent/dirent.h>.
50018 2012-02-28  David S. Miller  <davem@davemloft.net>
50020         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50021         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50022         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50023         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50025 2012-02-27  David S. Miller  <davem@davemloft.net>
50027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50029         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50030         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50033         frame pointer instead of stack pointer relative arg slot.
50034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50035         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50036         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50038 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
50040         [BZ #3992]
50041         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50043 2012-02-27  David S. Miller  <davem@davemloft.net>
50045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50049         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50050         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50051         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50052         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50054 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
50056         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50057         later.  Allow versions 5-9.
50058         * configure: Regenerated.
50059         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50060         required minimum version and 4.6 as recommended version.  Do not
50061         mention bugs in GCC 2.7 and 2.8.
50062         * INSTALL: Regenerated.
50064 2012-02-27  David S. Miller  <davem@davemloft.net>
50066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50070         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50071         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50072         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50073         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50075         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50076         manipulate bits before adding and subtracting TWO112[sx].
50077         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50079 2012-02-27  Roland McGrath  <roland@hack.frob.com>
50081         [BZ #13775]
50082         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50083         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50084         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50085         being in POSIX, because they are in 1003.1-2008.
50087         * rt/tst-aio.c: Include <fcntl.h>.
50088         * rt/tst-aio7.c: Likewise.
50089         * rt/tst-aio64.c: Likewise.
50091         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50093 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
50095         * manual/install.texi (--with-headers): Describe headers as
50096         interface headers, not private headers.
50097         (Specific advice for GNU/Linux systems): Describe use of headers
50098         from "make headers_install", not private headers from older
50099         kernels.
50100         * INSTALL: Regenerated.
50101         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50102         Change to 2.6.19.
50103         * sysdeps/unix/sysv/linux/configure: Regenerated.
50105         * manual/llio.texi (fclean): Remove documentation.
50107         * manual/Makefile (libc-texi-generated): New variable.  Include
50108         version.texi.
50109         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
50110         $(libc-texi-generated), not duplicated list of files.
50111         (version.texi, stamp-version): New rules.
50112         (realclean): Remove $(libc-texi-generated), not individual files
50113         from that list.  Do not remove dir-add.texinfo.
50114         * manual/libc.texinfo: Comment out uses of edition numbers and
50115         references to printed manual.  Remove last-updated dates.
50116         (EDITION): Comment out.
50117         (ISBN): Likewise.
50118         (VERSION, UPDATED): Remove.
50119         (version.texi): Include.
50121 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
50123         * sysdeps/posix/spawni.c: Include <signal.h>.
50124         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
50125         * sysdeps/pthread/aio_fsync.c: Likewise.
50127 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
50129         * conform/Makefile (tests): Run only when not cross-compiling and
50130         when fast-check is not defined.
50132         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
50133         * conform/data/limits.h-data: Fixes for POSIX2008.
50134         * conform/run-conformtest.sh: Run all tests.
50135         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
50136         headers.
50137         * include/bits/dlfcn.h: Likewise.
50138         * include/langinfo.h: Likewise.
50139         * include/monetary.h: Likewise.
50140         * include/sys/poll.h: Likewise.
50142         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
50143         for __USE_GNU.
50144         * posix/spawn.h: Define __need_sigset_t.
50145         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
50146         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
50147         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
50148         to get sigevent_t only.
50149         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
50150         only for __USE_GNU.
50151         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50152         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50153         process_vm_writev only for __USE_GNU.
50154         * termios/termios.h: Declare tcgetsid also for POSIX2008.
50156         * conform/Makefile: For now ignore errors from run-conformtest.
50157         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
50158         POSIX to avoid namespace pollution.  Don't prepend headers.
50159         * conform/data/aio.h-data: Fixes for POSIX testing.
50160         * conform/data/fcntl.h-data: Likewise.
50161         * conform/data/glob.h-data: Likewise.
50162         * conform/data/grp.h-data: Likewise.
50163         * conform/data/pthread.h-data: Likewise.
50164         * conform/data/pwd.h-data: Likewise.
50165         * conform/data/signal.h-data: Likewise.
50166         * conform/data/spawn.h-data: Likewise.
50167         * conform/data/stdio.h-data: Likewise.
50168         * conform/data/stdlib.h-data: Likewise.
50169         * conform/data/stropts.h-data: Likewise.
50170         * conform/data/sys/mman.h-data: Likewise.
50171         * conform/data/sys/stat.h-data: Likewise.
50172         * conform/data/sys/types.h-data: Likewise.
50173         * conform/data/sys/wait.h-data: Likewise.
50174         * conform/data/time.h-data: Likewise.
50175         * conform/data/unistd.h-data: Likewise.
50176         * conform/data/utime.h-data: Likewise.
50178         * io/sys/stat.h: fchmod was always in POSIX.
50179         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
50180         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
50181         * rt/aio.h: Define __need_timespec before including <time.h>.
50182         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
50183         struct.  Add forward declaration of pthread_attr_t and use it in
50184         sigevent.
50185         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50186         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50187         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
50188         always remove CLK_TCK definition.
50190 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
50192         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
50194 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
50196         * conform/run-conformtest.sh: New file.
50197         * conform/Makefile: Run run-conformtest for tests.
50198         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
50199         support.
50201         * conform/data/uchar.h-data: New file.
50202         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
50203         * conform/data/arpa/inet.h-data: Likewise.
50204         * conform/data/assert.h-data: Likewise.
50205         * conform/data/complex.h-data: Likewise.
50206         * conform/data/cpio.h-data: Likewise.
50207         * conform/data/ctype.h-data: Likewise.
50208         * conform/data/dirent.h-data: Likewise.
50209         * conform/data/dlfcn.h-data: Likewise.
50210         * conform/data/errno.h-data: Likewise.
50211         * conform/data/fcntl.h-data: Likewise.
50212         * conform/data/float.h-data: Likewise.
50213         * conform/data/fmtmsg.h-data: Likewise.
50214         * conform/data/fnmatch.h-data: Likewise.
50215         * conform/data/ftw.h-data: Likewise.
50216         * conform/data/glob.h-data: Likewise.
50217         * conform/data/grp.h-data: Likewise.
50218         * conform/data/iconv.h-data: Likewise.
50219         * conform/data/inttypes.h-data: Likewise.
50220         * conform/data/langinfo.h-data: Likewise.
50221         * conform/data/libgen.h-data: Likewise.
50222         * conform/data/limits.h-data: Likewise.
50223         * conform/data/locale.h-data: Likewise.
50224         * conform/data/math.h-data: Likewise.
50225         * conform/data/monetary.h-data: Likewise.
50226         * conform/data/mqueue.h-data: Likewise.
50227         * conform/data/ndbm.h-data: Likewise.
50228         * conform/data/net/if.h-data: Likewise.
50229         * conform/data/netdb.h-data: Likewise.
50230         * conform/data/netinet/in.h-data: Likewise.
50231         * conform/data/nl_types.h-data: Likewise.
50232         * conform/data/poll.h-data: Likewise.
50233         * conform/data/pthread.h-data: Likewise.
50234         * conform/data/pwd.h-data: Likewise.
50235         * conform/data/regex.h-data: Likewise.
50236         * conform/data/sched.h-data: Likewise.
50237         * conform/data/search.h-data: Likewise.
50238         * conform/data/semaphore.h-data: Likewise.
50239         * conform/data/setjmp.h-data: Likewise.
50240         * conform/data/signal.h-data: Likewise.
50241         * conform/data/spawn.h-data: Likewise.
50242         * conform/data/stdarg.h-data: Likewise.
50243         * conform/data/stdio.h-data: Likewise.
50244         * conform/data/stdlib.h-data: Likewise.
50245         * conform/data/string.h-data: Likewise.
50246         * conform/data/strings.h-data: Likewise.
50247         * conform/data/stropts.h-data: Likewise.
50248         * conform/data/sys/ipc.h-data: Likewise.
50249         * conform/data/sys/mman.h-data: Likewise.
50250         * conform/data/sys/msg.h-data: Likewise.
50251         * conform/data/sys/resource.h-data: Likewise.
50252         * conform/data/sys/select.h-data: Likewise.
50253         * conform/data/sys/sem.h-data: Likewise.
50254         * conform/data/sys/shm.h-data: Likewise.
50255         * conform/data/sys/socket.h-data: Likewise.
50256         * conform/data/sys/stat.h-data: Likewise.
50257         * conform/data/sys/statvfs.h-data: Likewise.
50258         * conform/data/sys/time.h-data: Likewise.
50259         * conform/data/sys/timeb.h-data: Likewise.
50260         * conform/data/sys/times.h-data: Likewise.
50261         * conform/data/sys/types.h-data: Likewise.
50262         * conform/data/sys/uio.h-data: Likewise.
50263         * conform/data/sys/un.h-data: Likewise.
50264         * conform/data/sys/utsname.h-data: Likewise.
50265         * conform/data/sys/wait.h-data: Likewise.
50266         * conform/data/syslog.h-data: Likewise.
50267         * conform/data/tar.h-data: Likewise.
50268         * conform/data/termios.h-data: Likewise.
50269         * conform/data/utime.h-data: Likewise.
50270         * conform/data/utmpx.h-data: Likewise.
50271         * conform/data/varargs.h-data: Likewise.
50272         * conform/data/wchar.h-data: Likewise.
50273         * conform/data/wctype.h-data: Likewise.
50274         * conform/data/wordexp.h-data: Likewise.
50276         * include/stropts.h: New file.
50277         * include/uchar.h: New file.
50278         * include/aio.h: Changes to allow conformtest.pl to use the headers.
50279         * include/assert.h: Likewise.
50280         * include/ctype.h: Likewise.
50281         * include/dirent.h: Likewise.
50282         * include/dlfcn.h: Likewise.
50283         * include/fcntl.h: Likewise.
50284         * include/fnmatch.h: Likewise.
50285         * include/glob.h: Likewise.
50286         * include/grp.h: Likewise.
50287         * include/libio.h: Likewise.
50288         * include/locale.h: Likewise.
50289         * include/math.h: Likewise.
50290         * include/net/if.h: Likewise.
50291         * include/netdb.h: Likewise.
50292         * include/netinet/in.h: Likewise.
50293         * include/pthread.h: Likewise.
50294         * include/pwd.h: Likewise.
50295         * include/regex.h: Likewise.
50296         * include/sched.h: Likewise.
50297         * include/search.h: Likewise.
50298         * include/setjmp.h: Likewise.
50299         * include/signal.h: Likewise.
50300         * include/stdio.h: Likewise.
50301         * include/stdlib.h: Likewise.
50302         * include/string.h: Likewise.
50303         * include/sys/cdefs.h: Likewise.
50304         * include/sys/mman.h: Likewise.
50305         * include/sys/msg.h: Likewise.
50306         * include/sys/resource.h: Likewise.
50307         * include/sys/select.h: Likewise.
50308         * include/sys/socket.h: Likewise.
50309         * include/sys/stat.h: Likewise.
50310         * include/sys/statvfs.h: Likewise.
50311         * include/sys/time.h: Likewise.
50312         * include/sys/times.h: Likewise.
50313         * include/sys/uio.h: Likewise.
50314         * include/sys/utsname.h: Likewise.
50315         * include/sys/wait.h: Likewise.
50316         * include/termios.h: Likewise.
50317         * include/time.h: Likewise.
50318         * include/ulimit.h: Likewise.
50319         * include/unistd.h: Likewise.
50320         * include/utime.h: Likewise.
50321         * include/wchar.h: Likewise.
50322         * include/wctype.h: Likewise.
50323         * include/wordexp.h: Likewise.
50325         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50327         * time/time.h: TIME_UTC must be a macro.
50328         Make timespec_get available for ISO C11 only as well.
50330 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
50332         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50333         Reported by Peng Haitao <penght@cn.fujitsu.com>.
50335 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50337         * configure.in: Use -o not -a in test for unsupported multi-arch.
50339 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50341         * manual/texinfo.tex: Update to version 2012-01-19.16.
50343 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50345         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50347 2012-02-24  Roland McGrath  <roland@hack.frob.com>
50349         [BZ #13738]
50350         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50351         * manual/fdl-1.3.texi: New file.
50352         * manual/fdl-1.1.texi: File removed.
50354         [BZ #13738]
50355         * manual/libc.texinfo (FDL_VERSION): New @set.
50356         Use it for mention of FDL in cover text.
50357         (Documentation License): Use it in @include file name.
50359 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50360             Roland McGrath  <roland@hack.frob.com>
50362         [BZ #5461]
50363         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50364         (not LONG_LONG_MAX and LONG_LONG_MIN.
50365         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50366         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
50367         name.
50368         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50370 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50372         [BZ #2547]
50373         [BZ #11365]
50374         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50375         manipulate bits before adding and subtracting TWO23[sx].
50376         * math/libm-test.inc (nearbyint_test): Add more tests.
50378 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50380         [BZ #2548]
50381         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50382         bits before adding and subtracting TWO23[sx].
50383         * math/libm-test.inc (rint_test): Add more tests.
50384         (rint_test_tonearest): Likewise.
50385         (rint_test_towardzero): Likewise.
50386         (rint_test_downward): Likewise.
50387         (rint_test_upward: Likewise.
50389 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50391         [BZ #10110]
50392         * include/stdc-predef.h: New file.  Extracted from features.h.
50393         * include/features.h: Include stdc-predef.h.
50394         * Makefile (headers): Add stdc-predef.h.
50395         * CONFORMANCE (Compiler limitations): Update.
50397 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50399         * manual/libc.texinfo (VERSION, UPDATED): Revert.
50401 2012-02-21  David S. Miller  <davem@davemloft.net>
50403         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50404         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50406 2012-02-20  David S. Miller  <davem@davemloft.net>
50408         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50409         using a normal save/restore sequence, rather than allocating a
50410         dummy stack frame just to store a frame pointer and restore.
50411         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50413 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50415         * manual/install.texi: Fix stray word in line-wrapped comment.
50417 2012-02-20  David S. Miller  <davem@davemloft.net>
50419         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50420         both binutils and gcc support GOTDATA.
50422         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50423         "rd %pc" in the PIC register setup sequences.
50425         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50426         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50427         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50428         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50429         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50431         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50432         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50433         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50434         (SYSCALL_ERROR_HANDLER): Likewise.
50435         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50436         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50438         (SYSCALL_ERROR_HANDLER): Likewise.
50440         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50441         (HAVE_GCC_GOTDATA): New.
50442         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50443         relocation support in both binutils and gcc.
50444         * sysdeps/sparc/elf/configure: Regenerate.
50446         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50447         * sysdeps/sparc/sparc32/elf/configure: Delete.
50448         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50449         * sysdeps/sparc/sparc64/elf/configure: Delete.
50450         * sysdeps/sparc/elf/configure.in: New file.
50451         * sysdeps/sparc/elf/configure: Generate.
50453         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50454         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50455         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50456         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50457         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50459 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50461         * manual/install.texi: Do not mention specific glibc version
50462         numbers.
50463         * manual/libc.texinfo (VERSION, UPDATED): Update.
50464         (@copying): Use @copyright{} and range of years.
50466 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50468         [BZ #13695]
50469         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50470         [crti.S not in sysdirs] (generated): Do not append.
50471         [crti.S not in sysdirs] (omit-deps): Likewise.
50472         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50473         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50474         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50475         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50476         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50477         Likewise.
50478         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50479         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50480         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50481         * csu/defs.awk: Remove file.
50482         * sysdeps/generic/initfini.c: Likewise.
50483         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50484         variable.
50485         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50486         Likewise.
50488 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50490         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50491         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50492         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50493         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50494         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50495         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50496         <bits/epoll.h>.
50497         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50498         (__EPOLL_PACKED): Define to empty if not defined by
50499         <bits/epoll.h>.
50500         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50501         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50502         bits/epoll.h.
50504 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50506         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50507         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50508         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50509         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50510         <bits/timerfd.h>.
50511         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50512         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50513         bits/timerfd.h.
50515 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50517         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50518         in C locale.
50519         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50520         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50521         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50524 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
50526         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50527         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50529 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
50531         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50532         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50533         defined.
50534         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50535         Likewise.
50536         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50537         entry for 2.16.
50539 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
50541         * math/w_acos.c: Use non-signaling floating-point comparisons.
50542         * math/w_acosf.c: Likewise.
50543         * math/w_acosh.c: Likewise.
50544         * math/w_acoshf.c: Likewise.
50545         * math/w_acoshl.c: Likewise.
50546         * math/w_acosl.c: Likewise.
50547         * math/w_asin.c: Likewise.
50548         * math/w_asinf.c: Likewise.
50549         * math/w_asinl.c: Likewise.
50550         * math/w_atanh.c: Likewise.
50551         * math/w_atanhf.c: Likewise.
50552         * math/w_atanhl.c: Likewise.
50553         * math/w_exp2.c: Likewise.
50554         * math/w_exp2f.c: Likewise.
50555         * math/w_exp2l.c: Likewise.
50556         * math/w_j0.c: Likewise.
50557         * math/w_j0f.c: Likewise.
50558         * math/w_j0l.c: Likewise.
50559         * math/w_j1.c: Likewise.
50560         * math/w_j1f.c: Likewise.
50561         * math/w_j1l.c: Likewise.
50562         * math/w_jn.c: Likewise.
50563         * math/w_jnf.c: Likewise.
50564         * math/w_log.c: Likewise.
50565         * math/w_log10.c: Likewise.
50566         * math/w_log10f.c: Likewise.
50567         * math/w_log10l.c: Likewise.
50568         * math/w_log2.c: Likewise.
50569         * math/w_log2f.c: Likewise.
50570         * math/w_log2l.c: Likewise.
50571         * math/w_logf.c: Likewise.
50572         * math/w_logl.c: Likewise.
50573         * math/w_sqrt.c: Likewise.
50574         * math/w_sqrtf.c: Likewise.
50575         * math/w_sqrtl.c: Likewise.
50576         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50577         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50578         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50579         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50580         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50582 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50584         [BZ #9739]
50585         * manual/string.texi (strnlen): Use correct parameter name in
50586         equivalent expression.
50588 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50590         [BZ #11174]
50591         * manual/users.texi (seteuid): Consistently use neweuid for
50592         argument name.
50594 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50596         [BZ #13704]
50597         * manual/nss.texi (Services in the NSS configuration): Correct
50598         list of services in example configuration file.
50600 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
50602         [BZ #11322]
50603         * manual/arith.texi: Remove statements about negative zero
50604         behaving identically to zero.
50606 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
50608         [BZ #5993]
50609         * manual/install.texi: Do not document upgrading from libc5.
50611 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
50613         [BZ #4596]
50614         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50616 2012-02-18  David S. Miller  <davem@davemloft.net>
50618         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50619         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50620         %o7 across the call.
50621         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50622         instead.
50623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50624         SETUP_PIC_REG_LEAF.
50625         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50626         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50627         * sysdeps/sparc/crtn.S: Likewise.
50629 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
50631         * aout/Makefile: Remove.
50633 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
50635         [BZ #13058]
50636         * manual/examples/argp-ex1.c (main): Format definition in GNU
50637         style.
50638         * manual/examples/argp-ex2.c (main): Likewise.
50639         * manual/examples/argp-ex3.c (main): Likewise.
50640         * manual/examples/argp-ex4.c (main): Likewise.
50641         * manual/examples/longopt.c (main): Use new-style prototype
50642         definition.
50643         * manual/examples/strncat.c (main): Specify return type and use
50644         (void) for arguments.
50645         * manual/examples/subopt.c (main): Use char **argv argument.
50647 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50649         [BZ #5077]
50650         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50651         rounding modes.
50653 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
50655         [BZ #6907]
50656         * manual/string.texi (strchr): Change when strchrnul is
50657         recommended.
50659 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
50661         [BZ #174]
50662         * manual/locale.texi (setlocale): Document LOCPATH.
50664 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50666         [BZ #10210]
50667         * manual/process.texi (execle): Move @dots{} before last argument.
50669 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
50671         [BZ #12047]
50672         * manual/charset.texi (Generic Charset Conversion): Fix typo
50673         (LC_TYPE -> LC_CTYPE).
50675 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
50677         [BZ #5805]
50678         * manual/arith.texi (scalbn): Use @var{} on parameter names.
50679         (scalbnf): Likewise.
50680         (scalbnl): Likewise.
50681         (scalbln): Likewise.
50682         (scalblnf): Likewise.
50683         (scalblnl): Likewise.
50684         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50685         (vwarnx): Likewise.
50686         (verr): Likewise.
50687         (verrx): Likewise.
50688         * manual/filesys.texi (telldir): Use braces around return type.
50689         * manual/llio.texi (mmap): Add space after comma.
50690         (mmap64): Likewise.
50691         * manual/math.texi (jn): Use @var{} on parameter names.
50692         (jnf): Likewise.
50693         (jnl): Likewise.
50694         (yn): Likewise.
50695         (ynf): Likewise.
50696         (ynl): Likewise.
50697         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50698         line.
50699         * manual/resource.texi (ulimit): Use @dots{} instead of literal
50700         "...".
50701         (sched_get_priority_min): Remove semicolon on @deftypefun line.
50702         (sched_get_priority_max): Likewise.
50703         * manual/signal.texi (sigvec): Add space after comma.
50704         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50705         names.
50706         (if_indextoname): Likewise.
50707         (if_freenameindex): Likewise.
50708         (sendto): Use ',' instead of '.' in prototype.
50709         * manual/startup.texi (syscall): Use @dots{} instead of literal
50710         "...".
50711         * manual/stdio.texi (__fpending): Separate initial words of
50712         paragraph from @deftypefun line.
50713         * manual/syslog.texi (syslog): Use @dots{} instead of literal
50714         "...".
50715         (vsyslog): Use @var{} on parameter names.
50716         * manual/terminal.texi (stty): Use @var{} on parameter names.
50717         * manual/users.texi (getutmp): Use @var{} on parameter names.
50718         (getutmpx): Likewise.
50720 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50722         [BZ #6884]
50723         * manual/stdio.texi (fopen): Fix typos in description of
50724         ",ccs=STRING".
50726 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
50728         [BZ #4026]
50729         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50730         get clock_id definition.
50732 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
50734         [BZ #4822]
50735         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50736         (madvise): Cast every argument to void on its own.
50738 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50740         [BZ #9902]
50741         * manual/startup.texi (Exit Status): Fix typo.
50743 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50745         [BZ #10140]
50746         * manual/examples/argp-ex1.c: Include <stdlib.h>.
50747         * manual/examples/argp-ex2.c: Likewise.
50748         * manual/examples/argp-ex3.c: Likewise.
50750 2012-02-16  Richard Henderson  <rth@redhat.com>
50752         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50753         * sysdeps/s390/s390-32/initfini.c: Remove.
50754         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50755         * sysdeps/s390/s390-64/initfini.c: Remove.
50757 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50759         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50760         compiler output for sysdeps/generic/initfini.c.
50761         * sysdeps/sh/elf/initfini.c: Remove file.
50763 2012-02-16  David S. Miller  <davem@davemloft.net>
50765         [BZ #11494]
50766         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50768         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50769         * sysdeps/sparc/crti.S: New file.
50770         * sysdeps/sparc/crtn.S: New file.
50771         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50772         * sysdeps/sparc/sparc64/Makefile: Likewise.
50774 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
50776         [BZ #3335]
50777         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50779 2012-02-15  Roland McGrath  <roland@hack.frob.com>
50781         [BZ #4822]
50782         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50784         * mach/devstream.c (cookie_io_functions_t): Macro removed.
50785         (write, read, close): Likewise.
50786         Patch by Aurelien Jarno <aurelien@aurel32.net>.
50788 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
50790         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50791         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50792         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50793         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50794         <bits/signalfd.h>.
50795         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50796         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50797         bits/signalfd.h.
50799 2012-02-14  Marek Polacek  <polacek@redhat.com>
50801         * sysdeps/x86_64/crti.S: New file.
50802         * sysdeps/x86_64/crtn.S: New file.
50803         * sysdeps/x86_64/elf/initfini.c: Remove file.
50805 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50807         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50808         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50809         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50810         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50811         <bits/inotify.h>.
50812         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50814         bits/inotify.h.
50816 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50818         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50819         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50820         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50821         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50822         <bits/eventfd.h>.
50823         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50824         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50825         bits/eventfd.h.
50827 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
50829         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50830         __feraiseexcept instead of feraiseexcept.
50832         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50833         nanosleep invocations.
50834         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50835         strings, and add error checking for a nanosleep invocations.
50837 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
50839         Replace FSF snail mail address with URLs, as per GNU coding standards.
50840         Most of the snail mail addresses were wrong anyway, and omitting
50841         them makes the source code easier to maintain.  Almost all of the
50842         changes are to license notices and to locale LC_IDENTIFICATION
50843         addresses, except for this one:
50844         * manual/libc.texinfo: In "Published by", give the FSF's URL,
50845         not its snail mail address.
50847 2012-02-09  Richard Henderson  <rth@twiddle.net>
50849         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50850         of kernel-features.h.
50852         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50854 2012-02-08  Marek Polacek  <polacek@redhat.com>
50856         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50857         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50858         * sysdeps/gnu/_G_config.h: Likewise.
50859         * sysdeps/generic/_G_config.h: Likewise.
50861 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
50863         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50864         tests.
50865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50867         * sysdeps/powerpc/powerpc32/crti.S: New file.
50868         * sysdeps/powerpc/powerpc32/crtn.S: New file.
50869         * sysdeps/powerpc/powerpc64/crti.S: New file.
50870         * sysdeps/powerpc/powerpc64/crtn.S: New file.
50872         * Makeconfig (have-initfini): Don't set.
50873         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50874         * configure.in (nopic_initfini): Don't substitute.
50875         * config.h.in (HAVE_INITFINI): Don't #undef.
50876         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50877         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50879 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
50881         Support crti.S and crtn.S provided directly by architectures.
50882         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50883         [crti.S in sysdirs] (omit-deps): Likewise.
50884         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50885         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50886         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50887         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50888         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50889         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50890         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50891         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50892         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50893         compiler output for sysdeps/generic/initfini.c.
50894         * sysdeps/i386/elf/Makefile: Remove file.
50895         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50897 2012-02-07  Marek Polacek  <polacek@redhat.com>
50899         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50900         * sysdeps/gnu/_G_config.h: Likewise.
50901         * sysdeps/mach/hurd/_G_config.h: Likewise.
50903 2012-02-07  Marek Polacek  <polacek@redhat.com>
50905         * math/Makefile (tests): Add tst-CMPLX2.
50906         * math/tst-CMPLX2.c: New file.
50908 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
50910         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50912         * math/libm-test.inc (jn_test): Add missing L suffix.
50914 2012-02-06  Marek Polacek  <polacek@redhat.com>
50916         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50917         * sysdeps/i386/fpu/e_powf.S: Likewise.
50918         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50919         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50920         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50921         * sysdeps/i386/fpu/e_pow.S: Likewise.
50922         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50923         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50924         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50925         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50926         * sysdeps/i386/fpu/e_log2.S: Likewise.
50927         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50928         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50929         * sysdeps/i386/fpu/e_powl.S: Likewise.
50930         * sysdeps/i386/fpu/s_log1p.S: Likewise.
50931         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50932         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50933         * sysdeps/i386/fpu/e_logl.S: Likewise.
50934         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50935         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50936         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50937         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50938         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50939         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50940         * sysdeps/i386/fpu/e_log.S: Likewise.
50941         * sysdeps/i386/fpu/s_cexp.S: Likewise.
50942         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50943         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50944         * sysdeps/i386/fpu/e_logf.S: Likewise.
50945         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50946         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50947         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50948         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50949         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50950         * sysdeps/i386/fpu/e_log10.S: Likewise.
50951         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50952         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50953         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50954         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50955         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50956         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50957         * sysdeps/i386/asm-syntax.h: Likewise.
50958         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50959         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50960         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50961         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50962         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50963         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50964         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50965         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50966         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50967         * sysdeps/powerpc/sysdep.h: Likewise.
50968         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50969         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50971 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50973         [BZ #411]
50974         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50976 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50978         * sysdeps/i386/sysdep.h: Include <features.h>.
50979         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50980         version.
50982 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
50984         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50985         Define.
50986         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50987         LOAD_PIC_REG_STR.
50989 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50991         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50992         (SETUP_PIC_REG): Use GET_PC_THUNK.
50993         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50994         macro.
50996 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50998         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50999         for non-PIC compilation.
51000         (SETUP_PIC_REG): Add .p2align directive.
51001         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51002         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51003         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51004         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51005         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51006         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51007         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51008         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51009         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51010         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51011         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51012         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51013         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51014         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51015         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51016         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51017         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51018         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51019         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51020         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51021         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51022         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51023         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51024         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51025         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51026         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51027         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51028         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51029         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51030         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51031         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51032         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51033         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51034         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51035         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51036         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51037         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51038         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51039         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51040         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51041         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51043 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51045         * math/tst-CMPLX.c: Include <stdio.h>.
51047 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
51049         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51050         float.
51051         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51052         * sysdeps/sparc/bits/mathdef.h: Likewise.
51054 2012-01-31  Marek Polacek  <polacek@redhat.com>
51056         * libio/libio.h: Don't define _PARAMS.
51057         * locale/programs/config.h: Don't define PARAMS.
51058         * stdlib/strtol_l.c: Likewise.
51059         (__strtol_l): Remove PARAMS from the prototype.
51061 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
51063         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
51064         names.  Just use the correct names.  Remove unnecessary wrapper
51065         functions.
51066         * malloc/arena.c: Likewise.
51067         * malloc/hooks.c: Likewise.
51069         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51070         ARENA_TEST says not to.  Simplify test for creation of a new arena.
51071         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51073 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
51075         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51076         into tail calls.
51077         (update_get_addr): New function.
51078         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51079         GET_ADDR_MODULE parameter.
51081 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
51083         * crypt/cert.c: Remove __STDC__ conditionals.
51084         * crypt/crypt-entry.c: Likewise.
51085         * crypt/crypt_util.c: Likewise.
51086         * libio/filedoalloc.c: Likewise.
51087         * libio/fileops.c: Likewise.
51088         * libio/genops.c: Likewise.
51089         * libio/iofclose.c: Likewise.
51090         * libio/iofdopen.c: Likewise.
51091         * libio/iofopen.c: Likewise.
51092         * libio/iofopen64.c: Likewise.
51093         * libio/iogetdelim.c: Likewise.
51094         * libio/iopopen.c: Likewise.
51095         * libio/obprintf.c: Likewise.
51096         * libio/oldfileops.c: Likewise.
51097         * libio/oldiofclose.c: Likewise.
51098         * libio/oldiofdopen.c: Likewise.
51099         * libio/oldiofopen.c: Likewise.
51100         * libio/oldiopopen.c: Likewise.
51101         * libio/wfiledoalloc.c: Likewise.
51102         * libio/wgenops.c: Likewise.
51103         * locale/programs/xmalloc.c: Likewise.
51104         * misc/syslog.c: Likewise.
51105         * stdio-common/xbug.c: Likewise.
51106         * string/memchr.c: Likewise.
51107         * string/memcmp.c: Likewise.
51108         * string/memrchr.c: Likewise.
51109         * string/rawmemchr.c: Likewise.
51110         * sysdeps/posix/getcwd.c: Likewise.
51111         * time/strftime_l.c: Likewise.
51113 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
51115         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
51116         * config.make.in (config-cflags-sse2avx): Define.
51117         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
51118         Fix typo.
51120 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
51122         * scripts/config.guess: Update from upstream config git repository.
51123         * scripts/config.sub: Likewise.
51125 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
51127         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
51128         (EM_NUM): Update.
51129         (R_TILEPRO_*, R_TILEGX_*): New macros.
51131         * scripts/firstversions.awk: Fix bug in version range handling.
51133         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
51135         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
51137         * include/sys/epoll.h: New file.
51138         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
51139         libc_hidden_def.
51141 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
51143         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
51144         Avoid unnecessary __WORDSIZE == 64 test.
51145         (fmaxf): Use VEX format if possible.
51146         (fmax): Likewise.
51147         (fminf): Likewise.
51148         (fmin): Likewise.
51150         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
51151         * math/math_private.h: Remove libc_fegetround* and
51152         libc_fesetround*.
51153         * sysdeps/i386/configure.in: Check for -msse2avx.
51154         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
51155         also if SSE2AVX is defined.
51156         Remove libc_fegetround* and libc_fesetround*.
51157         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
51158         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
51159         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
51160         of HAS_YMM_USABLE.
51161         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51162         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51163         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51164         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51165         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51167         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
51169 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51171         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
51172         size is not set.
51173         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51175 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
51177         [BZ #13618]
51178         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
51179         relocation.
51180         * Makeconfig (libm): Define.
51181         * elf/Makefile: Add rules to build and run tst-relsort1.
51182         * elf/tst-relsort1.c: New file.
51183         * elf/tst-relsort1mod1.c: New file.
51184         * elf/tst-relsort1mod2.c: New file.
51186 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
51188         * math/s_ldexp.c: Remove __STDC__ conditionals.
51189         * math/s_ldexpf.c: Likewise.
51190         * math/s_ldexpl.c: Likewise.
51191         * math/s_nextafter.c: Likewise.
51192         * math/s_nexttowardf.c: Likewise.
51193         * math/s_significand.c: Likewise.
51194         * math/s_significandf.c: Likewise.
51195         * math/s_significandl.c: Likewise.
51196         * math/w_jnl.c: Likewise.
51197         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51198         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51199         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51200         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51201         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51202         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51203         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
51204         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51205         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51206         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51207         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51208         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51209         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51210         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51211         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51212         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51213         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51214         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51215         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51216         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51217         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51218         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51219         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51220         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51221         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51222         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51223         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51224         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51225         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51226         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51227         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51228         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51229         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51230         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51231         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51232         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51233         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51234         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51235         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51236         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51237         * sysdeps/ieee754/k_standard.c: Likewise.
51238         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51239         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51240         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51241         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51242         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51243         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51244         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51245         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51246         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51247         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51248         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51249         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51250         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51251         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51252         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51253         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51254         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51255         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51256         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51257         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51258         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51259         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51260         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51261         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51262         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51263         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51264         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51265         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51266         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51267         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51268         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51269         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51270         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51271         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51272         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51273         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51274         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51275         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51276         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51277         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51278         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51279         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51280         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51281         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51282         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51283         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51284         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51285         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51286         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51287         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51288         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51289         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51290         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51291         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51292         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51293         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51294         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51295         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51296         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51297         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51298         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51299         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51300         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51301         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51302         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51303         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51304         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51305         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51306         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51307         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51308         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51309         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51310         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51311         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51312         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51313         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51314         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51315         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51316         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51317         * sysdeps/ieee754/s_matherr.c: Likewise.
51318         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51319         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51320         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51321         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51323 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
51325         * crypt/md5.h: Remove __STDC__ conditionals.
51326         * libio/libioP.h: Likewise.
51327         * locale/programs/config.h: Likewise.
51328         * sysdeps/generic/sysdep.h: Likewise.
51329         * sysdeps/i386/asm-syntax.h: Likewise.
51330         * sysdeps/s390/asm-syntax.h: Likewise.
51331         * sysdeps/unix/sysdep.h: Likewise.
51332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51335 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
51337         * libio/libio.h: Remove __STDC__ conditionals.
51338         * malloc/obstack.h: Likewise.
51339         * math/complex.h: Likewise.
51340         * math/math.h: Likewise.
51341         * sysdeps/generic/_G_config.h: Likewise.
51342         * sysdeps/gnu/_G_config.h: Likewise.
51343         * sysdeps/mach/hurd/_G_config.h: Likewise.
51344         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51345         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51346         * sysdeps/sparc/bits/mathdef.h: Likewise.
51348 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
51350         [BZ #13583]
51351         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
51352         Clean up HAS_* macros.
51353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
51354         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51355         possible.
51356         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51357         HAS_AVX.
51358         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51359         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51360         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51361         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51362         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51364 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
51366         * elf/tst-unique3.cc (gets): Remove declaration.
51367         * elf/tst-unique3lib.cc (gets): Likewise.
51368         * elf/tst-unique3lib2.cc (gets): Likewise.
51369         * elf/tst-unique4.cc (gets): Likewise.
51371 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
51373         * include/stdio.h: Add C++ protection.  Add gets declarations and
51374         definitions.
51375         * debug/tst-chk1.c: Don't declare gets here.
51376         * stdio-common/tst-gets.c: Likewise.
51378 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
51380         * posix/glob: Remove directory.
51382 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
51384         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51386 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
51388         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51389         of the non-standard EPFNOSUPPORT.
51391 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51393         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51394         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51395         ANYWHERE set to 1 only on KERN_NO_SPACE error.
51397 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
51399         * wcsmbs/uchar.h: Test __STDC_VERSION__.
51401 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
51403         * nscd/aicache.c (addhstaiX): Do not cache negative results of
51404         transient errors.
51405         * nscd/grpcache.c (cache_addgr): Likewise.
51406         * nscd/hstcache.c (cache_addhst): Likewise.
51407         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51408         * nscd/pwdcache.c (cache_addpw): Likewise.
51409         * nscd/servicescache.c (cache_addserv): Likewise.
51411 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
51413         * malloc/malloc.c: Various cleanups.
51414         * malloc/hooks.c: Likewise.
51416         * stdlib/Makefile (tests): Add bug-fmtmsg1.
51417         * stdlib/bug-fmtmsg1.c: New file.
51419         * stdlib/fmtmsg.c (init): Add missing unlock.
51420         Patch by Peng Haitao <penght@cn.fujitsu.com>.
51422 2012-01-12  Marek Polacek  <polacek@redhat.com>
51424         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51425         and _GNU_SOURCE.
51427 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51429         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51430         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51431         macro to ensure uniqueness of label name.
51432         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51433         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51435 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
51437         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51439         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51440         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51441         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51442         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51444 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
51446         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51448         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51449         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51450         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51452         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51454         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
51455         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51456         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51457         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
51459         * math/bits/math-finite.h: Add ldexp support.
51461 2012-01-10  Marek Polacek  <polacek@redhat.com>
51463         * locale/programs/localedef.h (show_archive_content): Add noreturn
51464         attribute.
51466 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
51468         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51470 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51472         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51474         * io/Makefile (headers): Add bits/poll2.h.
51476 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
51478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51479         typo #include statement.
51481 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51483         * include/sys/cdefs.h: Define __attribute_alloc_size.
51484         * catgets/gencat.c: Add alloc_size attribute and apply consistently
51485         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51486         * elf/pldd.c: Likewise.
51487         * iconv/iconv_charmap.c: Likewise.
51488         * iconv/iconvconfig.c: Likewise.
51489         * iconv/strtab.c: Likewise.
51490         * locale/programs/locale.c: Likewise.
51491         * locale/programs/localedef.h: Likewise.
51492         * locale/programs/simple-hash.c: Likewise.
51493         * nscd/nscd.h: Likewise.
51494         * nss/makedb.c: Likewise.
51495         * sysdeps/generic/ldconfig.h: Likewise.
51496         * locale/programs/localedef.c: Remove xmalloc prototype.
51497         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51499 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51501         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51502         appropriate.
51504 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51506         * math/Makefile (tests): Add tst-CMPLX.
51507         * math/tst-CMPLX.c: New file.
51509         * math/complex.h (CMPLXL): Fix typo.
51511         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51512         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51513         GLIBC_2.16.
51514         * debug/tst-chk1.c: Add poll and ppoll tests.
51515         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51516         * include/sys/poll.h: Add hidden proto for ppoll.
51517         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51518         * sysdeps/mach/hurd/ppoll.c: Likewise.
51519         * io/ppoll.c: Likewise.
51520         * debug/poll_chk.c: New file.
51521         * debug/ppoll_chk.c: New file.
51522         * include/bits/poll2.h: New file.
51523         * io/bits/poll2.h: New file.
51525         [BZ #1350]
51526         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51528         * configure.in: static is always set to yes.  Remove.
51529         * config.make.in: Don't set build-static.
51530         * Makeconfig: Remove use of build-static.
51531         * dlfcn/Makefile: Likewise.
51532         * elf/Makefile: Likewise.
51533         * math/Makefile: Likewise.
51534         * misc/Makefile: Likewise.
51535         * nptl/Makefile: Likewise.
51536         * sysdeps/mach/hurd/Makefile: Likewise.
51538         * configure.in: PWD_P is not used anymore.
51539         * config.make.in: Remove PWD_P entry.
51541         * configure.in: Remove last remnants of RANLIB.
51542         No need to check for signed size_t anymore.
51543         Don't set libc_commonpagesize and libc_relro_required here for Alpha
51544         and IA-64.
51545         Remove __builtin_expect test because we require at least gcc 3.4.
51546         * aclocal.m4: Likewise.
51548         * wcsmbs/mbrtoc16.c: Implement using towc function.
51549         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51550         * wcsmbs/wcsmbsload.c: Likewise.
51551         * iconv/gconv_simple.c: Likewise.
51552         * iconv/gconv_int.h: Likewise.
51553         * iconv/gconv_builtin.h: Likewise.
51554         * iconv/iconv_prog.c: Remove CHAR16 handling.
51556         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51558         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51560         * configure.in: Remove --with-elf and --enable-bounded options.
51561         Dont set base_machine for ia64.  More non-ELF conditions removed.
51562         Remove testing and setting of leading underscore information.
51563         * config.make.in (build-bounded): Set to no.
51564         * config.h.in: Remove NO_UNDERSCORES entry.
51565         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
51566         them.
51567         * csu/start.c: Remove !NO_UNDERSCORE code.
51568         * locale/localeinfo.h: Likewise.
51569         * sysdeps/generic/machine-gmon.h: Likewise.
51570         * sysdeps/generic/sysdep.h: Likewise.
51571         * sysdeps/i386/sysdep.h: Likewise.
51572         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51573         * sysdeps/mach/sysdep.h: Likewise.
51574         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51575         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51576         * sysdeps/sh/sysdep.h: Likewise.
51577         * sysdeps/sparc/sparc32/alloca.S: Likewise.
51578         * sysdeps/unix/i386/sysdep.S: Likewise.
51579         * sysdeps/unix/sparc/start.c: Likewise.
51580         * sysdeps/unix/sparc/sysdep.S: Likewise.
51581         * sysdeps/unix/sparc/sysdep.h: Likewise.
51582         * sysdeps/unix/start.c: Likewise.
51583         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51584         * sysdeps/x86_64/sysdep.h: Likewise.
51586 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
51588         [BZ #13553]
51589         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51590         for non-gcc.
51591         * argp/argp-fmtstream.h: Use const instead __const.
51592         * argp/argp.h: Likewise.
51593         * assert/assert.h: Likewise.
51594         * bits/fenv.h: Likewise.
51595         * bits/sched.h: Likewise.
51596         * bits/sigset.h: Likewise.
51597         * bits/sigthread.h: Likewise.
51598         * catgets/nl_types.h: Likewise.
51599         * conform/data/pthread.h-data: Likewise.
51600         * crypt/crypt-private.h: Likewise.
51601         * crypt/crypt.h: Likewise.
51602         * crypt/crypt_util.c: Likewise.
51603         * ctype/ctype.h: Likewise.
51604         * debug/execinfo.h: Likewise.
51605         * debug/mbsnrtowcs_chk.c: Likewise.
51606         * debug/mbsrtowcs_chk.c: Likewise.
51607         * debug/wcsnrtombs_chk.c: Likewise.
51608         * debug/wcsrtombs_chk.c: Likewise.
51609         * debug/wcstombs_chk.c: Likewise.
51610         * dirent/dirent.h: Likewise.
51611         * dlfcn/dlfcn.h: Likewise.
51612         * elf/neededtest4.c: Likewise.
51613         * grp/grp.h: Likewise.
51614         * gshadow/gshadow.h: Likewise.
51615         * iconv/gconv.h: Likewise.
51616         * iconv/gconv_int.h: Likewise.
51617         * iconv/gconv_simple.c: Likewise.
51618         * iconv/iconv.h: Likewise.
51619         * iconv/loop.c: Likewise.
51620         * iconv/skeleton.c: Likewise.
51621         * include/aio.h: Likewise.
51622         * include/aliases.h: Likewise.
51623         * include/argz.h: Likewise.
51624         * include/arpa/inet.h: Likewise.
51625         * include/assert.h: Likewise.
51626         * include/dirent.h: Likewise.
51627         * include/dlfcn.h: Likewise.
51628         * include/execinfo.h: Likewise.
51629         * include/fcntl.h: Likewise.
51630         * include/fenv.h: Likewise.
51631         * include/glob.h: Likewise.
51632         * include/grp.h: Likewise.
51633         * include/libintl.h: Likewise.
51634         * include/mntent.h: Likewise.
51635         * include/netdb.h: Likewise.
51636         * include/pwd.h: Likewise.
51637         * include/rpc/netdb.h: Likewise.
51638         * include/sched.h: Likewise.
51639         * include/search.h: Likewise.
51640         * include/shadow.h: Likewise.
51641         * include/signal.h: Likewise.
51642         * include/stdio.h: Likewise.
51643         * include/stdlib.h: Likewise.
51644         * include/string.h: Likewise.
51645         * include/sys/socket.h: Likewise.
51646         * include/sys/stat.h: Likewise.
51647         * include/sys/statfs.h: Likewise.
51648         * include/sys/statvfs.h: Likewise.
51649         * include/sys/syslog.h: Likewise.
51650         * include/sys/time.h: Likewise.
51651         * include/sys/uio.h: Likewise.
51652         * include/time.h: Likewise.
51653         * include/unistd.h: Likewise.
51654         * include/utmp.h: Likewise.
51655         * include/wchar.h: Likewise.
51656         * include/wctype.h: Likewise.
51657         * inet/aliases.h: Likewise.
51658         * inet/arpa/inet.h: Likewise.
51659         * inet/netinet/ether.h: Likewise.
51660         * inet/netinet/in.h: Likewise.
51661         * intl/libintl.h: Likewise.
51662         * io/bits/fcntl2.h: Likewise.
51663         * io/fcntl.h: Likewise.
51664         * io/ftw.h: Likewise.
51665         * io/sys/poll.h: Likewise.
51666         * io/sys/stat.h: Likewise.
51667         * io/sys/statfs.h: Likewise.
51668         * io/sys/statvfs.h: Likewise.
51669         * io/utime.h: Likewise.
51670         * libio/bits/stdio.h: Likewise.
51671         * libio/bits/stdio2.h: Likewise.
51672         * libio/libio.h: Likewise.
51673         * libio/libioP.h: Likewise.
51674         * libio/stdio.h: Likewise.
51675         * locale/lc-ctype.c: Likewise.
51676         * locale/locale.h: Likewise.
51677         * login/utmp.h: Likewise.
51678         * malloc/arena.c: Likewise.
51679         * malloc/malloc.c: Likewise.
51680         * malloc/malloc.h: Likewise.
51681         * malloc/mcheck.c: Likewise.
51682         * malloc/mtrace.c: Likewise.
51683         * math/bits/mathcalls.h: Likewise.
51684         * math/fenv.h: Likewise.
51685         * math/math_private.h: Likewise.
51686         * misc/bits/error.h: Likewise.
51687         * misc/bits/syslog.h: Likewise.
51688         * misc/err.h: Likewise.
51689         * misc/error.h: Likewise.
51690         * misc/fstab.h: Likewise.
51691         * misc/mntent.h: Likewise.
51692         * misc/regexp.h: Likewise.
51693         * misc/search.h: Likewise.
51694         * misc/sgtty.h: Likewise.
51695         * misc/sys/mman.h: Likewise.
51696         * misc/sys/syslog.h: Likewise.
51697         * misc/sys/uio.h: Likewise.
51698         * misc/sys/xattr.h: Likewise.
51699         * misc/ttyent.h: Likewise.
51700         * nis/rpcsvc/ypclnt.h: Likewise.
51701         * nss/nss.h: Likewise.
51702         * posix/bits/unistd.h: Likewise.
51703         * posix/fnmatch.h: Likewise.
51704         * posix/glob.h: Likewise.
51705         * posix/sched.h: Likewise.
51706         * posix/spawn.h: Likewise.
51707         * posix/sys/wait.h: Likewise.
51708         * posix/unistd.h: Likewise.
51709         * posix/wordexp.h: Likewise.
51710         * pwd/pwd.h: Likewise.
51711         * resolv/netdb.h: Likewise.
51712         * resource/sys/resource.h: Likewise.
51713         * rt/aio.h: Likewise.
51714         * rt/bits/mqueue2.h: Likewise.
51715         * rt/mqueue.h: Likewise.
51716         * shadow/shadow.h: Likewise.
51717         * signal/signal.h: Likewise.
51718         * socket/send.c: Likewise.
51719         * socket/sendto.c: Likewise.
51720         * socket/sys/socket.h: Likewise.
51721         * stdio-common/printf.h: Likewise.
51722         * stdlib/bits/stdlib.h: Likewise.
51723         * stdlib/fmtmsg.h: Likewise.
51724         * stdlib/monetary.h: Likewise.
51725         * stdlib/stdlib.h: Likewise.
51726         * stdlib/ucontext.h: Likewise.
51727         * streams/stropts.h: Likewise.
51728         * string/argz.h: Likewise.
51729         * string/bits/string2.h: Likewise.
51730         * string/string.h: Likewise.
51731         * string/strings.h: Likewise.
51732         * sunrpc/rpc/auth.h: Likewise.
51733         * sunrpc/rpc/auth_des.h: Likewise.
51734         * sunrpc/rpc/clnt.h: Likewise.
51735         * sunrpc/rpc/netdb.h: Likewise.
51736         * sunrpc/rpc/pmap_clnt.h: Likewise.
51737         * sunrpc/rpc/xdr.h: Likewise.
51738         * sysdeps/generic/inttypes.h: Likewise.
51739         * sysdeps/generic/net/if.h: Likewise.
51740         * sysdeps/generic/sys/swap.h: Likewise.
51741         * sysdeps/gnu/net/if.h: Likewise.
51742         * sysdeps/gnu/utmpx.h: Likewise.
51743         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51744         * sysdeps/i386/i486/bits/string.h: Likewise.
51745         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51746         * sysdeps/s390/bits/string.h: Likewise.
51747         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51748         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51749         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51750         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51751         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51752         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51753         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51754         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51755         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51756         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51757         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51758         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51759         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51760         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51761         * sysdeps/unix/sysv/linux/readv.c: Likewise.
51762         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51763         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51764         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51765         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51766         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51767         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51768         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51769         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51770         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51771         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51772         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51773         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51774         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51775         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51776         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51777         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51778         * sysvipc/sys/ipc.h: Likewise.
51779         * sysvipc/sys/msg.h: Likewise.
51780         * sysvipc/sys/sem.h: Likewise.
51781         * sysvipc/sys/shm.h: Likewise.
51782         * termios/termios.h: Likewise.
51783         * time/sys/time.h: Likewise.
51784         * time/time.h: Likewise.
51785         * wcsmbs/bits/wchar2.h: Likewise.
51786         * wcsmbs/uchar.h: Likewise.
51787         * wcsmbs/wchar.h: Likewise.
51788         * wctype/wctype.h: Likewise.
51790         [BZ #13551]
51791         * Makeconfig: Remove all but ELF support including AIX support.
51792         * Makerules: Likewise.
51793         * config.h.in: Likewise.
51794         * config.make.in: Likewise.
51795         * configure: Likewise.
51796         * configure.in: Likewise.
51797         * csu/Makefile: Likewise.
51798         * csu/version.c: Likewise.
51799         * debug/Makefile: Likewise.
51800         * dlfcn/Makefile: Likewise.
51801         * elf/Makefile: Likewise.
51802         * extra-lib.mk: Likewise.
51803         * iconv/Makefile: Likewise.
51804         * include/libc-symbols.h: Likewise.
51805         * include/shlib-compat.h: Likewise.
51806         * resolv/Makefile: Likewise.
51807         * resolv/res_libc.c: Likewise.
51808         * rt/Makefile: Likewise.
51809         * sysdeps/i386/asm-syntax.h: Likewise.
51810         * sysdeps/i386/sysdep.h: Likewise.
51811         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51812         * sysdeps/mach/sysdep.h: Likewise.
51813         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51814         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51815         * sysdeps/s390/asm-syntax.h: Likewise.
51816         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51817         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51818         * sysdeps/sh/sysdep.h: Likewise.
51819         * sysdeps/unix/sparc/sysdep.h: Likewise.
51820         * sysdeps/wordsize-32/divdi3.c: Likewise.
51821         * sysdeps/x86_64/sysdep.h: Likewise.
51823         * argp/Versions: Remove _argp_unlock_xxx.
51825         [BZ #13559]
51826         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
51827         * abilist/libBrokenLocale.abilist: Likewise.
51828         * abilist/libanl.abilist: Likewise.
51829         * abilist/libc.abilist: Likewise.
51830         * abilist/libcrypt.abilist: Likewise.
51831         * abilist/libdl.abilist: Likewise.
51832         * abilist/libm.abilist: Likewise.
51833         * abilist/libnsl.abilist: Likewise.
51834         * abilist/libpthread.abilist: Likewise.
51835         * abilist/libresolv.abilist: Likewise.
51836         * abilist/librt.abilist: Likewise.
51837         * abilist/libthread_db.abilist: Likewise.
51838         * abilist/libutil.abilist: Likewise.
51839         * abilist/libnss_db.abilist: New file.
51841         * scripts/abilist.awk: Add support for indirect functions.
51843         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51845         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51847         * shlib-versions: Remove entries for ports architectures.
51849         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
51850         files in ports.
51851         * elf/stackguard-macros.h: Remove support for IA-64.
51852         * elf/tst-auditmod1.c: Likewise.
51853         * sysdeps/generic/ldsodefs.h: Likewise.
51855         * sysdeps/unix/sysv/linux/configure.in: Ports should define
51856         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51857         configure files.
51859         [BZ #13552]
51860         * configure.in: Remove --enable-omitfp support.
51861         * FAQ.in: Adjust.
51862         * config.make.in: Likewise.
51863         * Makeconfig: Likewise.
51864         * manual/install.texi: Likewise.
51866         In case anyone cares, the IA-64 architecture could move to ports.
51867         * sysdeps/ia64/*: Removed.
51868         * sysdeps/unix/sysv/linux/ia64/*: Removed.
51869         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51871         [BZ #13555]
51872         * configure.in: Remove entries for unsupported architectures.
51874         [BZ #13533]
51875         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51876         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
51877         routines.
51878         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51879         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51880         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
51881         fall back to using wcrtomb.
51882         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51883         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
51884         renaming.
51885         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51886         * wcsmbs/tst-c16c32-1.c: New file.
51888         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51889         local variable.
51891         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51893         * elf/tst-unique3.cc: Add explicit declaration of gets.
51894         * elf/tst-unique3lib.cc: Likewise.
51895         * elf/tst-unique3lib2.cc: Likewise.
51896         * elf/tst-unique4.cc: Likewise.
51898         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51900 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
51902         [BZ #13566]
51903         * assert/assert.h (static_assert): Don't define for C++.
51904         * libio/stdio.h (gets): Do declare for C++ <= C++11.
51905         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51907 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
51909         * iconv/loop.c (single loop): Fix assertion in storing of
51910         remaining bytes.
51912         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51914 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
51916         * posix/getconf.c: Update copyright year.
51917         * nss/getent.c: Likewise.
51918         * nss/makedb.c: Likewise.
51919         * iconv/iconvconfig.c: Likewise.
51920         * iconv/iconv_prog.c: Likewise.
51921         * elf/ldconfig.c: Likewise.
51922         * elf/pldd.c: Likewise.
51923         * elf/sotruss.ksh: Likewise.
51924         * catgets/gencat.c: Likewise.
51925         * csu/version.c: Likewise.
51926         * elf/ldd.bash.in: Likewise.
51927         * elf/sprof.c (print_version): Likewise.
51928         * locale/programs/locale.c: Likewise.
51929         * locale/programs/localedef.c: Likewise.
51930         * login/programs/pt_chown.c: Likewise.
51931         * nscd/nscd.c (print_version): Likewise.
51932         * debug/xtrace.sh: Likewise.
51933         * malloc/memusage.sh: Likewise.
51934         * malloc/mtrace.pl: Likewise.
51935         * debug/catchsegv.sh: Likewise.
51937 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
51939         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51940         pure attribute.
51942 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
51944         [BZ #13533]
51945         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51946         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51947         transformations.
51948         * iconv/gconv_int.h: Likewise.
51949         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51950         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51951         from libc for GLIBC_2.16.
51952         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51953         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51954         * wcsmbs/uchar.h: Really define mbstate_t.
51955         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51956         * wcsmbs/c16rtomb.c: New file.
51957         * wcsmbs/mbrtoc16.c: New file.
51958         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51959         for C/POSIX locale.
51960         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51961         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51963         * wcsmbs/wchar.h: Add missing __restrict.
51965 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51967         [BZ #13532]
51968         * time/Makefile (routines): Add timespec_get.
51969         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51970         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
51971         timespec for ISO C11.
51972         * time/timespec_get.c: New file.
51973         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51974         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51976         [BZ #13531]
51977         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51978         * stdlib/stdlib.h: Declare aligned_alloc.
51979         * Versions.def: Add GLIBC_2.16 for libc.
51980         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51982         [BZ 13527]
51983         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51984         ISO C11.
51986         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51987         code.
51989         [BZ #13528]
51990         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51992         [BZ #13529]
51993         * assert/assert.h (static_assert): Define.
51995         * version.h: Update for 2.16 development version.
51997         [BZ #13526]
51998         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51999         _ISOC11_SOURCE.
52001         * version.h (RELEASE): Bump for 2.15 release.
52002         * include/features.h (__GLIBC_MINOR__): Bump to 15.
52004         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52005         Patch by Marek Polacek <mpolacek@redhat.com>.
52007         * bits/byteswap.h: Protect long long constants with __extension__.
52008         * sysdeps/i386/bits/byteswap.h: Likewise.
52009         * sysdeps/ia64/bits/byteswap.h: Likewise.
52010         * sysdeps/s390/bits/byteswap.h: Likewise.
52011         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52013 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52015         [BZ #13540]
52016         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52017         destination buffer.
52018         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52020 2011-12-23  Marek Polacek  <polacek@redhat.com>
52022         * elf/dl-addr.c (determine_info): Add inline keyword.
52023         * elf/tst-auditmod4b.c (check_avx): Likewise.
52024         * elf/tst-auditmod6b.c (check_avx): Likewise.
52025         * elf/tst-auditmod6c.c (check_avx): Likewise.
52026         * elf/tst-auditmod7b.c (check_avx): Likewise.
52028 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52030         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52031         !__SSE_MATH__.
52033 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52035         [BZ #13540]
52036         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52037         processing for last bytes.
52039 2011-08-06  Bruno Haible  <bruno@clisp.org>
52041         [BZ #13061]
52042         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52043         U+0385, not to U+1FEE.
52045         [BZ #13062]
52046         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52047         entry for U+00A5 U+0301.
52049 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
52051         [BZ #13166]
52052         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52053         buffer for the output is too small.
52055         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52056         optimization.
52058         [BZ #13185]
52059         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52060         SSE flags if possible.
52062 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52064         [BZ #13540]
52065         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52066         processing for last bytes.
52068 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
52070         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52071         (syscall-list-default-options, syscall-list-default-condition)
52072         (syscall-list-includes): Define.
52073         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52074         list of ABIs and options and #if conditions for each ABI.  Do not
52075         handle common syscalls between ABIs specially.
52076         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52077         Remove.
52078         (syscall-list-variants, syscall-list-32bit-options)
52079         (syscall-list-32bit-condition, syscall-list-64bit-options)
52080         (syscall-list-64bit-condition): Define.
52081         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52082         (syscall-list-variants, syscall-list-32bit-options)
52083         (syscall-list-32bit-condition, syscall-list-64bit-options)
52084         (syscall-list-64bit-condition): Define.
52085         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52086         Remove.
52087         (syscall-list-variants, syscall-list-32bit-options)
52088         (syscall-list-32bit-condition, syscall-list-64bit-options)
52089         (syscall-list-64bit-condition): Define.
52090         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
52091         Remove.
52092         (syscall-list-variants, syscall-list-32bit-options)
52093         (syscall-list-32bit-condition, syscall-list-64bit-options)
52094         (syscall-list-64bit-condition): Define.
52096 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
52098         * locale/iso-639.def: Add brx entry.
52100         [BZ #13328]
52101         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52102         Proposed by Mariusz_Cukr <marcukr@op.pl>.
52104         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52105         __feraiseexcept_renamed.
52107 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
52109         [BZ #13538]
52110         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
52111         EPOLLET with unsigned values.
52112         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52113         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52115         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
52116         to large cancellation.
52117         * math/s_cacoshf.c: Likewise.
52118         * math/s_cacoshl.c: Likewise.
52120 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
52122         [BZ #13305]
52123         [BZ #12786]
52124         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
52125         * math/s_cacoshf.c: Likewise.
52126         * math/s_cacoshl.c: Likewise.
52128 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
52130         [BZ #13439]
52131         * iconv/gconv.h: Define __GCONV_SWAP.
52132         * iconvdata/unicode.c: The swap bit must be stored in __flags.
52133         * iconvdata/utf-16.c: Likewise.
52134         * iconvdata/utf-32.c: Likewise.
52136 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
52138         [BZ #13524]
52139         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
52140         numerator after shifting it by one limb.
52142 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
52144         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
52145         under [__USE_EXTERN_INLINES].
52147 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
52149         [BZ #13446]
52150         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
52152 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52154         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
52155         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
52156         optimized code.
52157         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
52158         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
52159         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
52160         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
52161         for strncasecmp/strncasecmp_l compilation.
52162         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
52163         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
52165 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
52167         [BZ #13484]
52168         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
52169         of __asm__.
52171 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
52173         [BZ #13506]
52174         * time/tzfile.c (__tzfile_read): Check values from file header.
52176 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52178         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
52179         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
52180         * powerpc/powerpc32/dl-start.S: Likewise.
52181         * powerpc/powerpc32/elf/start.S: Likewise.
52182         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52183         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
52184         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
52185         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
52186         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52187         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
52188         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
52189         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52190         * powerpc/powerpc32/fpu/s_round.S: Likewise.
52191         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52192         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52193         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52194         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
52195         * powerpc/powerpc32/memset.S: Likewise.
52196         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52197         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52198         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52199         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52200         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52201         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52202         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52203         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52204         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
52205         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
52206         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
52207         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52208         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52210 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52212         * math/libm-test.inc: Added more nearbyint tests.
52213         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52214         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52215         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52216         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52218 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
52220         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52221         FD_CLOEXEC.
52223 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52225         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52226         Add wcscpy-ssse3 wcscpy-c.
52227         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52228         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52229         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52230         * sysdeps/x86_64/wcschr.S: New file.
52231         * sysdeps/x86_64/wcsrchr.S: New file.
52232         * string/test-strcmp.c: Remove checking of wcscmp function for
52233         wrong alignments.
52234         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52235         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52236         wcsrchr-sse2 wcsrchr-c.
52237         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52238         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52239         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52240         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52241         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52242         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52243         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52244         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52245         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52246         * wcsmbc/wcschr.c (WCSCHR): New macro.
52248 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52250         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52251         * wcsmbs/test-wcsrchr.c: New file.
52252         * string/test-strrchr.c: Add wcsrchr support.
52253         (WIDE): New macro.
52254         * wcsmbs/test-wcscpy.c: New file.
52255         * string/test-strcpy.c: Add wcscpy support.
52256         (WIDE): New macro.
52258 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
52260         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52261         the inner loop.
52263 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
52265         [BZ #13472]
52266         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52268 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
52270         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52271         Minor optimizations.
52273         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52274         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52275         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52277 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
52279         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52280         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52281         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52282         for gcc to avoid warnings.
52283         * inet/Makefile (tests): Add tst-checks.
52284         * inet/tst-checks.c: New file.
52286         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52287         warning.
52289         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52290         __wmemcmp_sse2.
52292         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52293         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52295         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52297 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
52299         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52300         problem.
52302         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52304 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
52306         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52307         conditional on GCC version.
52308         (__arch_compare_and_exchange_val_8_acq)
52309         (__arch_compare_and_exchange_val_16_acq)
52310         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52311         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52312         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52314 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
52316         * sysdeps/sh/backtrace.c: New file.
52318 2011-12-02  Andreas Schwab  <schwab@redhat.com>
52320         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
52321         parenthesis.
52323 2011-12-01  Andreas Schwab  <schwab@redhat.com>
52325         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52326         falling back to utime.
52328 2011-11-30  Andreas Schwab  <schwab@redhat.com>
52330         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52331         expectations for float.
52333 2011-11-29  Andreas Schwab  <schwab@redhat.com>
52335         * locale/weight.h (findidx): Add parameter len.
52336         * locale/weightwc.h (findidx): Likewise.
52337         * posix/fnmatch_loop.c (FCT): Adjust caller.
52338         * posix/regcomp.c (build_equiv_class): Likewise.
52339         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52340         * posix/regexec.c (check_node_accept_bytes): Likewise.
52341         * string/strcoll_l.c (STRCOLL): Likewise.
52342         * string/strxfrm_l.c (STRXFRM): Likewise.
52344 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
52346         * Makefile.in: Remove CVSOPT handling.
52347         * configure.in: Remove use of AC_REVISION.
52348         * iconvdata/Makefile (distribute): No need to filter out CVS.
52349         * scripts/list-sources.sh: Remove CVS, subversion and monotone
52350         handling.
52352 2011-11-16  Andreas Schwab  <schwab@redhat.com>
52354         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52355         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52356         [USE_AS_STRNCASECMP_L]: Likewise.
52357         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52358         NO_TLS_DIRECT_SEG_REFS.
52359         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52360         Fix argument offsets for non-PIC.
52361         [USE_AS_STRNCASECMP_L]: Likewise.
52362         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52363         NO_TLS_DIRECT_SEG_REFS.
52365 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
52367         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
52368         O_CLOEXEC.
52369         * locale/loadlocale.c (_nl_load_locale): Likewise.
52371 2011-11-15  Andreas Schwab  <schwab@redhat.com>
52373         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52374         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52375         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52376         (SYSCALL_GETTIME): Set errno on error.
52378         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52379         count references to noai6ai_cached.
52381 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
52383         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52385         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52386         FD_CLOEXEC for /proc/self/maps.
52388         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52389         FD_CLOEXEC for /proc/meminfo.
52391         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52392         gai.conf.
52394         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
52395         FD_CLOEXEC for given file.
52397         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52399         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52400         FD_CLOEXEC for /etc/hosts.
52401         (_gethtent): Likewise.
52403         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52405         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52406         cancellation and set FD_CLOEXEC for /etc/netgroup.
52408         * nss/nss_files/files-key.c (search): Don't allow cancellation when
52409         reading /etc/publickey.
52411         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52412         allow cancellation when reading /etc/group.
52414         * nss/nss_files/files-alias.c (internal_setent): Don't allow
52415         cancellation.
52416         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
52418         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52419         when using data file.
52421         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52423         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52424         (write_nis_obj): Use "c" and "e" in fopen.
52426         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52428         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52430         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52432         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52434         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52435         locale.alias.
52437         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52439         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52441         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52443         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52444         file parsing and set FD_CLOEXEC.
52446 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
52448         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52450 2011-11-14  Andreas Schwab  <schwab@redhat.com>
52452         * malloc/arena.c (arena_get2): Don't call reused_arena when
52453         _int_new_arena failed.
52455 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
52457         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52458         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52459         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52460         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52461         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52462         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52463         to compile strcasecmp and strncasecmp.
52464         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52465         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52467         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52469 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
52471         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52472         locale-defines.sym to gen-as-const-headers.
52473         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52474         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52475         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52476         to compile strcasecmp and strncasecmp.
52477         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52478         strcasecmp_l and strncasecmp_l.
52479         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52480         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52481         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52482         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52483         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52484         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52485         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52486         * sysdeps/i386/i686/multiarch/strncase.S: New file.
52487         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52488         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52489         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52491 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
52493         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52494         result of SYSDEP_GETTIME_CPU to retval.
52495         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52496         parameter list to macro.  Remove trailing semicolon.  Adjust users.
52498         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52499         variable.
52501         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52502         mantissa words.
52503         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52505         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52506         from unused variable.
52508         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52509         DWARF definitions.
52510         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52511         for assembling.
52513         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52514         over namespaces.
52516         * sunrpc/rpc_prot.c (rejected): Fix case value.
52518         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52519         unsigned long long int to avoid warnings in shift.
52521         * posix/regex_internal.c (re_string_reconstruct): Actually use result
52522         of use of trans.
52523         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52524         variable tmp.
52526         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52527         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52528         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52530         * nis/nis_table.c (nis_list): Use variable of correct type for
52531         result of __follow_path call.
52533 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52535         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52536         of math functions ceil, trunc, floor, round, and sqrt, when
52537         avaliable on the platform.
52538         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52539         name clash.
52540         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52541         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52542         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52544 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
52546         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52547         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52549 2011-11-11  Roland McGrath  <roland@hack.frob.com>
52551         * include/unistd.h: Fix __readlink return type.
52552         Reported by Chris Metcalf <cmetcalf@tilera.com>.
52554 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
52556         * stdlib/ucontext.h: Undo last change for makecontext.
52558 2011-11-11  Andreas Schwab  <schwab@redhat.com>
52560         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52562         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52563         * setjmp/setjmp.h: Mark functions as non-leaf.
52564         * setjmp/bits/setjmp2.h: Likewise.
52565         * stdlib/ucontext.h: Likewise.
52567 2011-11-10  Andreas Schwab  <schwab@redhat.com>
52569         * malloc/arena.c (_int_new_arena): Don't increment narenas.
52570         (reused_arena): Don't check arena limit.
52571         (arena_get2): Atomically check arena limit.
52573 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
52575         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52576         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52578         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52579         instructions.
52581 2011-11-07  Andreas Schwab  <schwab@redhat.com>
52583         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52584         handler when locking.
52586         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52587         Fix size of allocated buffer.
52589 2011-11-04  Andreas Schwab  <schwab@redhat.com>
52591         [BZ #10103]
52592         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52593         declarations for long double functions.
52594         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52596         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52598 2011-11-03  Andreas Schwab  <schwab@redhat.com>
52600         * nscd/nscd.c (main): Don't start AVC thread until credentials are
52601         installed.
52603         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52604         is disabled.
52606 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52608         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52610 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52612         * include/alloca.h (stackinfo_alloca_round): Define.
52613         (extend_alloca): Use it.
52614         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52615         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52616         here.
52618         * scripts/check-local-headers.sh: Ignore libaudit.h.
52620         * nscd/Makefile (extra-objs): Make recursively expanded.
52622 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
52624         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52625         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52627         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52628         * posix/tst-rfc3484-2.c: Likewise.
52629         * posix/tst-rfc3484-3.c: Likewise.
52631         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52632         process_vm_writev.
52633         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52634         process_vm_writev.
52635         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52636         process_vm_writev from libc using GLIBC_2.15 version.
52638         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52640 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
52642         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52643         stack usage.
52645 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
52647         [BZ #13367]
52648         * nss/getent.c (initgroups_keys): Show error message in case no group
52649         names are given.
52651         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52652         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52653         __bump_nl_timestamp.
52654         * nscd/connections (nscd_init): When host database is served open
52655         netlink socket and request notification about configuration changes.
52656         (main_loop_poll): Track netlink file descriptor and bump timestamp
52657         in case data becomes available.
52658         (main_loop_epoll): Likewise.
52659         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52660         (database_pers_head): Add extra_data fileds.
52661         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52662         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52663         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52664         Adjust caller.
52665         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52666         in6ai data, call __free_in6ai.
52667         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52668         Add -DHAVE_NETLINK.
52669         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
52670         interface information.  Reuse previous data if netlink timestamp
52671         is not changed.
52672         (__bump_nl_timestamp): New function.
52673         (__free_in6ai): New function.
52675 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
52677         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52678         close_not_cancel_no_status here.
52679         (__check_pf): Reorganize code a bit to not call close twice if OOM.
52681 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52683         [BZ #13276]
52684         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52685         return value.
52687         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52688         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52689         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52691 2011-07-03  Andreas Jaeger  <aj@suse.de>
52693         [BZ #10709]
52694         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52695         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52696         * math/libm-test.inc (sin_test): Add test case.
52698 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52700         [BZ #13337]
52701         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52702         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52704         * elf/chroot_canon.c (chroot_canon): Cleanups.
52706         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52708         [BZ #13335]
52709         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52710         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52712         * string/test-strchr.c: Make usable for strchrnul testing.
52713         * string/test-strchrnul.c: New file.
52714         * string/Makefile (strop-tests): Add strchrnul.
52716         * po/it.po: Update from translation team.
52717         * po/es.po: Likewise.
52719 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
52721         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52722         the three constants needed as parameters.  Drop the others.
52723         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52724         __m128i_strloadu_tolower.
52725         Create and initialize variable zero and use it in all the places
52726         where _mm_setzero_si128 was used.
52728         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52729         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52730         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52731         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52732         anymore.
52733         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52734         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52735         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52736         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52737         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52738         __mpranred, __mptan.
52739         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52740         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52741         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52742         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52743         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52744         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52745         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52746         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52747         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52749 2011-10-28  Andreas Schwab  <schwab@redhat.com>
52751         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52752         redefine if SHARED.
52753         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52755         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52756         wide char related routines to wcsmbs subdir.
52758 2011-10-27  Andreas Schwab  <schwab@redhat.com>
52760         [BZ #13344]
52761         * misc/sys/cdefs.h (__THROWNL): Define.
52762         * posix/unistd.h: Use __THREADNL instead of __THREAD
52763         for memory synchronization functions.
52765 2011-10-26  Roland McGrath  <roland@hack.frob.com>
52767         [BZ #13349]
52768         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52769         doesn't exist.
52770         * manual/stdio.texi (Obstack Streams): Node removed.
52772 2011-10-26  Andreas Schwab  <schwab@redhat.com>
52774         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52775         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52776         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52778         * math/math_private.h (math_force_eval): Allow non-addressable
52779         arguments.
52780         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52782 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52784         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52785         file is not needed.
52787         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52788         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52789         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52790         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52791         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52792         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52793         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52794         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52795         Add AVX variants.
52796         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52797         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52798         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52799         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52800         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52801         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52802         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52803         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52804         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52805         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52806         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52807         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52808         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52809         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52810         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52811         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52812         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52813         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52814         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52816         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52817         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
52819         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52820         place.  Use VEX encoding when compiling for AVX.
52822 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52824         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52825         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52827         * string/test-strchr.c (do_test): Don't generate NUL bytes.
52829 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52831         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52832         useless if() expression.
52833         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52834         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52835         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52836         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52837         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52838         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52839         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52840         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52841         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52842         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52843         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52844         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52845         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52846         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52847         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52848         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52849         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52850         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52851         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52853         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52855 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52857         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52858         condition.
52859         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52861 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52863         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52864         .text section.  Avoid duplicate constants.
52865         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52866         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52867         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52868         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52869         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52870         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52871         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52872         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52873         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52874         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52875         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52876         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52877         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52878         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52879         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52880         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52881         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52882         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52883         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52884         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52885         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52886         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52887         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52888         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52889         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52890         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52891         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52892         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52893         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52894         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52895         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52896         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52897         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52898         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52899         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52900         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52901         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52902         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52903         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52904         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52905         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52906         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52907         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52908         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52909         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52911 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
52913         * sysdeps/x86_64/dla.h: Move to ...
52914         * sysdeps/x86_64/fpu/dla.h: ...here.
52915         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52916         situations.  Use __builtin_fma only for gcc 4.6 and up.
52918         * config.make.in: Add have-mfma4 entry.
52919         * configure.in: Substitute libc_cv_cc_fma4.
52920         * math/Makefile (dbl-only-routines): Add sincostab.
52921         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52922         Use __sincostab not sincos.
52923         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52924         name is a macro.
52925         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52926         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52927         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
52929         using __copysign.
52930         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
52931         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
52932         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52933         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52934         and __inv.
52935         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52936         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52937         __copysign.
52938         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
52939         define aliases when function name is a macro.
52940         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52941         sysdeps/ieee754/dbl-64/sincos.tbl.
52942         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52943         fma4-enabled routines.
52944         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52945         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52946         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52947         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52948         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52949         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52950         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52951         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52952         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52953         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52954         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52955         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52956         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52957         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52958         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52959         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52960         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52961         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52962         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52963         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52964         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52965         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52966         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52967         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52968         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52969         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52970         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52971         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52972         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52973         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52975         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52976         rename.
52977         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52978         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52979         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52980         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52981         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52982         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52983         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52984         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52986 2011-10-24  Andreas Schwab  <schwab@redhat.com>
52988         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52990 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52992         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52994         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52995         prediction.
52996         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52998         * string/strnlen.c: Don't define STRNLEN, reverse logic.
52999         Remove unused variable magic_bits.
53000         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53002         * string/strnlen.c: Define and use STRNLEN macro.
53003         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53004         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53005         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53006         * wcsmbs/wcslen.c: Define and use WCSLEN.
53007         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53008         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53009         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53010         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53011         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53012         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53013         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53015 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53018         strnlen-sse2-no-bsf.
53019         Rename strlen-no-bsf to strlen-sse2-no-bsf.
53020         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53021         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53022         Add strnlen support.
53023         (USE_AS_STRNLEN): New macro.
53024         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53025         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53026         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53027         * sysdeps/x86_64/wcslen.S: New file.
53029 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
53031         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53032         XMM-moves are used for copying on small sizes.
53034 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53036         * wcsmbs/Makefile (strop-tests): Add wcschr.
53037         * wcsmbs/test-wcschr.c: New file.
53038         * string/test-strchr.c: Update.
53039         Add wcschr support.
53040         (WIDE): New macro.
53042 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53044         * wcsmbs/Makefile (strop-tests): Add wcslen.
53045         * wcsmbs/test-wcslen.c: New file.
53046         * string/test-strlen.c: Update.
53047         Add wcslen support.
53048         (WIDE): New macro.
53050 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53052         * po/it.po: Update from translation team.
53054 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53056         * sysdeps/x86_64/wcscmp.S: Update.
53057         Fix wrong comparison semantics.
53058         wcscmp shall use signed comparison not unsigned.
53059         Don't use substraction to avoid overflow bug.
53060         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53061         * wcsmbc/wcscmp.c: Likewise.
53062         * string/test-strcmp.c: Likewise.
53063         Add new tests to check cases with negative values.
53065 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53067         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53068         * sysdeps/x86_64/dla.h: ...here.  New file.
53069         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53070         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53072         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53073         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53074         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53075         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53076         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53077         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53079 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
53081         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53082         __ynl_finite aliases.
53084 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
53086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53088         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53089         define DLA_FMA.
53090         [DLA_FMA] (EMULV): Use DLA_FMA.
53091         [DLA_FMA] (MUL12): Use EMULV.
53092         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53093         that are not needed.
53094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53095         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53098         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53099         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53100         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53102 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
53104         * math/s_nan.c: Undef __nan.
53105         * math/s_nanf.c: Undef __nanf.
53106         * math/s_nanl.c: Undef __nanl.
53107         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
53108         "math_private.h".
53110 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
53112         * math/s_catan.c: Add branch predictions.
53113         * math/s_catanf.c: Likewise.
53114         * math/s_catanh.c: Likewise.
53115         * math/s_catanhf.c: Likewise.
53116         * math/s_catanhl.c: Likewise.
53117         * math/s_catanl.c: Likewise.
53118         * math/s_cexp.c: Likewise.
53119         * math/s_cexpf.c: Likewise.
53120         * math/s_cexpl.c: Likewise.
53121         * math/s_clog.c: Likewise.
53122         * math/s_clog10.c: Likewise.
53123         * math/s_clog10f.c: Likewise.
53124         * math/s_clog10l.c: Likewise.
53125         * math/s_clogf.c: Likewise.
53126         * math/s_clogl.c: Likewise.
53127         * math/s_csqrt.c: Likewise.
53128         * math/s_csqrtf.c: Likewise.
53129         * math/s_csqrtl.c: Likewise.
53130         * math/s_ctanf.c: Likewise.
53131         * math/s_ctanh.c: Likewise.
53132         * math/s_ctanhf.c: Likewise.
53133         * math/s_ctanhl.c: Likewise.
53134         * math/s_ctanl.c: Likewise.
53136         * math/math_private.h: Define __nan, __nanf, __nanl.
53137         * math/s_cacosh.c: Include <math_private.h>.
53138         * math/s_cacoshl.c: Likewise.
53139         * math/s_casinh.c: Likewise.
53140         * math/s_casinhf.c: Likewise.
53141         * math/s_casinhl.c: Likewise.
53142         * math/s_ccos.c: Rely entire on ccosh.
53143         * math/s_ccosf.c: Rely entire on ccoshf.
53144         * math/s_ccosl.c: Rely entirely on ccoshl.
53145         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
53146         Remove tests for FE_INVALID.
53147         * math/s_ccoshf.c: Likewise.
53148         * math/s_ccoshl.c: Likewise.
53149         * math/s_csin.c: Likewise.
53150         * math/s_csinf.c: Likewise.
53151         * math/s_csinh.c Likewise.
53152         * math/s_csinhf.c: Likewise.
53153         * math/s_csinhl.c: Likewise.
53154         * math/s_csinl.c: Likewise.
53155         * math/s_ctan.c: Likewise.
53156         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
53157         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
53158         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
53160 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
53162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
53163         compilation problems.
53165         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
53166         __builtin_expect.
53168 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
53170         * sysdeps/i386/configure.in: Test for -mfma4 option.
53171         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
53172         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
53173         COMMON_CPUID_INDEX_80000001.
53174         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
53175         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
53176         use it if FMA3 is not supported.
53177         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
53179         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
53180         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53182 2011-10-20  Andreas Schwab  <schwab@redhat.com>
53184         [BZ #12892]
53185         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
53186         it would create a cycle with a link time dependency.
53188 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
53190         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
53191         instruction.
53192         * string/Makefile (strop-tests): Add rawmemchr.
53193         * string/test-rawmemchr.c: New file.
53195         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
53196         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
53197         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
53198         when compiling str{,n}casecmp and when AVX is available.  Hook up
53199         new optimized code in initializers.
53201 2011-10-19  Andreas Schwab  <schwab@redhat.com>
53203         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
53204         __feraiseexcept instead of feraiseexcept.
53206 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
53208         * math/math_private.h: Define defaults for libc_fetestexcept and
53209         libc_feupdateenv.
53210         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
53211         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
53212         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53213         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53214         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53215         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53216         libc_fetestexcept and libc_feupdateenv.
53218         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53219         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53220         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53221         * sysdeps/x86_64/fpu/math_private.h: Define special version of
53222         libc_feholdexcept_setround.
53224         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53225         Add s_nearbyint-c and s_nearbyintf-c.
53226         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53227         nearbyintf inlines.
53228         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53229         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53230         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53231         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53233         * math/math_private.h: Define defaults for libc_fegetround,
53234         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53235         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53236         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53237         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53238         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53239         standard functions.
53240         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53241         Remove comments and hacks for old compiler versions.
53242         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53243         libc_fegetround, libc_fesetround, libc_feholdexcept, and
53244         libc_feholdexceptl.
53246 2011-10-18  Andreas Schwab  <schwab@redhat.com>
53248         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
53249         (__feraiseexcept_renamed): Add __NTH.
53250         (feraiseexcept): Add __NTH.  Rename local variables to fix
53251         namespace violations.
53253 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
53255         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53257         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53259         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53260         recently added interfaces.
53261         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53263         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53264         about macro parameter expansion.
53266         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53267         __NO_MATH_INLINES is defined.  Cleanups.
53269         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53270         and __floorf is target has SSE4.1.
53271         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53272         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53273         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53274         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53276         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53277         name.
53278         (floorf): Likewise.
53280         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53282 2011-10-17  Andreas Schwab  <schwab@redhat.com>
53284         * misc/sys/cdefs.h: Fix last change.
53286         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53287         database lookup.
53289 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
53291         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53293         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53294         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53295         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53296         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53297         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53298         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53299         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53300         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53301         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53302         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53303         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53304         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53305         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53306         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53307         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53308         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53309         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53310         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53311         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53312         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53313         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53314         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53316         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53317         ceil, ceilf, floor, floorf.
53319         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53320         Perform IRELATIVE relocations last.
53322         * elf/do-rel.h: Add another parameter nrelative, replacing the
53323         local variable with the same name.  Change name of the function
53324         to end in Rel or Rela (uppercase).
53325         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53326         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
53327         elf_dynamic_do_##reloc function.
53329 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
53331         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53332         is sufficient, at least on modern CPUs.
53334         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53336         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53337         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53339         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53340         __expl_finite.
53341         * math/bits/math-finite.h: Add entries for exp.
53342         * math/e_expl.c: Add __*_finite alias.
53343         * sysdeps/i386/fpu/e_exp.S: Likewise.
53344         * sysdeps/i386/fpu/e_expf.S: Likewise.
53345         * sysdeps/i386/fpu/e_expl.c: Likewise.
53346         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53347         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53348         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53349         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53350         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53351         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53352         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53354         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53355         is sufficient, at least on modern CPUs.
53357         * ctype/ctype-info.c (__ctype_init): Define.
53358         * include/ctype.h (__ctype_init): Declare.
53359         (__ctype_b_loc): The variable is always initialized.
53360         (__ctype_toupper_loc): Likewise.
53361         (__ctype_tolower_loc): Likewise.
53362         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53363         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53365 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
53367         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53369         * configure.in: Also look in $cxxmachine/include for C++ system
53370         headers.
53372 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53374         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53375         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53376         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53377         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
53378         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53379         (USE_AS_WMEMCMP): New macro.
53380         Fixing indents.
53381         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53382         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53383         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53384         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53385         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53386         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53387         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53388         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53389         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53390         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53391         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53392         (USE_AS_WMEMCMP): New macro.
53393         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53394         * sysdeps/string/test-memcmp.c: Update.
53395         Fix simple_wmemcmp.
53396         Add new tests.
53397         * wcsmbs/wmemcmp.c: Update.
53398         (WMEMCMP): New macro.
53399         Fix overflow bug.
53401 2011-10-12  Andreas Jaeger  <aj@suse.de>
53403         [BZ #13268]
53404         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53406 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
53408         * libio/iofwide.c (do_length): Avoid warning.
53410         * ctype/ctype.h (__isctype_f): Add missing __THROW.
53412 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
53414         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53416         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53417         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53418         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53419         * sysdeps/i386/i686/fpu/e_log.S: New file.
53420         * sysdeps/i386/i686/fpu/e_logf.S: New file.
53421         * sysdeps/i386/i686/fpu/e_logl.S: New file.
53423         * ctype/ctype.h: Add support for inlined isXXX functions when
53424         compiling C++ code.
53426 2011-10-14  Andreas Schwab  <schwab@redhat.com>
53428         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53430         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53432 2011-10-13  Roland McGrath  <roland@hack.frob.com>
53434         [BZ #13291]
53435         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53437 2011-10-13  Andreas Schwab  <schwab@redhat.com>
53439         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53440         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53441         feraiseexcept.
53443         * sysdeps/x86_64/memrchr.S: Check for zero size.
53445         * string/stratcliff.c: Add memrchr tests.
53447 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53449         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53450         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53451         rawmemchr-sse2 rawmemchr-sse2-bsf.
53452         * sysdeps/i386/i686/multiarch/memchr.S: New file.
53453         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53454         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53455         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53456         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53457         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53458         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53459         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53460         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53461         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53462         * string/memrchr.c (MEMRCHR): New macro.
53464 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
53466         Add integration with gcc's -ffinite-math-only and optimize wrapper
53467         functions in libm.
53468         * Versions.def: Define GLIBC_2.15 version for libm.
53469         * math/Makefile (headers): Add bits/math-finite.h.
53470         * math/bits/math-finite.h: New file.
53471         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53472         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53473         * math/e_acoshl.c: Add __*_finite alias.
53474         * math/e_acosl.c: Likewise.
53475         * math/e_asinl.c: Likewise.
53476         * math/e_atan2l.c: Likewise.
53477         * math/e_atanhl.c: Likewise.
53478         * math/e_coshl.c: Likewise.
53479         * math/e_exp10.c: Likewise.
53480         * math/e_exp10f.c: Likewise.
53481         * math/e_exp10l.c: Likewise.
53482         * math/e_exp2l.c: Likewise.
53483         * math/e_fmodl.c: Likewise.
53484         * math/e_gammal_r.c: Likewise.
53485         * math/e_hypotl.c: Likewise.
53486         * math/e_j0l.c: Likewise.
53487         * math/e_j1l.c: Likewise.
53488         * math/e_jnl.c: Likewise.
53489         * math/e_lgammal_r.c: Likewise.
53490         * math/e_log10l.c: Likewise.
53491         * math/e_log2l.c: Likewise.
53492         * math/e_logl.c: Likewise.
53493         * math/e_powl.c: Likewise.
53494         * math/e_sinhl.c: Likewise.
53495         * math/e_sqrtl.c: Likewise.
53496         * math/e_scalb.c: Completely rewritten and optimized.
53497         * math/e_scalbf.c: Likewise.
53498         * math/e_scalbl.c: Likewise.
53499         * math/w_acos.c: Likewise.
53500         * math/w_acosf.c: Likewise.
53501         * math/w_acosl.c: Likewise.
53502         * math/w_acosh.c: Likewise.
53503         * math/w_acoshf.c: Likewise.
53504         * math/w_acoshl.c: Likewise.
53505         * math/w_asin.c: Likewise.
53506         * math/w_asinf.c: Likewise.
53507         * math/w_asinl.c: Likewise.
53508         * math/w_atan2.c: Likewise.
53509         * math/w_atan2f.c: Likewise.
53510         * math/w_atan2l.c: Likewise.
53511         * math/w_atanh.c: Likewise.
53512         * math/w_atanhf.c: Likewise.
53513         * math/w_atanhl.c: Likewise.
53514         * math/w_exp10.c: Likewise.
53515         * math/w_exp10f.c: Likewise.
53516         * math/w_exp10l.c: Likewise.
53517         * math/w_fmod.c: Likewise.
53518         * math/w_fmodf.c: Likewise.
53519         * math/w_fmodl.c: Likewise.
53520         * math/w_j0.c: Likewise.
53521         * math/w_j0f.c: Likewise.
53522         * math/w_j0l.c: Likewise.
53523         * math/w_j1.c: Likewise.
53524         * math/w_j1f.c: Likewise.
53525         * math/w_j1l.c: Likewise.
53526         * math/w_jn.c: Likewise.
53527         * math/w_jnf.c: Likewise.
53528         * math/w_log.c: Likewise.
53529         * math/w_logf.c: Likewise.
53530         * math/w_logl.c: Likewise.
53531         * math/w_log10.c: Likewise.
53532         * math/w_log10f.c: Likewise.
53533         * math/w_log10l.c: Likewise.
53534         * math/w_log2.c: Likewise.
53535         * math/w_log2f.c: Likewise.
53536         * math/w_log2l.c: Likewise.
53537         * math/w_pow.c: Likewise.
53538         * math/w_powf.c: Likewise.
53539         * math/w_powl.c: Likewise.
53540         * math/w_remainder.c: Likewise.
53541         * math/w_remainderf.c: Likewise.
53542         * math/w_remainderl.c: Likewise.
53543         * math/w_scalb.c: Likewise.
53544         * math/w_scalbf.c: Likewise.
53545         * math/w_scalbl.c: Likewise.
53546         * math/w_sqrt.c: Likewise.
53547         * math/w_sqrtf.c: Likewise.
53548         * math/w_sqrtl.c: Likewise.
53549         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53550         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
53551         used.
53552         * math/math_private.h: Declare __kernel_standard_f.
53553         * math/w_cosh.c: Remove cruft and optimize a bit.
53554         * math/w_coshf.c: Likewise.
53555         * math/w_coshl.c: Likewise.
53556         * math/w_exp2.c: Likewise.
53557         * math/w_exp2f.c: Likewise.
53558         * math/w_exp2l.c: Likewise.
53559         * math/w_hypot.c: Likewise.
53560         * math/w_hypotf.c: Likewise.
53561         * math/w_hypotl.c: Likewise.
53562         * math/w_lgamma.c: Likewise.
53563         * math/w_lgamma_r.c: Likewise.
53564         * math/w_lgammaf.c: Likewise.
53565         * math/w_lgammaf_r.c: Likewise.
53566         * math/w_lgammal.c: Likewise.
53567         * math/w_lgammal_r.c: Likewise.
53568         * math/w_sinh.c: Likewise.
53569         * math/w_sinhf.c: Likewise.
53570         * math/w_sinhl.c: Likewise.
53571         * math/w_tgamma.c: Likewise.
53572         * math/w_tgammaf.c: Likewise.
53573         * math/w_tgammal.c: Likewise.
53574         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53575         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53576         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53577         Minor optimizations.  Pretty printing.  Remove cruft.
53578         * sysdeps/i386/fpu/e_acosf.S: Likewise.
53579         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53580         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53581         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53582         * sysdeps/i386/fpu/e_acosl.c: Likewise.
53583         * sysdeps/i386/fpu/e_asin.S: Likewise.
53584         * sysdeps/i386/fpu/e_asinf.S: Likewise.
53585         * sysdeps/i386/fpu/e_atan2.S: Likewise.
53586         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53587         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53588         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53589         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53590         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53591         * sysdeps/i386/fpu/e_exp10.S: Likewise.
53592         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53593         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53594         * sysdeps/i386/fpu/e_exp2.S: Likewise.
53595         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53596         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53597         * sysdeps/i386/fpu/e_fmod.S: Likewise.
53598         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53599         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53600         * sysdeps/i386/fpu/e_hypot.S: Likewise.
53601         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53602         * sysdeps/i386/fpu/e_log.S: Likewise.
53603         * sysdeps/i386/fpu/e_log10.S: Likewise.
53604         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53605         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53606         * sysdeps/i386/fpu/e_log2.S: Likewise.
53607         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53608         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53609         * sysdeps/i386/fpu/e_logf.S: Likewise.
53610         * sysdeps/i386/fpu/e_logl.S: Likewise.
53611         * sysdeps/i386/fpu/e_pow.S: Likewise.
53612         * sysdeps/i386/fpu/e_powf.S: Likewise.
53613         * sysdeps/i386/fpu/e_powl.S: Likewise.
53614         * sysdeps/i386/fpu/e_remainder.S: Likewise.
53615         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53616         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53617         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53618         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53619         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53620         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53621         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53622         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53623         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53624         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53625         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53626         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53627         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53628         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53629         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53630         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53631         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53632         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53633         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53634         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53635         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53636         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53637         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53638         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53639         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53640         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53641         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53642         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53643         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53644         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53645         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53646         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53647         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53648         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53649         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53650         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53651         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53652         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53653         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53654         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53655         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53656         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53657         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53658         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53659         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53660         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53661         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53662         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53663         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53664         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53665         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53666         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53667         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53668         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53669         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53670         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53671         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53672         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53673         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53674         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53675         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53676         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53677         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53678         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53679         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53680         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53681         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53682         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53683         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53684         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53685         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53686         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53687         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53688         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53689         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53690         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53691         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53692         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53693         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53694         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53695         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53696         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53697         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53698         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53699         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53700         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53701         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53702         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53703         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53704         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53705         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53706         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53707         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53708         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53709         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53710         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53711         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53712         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53713         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53714         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53715         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53716         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53717         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53718         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53719         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53720         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53721         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53722         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53723         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53724         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53725         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53726         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53727         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53728         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53729         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53730         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53731         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53732         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53733         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
53734         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53735         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53736         (__isnanf): Likewise.
53737         (__isinf_ns): Likewise.
53738         (__isinf_nsf): Likewise.
53739         (__finite): Likewise.
53740         (__finitef): Likewise.
53741         (__ieee754_sqrt): Define as macro.
53742         (__ieee754_sqrtf): Define as macro.
53743         (__ieee754_sqrtl): Define as macro.
53744         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53745         inlined copy.
53746         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53747         __FINITE_MATH_ONLY__ consistent.
53748         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53750 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
53752         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53753         of rawmemchr.
53755         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53757 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
53759         * po/ja.po: Update from translation team.
53761 2011-10-08  Roland McGrath  <roland@hack.frob.com>
53763         * locale/programs/locarchive.c (prepare_address_space): New function.
53764         (create_archive, enlarge_archive, open_archive): Use it.
53766         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53767         inside [SHARED], where it is used.
53769         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53771         * nss/getent.c (netgroup_keys): Remove unused variable.
53772         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53774 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
53776         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53777         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53779         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53780         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53781         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53782         * math/Makefile (libm-calls): Add s_isinf_ns.
53783         * math/divtc3.c: Use __isinf_nsl instead of isinf.
53784         * math/multc3.c: Likewise.
53785         * math/s_casin.c: Likewise.
53786         * math/s_casinf.c: Likewise.
53787         * math/s_casinl.c: Likewise.
53788         * math/s_ccos.c: Likewise.
53789         * math/s_ccosf.c: Likewise.
53790         * math/s_ccosl.c: Likewise.
53791         * math/s_ctan.c: Likewise.
53792         * math/s_ctanf.c: Likewise.
53793         * math/s_ctanh.c: Likewise.
53794         * math/s_ctanhf.c: Likewise.
53795         * math/s_ctanhl.c: Likewise.
53796         * math/s_ctanl.c: Likewise.
53797         * math/w_fmod.c: Likewise.
53798         * math/w_fmodf.c: Likewise.
53799         * math/w_fmodl.c: Likewise.
53800         * math/w_remainder.c: Likewise.
53801         * math/w_remainderf.c: Likewise.
53802         * math/w_remainderl.c: Likewise.
53803         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53804         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53805         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53806         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53807         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53808         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53809         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53810         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53812         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53813         of the number.
53814         * stdio-common/printf_fphex.c: Likewise.
53815         * stdio-common/printf_size.c: Likewise.
53817         * math/e_exp10.c: Include math_private.h using <...> not "...".
53818         * math/e_exp10f.c: Likewise.
53819         * math/e_exp10l.c: Likewise.
53820         * math/e_exp2l.c: Likewise.
53821         * math/e_j0l.c: Likewise.
53822         * math/e_j1l.c: Likewise.
53823         * math/e_jnl.c: Likewise.
53824         * math/e_lgammal_r.c: Likewise.
53825         * math/e_rem_pio2l.c: Likewise.
53826         * math/e_scalb.c: Likewise.
53827         * math/e_scalbf.c: Likewise.
53828         * math/e_scalbl.c: Likewise.
53829         * math/k_cosl.c: Likewise.
53830         * math/k_sinl.c: Likewise.
53831         * math/k_tanl.c: Likewise.
53832         * math/s_cacoshf.c: Likewise.
53833         * math/s_catan.c: Likewise.
53834         * math/s_catanf.c: Likewise.
53835         * math/s_catanh.c: Likewise.
53836         * math/s_catanhf.c: Likewise.
53837         * math/s_catanhl.c: Likewise.
53838         * math/s_catanl.c: Likewise.
53839         * math/s_ccosh.c: Likewise.
53840         * math/s_ccoshf.c: Likewise.
53841         * math/s_ccoshl.c: Likewise.
53842         * math/s_cexp.c: Likewise.
53843         * math/s_cexpf.c: Likewise.
53844         * math/s_cexpl.c: Likewise.
53845         * math/s_clog.c: Likewise.
53846         * math/s_clog10.c: Likewise.
53847         * math/s_clog10f.c: Likewise.
53848         * math/s_clog10l.c: Likewise.
53849         * math/s_clogf.c: Likewise.
53850         * math/s_clogl.c: Likewise.
53851         * math/s_csin.c: Likewise.
53852         * math/s_csinf.c: Likewise.
53853         * math/s_csinh.c: Likewise.
53854         * math/s_csinhf.c: Likewise.
53855         * math/s_csinhl.c: Likewise.
53856         * math/s_csinl.c: Likewise.
53857         * math/s_csqrt.c: Likewise.
53858         * math/s_csqrtf.c: Likewise.
53859         * math/s_csqrtl.c: Likewise.
53860         * math/s_ctan.c: Likewise.
53861         * math/s_ctanf.c: Likewise.
53862         * math/s_ctanh.c: Likewise.
53863         * math/s_ctanhf.c: Likewise.
53864         * math/s_ctanhl.c: Likewise.
53865         * math/s_ctanl.c: Likewise.
53866         * math/s_ldexp.c: Likewise.
53867         * math/s_ldexpf.c: Likewise.
53868         * math/s_ldexpl.c: Likewise.
53869         * math/s_significand.c: Likewise.
53870         * math/s_significandf.c: Likewise.
53871         * math/s_significandl.c: Likewise.
53872         * math/w_acos.c: Likewise.
53873         * math/w_acosf.c: Likewise.
53874         * math/w_acosh.c: Likewise.
53875         * math/w_acoshf.c: Likewise.
53876         * math/w_acoshl.c: Likewise.
53877         * math/w_acosl.c: Likewise.
53878         * math/w_asin.c: Likewise.
53879         * math/w_asinf.c: Likewise.
53880         * math/w_asinl.c: Likewise.
53881         * math/w_atan2.c: Likewise.
53882         * math/w_atan2f.c: Likewise.
53883         * math/w_atan2l.c: Likewise.
53884         * math/w_atanh.c: Likewise.
53885         * math/w_atanhf.c: Likewise.
53886         * math/w_atanhl.c: Likewise.
53887         * math/w_cosh.c: Likewise.
53888         * math/w_coshf.c: Likewise.
53889         * math/w_coshl.c: Likewise.
53890         * math/w_dremf.c: Likewise.
53891         * math/w_exp10.c: Likewise.
53892         * math/w_exp10f.c: Likewise.
53893         * math/w_exp10l.c: Likewise.
53894         * math/w_exp2.c: Likewise.
53895         * math/w_exp2f.c: Likewise.
53896         * math/w_fmod.c: Likewise.
53897         * math/w_fmodf.c: Likewise.
53898         * math/w_fmodl.c: Likewise.
53899         * math/w_hypot.c: Likewise.
53900         * math/w_hypotf.c: Likewise.
53901         * math/w_hypotl.c: Likewise.
53902         * math/w_j0.c: Likewise.
53903         * math/w_j0f.c: Likewise.
53904         * math/w_j0l.c: Likewise.
53905         * math/w_j1.c: Likewise.
53906         * math/w_j1f.c: Likewise.
53907         * math/w_j1l.c: Likewise.
53908         * math/w_jn.c: Likewise.
53909         * math/w_jnf.c: Likewise.
53910         * math/w_jnl.c: Likewise.
53911         * math/w_lgamma.c: Likewise.
53912         * math/w_lgamma_r.c: Likewise.
53913         * math/w_lgammaf.c: Likewise.
53914         * math/w_lgammaf_r.c: Likewise.
53915         * math/w_lgammal.c: Likewise.
53916         * math/w_lgammal_r.c: Likewise.
53917         * math/w_log.c: Likewise.
53918         * math/w_log10.c: Likewise.
53919         * math/w_log10f.c: Likewise.
53920         * math/w_log10l.c: Likewise.
53921         * math/w_log2.c: Likewise.
53922         * math/w_log2f.c: Likewise.
53923         * math/w_log2l.c: Likewise.
53924         * math/w_logf.c: Likewise.
53925         * math/w_logl.c: Likewise.
53926         * math/w_pow.c: Likewise.
53927         * math/w_powf.c: Likewise.
53928         * math/w_powl.c: Likewise.
53929         * math/w_remainder.c: Likewise.
53930         * math/w_remainderf.c: Likewise.
53931         * math/w_remainderl.c: Likewise.
53932         * math/w_scalb.c: Likewise.
53933         * math/w_scalbf.c: Likewise.
53934         * math/w_scalbl.c: Likewise.
53935         * math/w_sinh.c: Likewise.
53936         * math/w_sinhf.c: Likewise.
53937         * math/w_sinhl.c: Likewise.
53938         * math/w_sqrt.c: Likewise.
53939         * math/w_sqrtf.c: Likewise.
53940         * math/w_sqrtl.c: Likewise.
53941         * math/w_tgamma.c: Likewise.
53942         * math/w_tgammaf.c: Likewise.
53943         * math/w_tgammal.c: Likewise.
53945         * po/ja.po: Update from translation team.
53947 2011-09-29  Andreas Jaeger  <aj@suse.de>
53949         [BZ #13179]
53950         * sunrpc/netname.c (netname2host): Fix logic.
53952         [BZ #6779]
53953         [BZ #6783]
53954         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53955         correctly.
53956         * math/w_remainder.c (__remainder): Likewise.
53957         * math/w_remainderf.c (__remainderf): Likewise.
53958         * math/libm-test.inc (remainder_test): Add test cases.
53960 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53962         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
53963         sdiv_qrnnd.
53965 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53967         * string/test-memcmp.c: Avoid unncessary #defines.
53968         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53970 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53972         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53973         Use new sse2 version for core i3 - i7 as it's faster
53974         than sse42 version.
53975         (bit_Prefer_PMINUB_for_stringop): New.
53976         * sysdeps/x86_64/rawmemchr.S: Update.
53977         Replace with faster SSE2 version.
53978         * sysdeps/x86_64/memrchr.S: New file.
53979         * sysdeps/x86_64/memchr.S: Update.
53980         Replace with faster SSE2 version.
53982 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
53984         * elf/dl-load.c (lose): Add cast to avoid warning.
53986 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53988         * po/ca.po: Update from translation team.
53990         * inet/getnetgrent_r.c: Hook up nscd.
53991         * nscd/Makefile (routines): Add nscd_netgroup.
53992         (nscd-modules): Add netgroupcache.
53993         (CFLAGS-netgroupcache.c): Define.
53994         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53995         (cache_search): Add const to second parameter.
53996         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53997         INNETGR.
53998         (dbs): Add netgrdb entry.
53999         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54000         (verify_persistent_db): Handle netgrdb.
54001         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54002         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54003         GETFDNETGR.
54004         (netgroup_response_header): Define.
54005         (innetgroup_response_header): Define.
54006         (datahead): Add netgroup_response_header and innetgroup_response_header
54007         elements.
54008         * nscd/nscd.conf: Add entries for netgroup cache.
54009         * nscd/nscd.h (dbtype): Add netgrdb.
54010         (_PATH_NSCD_NETGROUP_DB): Define.
54011         (netgroup_iov_disabled): Declare.
54012         (xmalloc, xcalloc, xrealloc): Move declarations here.
54013         (cache_search): Adjust prototype.
54014         Add netgroup-related prototypes.
54015         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54016         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54017         (__nscd_innetgr): Declare.
54018         * nscd/selinux.c (perms): Use access_vector_t as element type and
54019         add netgroup-related initializers.
54020         * nscd/netgroupcache.c: New file.
54021         * nscd/nscd_netgroup.c: New file.
54022         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54023         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54024         For four parameters use innetgr.
54025         * nss/nss_files/files-init.c: Add definition and callback for netgr.
54026         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54027         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54028         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54030         * nscd/connections.c (register_traced_file): Don't register file
54031         for disabled databases.
54033 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
54035         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54037         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54038         from tree and freeing node.
54040 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
54042         * nss/nsswitch.c (__nss_database_lookup): Handle
54043         nss_parse_service_list out of memory case.
54045 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
54047         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54048         out of memory case.
54050 2011-10-04  Andreas Schwab  <schwab@redhat.com>
54052         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54053         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54054         pass it down.
54055         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54056         elf_machine_rela, elf_machine_lazy_rel.
54057         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54058         (ELF_DYNAMIC_DO_REL): Likewise.
54059         (ELF_DYNAMIC_DO_RELA): Likewise.
54060         (ELF_DYNAMIC_RELOCATE): Likewise.
54061         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54062         to ELF_DYNAMIC_DO_REL.
54063         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54064         (dl_main): In trace mode always set __RTLD_NOIFUNC.
54065         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54066         elf_machine_rela.
54067         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54068         skip_ifunc, don't call ifunc function if non-zero.
54069         (elf_machine_rela): Likewise.
54070         (elf_machine_lazy_rel): Likewise.
54071         (elf_machine_lazy_rela): Likewise.
54072         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54073         (elf_machine_lazy_rel): Likewise.
54074         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54075         Likewise.
54076         (elf_machine_lazy_rel): Likewise.
54077         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54078         Likewise.
54079         (elf_machine_lazy_rel): Likewise.
54080         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54081         (elf_machine_lazy_rel): Likewise.
54082         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54083         (elf_machine_lazy_rel): Likewise.
54084         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54085         (elf_machine_lazy_rel): Likewise.
54086         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54087         (elf_machine_lazy_rel): Likewise.
54088         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54089         (elf_machine_lazy_rel): Likewise.
54090         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54091         (elf_machine_lazy_rel): Likewise.
54093 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
54095         * nss/nss_files/files-init.c (_nss_files_init): Use static
54096         initialization for all the *_traced_file variables.
54098 2011-09-28  Andreas Schwab  <schwab@redhat.com>
54100         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54102 2011-09-27  Roland McGrath  <roland@hack.frob.com>
54104         [BZ #13226]
54105         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
54107 2011-09-27  Andreas Schwab  <schwab@redhat.com>
54109         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54110         Reread the line before reparsing it.
54112 2011-09-26  Andreas Schwab  <schwab@redhat.com>
54114         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
54116 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
54117             Maxim Kuvyrkov  <maxim@codesourcery.com>
54118             Joseph Myers  <joseph@codesourcery.com>
54120         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
54121         if needed for __stack_chk_guard.
54123 2011-09-19  Roland McGrath  <roland@hack.frob.com>
54125         * sysdeps/posix/spawni.c (script_execute): Always define it.
54126         It will be optimized away if unused.
54127         (maybe_script_execute): New function.
54128         (__spawni): Call it.
54130         * Makerules: Don't include tls.make.
54131         (config-tls): Always set to thread.
54132         * tls.make.c: File removed.
54134 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
54136         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
54137         * config.make.in (CPPFLAGS-config): New substituted variable.
54139 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
54141         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
54143         [BZ #13192]
54144         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
54145         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
54147 2011-09-15  Roland McGrath  <roland@hack.frob.com>
54149         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
54150         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
54151         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54152         (CALL_FAIL): Likewise.
54153         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
54154         (CALL_FAIL): Macro removed.
54155         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
54157 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
54159         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
54160         for __FINITE_MATH_ONLY__ == 1.
54162 2011-09-15  Andreas Schwab  <schwab@redhat.com>
54164         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
54165         __ieee754_sqrt instead of sqrt.
54166         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
54167         __ieee754_sqrtf instead of sqrtf.
54168         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
54169         __floorf instead of floorf.
54170         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
54171         __floorf, __truncf instead of floorf, truncf.
54173 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
54175         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
54177         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
54178         __extern_always_inline.
54179         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
54180         32-bit.
54182 2011-09-14  Andreas Schwab  <schwab@redhat.com>
54184         * elf/rtld.c (dl_main): Also relocate in dependency order when
54185         doing symbol dependency testing.
54187 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
54189         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54190         Always define `refsym'.
54192 2011-09-13  Andreas Schwab  <schwab@redhat.com>
54194         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
54195         (__FD_ELT): Renamed from __FDELT.
54196         * misc/bits/select2.h (__FD_ELT): Likewise.
54197         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
54198         __FD_MASK instead of __FDELT, __FDMASK.
54199         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54200         Likewise.
54201         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54202         Likewise.
54204         * elf/Makefile (gen-ldd): Fix pattern.
54206         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
54207         (init_tls): Likewise.
54209 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
54211         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
54213 2011-09-12  Andreas Schwab  <schwab@redhat.com>
54215         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54216         `struct cmsghdr *' instead of `void *'.
54217         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54218         Likewise.
54220 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
54222         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54223         if non-absolute.
54224         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54225         ldd_rewrite_script.
54227 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
54229         * configure.in: Remove --with-tls option.
54230         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54231         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54232         out in case it is missing.
54233         * sysdeps/ia64/elf/configure.in: Likewise.
54234         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54235         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54236         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54237         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54238         * sysdeps/sh/elf/configure.in: Likewise.
54239         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54240         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54241         * sysdeps/x86_64/elf/configure.in: Likewise.
54242         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54243         * sysdeps/mach/hurd/tls.h: Likewise.
54245         [BZ #13067]
54246         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54248         [BZ #13090]
54249         * configure.in: Fix use of AC_INIT.
54251         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54253 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
54255         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54256         __set_errno.
54257         * malloc/hooks.c: Likewise.
54259         [BZ #11929]
54260         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
54261         variables statically.
54262         (narenas): Initialize.
54263         (list_lock): Initialize.
54264         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
54265         initializtion of main_arena and list_lock.  Small cleanups.
54266         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54267         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
54268         Add initializers to main_arena and mp_.
54269         (malloc_state): Remove pagesize member.  Change all users to use
54270         GLRO(dl_pagesize).
54272         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54273         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
54274         is always initialized.
54276         * malloc/malloc.c: Removed unused configurations and dead code.
54277         * malloc/arena.c: Likewise.
54278         * malloc/hooks.c: Likewise.
54279         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
54281         * include/tls.h: Removed.  USE___THREAD must always be defined.
54282         * bits/libc-tsd.h: Don't handle !USE___THREAD.
54283         * elf/dl-libc.c: Likewise.
54284         * elf/dl-tsd.c: Likewise.
54285         * include/errno.h: Likewise.
54286         * include/netdb.h: Likewise.
54287         * include/resolv.h: Likewise.
54288         * inet/herrno-loc.c: Likewise.
54289         * inet/herrno.c: Likewise.
54290         * malloc/arena.c: Likewise.
54291         * malloc/hooks.c: Likewise.
54292         * malloc/malloc.c: Likewise.
54293         * resolv/res-state.c: Likewise.
54294         * resolv/res_libc.c: Likewise.
54295         * sysdeps/i386/dl-machine.h: Likewise.
54296         * sysdeps/ia64/dl-machine.h: Likewise.
54297         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54298         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54299         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54300         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54301         * sysdeps/sh/dl-machine.h: Likewise.
54302         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54303         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54304         * sysdeps/unix/i386/sysdep.S: Likewise.
54305         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54306         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54307         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54308         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54309         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54311         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54314         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54315         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54316         * sysdeps/x86_64/dl-machine.h: Likewise.
54317         * tls.make.c: Likewise.
54319         * configure.in: Remove --with-__thread option.  Make tests for
54320         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54321         tls_model attribute fail if no support is available.  Remove
54322         USE_IN_LIBIO.
54323         * Makeconfig: Adjust for dropped configure option.  All features are
54324         now mandatory.
54325         * Makerules: Likewise.
54326         * Versions.def: Likewise.
54327         * argp/argp-fmtstream.c: Likewise.
54328         * argp/argp-fmtstream.h: Likewise.
54329         * argp/argp-help.c: Likewise.
54330         * assert/assert.c: Likewise.
54331         * config.h.in: Likewise.
54332         * config.make.in: Likewise.
54333         * configure: Likewise.
54334         * configure.in: Likewise.
54335         * csu/Versions: Likewise.
54336         * csu/init.c: Likewise.
54337         * elf/tst-audit2.c: Likewise.
54338         * elf/tst-tls10.c: Likewise.
54339         * elf/tst-tls10.h: Likewise.
54340         * elf/tst-tls11.c: Likewise.
54341         * elf/tst-tls12.c: Likewise.
54342         * elf/tst-tls14.c: Likewise.
54343         * elf/tst-tlsmod11.c: Likewise.
54344         * elf/tst-tlsmod12.c: Likewise.
54345         * elf/tst-tlsmod13.c: Likewise.
54346         * elf/tst-tlsmod13a.c: Likewise.
54347         * elf/tst-tlsmod14a.c: Likewise.
54348         * elf/tst-tlsmod15b.c: Likewise.
54349         * elf/tst-tlsmod16a.c: Likewise.
54350         * elf/tst-tlsmod16b.c: Likewise.
54351         * elf/tst-tlsmod7.c: Likewise.
54352         * elf/tst-tlsmod8.c: Likewise.
54353         * elf/tst-tlsmod9.c: Likewise.
54354         * gmon/gmon.c: Likewise.
54355         * grp/fgetgrent_r.c: Likewise.
54356         * grp/putgrent.c: Likewise.
54357         * hurd/fopenport.c: Likewise.
54358         * include/libc-symbols.h: Likewise.
54359         * include/tls.h: Likewise.
54360         * intl/gettextP.h: Likewise.
54361         * intl/loadinfo.h: Likewise.
54362         * locale/global-locale.c: Likewise.
54363         * locale/localeinfo.h: Likewise.
54364         * mach/devstream.c: Likewise.
54365         * malloc/arena.c: Likewise.
54366         * malloc/set-freeres.c: Likewise.
54367         * misc/err.c: Likewise.
54368         * misc/getttyent.c: Likewise.
54369         * misc/mntent_r.c: Likewise.
54370         * posix/getopt.c: Likewise.
54371         * posix/wordexp.c: Likewise.
54372         * pwd/fgetpwent_r.c: Likewise.
54373         * resolv/Versions: Likewise.
54374         * resolv/res_hconf.c: Likewise.
54375         * shadow/fgetspent_r.c: Likewise.
54376         * shadow/putspent.c: Likewise.
54377         * stdio-common/printf_fphex.c: Likewise.
54378         * stdio-common/tmpfile.c: Likewise.
54379         * stdlib/abort.c: Likewise.
54380         * stdlib/fmtmsg.c: Likewise.
54381         * sunrpc/auth_unix.c: Likewise.
54382         * sunrpc/clnt_perr.c: Likewise.
54383         * sunrpc/clnt_tcp.c: Likewise.
54384         * sunrpc/clnt_udp.c: Likewise.
54385         * sunrpc/clnt_unix.c: Likewise.
54386         * sunrpc/openchild.c: Likewise.
54387         * sunrpc/svc_simple.c: Likewise.
54388         * sunrpc/svc_tcp.c: Likewise.
54389         * sunrpc/svc_udp.c: Likewise.
54390         * sunrpc/svc_unix.c: Likewise.
54391         * sunrpc/xdr.c: Likewise.
54392         * sunrpc/xdr_array.c: Likewise.
54393         * sunrpc/xdr_rec.c: Likewise.
54394         * sunrpc/xdr_ref.c: Likewise.
54395         * sunrpc/xdr_stdio.c: Likewise.
54397 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54399         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54401 2011-07-03  Andreas Jaeger  <aj@suse.de>
54403         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54404         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54405         regenerate with gen-libm-tests.pl.
54407 2010-05-12  Petr Baudis  <pasky@suse.cz>
54409         [BZ #11589]
54410         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54411         around j0() zero points by switching to j1().
54412         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54413         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54414         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54415         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54417 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54419         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54420         instead of 0.
54421         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
54422         instead of 0.
54423         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54424         Patch in part by Pavel Roskin <proski@gnu.org>.
54426         [BZ #13138]
54427         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54428         realloc.
54429         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
54430         Free memory block if necessary.
54432         [BZ #12847]
54433         * libio/genops.c (INTDEF): For string streams the _lock pointer can
54434         be NULL.  Don't lock in this case.
54436 2011-09-09  Roland McGrath  <roland@hack.frob.com>
54438         * elf/elf.h (ELFOSABI_GNU): New macro.
54439         (ELFOSABI_LINUX): Define to that.
54441 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
54443         * string/strncat.c (strncat): Undef the symbol in case it has been
54444         defined in bits/string.h.
54446 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54448         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54450         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
54451         link map.
54453 2011-08-17  Andreas Jaeger  <aj@suse.de>
54455         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54457 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54458             Ian Lance Taylor  <iant@google.com>
54460         * math/libm-test.inc (lround_test): New testcase.
54461         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54463 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
54465         * Makefile: Remove support for automatic cvs check-ins.
54466         * Makerules: Likewise.
54467         * config.make.in: Likewise.
54468         * configure.in: Likewise.
54469         * intl/Makefile: Likewise.
54470         * locale/Makefile: Likewise.
54471         * po/Makefile: Likewise.
54472         * posix/Makefile: Likewise.
54473         * sysdeps/gnu/Makefile: Likewise.
54474         * sysdeps/mach/hurd/Makefile: Likewise.
54475         * sysdeps/sparc/sparc32/Makefile: Likewise.
54477         [BZ #13118]
54478         * posix/Makefile (bug-regex32-ENV): Define.
54479         Patch by John Stanley <jpsinthemix@verizon.net>.
54481         * misc/Makefile (headers): Add bits/select2.h.
54482         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54483         * misc/bits/select2.h: New file.
54484         * include/bits/select2.h: New file.
54485         * debug/Makefile (routines): Add fdelt_chk.
54486         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54487         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54488         FD_ISSET.
54489         * debug/fdelt_chk.c: New file.
54491         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
54492         * wcsmbs/test-wmemcmp.c: Likewise.
54493         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54494         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54496 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54498         * string/Makefile (strop-tests): Add memcmp.
54499         * string/test-wmemcmp.c: New file.
54500         * string/test-memcmp.c: Add wmemcmp support.
54502 2011-09-08  Roland McGrath  <roland@hack.frob.com>
54504         [BZ #13153]
54505         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54506         2011-07-19 change.
54508         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54509         garbage value in a __mach_port_mod_refs call in the cases of the
54510         task-self and thread-self ports.
54512 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54514         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54516 2011-09-08  Andreas Schwab  <schwab@redhat.com>
54518         * elf/dl-load.c (lose): Check for non-null L.
54520 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
54522         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54524         * elf/dl-libc.c (dlerror_run): Pass back error code from
54525         dl_catch_error.
54527         [BZ #13123]
54528         * elf/dl-load.c (lose): Free l_origin if it is valid.
54530         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54531         names.
54532         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54533         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54534         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54535         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54536         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54537         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54539 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54541         * sysdeps/powerpc/fpu/e_hypot.c: New file.
54542         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54543         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54544         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54545         * sysdeps/powerpc/fpu/k_cosf.c: New file.
54546         * sysdeps/powerpc/fpu/k_sinf.c: New file.
54547         * sysdeps/powerpc/fpu/s_cosf.c: New file.
54548         * sysdeps/powerpc/fpu/s_sinf.c: New file.
54549         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54550         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54552 2011-08-15  Alan Modra  <amodra@gmail.com>
54554         [BZ #13092]
54555         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54556         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54557         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
54558         ppc_mcount to static-only-routines.
54559         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54560         __mcount_internal.
54561         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54562         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
54564 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
54566         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54567         for finite and infinity parameters.
54569 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54571         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54572         and add nop instructions for throughput optimization.
54573         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54575 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
54577         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54578         aligned copy for power7 with vector-scalar instructions.
54579         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54581 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
54583         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54584         AVX check.
54586 2011-09-07  Andreas Schwab  <schwab@redhat.com>
54588         [BZ #13144]
54589         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54590         last change.
54592 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
54594         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54595         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54596         syscall wrapper around clock_gettime in __vdso_clock_gettime.
54597         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54598         clock_gettime.
54600 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
54602         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54603         Forgot to demangle the pointer.
54605         * sysdeps/i386/sysdep.h: Define atom_text_section.
54606         * sysdeps/x86_64/sysdep.h: Likewise.
54607         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54608         section with atom_text_section.
54609         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54610         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54611         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54612         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54613         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54615         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54616         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54617         already be defined.  Change to take two parameters and don't assign
54618         result to variable.  Adjust all users.
54619         Define INTERNAL_GETTIME if not already defined.
54620         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54621         call.
54622         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54623         HAVE_CLOCK_GETTIME_VSYSCALL.
54624         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54626         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54627         gettimeofday vsyscall, just use time.
54629 2011-09-06  Andreas Schwab  <schwab@redhat.com>
54631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54632         <errno.h>.
54634 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
54636         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54637         syscall on x86-64.
54638         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54639         syscall.
54640         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54641         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54642         syscall if possible.
54644 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54646         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54647         e_ident.  Don't pass to find_mapsXX.
54648         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54650 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54653         strchr-sse2-no-bsf strrchr-sse2-no-bsf
54654         * sysdeps/x86_64/multiarch/strchr.S: Update.
54655         Check bit_slow_BSF bit.
54656         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54657         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54658         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54660 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54662         [BZ #13134]
54663         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54664         before glibc 2.15.
54665         (tryshell): Define.
54666         (__spawni): Change last parameter to be flag.  Test
54667         SPAWN_XFLAGS_USE_PATH flag to use path or not.
54668         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54669         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54670         * posix/spawni.c: Likewise.
54671         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54672         * posix/spawnp.c: Likewise.  Change normal version to use
54673         SPAWN_XFLAGS_USE_PATH.
54674         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54675         SPAWN_XFLAGS_TRY_SHELL.
54677         [BZ #13150]
54678         * posix/glob.h: Remove gcc 1.x support.
54680         [BZ #13068]
54681         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54683 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54685         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54686         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54687         strrchr-sse2-bsf
54688         * sysdeps/i386/i686/multiarch/strchr.S: New file.
54689         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54690         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54691         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54692         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54693         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54695 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54697         * sysdeps/x86_64/wcscmp.S: New file.
54699         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54700         wcscmp-c wcscmp-sse2
54701         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54702         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54703         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54704         * wcsmbs/wcscmp.c: Allow renaming.
54706 2011-09-05  David S. Miller  <davem@davemloft.net>
54708         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54709         stack slot, rather than the struct return pointer slot.
54710         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54711         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54713         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54715 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54717         * po/ja.po: Update from translation team.
54719         [BZ #13144]
54720         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54721         kernel in 64-bit binaries.
54723 2011-09-01  David S. Miller  <davem@davemloft.net>
54725         * elf/elf.h (HWCAP_SPARC_*): Move to..
54726         * sysdeps/sparc/sysdep.h: this new file and add new values.
54727         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54728         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54729         _DL_HWCAP_COUNT to 24.
54730         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54731         entries.
54732         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54733         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54734         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54735         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54736         instead of magic constants.
54737         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54739 2011-08-31  David S. Miller  <davem@davemloft.net>
54741         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54742         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54743         Reimplement to do errno handling inline.
54744         (SYSCALL_ERROR_HANDLER): New macro.
54745         (__SYSCALL_STRING): Do not do errno handling in asm.
54746         (__CLONE_SYSCALL_STRING): Delete.
54747         (__INTERNAL_SYSCALL_STRING): Delete.
54748         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54749         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54750         (PSEUDO): Reimplement to do errno handling inline.
54751         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54752         (SYSCALL_ERROR_HANDLER): New macro.
54753         (__SYSCALL_STRING): Do not do errno handling in asm.
54754         (__CLONE_SYSCALL_STRING): Delete.
54755         (__INTERNAL_SYSCALL_STRING): Delete.
54756         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54757         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54758         i386.
54759         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54760         (inline_syscall*): Add 'err' argument.
54761         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54762         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54763         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54764         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54766         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54767         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54769 2011-08-30  Andreas Schwab  <schwab@redhat.com>
54771         * elf/rtld.c (dl_main): Relocate objects in dependency order.
54773 2011-08-29  Jiri Olsa <jolsa@redhat.com>
54775         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54776         directive.
54778 2011-08-24  David S. Miller  <davem@davemloft.net>
54780         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54782 2011-08-24  Andreas Schwab  <schwab@redhat.com>
54784         * elf/Makefile: Add rules to build and run unload8 test.
54785         * elf/unload8.c: New file.
54786         * elf/unload8mod1.c: New file.
54787         * elf/unload8mod1x.c: New file.
54788         * elf/unload8mod2.c: New file.
54789         * elf/unload8mod3.c: New file.
54791         * elf/dl-close.c (_dl_close_worker): Reset private search list if
54792         it wasn't used.
54794 2011-08-23  David S. Miller  <davem@davemloft.net>
54796         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54797         subtract stack bias.
54798         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54799         %sp not %fp in calculations.
54800         (_JMPBUF_UNWINDS_ADJ): Likewise.
54802         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54803         (aio_suspend): Call it to force an exception region around the
54804         AIO_MISC_WAIT() invocation.
54806 2011-08-23  Andreas Schwab  <schwab@redhat.com>
54808         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54809         backslash.
54811 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
54813         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54814         protection macro.
54815         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54816         and <dl-machine.h>.
54817         (Elf64_FuncDesc): Remove.
54819 2011-08-22  David S. Miller  <davem@davemloft.net>
54821         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54822         sigaltstack check, add missing cfi directives.
54823         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54824         missing cfi directives, and sigaltstack handling.
54826 2011-08-16  Andreas Schwab  <schwab@redhat.com>
54828         [BZ #11724]
54829         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54830         object is seen twice.
54831         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54833         * elf/Makefile (distribute): Add tst-initorder2.c.
54834         (tests): Add tst-initorder2.
54835         (modules-names): Add tst-initorder2a tst-initorder2b
54836         tst-initorder2c tst-initorder2d.  Add rules to build them.
54837         ($(objpfx)tst-initorder2.out): New rule.
54838         * elf/tst-initorder2.c: New file.
54839         * elf/tst-initorder2.exp: New file.
54841 2011-08-22  Andreas Schwab  <schwab@redhat.com>
54843         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54845         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54846         dependencies back to end of function.
54848         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54849         $(elfobjdir)/ld.so.
54851 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
54853         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54854         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54855         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54856         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54857         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54858         of __vdso_gettimeofday.
54859         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54860         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
54861         attribute_hidden.
54862         (_libc_vdso_platform_setup): Remove initialization of
54863         __vdso_gettimeofday and __vdso_time.
54865 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54867         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54868         and fgetc_unlocked.
54869         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54870         getc_unlocked.
54872         * elf/dl-open.c (add_to_global): Report additions to the global scope
54873         for LD_DEBUG=scopes.
54874         (dl_open_worker): Also print scope of newly loaded dependencies.
54875         (_dl_show_scope): Indicate if there is no scope.
54877         [BZ #13114]
54878         * stdio-common/Makefile (tests): Add bug24.
54879         * stdio-common/bug24.c: New file.
54881 2011-08-19  Andreas Jaeger  <aj@suse.de>
54883         [BZ #13114]
54884         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54885         non-existant file when using close-on-exec mode.
54887 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54889         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54890         the very first instruction.
54892         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54893         the CFI state in the end.
54894         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54895         inclusion of dl-trampoline.h.
54896         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54898 2011-08-19  Andreas Schwab  <schwab@redhat.com>
54900         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54901         expectations for long double.
54903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54904         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54906 2011-08-14  David S. Miller  <davem@davemloft.net>
54908         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54909         artificual limit depends upon the system page size.
54911 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54913         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54914         * resolv/Makefile: Define CFLAGS-libresolv.
54916 2011-08-17  Andreas Schwab  <schwab@redhat.com>
54918         * nss/makedb.c (compute_tables): Make variables used in nested
54919         function static.
54921 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54923         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54924         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54925         if buffer was too small.
54927         * elf/pldd.c (main): Attach to all threads in the process.
54928         Rewrite /proc handling to use *at functions.
54930 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
54932         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54933         specifies first scope to show.
54934         (dl_open_worker): Update callers.  Move printing scope of new
54935         object to before the relocation.
54936         * elf/rtld.c (dl_main): Update _dl_show_scope call.
54937         * sysdeps/generic/ldsodefs.h: Update declaration.
54939         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54940         string for the scope number.
54942 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
54944         * nscd/servicescache.c (cache_addserv): Make sure written is always
54945         initialized.
54947 2011-08-14  Roland McGrath  <roland@hack.frob.com>
54949         * sysdeps/i386/i486/bits/atomic.h
54950         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54951         statement expression, so as to suppress "set but not used" warning.
54952         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54954         * string/strncat.c (STRNCAT): Use prototype definition.
54956         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54957         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54958         -Iprograms here.
54959         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54960         (localedef-modules): Add localedef.
54961         (locale-modules): Add locale.
54963         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54964         * elf/rtld.c (dl_main): Invert order of assignment in last change,
54965         to avoid a warning.
54967 2011-08-14  David S. Miller  <davem@davemloft.net>
54969         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54970         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54972 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
54974         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54975         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54976         * elf/rtld.c (dl_main): Set l_name of vDSO.
54977         Call _dl_show_scope when DL_DEBUG_SCOPES.
54978         (process_dl_debug): Recognize scopes flag and also set it for all.
54979         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54980         Declare _dl_show_scope.
54982         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54983         (do_dlopen): Pass caller_dlopen to dl_open.
54984         (__libc_dlopen_mode): Initialize caller_dlopen.
54986         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54987         of libc.  Make tolower call locale-independent.  Optimize a bit by
54988         using isdigit instead of isalnum.
54989         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54991 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
54993         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54994         was a dependency or dynamically loaded.
54996 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
54998         * intl/l10nflist.c: Allow architecture-specific pop function.
54999         * sysdeps/x86_64/l10nflist.c: New file.
55001         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55002         classification.
55004 2011-08-10  Andreas Schwab  <schwab@redhat.com>
55006         * include/dirent.h: Add libc_hidden_proto for scandirat and
55007         scandirat64.  Don't declare __scandirat64.
55008         * dirent/scandirat.c: Add libc_hidden_def.
55009         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55010         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55012 2011-08-10  David S. Miller  <davem@davemloft.net>
55014         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55015         enum.
55016         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55017         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55018         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55020 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
55022         * Versions.def [libc]: Add GLIBC_2.15.
55023         * dirent/Makefile (routines): Add scandirat and scandirat64.
55024         * dirent/Versions [libc]: Export scandirat and scandirat64 for
55025         GLIBC_2.15.
55026         * dirent/dirent.h: Declare scandirat and scandirat64.
55027         * dirent/scandirat.c: New file.
55028         * dirent/scandirat64.c: New file.
55029         * sysdeps/wordsize-64/scandirat.c: New file.
55030         * sysdeps/wordsize-64/scandirat64.c: New file.
55031         * dirent/opendir.c: Define opendirat.
55032         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
55033         using scandirat.
55034         * dirent/scandir64.c: Adjust for scandir.c change.
55035         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
55036         __scandirat64, and __scandir_cancel_handler.
55037         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
55038         additional parameter and use openat instead of open (outside of ld.so).
55039         Add new __opendir as wrapper around __opendirat.
55040         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55041         here without requiring old scandirat implementation.
55043 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
55045         * dirent/scandir.c (cancel_handler): Renamed to
55046         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
55047         defined.  Adjust users.
55048         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55049         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55051 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
55053         * string/test-string.h (IMPL): Use __STRING to expand name and then
55054         stringify it.
55056         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
55057         of cleanups.
55059 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55061         * string/Makefile: Update.
55062         (strop-tests): Append strncat.
55063         * string/test-wcscmp.c: New file.
55064         New comprehensive test for wcscmp.
55065         * string/test-strcmp.c: Update.
55066         (WIDE): New define.
55068 2011-07-22  Andreas Schwab  <schwab@redhat.com>
55070         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55071         line.
55073 2011-07-26  Andreas Schwab  <schwab@redhat.com>
55075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55076         encoding to ACE if AI_IDN.
55078 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
55080         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55081         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55083 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55085         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55086         Fix overflow bug in strncat.
55087         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55089         * string/test-strncat.c: Update.
55090         Add new tests for checking overflow bugs.
55092 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55094         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55095         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55096         * sysdeps/i386/i686/multiarch/strcat.S: New file.
55097         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55098         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55099         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55100         * sysdeps/i386/i686/multiarch/strncat.S: New file.
55101         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55102         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55104         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55105         (USE_AS_STRCAT): Define.
55106         Add strcat and strncat support.
55107         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55109 2011-07-25  Andreas Schwab  <schwab@redhat.com>
55111         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
55112         __n bigger than INT_MAX+1.
55113         (__strncmp_g): Likewise.
55115 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
55117         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
55118         * libio/stido.h: Likewise.
55120         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
55121         (AF_NFC): Define.
55122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
55123         (AF_NFC): Define.
55125         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
55126         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55127         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55128         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
55129         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55131         [BZ #13021]
55132         * scripts/test-installation.pl: Don't expect libnss_test1 to be
55133         installed.
55135         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
55136         typo.
55137         (_dl_x86_64_save_sse): Likewise.
55139 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
55141         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
55142         OSXSAVE.
55143         (_dl_x86_64_save_sse): Likewise.
55145         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
55147         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
55149 2011-07-21  Andreas Schwab  <schwab@redhat.com>
55151         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
55152         change.
55153         (_dl_x86_64_save_sse): Use correct AVX check.
55155 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55157         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
55158         bug in strncpy/strncat.
55159         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
55161 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
55163         * string/tester.c (test_strcat): Add tests for different alignments
55164         of source and destination.
55165         (test_strncat): Likewise.
55167 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
55169         [BZ #12852]
55170         * posix/glob.c (glob): Check passed in values before using them in
55171         expressions to avoid some overflows.
55172         (glob_in_dir): Likewise.
55174         [BZ #13007]
55175         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
55176         check for AVX enablement so that we don't crash with old kernels and
55177         new hardware.
55178         * elf/tst-audit4.c: Add same checks here.
55179         * elf/tst-audit6.c: Likewise.
55181         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
55183 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
55185         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
55187 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
55189         * po/cs.po: Update from translation team.
55190         * po/bg.po: Likewise.
55192 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
55194         * misc/sys/cdefs.h: Add support for const attribute.
55195         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
55196         to gnu_dev_{major,minor,makedev} functions.
55198 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
55200         * intl/dcigettext.c (get_output_charset): Add missing bracket.
55202 2011-07-20  Andreas Schwab  <schwab@redhat.com>
55204         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
55205         strlen results.
55207 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55209         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
55210         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
55211         register in order to avoid conflicts with the soft frame pointer
55212         being held in r11 when necessary.
55213         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55214         (INTERNAL_VSYSCALL_NCS): Likewise.
55216 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
55218         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55219         * elf/dl-fini.c (_dl_fini): Adjust caller.
55220         * elf/dl-close.c (_dl_close_worker): Likewise.
55221         * sysdeps/generic/ldsodefs.h: Adjust declaration.
55223 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
55225         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55226         "aux_cache->nlibs < 0".
55228         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55229         in the reload-count case.
55231 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55234         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55235         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55236         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55237         * sysdeps/x86_64/multiarch/strcat.S: New file.
55238         * sysdeps/x86_64/multiarch/strncat.S: New file.
55239         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55240         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55241         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55242         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55243         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55244         (USE_AS_STRCAT): Define.
55245         Add strcat and strncat support.
55246         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55247         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55248         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55249         * string/strncat.c: Update.
55250         (USE_AS_STRNCAT): Define.
55251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55252         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55253         and i7.
55254         * sysdeps/x86_64/multiarch/init-arch.h
55255         (bit_Prefer_PMINUB_for_stringop): New.
55256         (index_Prefer_PMINUB_for_stringop): Likewise.
55257         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55258         bit_Prefer_PMINUB_for_stringop.
55260 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
55262         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55263         buffer64.
55264         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55265         of casting of buffer.
55266         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55267         buffer32 and buffer64.
55268         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55269         writes instead of casting of buffer.
55270         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55271         buffer32.
55272         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55273         casting of buffer.
55275 2011-07-19  Andreas Schwab  <schwab@redhat.com>
55277         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55279 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
55281         * nscd/nscd.c (termination_handler): Don't do anything for a database
55282         if it has not yet been initialized.
55284 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
55286         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55288 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
55290         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55292 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
55294         * po/nl.po: Update from translation team.
55295         * po/sv.po: Likewise.
55297 2011-07-16  Roland McGrath  <roland@hack.frob.com>
55299         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55300         now disallowed by GCC.
55302         * configure.in (use-default-link): Default to yes if a test -shared
55303         link meets our qualifications.
55304         * configure: Regenerated.
55306         * config.make.in (output-format): New variable.
55307         * configure.in: Check for ld --print-output-format support.
55308         * configure: Regenerated.
55309         * Makerules ($(common-objpfx)format.lds)
55310         [$(output-format) != unknown]: Just use $(output-format),
55311         instead of the linker-script munging.
55313 2011-07-14  Roland McGrath  <roland@hack.frob.com>
55315         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55316         of $(common-objpfx)shlib.lds.
55317         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55319         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55320         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55322         * configure.in (-z relro check): Adjust test code to add a large
55323         writable data section after it.
55324         * configure: Regenerated.
55326 2011-07-11  Roland McGrath  <roland@hack.frob.com>
55328         * configure.in (-z relro check): Fix test code to make the variable
55329         truly const.
55330         * configure: Regenerated.
55332 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
55334         * nscd/nscd.h (struct traced_file): Define.
55335         (struct database_dyn): Remove inotify_descr, reset_res, and filename
55336         elements.  Add traced_files.
55337         (inotify_fd): Declare.
55338         (register_traced_file): Declare.
55339         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55340         (inotify_fd): Export.
55341         (resolv_conf_descr): Remove.
55342         (nscd_init): Move inotify descriptor creation to main.
55343         Don't register files for notification here.
55344         (register_traced_file): New function.
55345         (invalidate_cache): Don't use reset_res to determine whether to call
55346         res_init, go through the list of registered files.
55347         (main_loop_poll): The inotify descriptors are now stored in the
55348         structures for the traced files.
55349         (main_loop_epoll): Likewise
55350         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
55351         to __nss_disable_nscd.
55352         * nscd/cache.c (prune_cache): There is no single inotify descriptor
55353         for a database anymore.  Check the records for all the registered
55354         files instead.
55355         * nss/Makefile (libnss_files-routines): Add files-init.
55356         (libnss_db-routines): Add db-init.
55357         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55358         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55359         * nss/nss_db/db-init.c: New file.
55360         * nss/nss_files/files-init.c: New file.
55361         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
55362         __nss_lookup_function.
55363         (__nss_lookup_function): Call nss_load_library.
55364         (nss_load_all_libraries): New function.
55365         (__nss_disable_nscd): Take parameter with callback function for files
55366         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
55367         used for the cached services.
55368         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55369         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55370         options for features to all the files in nscd.
55372         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55374 2011-07-10  Roland McGrath  <roland@hack.frob.com>
55376         * csu/elf-init.c (__libc_csu_init): Comment typo.
55378 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
55380         * po/pl.po: Update from translation team.
55381         * po/ja.po: Likewise.
55382         * po/ru.po: Likewise.
55383         * po/ko.po: Likewise.
55384         * po/fr.po: Likewise.
55386 2011-07-09  Roland McGrath  <roland@hack.frob.com>
55388         * configure.in (.ctors/.dtors header and trailer check):
55389         Use an empirical test on a built program.
55390         * configure: Regenerated.
55392         * configure.in (-z relro check): Use an empirical test on a built DSO.
55393         Detect, but do not require, on ia64.
55394         * configure: Regenerated.
55396         * configure.in (READELF): Find it with AC_CHECK_TOOL.
55397         Update tests that use readelf to use $READELF instead.
55398         * configure: Regenerated.
55400 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
55402         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55403         if the result is not used.
55405 2011-07-05  Andreas Jaeger  <aj@suse.de>
55407         [BZ#9696]
55408         * stdlib/tst-strtod.c: Add testcase.
55410 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
55412         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
55413         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
55414         The latter has a higher limit.  Take additional parameter to pass to
55415         the new function.
55416         (__pathconf): Pass file to __statfs_link_max.
55417         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55418         __statfs_link_max.
55419         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55420         __statfs_link_max.
55422         [BZ #12868]
55423         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55424         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55425         Handle Lustre.
55426         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55427         (__statfs_filesize_max): Likewise.
55428         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55430 2011-07-05  Andreas Jaeger  <aj@suse.de>
55432         * resolv/res_comp.c (dn_skipname): Remove unused variable.
55434 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
55436         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55437         `status' variable.
55438         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55439         Likewise.
55441 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
55443         * Makefile (strop-tests): Add strncat.
55444         * string/test-strncat.c: New file.
55446 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
55448         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55450 2011-06-21  Andreas Jaeger  <aj@suse.de>
55452         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55453         Copy rule from iconvdata/Makefile.
55455 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
55457         [BZ #12922]
55458         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55459         but no long options are defined, just return 'W'.
55461 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
55463         [BZ #9696]
55464         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55466 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
55468         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55469         netgroups to read.
55470         (innetgr): Likewise.
55472 2011-07-05  Roland McGrath  <roland@hack.frob.com>
55474         * config.make.in (install_root): Default to $(DESTDIR).
55476 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
55478         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55480 2011-07-02  Roland McGrath  <roland@hack.frob.com>
55482         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55484         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55485         containing directory rather than embedding absolute directory names.
55487         * scripts/check-local-headers.sh: Rewritten using awk.
55488         Match by word, not by line.  Print error messages for matches.
55489         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55491         * Makerules [shlib-lds-flags empty]:
55492         ($(common-objpfx)libc_pic.opts): New target.
55493         ($(common-objpfx)libc_pic.os.clean): New target.
55494         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55496         * config.make.in (OBJCOPY): New variable.
55497         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55498         * configure: Regenerated.
55500         * config.make.in (use-default-link): New variable.
55501         * configure.in (use_default_link): Grok --with-default-link to set it.
55502         * configure: Regenerated.
55503         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55504         (shlib-lds, shlib-lds-flags): Define to empty.
55506         * Makerules (shlib-lds): New variable.
55507         (shlib-lds-flags): New variable.
55508         (build-shlib, build-moduile, build-module-asneeded): Use it.
55509         ($(common-objpfx)libc.so): Use $(shlib-lds).
55510         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55511         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55513         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55514         DT_FLAGS/DT_FLAGS_1 with zero flags.
55516         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55517         linker script munging.
55519 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
55521         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55522         as 128-bit value.
55523         * crypt/sha512.c (sha512_process_block): Perform total addition using
55524         128-bit if possible.
55525         (__sha512_finish_ctx): Likewise.
55526         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55527         as 64-bit value.
55528         * crypt/sha256.c (SWAP64): Define.
55529         (sha256_process_block): Perform total addition using 64-bit if
55530         possible.
55531         (__sha256_finish_ctx): Likewise.
55533 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
55535         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
55536         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55537         * nscd/hstcache.c (cache_addhst): Likewise.
55538         * nscd/grpcache.c (cache_addgr): Likewise.
55539         * nscd/aicache.c (addhstaiX): Likewise
55540         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55542 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
55544         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55545         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55546         * nscd/hstcache.c (cache_addhst): Likewise.
55547         * nscd/grpcache.c (cache_addgr): Likewise.
55548         * nscd/aicache.c (addhstaiX): Likewise
55550 2011-07-01  Andreas Schwab  <schwab@redhat.com>
55552         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55553         domain only when needed.
55555 2011-06-30  Andreas Schwab  <schwab@redhat.com>
55557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55558         is always restored.
55560 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
55562         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55563         are re-adding the entry.
55564         * nscd/servicescache.c (cache_addserv): Likewise.
55566 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
55568         * sysdeps/generic/dl-irel.h: fix protection against multiple
55569         inclusions.
55570         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55572 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
55574         [BZ #12935]
55575         * malloc/memusage.sh: Fix quoting in message.
55576         * debug/xtrace.sh: Likewise.
55578         * configure.in: Remove support for --experimental-malloc option, make
55579         it the default.
55580         * config.make.in: Likewise.
55581         * malloc/Makefile: Likewise.
55583 2011-06-27  Andreas Schwab  <schwab@redhat.com>
55585         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55586         two-byte characters.
55588 2011-06-27  Roland McGrath  <roland@hack.frob.com>
55590         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55591         AC_CACHE_CHECK invocation.
55592         * configure: Regenerated.
55594         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55596 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
55598         [BZ #12350]
55599         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
55600         bit from old_res_options.
55602         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55604         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55605         value type for setfct.
55607 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
55609         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55610         __gettimeofday instead of gettimeofday.
55612 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
55614         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55616 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
55618         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55620         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55621         info.
55623 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
55625         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55626         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55627         strcpy-sse2-unaligned strncpy-sse2-unaligned
55628         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55629         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55630         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55631         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55632         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55633         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55634         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55635         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55636         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55637         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55638         (STRCPY): Support SSE2 and SSSE3 versions.
55640 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
55642         [BZ #12874]
55643         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55644         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55645         kernels which artificially limit size of requests.
55647 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
55649         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55650         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55651         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55652         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55653         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55654         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55655         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55656         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55657         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55658         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55659         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55660         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55661         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55662         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55663         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55665         Enable unaligned load optimization for Intel Core i3, i5 and i7
55666         processors.
55667         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55668         Define.
55669         (index_Fast_Unaligned_Load): Define.
55670         (HAS_FAST_UNALIGNED_LOAD): Define.
55672 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
55674         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55676 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55678         [BZ #12907]
55679         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55680         until it is clear that the information is realy needed.
55681         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55683 2011-06-22  Andreas Schwab  <schwab@redhat.com>
55685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55687 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55689         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55690         /sys/devices/system/cpu/online if it is usable.
55692         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55693         reading the information from the /proc filesystem to once a second.
55695 2011-06-21  Andreas Jaeger  <aj@suse.de>
55697         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55698         NULL after inclusion of kernel headers.
55700 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
55702         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55703         calls to internal_setent.
55705         [BZ #12885]
55706         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55707         addresses using gethostbyname4_r ignore IPv4 addresses.
55709         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55710         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
55712         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55714 2011-06-20  David S. Miller  <davem@davemloft.net>
55716         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55717         inclusions.
55718         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55720         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55721         (elf_irel): Use it.
55722         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55723         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55724         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55725         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55726         * sysdeps/x86_64/dl-irel.h: Likewise.
55728         * elf/dl-runtime.c: Use elf_ifunc_invoke.
55729         * elf/dl-sym.c: Likewise.
55731 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55733         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
55734         need to dereference resplen2.
55736 2011-06-14  Andreas Schwab  <schwab@redhat.com>
55738         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55740 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55742         * Makeconfig: Define vardbdir and inst_vardbdir.
55743         * nss/Makefile: Add rules to install db-Makefile.
55745         * nss/nss_db/db-XXX.c: Cleanup.
55747         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55748         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55749         GLIBC_PRIVATE.
55750         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55751         * nss/makedb.c: Implement -g option to specify that value strings
55752         are generated and should not be added to table iterated over for
55753         get*ent calls.
55754         * nss/nss_db/db-initgroups.c: New file.
55756         * nss/getent.c: Add support for initgroups lookups through getgrouplist
55757         interface.
55759         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55760         (internal_getgrouplist): Adjust to name change.
55761         Update use_initgroups_entry if this is not the first call.
55762         * nss/databases.def: Add initgroups entry.
55764         * nss/makedb.c (compute_tables): Check result of multiple hash table
55765         sizes to minimize maximum chain length.
55767 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
55769         * Versions.def: Add entry for libnss_db.
55770         * shlib-versions: Likewise.
55771         * nss/Makefile: Add rules to build libnss_db.
55772         * nss/Versions: Add libnss_db information.  Organize libnss_files
55773         entries better.
55774         * nss/db-Makefile: Add gshadow support.  Change rules for the new
55775         makedb progra.  Some minor improvements to generate smaller files.
55776         * nss/nss_db/nss_db.h: Move NSS database header data structures to
55777         here from...
55778         * nss/makedb.c: ...here.
55779         Improve database format to be smaller and require less memory at
55780         runtime.
55781         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
55782         db anymore.
55783         * nss/nss_db/db-netgrp.c: Likewise.
55784         * nss/nss_db/db-open.c: Likewise.
55785         * nss/nss_files/flies-XXX.x: Adjust comments.
55786         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55787         * nss/nss_files/files-grp.c: Likewise.
55788         * nss/nss_files/files-hosts.c: Likewise.
55789         * nss/nss_files/files-network.c: Likewise.
55790         * nss/nss_files/files-proto.c: Likewise.
55791         * nss/nss_files/files-pwd.c: Likewise.
55792         * nss/nss_files/files-rpc.c: Likewise.
55793         * nss/nss_files/files-service.c: Likewise.
55794         * nss/nss_files/files-sgrp.c: Likewise.
55795         * nss/nss_files/files-spwd.c: Likewise.
55796         * nss/nss_db/db-alias.c: Removed.
55797         * nss/nss_db/dummy-db.h: Removed.
55799 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
55801         * nss/makedb.c: Rewritten to not use database library.
55802         * nss/Makefile: Update to build new makedb program.
55804 2011-06-14  Andreas Jaeger  <aj@suse.de>
55806         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55807         memset declaration.
55809 2011-06-10  Andreas Schwab  <schwab@redhat.com>
55811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55812         tmpbuf.
55814 2011-06-10  Roland McGrath  <roland@hack.frob.com>
55816         * Makerules (shlib.lds): Fail if the linker script comes out empty.
55817         * elf/Makefile ($(objpfx)ld.so): Likewise.
55819         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55820         Don't list ld.so twice in dependencies.
55822         * posix/bug-regex31.c: Include <stdlib.h>.
55824         * nscd/hstcache.c (cache_addhst): Remove unused variable.
55826         * nis/nss_compat/compat-spwd.c
55827         (getspent_next_nss_netgr): Remove unused variable.
55828         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55830         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55831         nonmembers" output to use the right array.
55833         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55835         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55837         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55838         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55839         * catgets/gencat.c (read_input_file): Likewise.
55840         * locale/programs/locarchive.c (enlarge_archive): Likewise.
55842         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55843         variable definition inside #if's controlling its use.
55845         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55847         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55849         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55851         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55852         unreachable code.
55854         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55856         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55857         * configure: Regenerated.
55859         * Makerules: Revert last change.
55860         * elf/Makefile: Likewise.
55862 2011-06-09  Roland McGrath  <roland@hack.frob.com>
55864         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55865         * elf/Makefile ($(objpfx)librtld.os): Likewise.
55866         (reloc-link): Likewise.
55868 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
55870         * elf/Makefile: Add rules to build pldd.
55871         * elf/pldd.c: New file.
55872         * elf/pldd-xx.c: New file.
55874 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
55876         * version.h: Update for 2.15 development version.
55878 2011-06-07  David S. Miller  <davem@davemloft.net>
55880         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55881         ifuncs.
55882         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55883         elf_machine_lazy_rel): Likewise.
55884         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55885         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55886         elf_machine_lazy_rel): Likewise.
55887         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55888         dl_hwcap via passed in argument.
55889         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55890         Likewise.
55892 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55894         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
55896 2011-06-06  Roland McGrath  <roland@hack.frob.com>
55898         [BZ #12849]
55899         * manual/fdl-1.1.texi: New file, verbatim from:
55900         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55901         * manual/lgpl-2.1.texi: New file, verbatim from:
55902         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55903         * manual/Makefile (licenses): New variable, list those new file names.
55904         (texis): Use it.
55905         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55907         * manual/fdl.texi: File removed.
55908         * manual/lesser.texi: File removed.
55909         * manual/libc.texinfo (Copying, Documentation License):
55910         Use new @include file names, put @appendix directive before @include.
55912 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
55914         [BZ #12841]
55915         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55916         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55917         (mq_open): Add __NTH.
55919 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
55921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55922         Assume Intel Core i3/i5/i7 processor if AVX is available.
55924 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55926         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55927         typo.
55929 2011-05-31  Andreas Schwab  <schwab@redhat.com>
55931         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55932         memory.  Use alloca_account.  Fix memory leak when retrying.
55934 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55936         * version.h (RELEASE): Bump for 2.14 release.
55937         * include/features.h (__GLIBC_MINOR__): Bump to 14.
55939         * config.make.in (RANLIB): Remove entry.
55941 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
55943         * po/Makefile (po-sed-cmd): Add ksh to extensions.
55944         (libc.pot): Work around missing support for .ksh extension in xgettext.
55946         [BZ #12684]
55947         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55948         if both request failed.
55949         (send_dg): In case of server errors clear resplen or *resplen2.
55951         [BZ #12454]
55952         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55953         when there are multiple maps.
55954         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55955         (_dl_fini): Remove test here.
55957         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55959 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
55961         [BZ #12350]
55962         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55963         bit from old_res_options.
55964         (gaih_inet): Likewise.
55966         [BZ #11099]
55967         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55968         as signed.
55970         * resolv/res_init.c (res_setoptions): Make the code more compact.
55972         [BZ #11558]
55973         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55974         set RES_USEVC.
55976         [BZ #11634]
55977         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55979         * malloc/malloc.h: Mark malloc hook variables as deprecated.
55981         [BZ #11781]
55982         * malloc/malloc.h: Declare malloc hook variables as volatile.
55984         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55985         in last patch.
55987         [BZ #11799]
55988         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55989         raise in the comment.
55990         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55991         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55992         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55994 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
55996         [BZ #12811]
55997         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55998         grow the buffers more if it already has to be sufficient.
55999         (build_wcs_upper_buffer): Likewise.
56000         * posix/regexec.c (check_matching): Likewise.
56001         (clean_state_log_if_needed): Likewise.
56002         (extend_buffers): Don't enlarge buffers beyond size of the input
56003         buffer.
56004         Patches mostly by Emil Wojak <emil@wojak.eu>.
56005         * posix/bug-regex32.c: New file.
56006         * posix/Makefile (tests): Add bug-regex32.
56008         * locale/findlocale.c (_nl_find_locale): Return right away if
56009         _nl_explode_name failed.
56010         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56012         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56014         * debug/xtrace.sh: Unify messages.
56015         * malloc/memusage.sh: Likewise.
56017         [BZ #12813]
56018         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56019         time symbol from vDSO.  Substitute with vsyscall if not available.
56020         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56021         __vdso_time.
56023         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56024         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56025         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56026         Add sendmmsg and internal_sendmmsg.
56027         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56028         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56029         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56031         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56032         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56033         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56035 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
56037         [BZ #12813]
56038         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56039         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
56040         available.
56041         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56042         __vdso_getcpu.
56044         [BZ #12814]
56045         * iconvdata/Makefile (tests): Add bug-iconv9.
56046         * iconvdata/bug-iconv9.c: New file.
56048 2011-05-27  Andreas Schwab  <schwab@redhat.com>
56050         [BZ #12814]
56051         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56053 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
56055         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56056         (struct user_regs_struct): Change intcs field back to cs.
56058 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
56060         * po/ja.po: Update from translation team.
56062 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
56064         [BZ #12795]
56065         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56066         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56068 2011-05-20  Andreas Schwab  <schwab@redhat.com>
56070         * stdlib/longlong.h: Update from GCC.
56072 2011-05-23  Andreas Schwab  <schwab@redhat.com>
56074         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56075         parameter name.
56076         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56077         Add parameter name.
56078         (__sysconf): Pass it down.
56080 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
56082         [BZ #12671]
56083         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56084         some situations.
56085         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56086         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56087         add in in __libc_use_alloca calls.  Adjust callers.
56088         (glob): Use malloc in some situations.
56090         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56091         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56092         pltexit.
56094 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
56096         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56097         and CLOCK_BOOTTIME_ALARM.
56099         [BZ #12782]
56100         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56101         is returned.
56103         * string/_strerror.c (__strerror_r): Print negative errors as signed
56104         numbers.
56106         [BZ #12777]
56107         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
56108         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
56109         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
56111         * configure.in: Fix typo in redirection and correct removal of test
56112         files in two cases.
56114         [BZ #12788]
56115         * locale/setlocale.c (new_composite_name): Fix test to check for
56116         identical name of all categories.
56118         [BZ #12792]
56119         * libio/filedoalloc.c (local_isatty): New function.
56120         (_IO_file_doallocate): Use local_isatty.
56121         * stdio-common/perror.c (perror): In case a new stream is used
56122         forward the stream error.
56123         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
56124         error flag.
56126 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
56128         [BZ #11869]
56129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
56130         alloca.
56131         * include/alloca.h (extend_alloca_account): Define.
56133         [BZ #11857]
56134         * posix/regex.h: Fix comments with documentation of user-accessible
56135         fields after compilation and describe correct free'ing of pattern
56136         after re_compile_pattern.
56137         Patch by Reuben Thomas <rrt@sc3d.org>.
56139 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
56141         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
56142         and -mno-altivec to prevent the compiler from using Altivec and/or
56143         VSX instructions when the corresponding registers are not available.
56145 2011-05-19  Andreas Schwab  <schwab@redhat.com>
56147         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
56149 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
56151         * libio/freopen.c (freopen): Use __dup2, not dup2.
56152         * libio/freopen64.c (freopen64): Likewise.
56154 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56156         [BZ #12775]
56157         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
56158         * math/Makefile (tests): Add test-powl.
56159         (CFLAGS-test-powl.c): Define.
56160         * math/test-powl.c: New file.
56162 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56164         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
56166 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
56168         [BZ #11837]
56169         * iconvdata/gb18030.c: Update to GB18020-2005.
56171 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
56173         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
56174         RE_SYNTAX_POSIX_AWK): Update to match recent development.
56175         Patch by Aharon Robbins <arnold@skeeve.com>.
56177         [BZ #11892]
56178         * stdlib/putenv.c (putenv): Don't always create copy of the variable
56179         on the stack.
56181         [BZ #11895]
56182         * misc/pselect.c (__pselect): Handle timeout value errors hidden
56183         through underflows.
56185         [BZ #12766]
56186         * misc/error.c (error_at_line): Ensure file_name and old_file_name
56187         point to strings before performing equality test for error_one_per_line
56188         mode.
56190         [BZ #11697]
56191         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
56193         [BZ #11820]
56194         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56195         (struct user_fpregs_struct): Avoid __uint*_t types.
56197         [BZ #6420]
56198         * malloc/mtrace.c (tr_where): Add additional parameter to point to
56199         symbol info.  Use it instead of calling _dl_addr locally.
56200         (lock_and_info): New function.
56201         (tr_freehook): Call lock_and_info and pass symbol info as additional
56202         parameter to tr_where.
56203         (tr_mallochook): Likewise.
56204         (tr_reallochook): Likewise.
56205         (tr_memalignhook): Likewise.
56207         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
56208         used and couldn't be at all thread-safe.
56210 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
56212         * libio/freopen.c (freopen): Don't close old file descriptor
56213         before the new one is opened.  Instead dup the new file descriptor
56214         to the old one after the new stream is created.
56215         * libio/freopen64.c (freopen64): Likewise.
56216         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56217         * libio/fileops.c (_IO_new_file_close_it): Handle new
56218         _IO_FLAGS2_NOCLOSE flag.
56219         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56220         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56221         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56222         _IO_FLAGS2_NOCLOSE flag.
56223         * include/unistd.h: Add hidden_proto for dup3.
56224         Define __have_dup3.
56225         * io/dup3.c: Define hidden symbol.
56226         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56228         [BZ #7101]
56229         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56230         when an incomplete long option is used.
56231         * posix/tst-getopt_long1.c: New file.
56232         * posix/Makefile (tests): Add tst-getopt_long1.
56234         [BZ #10138]
56235         * scripts/config.guess: Update from autoconf-2.68.
56236         * scripts/config.sub: Likewise.
56238         [BZ #10157]
56239         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56240         tests into ...
56241         (has_cpuclock): ...this.  New function.
56242         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56243         macro here based on has_cpuclock code.
56245         [BZ #10149]
56246         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56247         First byte (not low byte) is now always NUL.
56248         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56250         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56251         Use non-cancelable interfaces.
56253         [BZ #9809]
56254         * locale/iso-639.def: Add entry for Sorani.
56256         [BZ #11901]
56257         * include/stdlib.h: Move include protection to the right place.
56258         Define abort_msg_s.  Declare __abort_msg with it.
56259         * stdlib/abort.c (__abort_msg): Adjust type.
56260         * assert/assert.c (__assert_fail_base): New function.  Majority
56261         of code from __assert_fail.  Allocate memory for __abort_msg with
56262         mmap.
56263         (__assert_fail): Now call __assert_fail_base.
56264         * assert/assert-perr.c: Remove bulk of implementation.  Use
56265         __assert_fail_base.
56266         * include/assert.hL Declare __assert_fail_base.
56267         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56268         mmap.
56269         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56271 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
56273         [BZ #11952]
56274         [BZ #12453]
56275         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56276         until all modules are registered in the DTV.
56277         * elf/Makefile: Add rules to build and run tst-tls19.
56278         * elf/tst-tls19.c: New file.
56279         * elf/tst-tls19mod1.c: New file.
56280         * elf/tst-tls19mod2.c: New file.
56281         * elf/tst-tls19mod3.c: New file.
56282         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56284         [BZ #12083]
56285         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56286         correctly.
56288         [BZ #12601]
56289         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56290         two-byte sequence errors.
56291         * iconvdata/Makefile (tests): Add bug-iconv8.
56292         * iconvdata/bug-iconv8.c: New file.
56294         [BZ #12626]
56295         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56296         buf2 definition.
56298         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56300         [BZ #12432]
56301         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56302         (dummy_getcfa): New function.
56303         (init): Get _Unwind_GetCFA address, use dummy if not found.
56304         (backtrace_helper): In recursion check, also check whether CFA changes.
56305         (__backtrace): Completely initialize arg.
56307         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
56308         storing incomplete byte sequence in state object.  Avoid testing for
56309         guaranteed too small input if we know there is enough data available.
56311 2011-05-11  Andreas Schwab  <schwab@redhat.com>
56313         * Makeconfig (+link-pie): Indent.
56314         * Rules (binaries-pie): Define if $(have-fpie) and
56315         $(build-shared).
56316         (binaries-shared): Also filter out $(binaries-pie).
56317         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56318         * nscd/Makefile (others-pie): Add nscd.
56319         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56320         ($(objpfx)nscd): Remove command override.
56321         * login/Makefile (others-pie): Add pt_chown.
56322         ($(objpfx)pt_chown): Remove command override.
56323         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56324         remove command overrides.
56326 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
56328         * libio/tst_putwc.c: Fix error messages.
56330         [BZ #12724]
56331         * libio/fileops.c (_IO_new_file_close_it): Always flush when
56332         currently writing and seek to current position when not.
56333         * libio/Makefile (tests): Add bug-fclose1.
56334         * libio/bug-fclose1.c: New file.
56336 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
56338         [BZ #12511]
56339         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56340         don't set DF_1_NODELETE here.
56341         (do_lookup_x): When entering new entry test for copy relocation
56342         and if necessary set DF_1_NODELETE flag.
56343         * elf/tst-unique4.cc: New file.
56344         * elf/tst-unique4.h: New file.
56345         * elf/tst-unique4lib.cc: New file.
56346         * elf/Makefile: Add rules to build and run tst-unique4.
56347         Patch by Piotr Bury <pbury@goahead.com>.
56349 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
56351         [BZ #12052]
56352         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56354         [BZ #12625]
56355         * misc/mntent_r.c (addmntent): Flush the stream after the output
56357         [BZ #12393]
56358         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56359         (is_trusted_path_normalize): Skip initial colon.  Append slash
56360         to empty buffer.  Duplicate is_trusted_path code but allow
56361         constructed patch to be prefix.
56362         (is_dst): Allow $ORIGIN followed by /.
56363         (_dl_dst_substitute): Correct clearing of check_for_trusted.
56364         Correct testing of result of is_trusted_path_normalize
56365         (decompose_rpath): Fix warning.
56367 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
56369         [BZ #11257]
56370         * grp/initgroups.c (internal_getgrouplist): When we found the service
56371         list through the initgroups entry in nsswitch.conf do not always
56372         continue on a successful lookup.  Don't always use the
56373         __nss_group_database value if it is set.
56374         * nss/nsswitch.conf (initgroups): Change action for successful db
56375         lookup to continue for compatibility.
56377 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
56379         [BZ #11532]
56380         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56381         and CP774 modules.
56382         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56383         and CP774 modules.
56384         * iconvdata/tst-tables.sh: Likewise.
56385         * iconvdata/cp770.c: New file.
56386         * iconvdata/cp771.c: New file.
56387         * iconvdata/cp772.c: New file.
56388         * iconvdata/cp773.c: New file.
56389         * iconvdata/cp774.c: New file.
56390         * iconvdata/testdata/CP770: New file.
56391         * iconvdata/testdata/CP770..UTF8: New file.
56392         * iconvdata/testdata/CP771: New file.
56393         * iconvdata/testdata/CP771..UTF8: New file.
56394         * iconvdata/testdata/CP772: New file.
56395         * iconvdata/testdata/CP772..UTF8: New file.
56396         * iconvdata/testdata/CP773: New file.
56397         * iconvdata/testdata/CP773..UTF8: New file.
56398         * iconvdata/testdata/CP774: New file.
56399         * iconvdata/testdata/CP774..UTF8: New file.
56401         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56402         END CHARMAP line.
56403         * iconvdata/gen-8bit-gap.sh: Likewise.
56404         * iconvdata/gen-8bit.sh: Likewise.
56406         * locale/iso-639.def: Add ary entry.
56408         [BZ #11258]
56409         * locale/C-translit.h.in: Add U20A1 transliteration.
56411         [BZ #12178]
56412         * locale/iso-639.def: Add wae entry.
56413         Patch by Kevin Bortis <bortis@translate-wae.ch>.
56415         [BZ #12545]
56416         * locale/programs/localedef.c (construct_output_path): Use ssize_t
56417         for n.
56419         [BZ #12711]
56420         * locale/C-translit.h.in: Add entry for U20B9.
56421         Patch by pravin.d.s@gmail.com.
56423 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
56425         [BZ #12713]
56426         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56427         ENAMETOOLONG use generic getcwd.
56428         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
56429         in rtld.  Use *stat64.
56430         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
56431         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56432         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56433         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56434         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56435         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56436         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56437         __fstatat64 macros.
56438         * include/dirent.h: Add libc_hidden_proto for rewinddir.
56439         * dirent/rewinddir.c: Add libc_hidden_def.
56440         * sysdeps/mach/hurd/rewinddir.c: Likewise.
56441         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
56443         * include/dirent.h (__alloc_dir): Add flags parameter.
56444         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56445         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56446         __alloc_dir.
56447         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
56448         from fdopendir if O_CLOEXEC is already set.
56450 2011-03-15  Alan Modra  <amodra@gmail.com>
56452         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56453         l_tls_firstbyte_offset non-zero.  Save padding offset in
56454         l_tls_firstbyte_offset for later use.
56455         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56456         freeing static tls block.
56458 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
56460         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56461         where #ifdef was intended.  The intent is to prevent ARG_MAX from
56462         being defined by the kernel headers.
56464 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
56466         [BZ #12734]
56467         * resolv/resolv.h: Define RES_NOTLDQUERY.
56468         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56469         no-tld-query and set RES_NOTLDQUERY.
56470         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56471         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56472         modern BIND to search name as TLD unless forbidden.
56474 2011-05-07  Petr Baudis  <pasky@suse.cz>
56475             Ulrich Drepper  <drepper@gmail.com>
56477         [BZ #12393]
56478         * elf/dl-load.c (fillin_rpath): Move trusted path check...
56479         (is_trusted_path): ...to here.
56480         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56481         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56482         using is_trusted_path_normalize() in setuid scripts.
56484 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56486         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56487         __BEGIN/__END_DECLS.
56489 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
56491         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56492         NSS_STATUS_NOTFOUND if no record was found.
56494 2011-05-05  Andreas Schwab  <schwab@redhat.com>
56496         * sunrpc/Makefile (headers): Add rpc/netdb.h.
56497         (headers-not-in-tirpc): Remove rpc/netdb.h
56498         * resolv/netdb.h: Revert last change.
56500 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56502         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56503         circular dependency between libgcc.a and libc.a.
56505 2011-05-05  Andreas Schwab  <schwab@redhat.com>
56507         * resolv/netdb.h: Don't include <rpc/netdb.h>.
56508         * nis/Makefile: Don't install rpcsvc/*.
56509         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56510         instead of <rpc/types.h>.
56511         (MAXHOSTNAMELEN): Define.
56513 2011-05-03  Andreas Schwab  <schwab@redhat.com>
56515         * elf/ldconfig.c (add_dir): Don't crash on empty path.
56517 2011-04-28  Maciej Babinski  <mbabinski@google.com>
56519         [BZ #12714]
56520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56521         gethostbyname4_r when IPv6 results are possible.
56523 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
56525         [BZ #12723]
56526         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56527         _PC_PIPE_BUF handling.
56529 2011-04-30  Bruno Haible  <bruno@clisp.org>
56531         [BZ #12717]
56532         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56533         * resolv/netdb.h (getnameinfo): Change type of flags parameter
56534         to 'int'.
56535         * inet/getnameinfo.c (getnameinfo): Likewise.
56537 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
56539         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56540         to groups setting in database lookup.
56541         * nss/nsswitch.conf: Add initgroups entry.
56543 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
56545         [BZ #12685]
56546         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56547         mode string.
56548         Patch by Eric Blake <eblake@redhat.com>.
56550 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
56552         * sunrpc/Makefile (need-export-routines): Add svc_run.
56553         (routines): Remove svc_run.
56554         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56555         * sunrpc/clnt_perr.c (clnt_perrno): Export.
56556         * sunrpc/svc_run.c (svc_run): Likewise.
56557         * sunrpc/svc_udp.c (svcudp_create): Likewise.
56559 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
56561         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56562         problem in reallocation in last patch.
56564 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
56566         * sunrpc/Makefile: Move inclusion of Rules.
56568 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
56570         * nss/nss_files/files-initgroups.c: New file.
56571         * nss/Makefile (libnss_files-routines): Add files-initgroups.
56572         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56573         _nss_files_initgroups_dyn.
56575 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
56577         * elf/elf.h (R_ARM_IRELATIVE): Define.
56579 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
56581         * po/ru.po: Update from translation team.
56583 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
56585         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56586         dependencies.
56588 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
56590         [BZ #12653]
56591         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56592         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56593         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56594         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56595         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56597 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
56599         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56600         differing bytes.
56601         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56602         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56603         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56605 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
56607         [BZ #12420]
56608         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56609         storing it.
56610         * stdlib/bug-getcontext.c: New file.
56611         * stdlib/Makefile: Add rules to build and run bug-getcontext.
56613 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56615         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56616         instructions into .machine "z9-109".
56617         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56618         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56620 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56622         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56623         between environment variables and auxiliary vector.
56625 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
56627         * Makefile: Add rules to build linkobj/libc.so.
56628         * include/libc-symbols.h: Define libc_hidden_nolink.
56629         * include/rpc/auth.h: Mark functions which are to be hidden.
56630         * include/rpc/auth_des.h: Likewise.
56631         * include/rpc/auth_unix.h: Likewise.
56632         * include/rpc/clnt.h: Likewise.
56633         * include/rpc/des_crypt.h: Likewise.
56634         * include/rpc/key_prot.h: Likewise.
56635         * include/rpc/pmap_clnt.h: Likewise.
56636         * include/rpc/pmap_prot.h: Likewise.
56637         * include/rpc/pmap_rmt.h: Likewise.
56638         * include/rpc/rpc_msg.h: Likewise.
56639         * include/rpc/svc.h: Likewise.
56640         * include/rpc/svc_auth.h: Likewise.
56641         * include/rpc/xdr.h: Likewise.
56642         * nis/Makefile: Link all DSOs against linkobj/libc.so.
56643         * nss/Makefile: Likewise.
56644         * sunrpc/Makefile: Don't install headers.  Build library with normal
56645         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
56646         * sunrpc/auth_des.c: Hide exported symbols by default, export some
56647         for the compat linking library.  Remove use of INTDEF/INTUSE.
56648         * sunrpc/auth_none.c: Likewise.
56649         * sunrpc/auth_unix.c: Likewise.
56650         * sunrpc/authdes_prot.c: Likewise.
56651         * sunrpc/authuxprot.c: Likewise.
56652         * sunrpc/clnt_gen.c: Likewise.
56653         * sunrpc/clnt_perr.c: Likewise.
56654         * sunrpc/clnt_raw.c: Likewise.
56655         * sunrpc/clnt_simp.c: Likewise.
56656         * sunrpc/clnt_tcp.c: Likewise.
56657         * sunrpc/clnt_udp.c: Likewise.
56658         * sunrpc/clnt_unix.c: Likewise.
56659         * sunrpc/des_crypt.c: Likewise.
56660         * sunrpc/des_soft.c: Likewise.
56661         * sunrpc/get_myaddr.c: Likewise.
56662         * sunrpc/key_call.c: Likewise.
56663         * sunrpc/key_prot.c: Likewise.
56664         * sunrpc/netname.c: Likewise.
56665         * sunrpc/pm_getmaps.c: Likewise.
56666         * sunrpc/pm_getport.c: Likewise.
56667         * sunrpc/pmap_clnt.c: Likewise.
56668         * sunrpc/pmap_prot.c: Likewise.
56669         * sunrpc/pmap_prot2.c: Likewise.
56670         * sunrpc/pmap_rmt.c: Likewise.
56671         * sunrpc/publickey.c: Likewise.
56672         * sunrpc/rpc_cmsg.c: Likewise.
56673         * sunrpc/rpc_common.c: Likewise.
56674         * sunrpc/rpc_dtable.c: Likewise.
56675         * sunrpc/rpc_prot.c: Likewise.
56676         * sunrpc/rpc_thread.c: Likewise.
56677         * sunrpc/rtime.c: Likewise.
56678         * sunrpc/svc.c: Likewise.
56679         * sunrpc/svc_auth.c: Likewise.
56680         * sunrpc/svc_authux.c: Likewise.
56681         * sunrpc/svc_raw.c: Likewise.
56682         * sunrpc/svc_run.c: Likewise.
56683         * sunrpc/svc_simple.c: Likewise.
56684         * sunrpc/svc_tcp.c: Likewise.
56685         * sunrpc/svc_udp.c: Likewise.
56686         * sunrpc/svc_unix.c: Likewise.
56687         * sunrpc/svcauth_des.c: Likewise.
56688         * sunrpc/xcrypt.c: Likewise.
56689         * sunrpc/xdr.c: Likewise.
56690         * sunrpc/xdr_array.c: Likewise.
56691         * sunrpc/xdr_float.c: Likewise.
56692         * sunrpc/xdr_intXX_t.c: Likewise.
56693         * sunrpc/xdr_mem.c: Likewise.
56694         * sunrpc/xdr_rec.c: Likewise.
56695         * sunrpc/xdr_ref.c: Likewise.
56696         * sunrpc/xdr_sizeof.c: Likewise.
56697         * sunrpc/xdr_stdio.c: Likewise.
56699 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
56701         [BZ #12650]
56702         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56703         * sysdeps/ia64/dl-tls.h: Likewise.
56704         * sysdeps/powerpc/dl-tls.h: Likewise.
56705         * sysdeps/s390/dl-tls.h: Likewise.
56706         * sysdeps/sh/dl-tls.h: Likewise.
56707         * sysdeps/sparc/dl-tls.h: Likewise.
56708         * sysdeps/x86_64/dl-tls.h: Likewise.
56709         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56711 2011-03-14  Andreas Schwab  <schwab@redhat.com>
56713         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56714         rpath element also skip the following colon.
56715         (expand_dynamic_string_token): Add is_path parameter and pass
56716         down to DL_DST_REQUIRED and _dl_dst_substitute.
56717         (decompose_rpath): Call expand_dynamic_string_token with
56718         non-zero is_path.  Ignore empty rpaths.
56719         (_dl_map_object_from_fd): Call expand_dynamic_string_token
56720         with zero is_path.
56722 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
56724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56725         Make cancelable.
56727 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
56729         [BZ #12655]
56730         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56731         Patch by Filipe David Manana <fdmanana@apache.org>.
56733 2011-04-07  Andreas Schwab  <schwab@redhat.com>
56735         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56736         Maintain aligned stack.
56737         (CHECK_RSP): Remove unused macro.
56739 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
56741         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56742         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56744 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
56746         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56748         * include/features.h: Mention __USE_XOPEN2K8 in comment.
56750 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
56752         [BZ #12518]
56753         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56754         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56755         * sysdeps/x86_64/memmove.c: New file.
56756         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56757         (memcpy): Renamed to ...
56758         (__new_memcpy): This.
56759         (memcpy): Provide GLIBC_2_14 memcpy.
56760         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56761         (memcpy): Provide GLIBC_2_2_5 memcpy.
56763 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56765         [BZ #12631]
56766         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56768 2011-03-30  Andreas Schwab  <schwab@redhat.com>
56770         * misc/syncfs.c: New file.
56771         * misc/Makefile (routines): Add syncfs.
56772         * posix/unistd.h: Declare syncfs.
56773         * sysdeps/unix/syscalls.list: Add syncfs.
56775 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56777         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56778         open_by_handle_at.
56779         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56780         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56781         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56782         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56783         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56784         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56785         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56787 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56789         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56790         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56791         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56792         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56793         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56794         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56795         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56797         * io/Makefile: Compile fallocate.c, fallocate64.c, and
56798         sync_file_range.c with -fexceptions.
56799         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56800         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56801         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56802         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56803         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56804         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56805         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56806         sync_file_range as cancellation point
56807         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
56808         now a wrapper around __call_sync_file_range with cancellation handling.
56809         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56810         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
56811         function name to __call_sync_file_range.
56812         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56813         Add call_sync_file_range.
56815 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56818         bits/timex.h.
56820 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56822         * iconv/iconv.h: Fix typo in comment.
56823         * io/fcntl.h: Likewise.
56824         * libio/stdio.h: Likewise.
56825         * posix/spawn.h: Likewise.
56826         * posix/unistd.h: Likewise.
56827         * stdlib/stdlib.h: Likewise.
56828         * time/time.h: Likewise.
56829         * wcsmbs/wchar.h: Likewise.
56831         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56832         open_by_handle): Add.
56833         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56834         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
56835         Augment a few comments.
56836         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56837         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56838         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56839         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56840         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56841         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56842         open_by_handle.
56844         * io/fcntl.h (AT_EMPTY_PATH): Define.
56846 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
56848         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56849         * sysdeps/unix/sysv/linux/bits/time.h: New file.
56850         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56851         to...
56852         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
56853         * Versions.def: Add GLIBC_2.14.
56854         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56855         Export.
56857 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
56859         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56860         round counter.
56861         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56863 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56865         [BZ #12597]
56866         * string/test-strncmp.c (do_page_test): New function.
56867         (check2): Likewise.
56868         (test_main): Call check2.
56869         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56871 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
56873         [BZ #12587]
56874         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56875         Handle cache information in CPU leaf 4.
56876         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56878 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
56880         [BZ #12583]
56881         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56882         character representation.
56883         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56885 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
56887         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56888         END(__isnan) to END(__isnanf) to match function entry point/label
56889         EALIGN(__isnanf,...).
56891 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
56893         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56895 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
56897         [BZ #12510]
56898         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56899         copy from the symbol referenced in the relocation to initialize the
56900         used variable.
56901         Patch by Piotr Bury <pbury@goahead.com>.
56902         * elf/Makefile: Add rules to build and tst-unique3.
56903         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56904         * elf/tst-unique3.cc: New file.
56905         * elf/tst-unique3.h: New file.
56906         * elf/tst-unique3lib.cc: New file.
56907         * elf/tst-unique3lib2.cc: New file.
56909         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56911 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
56913         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56914         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
56915         to _start.
56917 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
56919         * elf/dl-load.c (_dl_map_object): If we are looking for the first
56920         to-be-loaded object along a path to loader is ld.so.
56922 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56923             Ulrich Drepper  <drepper@gmail.com>
56925         * sysdeps/x86_64/memset.S: After aligning destination, code
56926         branches to different locations depending on the value of
56927         misalignment, when multiarch is enabled. Fix this.
56929 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56931         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56932         Set _x86_64_preferred_memory_instruction for AMD processsors.
56933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56934         Set bit_Prefer_SSE_for_memop for AMD processors.
56936 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
56938         * libio/fmemopen.c (fmemopen): Optimize a bit.
56940 2011-03-03  Andreas Schwab  <schwab@redhat.com>
56942         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56944 2011-03-03  Roland McGrath  <roland@redhat.com>
56946         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56948 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
56950         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56951         __bzero_ultra1 instead of __memset_ultra1.
56953 2011-02-23  Andreas Schwab  <schwab@redhat.com>
56954             Ulrich Drepper  <drepper@gmail.com>
56956         [BZ #12509]
56957         * include/link.h (struct link_map): Add l_orig_initfini.
56958         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56959         returning unsuccessfully.
56960         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56961         close of a file loaded at startup, restore the original l_initfini
56962         list.
56963         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56964         list, store the pointer.
56965         * elf/Makefile ($(objpfx)noload-mem): New rule.
56966         (noload-ENV): Define.
56967         (tests): Add $(objpfx)noload-mem.
56968         * elf/noload.c: Include <memcheck.h>.
56969         (main): Call mtrace.  Close all opened handles.
56971 2011-02-17  Andreas Schwab  <schwab@redhat.com>
56973         [BZ #12454]
56974         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56975         dependencies are missing.
56977 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56979         Fix __if_freereq crash: Unlike the generic version which uses free,
56980         Hurd needs munmap.
56981         * sysdeps/mach/hurd/ifreq.h: New file.
56983 2011-01-27  Petr Baudis  <pasky@suse.cz>
56984             Ulrich Drepper  <drepper@gmail.com>
56986         [BZ 12445]#
56987         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56988         to extend_alloca().
56989         * stdio-common/bug23.c: New file.
56990         * stdio-common/Makefile (tests): Add bug23.
56992 2010-09-28  Andreas Schwab  <schwab@redhat.com>
56993             Ulrich Drepper  <drepper@gmail.com>
56995         [BZ #12489]
56996         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56997         before performing relro protection.  At old place add assertion
56998         to make sure nothing changed.
57000 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
57001             Glauber de Oliveira Costa  <glommer@gmail.com>
57003         * elf/elf.h: Add new ARM TLS relocs.
57005 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
57007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57008         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57009         cast from r3.
57010         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
57011         'tests' variable.
57012         * sysdeps/wordsize-64/tst-writev.c: New file.
57014 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
57016         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57017         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57018         insns in _dl_start to prevent a TOC reference before relocs are
57019         resolved.
57021 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
57023         [BZ #12469]
57024         * Makeconfig: Remove RANLIB definition.
57025         * Makerules: Don't use RANLIB.
57026         * aclocal.m4: Remove ranlib test.
57027         * configure.in: No need to check for ranlib.
57028         * elf/rtld-Rules: Don't use RANLIB.
57030 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57032         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57033         protection macro.
57034         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57035         inclusion protection macro.
57037         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57038         SIGRTMIN and SIGRTMAX and print information in that case only when
57039         SIGRTMIN is defined.
57041 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
57043         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57044         arginfo fn returning -1.
57046         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57047         and thousands string is zero terminated.
57049 2011-02-03  Andreas Schwab  <schwab@redhat.com>
57051         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57052         sysdeps/unix/sysv/linux/bits/socket.h.
57054 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57056         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57057         (__CPU_COUNT): Remove old macros.
57058         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57059         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57060         (__CPU_ALLOC, __CPU_FREE): Add macros.
57061         (__sched_cpualloc, __sched_cpufree): Add declarations.
57063 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
57065         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57066         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57067         * nscd/aicache.c (addhstaiX): Return timeout of added value.
57068         (readdhstai): Return value of addhstaiX call.
57069         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57070         (addgrbyX): Return value returned by cache_addgr.
57071         (readdgrbyname): Return value returned by addgrbyX.
57072         (readdgrbygid): Likewise.
57073         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57074         (addpwbyX): Return value returned by cache_addpw.
57075         (readdpwbyname): Return value returned by addhstbyX.
57076         (readdpwbyuid): Likewise.
57077         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57078         (addservbyX): Return value returned by cache_addserv.
57079         (readdservbyname): Return value returned by addservbyX:
57080         (readdservbyport): Likewise.
57081         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57082         (addhstbyX): Return value returned by cache_addhst.
57083         (readdhstbyname): Return value returned by addhstbyX.
57084         (readdhstbyaddr): Likewise.
57085         (readdhstbynamev6): Likewise.
57086         (readdhstbyaddrv6): Likewise.
57087         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57088         (readdinitgroups): Return value returned by addinitgroupsX.
57089         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57090         (prune_cache): Keep track of timeout value of re-added entries.
57091         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57092         * nscd/nscd.h: Adjust prototypes of readd* functions.
57094 2011-02-04  Roland McGrath  <roland@redhat.com>
57096         * nis/nis_server.c (nis_servstate): Use the right name for 0.
57097         (nis_stats): Likewise.
57098         * nis/nis_modify.c (nis_modify): Likewise.
57099         * nis/nis_remove.c (nis_remove): Likewise.
57100         * nis/nis_add.c (nis_add): Likewise.
57102         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57104         * posix/fnmatch_loop.c: Add some consts.
57106         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
57108 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
57110         [BZ #12460]
57111         * config.make.in (config-cflags-novzeroupper): Define.
57112         * configure.in: Substitute libc_cv_cc_novzeroupper.
57113         * elf/Makefile (AVX-CFLAGS): Define.
57114         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
57115         (CFLAGS-tst-auditmod4a.c): Likewise.
57116         (CFLAGS-tst-auditmod4b.c): Likewise.
57117         (CFLAGS-tst-auditmod6b.c): Likewise.
57118         (CFLAGS-tst-auditmod6c.c): Likewise.
57119         (CFLAGS-tst-auditmod7b.c): Likewise.
57120         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
57122 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
57124         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
57125         function to the callback.
57126         Patch partly by Jiri Olsa <jolsa@redhat.com>.
57128 2011-02-02  Andreas Schwab  <schwab@redhat.com>
57130         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
57131         of errno.
57133 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
57135         [BZ #11724]
57136         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
57137         of constructors.
57138         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
57139         of destructors.
57140         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
57142         [BZ #11724]
57143         * elf/Makefile: Add rules to build and run new test.
57144         * elf/tst-initorder.c: New file.
57145         * elf/tst-initorder.exp: New file.
57146         * elf/tst-initordera1.c: New file.
57147         * elf/tst-initordera2.c: New file.
57148         * elf/tst-initordera3.c: New file.
57149         * elf/tst-initordera4.c: New file.
57150         * elf/tst-initorderb1.c: New file.
57151         * elf/tst-initorderb2.c: New file.
57152         * elf/tst-order-a1.c: New file.
57153         * elf/tst-order-a2.c: New file.
57154         * elf/tst-order-a3.c: New file.
57155         * elf/tst-order-a4.c: New file.
57156         * elf/tst-order-b1.c: New file.
57157         * elf/tst-order-b2.c: New file.
57158         * elf/tst-order-main.c: New file.
57159         New test case by George Gensure <werkt0@gmail.com>.
57161 2010-10-01  Andreas Schwab  <schwab@redhat.com>
57163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57164         decoding ACE if AI_CANONIDN.
57166 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
57168         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
57170 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
57172         * version.h (RELEASE): Bump for 2.13 release.
57173         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
57175         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
57177         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
57178         MADV_NOHUGEPAGE.
57179         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
57180         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57181         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57182         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57183         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57184         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57186         * posix/getconf.c: Update copyright year.
57187         * catgets/gencat.c: Likewise.
57188         * csu/version.c: Likewise.
57189         * debug/catchsegv.sh: Likewise.
57190         * debug/xtrace.sh: Likewise.
57191         * elf/ldconfig.c: Likewise.
57192         * elf/ldd.bash.in: Likewise.
57193         * elf/sprof.c (print_version): Likewise.
57194         * iconv/iconv_prog.c: Likewise.
57195         * iconv/iconvconfig.c: Likewise.
57196         * locale/programs/locale.c: Likewise.
57197         * locale/programs/localedef.c: Likewise.
57198         * malloc/memusage.sh: Likewise.
57199         * malloc/mtrace.pl: Likewise.
57200         * nscd/nscd.c (print_version): Likewise.
57201         * nss/getent.c: Likewise.
57203         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
57204         PF_CAIF, and PF_ALG.
57205         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57207 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
57209         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
57210         (modules-names): Use them.
57211         (ifunc-test-modules, ifunc-pie-tests): Define.
57212         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57213         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57214         (test-extras): Likewise.
57215         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57216         $(compile-command.c).
57217         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57218         (all-built-dso): Define.
57219         (check-textrel.out, check-execstack.out): Depend on it.
57221         * configure.in: Don't override --enable-multi-arch.
57223 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
57225         [BZ #6812]
57226         * nscd/hstcache.c (tryagain): Define.
57227         (cache_addhst): Return tryagain not notfound for temporary errors.
57228         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57229         failed.
57231 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
57233         [BZ #10563]
57234         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57235         to make the syscall.
57236         * sysdeps/unix/sysv/linux/setgroups.c: New file.
57238         [BZ #12378]
57239         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57240         and fall back to matching as normal character if the string ends before
57241         the matching ']' is found.  This is what POSIX requires.
57242         * posix/testfnm.c: Adjust test result.
57243         * posix/globtest.sh: Adjust test result.  Add new test.
57244         * posix/tst-fnmatch.input: Likewise.
57245         * posix/tst-fnmatch2.c: Add new test.
57247 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
57249         * elf/Makefile (check-execstack): Revert last change.  Depend on
57250         check-execstack.h.
57251         (check-execstack.h): New target.
57252         (generated): Add check-execstack.h.
57253         * elf/check-execstack.c: Include "check-execstack.h".
57254         (main): Revert last change.
57255         (handle_file): Return zero if GNU_STACK is absent and
57256         DEFAULT_STACK_PERMS doesn't include PF_X.
57258 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
57260         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57261         in child fails because the descriptor is already closed.
57262         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57263         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57264         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
57266         [BZ #12397]
57267         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57268         syscall.
57270         [BZ #10484]
57271         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57272         temporary buffer used to handle multi lookups locally.
57273         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
57275 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
57277         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57278         loader is ld.so.
57280 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
57282         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57283         alignment for SSE2.
57285 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
57287         [BZ #12394]
57288         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57289         characters.  When rounding increased number of integer digits recompute
57290         number of groups.
57291         * stdio-common/tst-grouping.c: New file.
57292         * stdio-common/Makefile: Add rules to build and run tst-grouping.
57294 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
57296         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57297         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
57299         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57300         void.
57301         * bits/select.h: Likewise.
57303 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
57305         * po/ja.po: Update from translation team.
57307 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
57309         [BZ #11155]
57310         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57311         implementation just like for lxstat, fxstatat, et al.
57313 2010-12-27  Jim Meyering  <meyering@redhat.com>
57315         [BZ #12348]
57316         * posix/regexec.c (build_trtable): Return failure indication upon
57317         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
57319 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
57321         [BZ #12201]
57322         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57323         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57324         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57325         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57327         [BZ #12207]
57328         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57330         [BZ #12204]
57331         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57332         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57334 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
57336         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57337         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57338         script has SORT_BY_INIT_PRIORITY.
57339         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57340         NO_CTORS_DTORS_SECTIONS is defined.
57341         * elf/soinit.c: Likewise.
57342         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57343         NO_CTORS_DTORS_SECTIONS is defined.
57344         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57345         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57346         * sysdeps/sh/init-first.c: Likewise.
57347         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57349 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
57351         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57352         always use the slow path.
57354 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
57356         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57357         similar rule which adds the sysdep directories to the header search in
57358         order to pick up the correct platform stackinfo.h.
57359         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57360         perform test if it is, otherwise return successfully without testing.
57361         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57362         DEFAULT_STACK_PERMS define in stackinfo.h.
57363         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57364         defined in stackinfo.h.
57365         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57366         DEFAULT_STACK_PERMS defined in stackinfo.h.
57367         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57368         * sysdeps/ia64/stackinfo.h: Likewise.
57369         * sysdeps/s390/stackinfo.h: Likewise.
57370         * sysdeps/sh/stackinfo.h: Likewise.
57371         * sysdeps/sparc/stackinfo.h: Likewise.
57372         * sysdeps/x86_64/stackinfo.h: Likewise.
57373         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57374         PF_X for powerpc64.  Retain PF_X for powerpc32.
57376 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
57378         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57379         accurately.
57380         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57381         GETDENTS_64BIT_ALIGNED.
57383 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
57385         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
57387 2010-12-10  Andreas Schwab  <schwab@redhat.com>
57389         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57390         _GNU_SOURCE.
57392         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57393         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57394         Remove __restrict.
57395         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57396         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57398 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
57400         [BZ #11655]
57401         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57402         are initialized.
57404 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
57406         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57408 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
57410         * po/it.po: Update from translation team.
57412 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
57414         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57415         unused codes.
57417 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
57419         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57421 2010-11-24  Andreas Schwab  <schwab@redhat.com>
57423         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57424         specially.
57425         (gaih_getanswer_slice): Likewise.
57427 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
57429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57431 2010-05-31  Petr Baudis  <pasky@suse.cz>
57433         [BZ #11149]
57434         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57435         silently even in the chroot mode.
57437 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
57439         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57440         last patch a bit.  Pretty printing
57442 2010-05-31  Petr Baudis <pasky@suse.cz>
57444         [BZ #10085]
57445         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57446         initialization of skip_initgroups_dyn.
57448 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
57450         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57451         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57453 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
57455         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57457 2010-11-11  Andreas Schwab  <schwab@redhat.com>
57459         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57460         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57461         (tst-fnmatch-ENV): Set MALLOC_TRACE.
57462         ($(objpfx)tst-fnmatch-mem): New rule.
57463         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57464         * posix/tst-fnmatch.c (main): Call mtrace.
57466 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
57468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57469         Support Intel processor model 6 and model 0x2c.
57471 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
57473         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57474           signed comparison.
57476 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
57478         [BZ #12205]
57479         * string/test-strncasecmp.c (check_result): New function.
57480         (do_one_test): Use it.
57481         (check1): New function.
57482         (test_main): Use it.
57483         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57484         Support strcasecmp and strncasecmp.
57486 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
57488         [BZ #12194]
57489         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57490         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57492 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57494         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57495         IFUNC support.
57496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57497         memset-x86-64.
57498         * sysdeps/x86_64/multiarch/bzero.S: New file.
57499         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57500         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57501         * sysdeps/x86_64/multiarch/memset.S: New file.
57502         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57504         Set bit_Prefer_SSE_for_memop for Intel processors.
57505         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57506         Define.
57507         (index_Prefer_SSE_for_memop): Define.
57508         (HAS_PREFER_SSE_FOR_MEMOP): Define.
57510 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
57512         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57513         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57515 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
57517         [BZ #12191]
57518         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57519         (__x86_64_raw_data_cache_size_half): Likewise.
57520         (__x86_64_raw_shared_cache_size): Likewise.
57521         (__x86_64_raw_shared_cache_size_half): Likewise.
57523         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57524         (__x86_64_raw_data_cache_size_half): Likewise.
57525         (__x86_64_raw_shared_cache_size): Likewise.
57526         (__x86_64_raw_shared_cache_size_half): Likewise.
57527         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57528         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57529         and __x86_64_raw_shared_cache_size_half.  Round
57530         __x86_64_data_cache_size_half, __x86_64_data_cache_size
57531         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57532         to multiple of 256 bytes.
57534 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
57536         [BZ #12167]
57537         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57538         of inacessible symlinks.  Verify result of symlink before returning it.
57539         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57540         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57542 2010-10-28  Erich Ritz  <erichritz@gmail.com>
57544         * math/math.h (isinf): Fix typo in comment.
57546 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
57548         * po/da.po: Update from translation team.
57550 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
57552         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57553         is added to the list.
57555 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57556             Ulrich Drepper  <drepper@gmail.com>
57558         * elf/dl-object.c (_dl_new_object): Don't append the new object to
57559         the global list here.  Move code to...
57560         (_dl_add_to_namespace_list): ...here.  New function.
57561         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57562         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57563         * elf/dl-load.c (lose): Don't remove the element from the list.
57564         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57565         (_dl_map_object): Likewise.
57567 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
57569         [BZ #12159]
57570         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57571         into all bytes of SSE register.
57572         Patch by Richard Li <richardpku@gmail.com>.
57574 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
57576         [BZ #12140]
57577         * malloc/malloc.c (_int_free): Fill correct number of bytes when
57578         perturbing.
57580 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
57582         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57583         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57584         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57585         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57587         submachine.
57588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57590 2010-10-22  Andreas Schwab  <schwab@redhat.com>
57592         * include/dlfcn.h (__RTLD_SECURE): Define.
57593         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
57594         mode & __RTLD_SECURE instead.
57595         (open_path): Rename preloaded parameter to secure.
57596         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57597         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57598         * elf/dl-deps.c (openaux): Likewise.
57599         * elf/rtld.c (struct map_args): Remove is_preloaded.
57600         (map_doit): Don't use it.
57601         (dl_main): Likewise.
57602         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57603         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57605 2010-09-09  Andreas Schwab  <schwab@redhat.com>
57607         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57608         (sysd-rules-targets): Remove duplicates.
57609         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57610         rtld-%.$o dependency.
57612 2010-10-18  Andreas Schwab  <schwab@redhat.com>
57614         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57615         _dl_map_object do it.
57617 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
57619         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57620         fast fma builtins, define the macros in the C99 standard.
57621         (FP_FAST_FMAF): Likewise.
57622         (FP_FAST_FMAL): Likewise.
57623         * sysdeps/x86_64/bits/mathdef.h: Likewise.
57625         * bits/mathdef.h: Update copyright year.
57626         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57628 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
57630         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57631         builtins, define the macros in the C99 standard.
57632         (FP_FAST_FMAF): Likewise.
57633         (FP_FAST_FMAL): Likewise.
57634         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57635         multiply/add.
57636         (FP_FAST_FMAF): Likewise.
57638 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
57640         [BZ #3268]
57641         * math/libm-test.inc (fma_test): Some new testcases.
57642         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57643         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57644         y and infinite z.  Do multiplication by C already in long double.
57645         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57647         y and infinite z.  Do bitwise or of inexact bit into u.d.
57648         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57649         * sysdeps/i386/fpu/s_fmaf.S: Removed.
57650         * sysdeps/i386/fpu/s_fma.S: Removed.
57651         * sysdeps/i386/fpu/s_fmal.S: Removed.
57653 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
57655         [BZ #3268]
57656         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57658         computation is not scheduled after fetestexcept.  Fix value
57659         of minimum denormal long double.
57661 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
57663         [BZ #3268]
57664         * math/libm-test.inc (fma_test): Add some more tests.
57665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57666         correctly.
57668 2010-10-15  Andreas Schwab  <schwab@redhat.com>
57670         * scripts/data/localplt-s390-linux-gnu.data: New file.
57671         * scripts/data/localplt-s390x-linux-gnu.data: New file.
57673 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
57675         [BZ #3268]
57676         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57677         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57678         instead of dbl-64.
57679         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57680         inlines.
57681         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57682         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57683         if one of x and y is very large and the other is subnormal.
57684         * sysdeps/s390/fpu/s_fmaf.c: New file.
57685         * sysdeps/s390/fpu/s_fma.c: New file.
57686         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57687         * sysdeps/powerpc/fpu/s_fma.S: New file.
57688         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57689         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57690         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57692 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
57694         [BZ #3268]
57695         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57696         fma tests.
57697         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57698         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57699         * sysdeps/i386/i686/multiarch/s_fma.c: Include
57700         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57701         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57702         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57703         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57705 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
57707         [BZ #12078]
57708         * posix/regcomp.c (parse_branch): One more memory leak plugged.
57709         * posix/bug-regex31.input: Add test case.
57711 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57713         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57714         * posix/bug-regex31.input: New file.
57716         [BZ #12078]
57717         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57718         (parse_sub_exp): Fix last change, use postorder.
57720         * posix/bug-regex31.c: New file.
57721         * posix/Makefile: Add rules to build and run bug-regex31.
57723         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57725         [BZ #12078]
57726         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57728         [BZ #12108]
57729         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57730         to have entries in sys_siglist.
57732         [BZ #12093]
57733         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57734         be NULL.
57736 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
57738         [BZ #3268]
57739         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57740         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57741         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57742         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57743         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57744         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57745         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57746         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57747         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57748         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57749         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57750         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57751         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57752         * math/ftestexcept.c (fetestexcept): Likewise.
57753         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57754         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57755         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57756         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57757         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57758         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57759         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57761 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57763         [BZ #12107]
57764         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57765         newline.
57767 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
57769         * string/bug-strstr1.c: New file.
57770         * string/Makefile: Add rules to build and run bug-strstr1.
57772 2010-10-05  Eric Blake  <eblake@redhat.com>
57774         [BZ #12092]
57775         * string/str-two-way.h (two_way_long_needle): Always clear memory
57776         when skipping input due to the shift table.
57778 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
57780         [BZ #12005]
57781         * malloc/mcheck.c: Handle large requests.
57783         [BZ #12077]
57784         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57785         for strncmp and strncasecmp.
57786         * string/stratcliff.c: Add tests for strcmp and strncmp.
57787         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57789 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57791         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57792         __set_fpscr.
57794 2010-09-30  Andreas Jaeger  <aj@suse.de>
57796         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57797         (CGROUP_SUPER_MAGIC): Define.
57798         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57799         Handle btrfs and cgroup file systems.
57800         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57801         Likewise.
57803 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
57805         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57806         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57808 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57810         [BZ #12067]
57811         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57812         trying to locate the ELF header.
57814 2010-09-27  Andreas Schwab  <schwab@redhat.com>
57816         [BZ #11611]
57817         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57818         Mask out sign-bit copies when constructing f_fsid.
57820 2010-09-24  Petr Baudis <pasky@suse.cz>
57822         * debug/stack_chk_fail_local.c: Add missing licence exception.
57823         * debug/warning-nop.c: Likewise.
57825 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
57827         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57828         implementing getdents64 using getdents syscall, set d_type if
57829         __ASSUME_GETDENTS32_D_TYPE.
57831 2010-09-16  Andreas Schwab  <schwab@redhat.com>
57833         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57834         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57836 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
57838         [BZ #12037]
57839         * posix/unistd.h: Undo change of feature selection for ftruncate from
57840         2010-01-11.
57842 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
57844         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57845         detection.
57847 2010-09-20  Andreas Schwab  <schwab@redhat.com>
57849         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57850         fanotify_mark.
57851         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57853 2010-09-14  Andreas Schwab  <schwab@redhat.com>
57855         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57856         variables after CHECK_SP call.
57857         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57859 2010-09-13  Andreas Schwab  <schwab@redhat.com>
57860             Ulrich Drepper  <drepper@redhat.com>
57862         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57863         re-relocationg ld.so.
57864         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57865         _dl_init_paths call.
57866         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
57867         here anymore.
57869 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
57871         * resolv/res_init.c (__res_vinit): Count the default server we added.
57873 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
57874             Ulrich Drepper  <drepper@redhat.com>
57876         [BZ #11968]
57877         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57878         (____longjmp_chk): Use %ebx for saving value across system call.
57879         Add unwind info.
57881 2010-09-06  Andreas Schwab  <schwab@redhat.com>
57883         * manual/Makefile: Don't mix pattern rules with normal rules.
57885 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57887         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57888         operation.
57889         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57890         * libio/iofopncook.c (_IO_cookie_init): Likewise.
57891         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57892         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57894         Likewise.
57896 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
57898         [BZ #11979]
57899         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57900         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57902 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
57904         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57905         * sysdeps/x86_64/addmul_1.S: Likewise.
57906         * sysdeps/x86_64/lshift.S: Likewise.
57907         * sysdeps/x86_64/mul_1.S: Likewise.
57908         * sysdeps/x86_64/rshift.S: Likewise.
57909         * sysdeps/x86_64/sub_n.S: Likewise.
57910         * sysdeps/x86_64/submul_1.S: Likewise.
57912 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57914         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57915         Define __sched_param instead of SCHED_* and sched_param when
57916         <bits/sched.h> is included with __need_schedparam defined.
57917         * bits/sched.h [__need_schedparam]
57918         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57919         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57920         (__defined_schedparam): Define to 1.
57921         (__sched_param): New structure, identical to sched_param.
57922         (__need_schedparam): Undefine.
57924 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
57926         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57927         (epoll_create1): Declare.
57929         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57931 2010-08-31  Andreas Schwab  <schwab@redhat.com>
57933         [BZ #7066]
57934         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57935         shifting retval into place.
57937 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
57939         * nis/rpcsvc/nis.h: Update copyright notice.
57940         * nis/rpcsvc/nis.x: Likewise.
57941         * nis/rpcsvc/nis_callback.h: Likewise.
57942         * nis/rpcsvc/nis_callback.x: Likewise.
57943         * nis/rpcsvc/nis_object.x: Likewise.
57944         * nis/rpcsvc/nis_tags.h: Likewise.
57945         * nis/rpcsvc/yp.h: Likewise.
57946         * nis/rpcsvc/yp.x: Likewise.
57947         * nis/rpcsvc/ypupd.h: Likewise.
57948         * nis/yp_xdr.c: Likewise.
57949         * nis/ypupdate_xdr.c: Likewise.
57951         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
57952         mainly the body of pmap_getport.  Add parameters to specify timeouts.
57953         (pmap_getport): Use __libc_rpc_getport.
57954         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57955         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57956         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57958 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
57960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57961         fanotify_mark.
57963 2010-08-27  Roland McGrath  <roland@redhat.com>
57965         * sysdeps/i386/i686/multiarch/Makefile
57966         (CFLAGS-varshift.c): New variable.
57968 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
57970         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57971         * sysdeps/i386/i686/multiarch/varshift.c: New file.
57973         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57975         * sysdeps/x86_64/strlen.S: Minimal code improvement.
57977 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
57979         * sysdeps/x86_64/strlen.S: Unroll the loop.
57980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57981         strlen-sse2 strlen-sse2-bsf.
57982         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57983         __strlen_no_bsf if bit_Slow_BSF is set.
57984         (__strlen_sse42): Removed.
57985         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57986         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57988 2010-08-25  Roland McGrath  <roland@redhat.com>
57990         * sysdeps/x86_64/multiarch/varshift.S: File removed.
57991         * sysdeps/x86_64/multiarch/varshift.c: New file.
57992         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57993         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57994         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57995         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57997 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
57999         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58000         strlen-sse2 strlen-sse2-bsf.
58001         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58002         __strlen_sse2_bsf if bit_Slow_BSF is unset.
58003         (__strlen_sse2): Removed.
58004         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58005         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58007         bit_Slow_BSF for Atom.
58008         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58009         (index_Slow_BSF): Define.
58010         (HAS_SLOW_BSF): Define.
58012 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
58014         [BZ #10851]
58015         * resolv/res_init.c (__res_vinit): When no server address at all
58016         is given default to loopback.
58018 2010-08-24  Roland McGrath  <roland@redhat.com>
58020         * configure.in: Remove config-name.h generation.
58021         * configure: Regenerated.
58022         * config-name.in: File removed.
58023         * scripts/config-uname.sh: New file.
58024         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58025         ($(objdir)config-name.h): New target.
58027         * sunrpc/rpc_parse.h: Avoid nested comment.
58029 2010-08-24  Richard Henderson  <rth@redhat.com>
58030             Ulrich Drepper  <drepper@redhat.com>
58031             H.J. Lu  <hongjiu.lu@intel.com>
58033         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58035         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58036         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
58037         _mm_alignr_epi8 with _mm_loadu_si128.
58038         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58039         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58040         (__m128i_shift_right): Removed.
58041         * sysdeps/i386/i686/multiarch/varshift.h: New file.
58042         * sysdeps/i386/i686/multiarch/varshift.S: New file.
58043         * sysdeps/x86_64/multiarch/varshift.h: New file.
58044         * sysdeps/x86_64/multiarch/varshift.S: New file.
58046 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
58048         * configure.in: Move assembler checks to before sysdep dir checking.
58050 2010-08-20  Petr Baudis  <pasky@suse.cz>
58052         * LICENSES: Sync the sunrpc license.
58054 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
58056         * sunrpc/auth_des.c: Update copyright notice once again.
58057         * sunrpc/auth_none.c: Likewise.
58058         * sunrpc/auth_unix.c: Likewise.
58059         * sunrpc/authdes_prot.c: Likewise.
58060         * sunrpc/authuxprot.c: Likewise.
58061         * sunrpc/bindrsvprt.c: Likewise.
58062         * sunrpc/clnt_gen.c: Likewise.
58063         * sunrpc/clnt_perr.c: Likewise.
58064         * sunrpc/clnt_raw.c: Likewise.
58065         * sunrpc/clnt_simp.c: Likewise.
58066         * sunrpc/clnt_tcp.c: Likewise.
58067         * sunrpc/clnt_udp.c: Likewise.
58068         * sunrpc/clnt_unix.c: Likewise.
58069         * sunrpc/des_crypt.c: Likewise.
58070         * sunrpc/des_soft.c: Likewise.
58071         * sunrpc/get_myaddr.c: Likewise.
58072         * sunrpc/getrpcport.c: Likewise.
58073         * sunrpc/key_call.c: Likewise.
58074         * sunrpc/key_prot.c: Likewise.
58075         * sunrpc/openchild.c: Likewise.
58076         * sunrpc/pm_getmaps.c: Likewise.
58077         * sunrpc/pm_getport.c: Likewise.
58078         * sunrpc/pmap_clnt.c: Likewise.
58079         * sunrpc/pmap_prot.c: Likewise.
58080         * sunrpc/pmap_prot2.c: Likewise.
58081         * sunrpc/pmap_rmt.c: Likewise.
58082         * sunrpc/rpc/auth.h: Likewise.
58083         * sunrpc/rpc/auth_unix.h: Likewise.
58084         * sunrpc/rpc/clnt.h: Likewise.
58085         * sunrpc/rpc/des_crypt.h: Likewise.
58086         * sunrpc/rpc/key_prot.h: Likewise.
58087         * sunrpc/rpc/netdb.h: Likewise.
58088         * sunrpc/rpc/pmap_clnt.h: Likewise.
58089         * sunrpc/rpc/pmap_prot.h: Likewise.
58090         * sunrpc/rpc/pmap_rmt.h: Likewise.
58091         * sunrpc/rpc/rpc.h: Likewise.
58092         * sunrpc/rpc/rpc_des.h: Likewise.
58093         * sunrpc/rpc/rpc_msg.h: Likewise.
58094         * sunrpc/rpc/svc.h: Likewise.
58095         * sunrpc/rpc/svc_auth.h: Likewise.
58096         * sunrpc/rpc/types.h: Likewise.
58097         * sunrpc/rpc/xdr.h: Likewise.
58098         * sunrpc/rpc_clntout.c: Likewise.
58099         * sunrpc/rpc_cmsg.c: Likewise.
58100         * sunrpc/rpc_common.c: Likewise.
58101         * sunrpc/rpc_cout.c: Likewise.
58102         * sunrpc/rpc_dtable.c: Likewise.
58103         * sunrpc/rpc_hout.c: Likewise.
58104         * sunrpc/rpc_main.c: Likewise.
58105         * sunrpc/rpc_parse.c: Likewise.
58106         * sunrpc/rpc_parse.h: Likewise.
58107         * sunrpc/rpc_prot.c: Likewise.
58108         * sunrpc/rpc_sample.c: Likewise.
58109         * sunrpc/rpc_scan.c: Likewise.
58110         * sunrpc/rpc_scan.h: Likewise.
58111         * sunrpc/rpc_svcout.c: Likewise.
58112         * sunrpc/rpc_tblout.c: Likewise.
58113         * sunrpc/rpc_util.c: Likewise.
58114         * sunrpc/rpc_util.h: Likewise.
58115         * sunrpc/rpcinfo.c: Likewise.
58116         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
58117         * sunrpc/rpcsvc/key_prot.x: Likewise.
58118         * sunrpc/rpcsvc/klm_prot.x: Likewise.
58119         * sunrpc/rpcsvc/mount.x: Likewise.
58120         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
58121         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
58122         * sunrpc/rpcsvc/rex.x: Likewise.
58123         * sunrpc/rpcsvc/rstat.x: Likewise.
58124         * sunrpc/rpcsvc/rusers.x: Likewise.
58125         * sunrpc/rpcsvc/sm_inter.x: Likewise.
58126         * sunrpc/rpcsvc/spray.x: Likewise.
58127         * sunrpc/rpcsvc/yppasswd.x: Likewise.
58128         * sunrpc/rtime.c: Likewise.
58129         * sunrpc/svc.c: Likewise.
58130         * sunrpc/svc_auth.c: Likewise.
58131         * sunrpc/svc_authux.c: Likewise.
58132         * sunrpc/svc_raw.c: Likewise.
58133         * sunrpc/svc_run.c: Likewise.
58134         * sunrpc/svc_simple.c: Likewise.
58135         * sunrpc/svc_tcp.c: Likewise.
58136         * sunrpc/svc_udp.c: Likewise.
58137         * sunrpc/svc_unix.c: Likewise.
58138         * sunrpc/svcauth_des.c: Likewise.
58139         * sunrpc/xcrypt.c: Likewise.
58140         * sunrpc/xdr.c: Likewise.
58141         * sunrpc/xdr_array.c: Likewise.
58142         * sunrpc/xdr_float.c: Likewise.
58143         * sunrpc/xdr_mem.c: Likewise.
58144         * sunrpc/xdr_rec.c: Likewise.
58145         * sunrpc/xdr_ref.c: Likewise.
58146         * sunrpc/xdr_sizeof.c: Likewise.
58147         * sunrpc/xdr_stdio.c: Likewise.
58149         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
58150         handling.
58152 2010-08-19  Andreas Schwab  <schwab@redhat.com>
58154         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
58156 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
58158         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
58159         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
58160         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
58161         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
58162         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
58163         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
58164         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
58165         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
58166         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
58167         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
58168         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
58169         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
58170         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
58171         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
58173 2010-07-26  Anton Blanchard  <anton@samba.org>
58175         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
58176         * malloc/arena.c (heap_trim): Likewise.
58178 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
58180         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
58181         here.  Not...
58182         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
58183         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
58185 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
58187         * sysdeps/i386/elf/Makefile: New file.
58189 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
58191         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
58192         from fanotify_init.
58193         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
58194         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58196 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
58198         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
58199         of strncasecmp_l.
58200         * sysdeps/multiarch/strcmp.S: Likewise.
58202 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
58204         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58205         strncase_l-nonascii.
58206         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58207         Add strncase_l-ssse3.
58208         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
58209         * sysdeps/x86_64/strcmp.S: Likewise.
58210         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
58211         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
58212         * sysdeps/x86_64/strncase.S: New file.
58213         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58214         * sysdeps/x86_64/strncase_l.S: New file.
58215         * string/Makefile (strop-tests): Add strncasecmp.
58216         * string/test-strncasecmp.c: New file.
58218         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58219         warning.
58221         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58222         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58224 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
58226         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58228 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
58230         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58231         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58232         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58234 2010-05-01  Alan Modra  <amodra@gmail.com>
58236         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58237         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58238         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58239         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58240         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58241         tidying.  Don't tail-call __sigjmp_save for static lib.
58242         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58243         save location.
58244         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58245         (CALL_MCOUNT): Add eh info, and nop after bl.
58246         (TAIL_CALL_SYSCALL_ERROR): New macro.
58247         (PSEUDO_RET): Use it.
58248         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58249         Correct save location of integer regs and cr.
58250         (_dl_profile_resolve): Correct cr save location.  Delete nops
58251         after bl when SHARED.  Reduce cfi size a little by better
58252         placement of cfi directives.
58253         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58254         make a stack frame.  Instead use parm save area as a temp.
58255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58256         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
58257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58258         Don't make a stack frame for parent, use parm save area.
58259         Increase child stack frame to 112 bytes.  Don't save unused reg,
58260         and adjust reg usage.  Set up cfi on error recovery and
58261         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58263         (__makecontext): Add dummy nop after jump to exit.
58264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58265         Use correct parm save area and cr save, reduce stack frame.
58266         Correct cfi for possible PSEUDO_RET frame setup.
58267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58268         Branch to local label emitted by PSEUDO_RET rather than
58269         __syscall_error.
58271 2010-08-12  Andreas Schwab  <schwab@redhat.com>
58273         [BZ #11904]
58274         * locale/programs/locale.c (print_assignment): New function.
58275         (show_locale_vars): Use it.
58277 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
58279         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58280         field.
58281         (struct statfs64): Likewise.
58282         (_STATFS_F_FLAGS): Define.
58283         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58284         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58285         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58286         (ST_VALID): Define locally.
58287         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58288         __statvfs_getflags, use the provided value.
58289         * sysdeps/unix/sysv/linux/kernel-features.h: Define
58290         __ASSUME_STATFS_F_FLAGS.
58292         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58294         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58295         Add sys/fanotify.h.
58296         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58297         fanotify_mask for GLIBC_2.13.
58298         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58299         fanotify_init and fanotify_mark.
58300         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58301         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58303         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58304         Add prlimit.
58305         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58306         prlimit64 for GLIBC_2.13.
58307         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58308         prlimit64.
58309         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58310         syscall.
58311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58313         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58314         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
58316         add prlimit alias.
58317         * sysdeps/unix/sysv/linux/prlimit.c: New file.
58319         [BZ #11903]
58320         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58321         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58323         * nss/Makefile: Add rules to build and run tst-nss-test1.
58324         * shlib-versions: Add entry for libnss_test1.
58325         * nss/nss_test1.c: New file.
58326         * nss/tst-nss-test1.c: New file.
58328         * nss/nsswitch.c (__nss_database_custom): Define new variable.
58329         (__nss_configure_lookup): Set appropriate entry in
58330         __nss_configure_lookup to true.
58331         * nss/nsswitch.h: Define enum with indeces of databases in
58332         databases and __nss_database_custom arrays.  Declare
58333         __nss_database_custom.
58334         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58335         to avoid using nscd when custom rules are installed.
58336         * nss/getXXbyYY_r.c: Likewise.
58337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58339         * nss/nss_files/files-parse.c: Whitespace fixes.
58341 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
58343         [BZ #11883]
58344         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58345         * posix/fnmatch_loop.c: Likewise.
58347 2010-07-17  Andi Kleen  <ak@linux.intel.com>
58349         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58350         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58351         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58352         * Versions.def [GLIBC_2.13]: Add.
58354 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
58356         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58357         Also fail if tpwd after pwuid call is NULL.
58359 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58361         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58362         when converting to ms.
58364 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58366         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58367         EOPNOTSUPP errors with ENOTTY.
58368         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58369         EOPNOTSUPP errors with ENOTTY.
58371 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
58373         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58374         Add strcasecmp_l-ssse3.
58375         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58376         strcasecmp.
58377         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58378         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58379         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58381 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
58383         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58385         * string/Makefile (strop-tests): Add strcasecmp.
58386         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58387         strcasecmp_l-nonascii.
58388         (gen-as-const-headers): Add locale-defines.sym.
58389         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58390         * sysdeps/x86_64/strcasecmp.S: New file.
58391         * sysdeps/x86_64/strcasecmp_l.S: New file.
58392         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58393         * sysdeps/x86_64/locale-defines.sym: New file.
58394         * string/test-strcasecmp.c: New file.
58396         * string/test-strcasestr.c: Test both ends of the range of characters.
58397         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58399 2010-07-29  Roland McGrath  <roland@redhat.com>
58401         [BZ #11856]
58402         * manual/locale.texi (Yes-or-No Questions): Fix example code.
58404 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
58406         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58407         for ld.so.
58409 2010-07-27  Andreas Schwab  <schwab@redhat.com>
58411         * manual/memory.texi (Malloc Tunable Parameters): Document
58412         M_PERTURB.
58414 2010-07-26  Roland McGrath  <roland@redhat.com>
58416         [BZ #11840]
58417         * configure.in (-fgnu89-inline check): Set and substitute
58418         gnu89_inline, not libc_cv_gnu89_inline.
58419         * configure: Regenerated.
58420         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58422 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
58424         * string/test-strnlen.c: New file.
58425         * string/Makefile (strop-tests): Add strnlen.
58426         * string/tester.c (test_strnlen): Add a few more test cases.
58427         * string/tst-strlen.c: Better error reporting.
58429         * sysdeps/x86_64/strnlen.S: New file.
58431 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
58433         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58434         lower-latency instructions.
58436 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
58438         * string/test-strcasestr.c: New file.
58439         * string/test-strstr.c: New file.
58440         * string/Makefile (strop-tests): Add strstr and strcasestr.
58441         * string/str-two-way.h: Don't undefine MAX.
58442         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58444 2010-07-21  Andreas Schwab  <schwab@redhat.com>
58446         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58447         strcasestr-nonascii.
58448         (CFLAGS-strcasestr-nonascii.c): Define.
58449         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58450         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58451         Remove unused attribute.
58453 2010-07-20  Roland McGrath  <roland@redhat.com>
58455         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58456         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
58457         ld.so.cache was broken.  With it, there is no way to disable dsocaps
58458         like LD_HWCAP_MASK can disable hwcaps.
58460 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
58462         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58464 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
58466         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58467         call in strcasestr.
58468         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58469         __strcasestr_sse42_nonascii.
58470         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58471         strcasestr-nonascii.c.
58472         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58474 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
58476         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58477         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58478         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58479         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58481 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
58483         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58484         fcntl.
58486 2010-07-06  Andreas Schwab  <schwab@redhat.com>
58488         [BZ #11577]
58489         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58490         dl_signal_cerror.
58492 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
58494         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58495         _PC_PIPE_BUF using F_GETPIPE_SZ.
58497 2010-07-05  Roland McGrath  <roland@redhat.com>
58499         * manual/arith.texi (Rounding Functions): Fix rint description
58500         implicit in round description.
58502 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
58504         * elf/Makefile: Fix linking for a few tests to make recent linker
58505         happy.
58507 2010-06-30  Andreas Schwab  <schwab@redhat.com>
58509         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58510         $(common-objpfx)libc_nonshared.a.
58512 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
58514         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58515         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58516         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58517         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58518         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58519         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58520         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58521         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58536         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58537         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58538         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58539         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58540         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58541         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58542         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58543         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58544         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58545         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58546         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58547         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58563 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
58565         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58566         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
58567         * string/memmove.c (memmove): Renamed to ...
58568         (MEMMOVE): ...this.  Default to memmove.
58569         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58570         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58571         (END_CHK): Define.
58572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58573         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58574         mempcpy-ssse3-back memmove-ssse3-back.
58575         * sysdeps/x86_64/multiarch/bcopy.S: New file .
58576         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58577         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58578         * sysdeps/x86_64/multiarch/memcpy.S: New file.
58579         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58580         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58581         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58582         * sysdeps/x86_64/multiarch/memmove.c: New file.
58583         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58584         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58585         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58586         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58587         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58588         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58589         Define.
58590         (index_Fast_Copy_Backward): Define.
58591         (HAS_ARCH_FEATURE): Define.
58592         (HAS_FAST_REP_STRING): Define.
58593         (HAS_FAST_COPY_BACKWARD): Define.
58595 2010-06-21  Andreas Schwab  <schwab@redhat.com>
58597         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58598         Restore proper fallback handling.
58600 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
58602         [BZ #11701]
58603         * posix/group_member.c (__group_member): Correct checking loop.
58605         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58606         OOM in getpwuid_r correctly.  Return error number when the caller
58607         should return, otherwise -1.
58608         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58609         call returning > 0 value.
58610         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58612 2010-06-07  Andreas Schwab  <schwab@redhat.com>
58614         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58615         libc_nonshared.a from targets in modules-names.
58617 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
58619         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58620         requires it.
58622 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
58624         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58625         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58626         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58627         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58629 2010-06-02  Andreas Schwab  <schwab@redhat.com>
58631         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58633 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
58635         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58636         and F_GETPIPE_SZ.
58637         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58638         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58639         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58640         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58641         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58642         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58644 2010-06-14  Roland McGrath  <roland@redhat.com>
58646         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58648 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
58650         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58651         __REDIRECT followed by __THROW.
58652         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58653         * posix/getopt.h (getopt): Likewise.
58655 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
58657         * hurd/lookup-at.c (__file_name_lookup_at): Accept
58658         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
58659         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58660         in AT_FLAGS.
58661         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58662         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58664 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
58666         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58668 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
58670         [BZ #11640]
58671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58672         Properly check family and model.
58674 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
58676         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58678 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
58680         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58682 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
58684         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58685         symbol reference.
58687 2010-05-19  Andreas Schwab  <schwab@redhat.com>
58689         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58690         symbol reference.
58692 2010-05-21  Andreas Schwab  <schwab@redhat.com>
58694         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58695         and internal_recvmmsg.
58696         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58697         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58698         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58699         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58701         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58702         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58703         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58705 2010-05-20  Andreas Schwab  <schwab@redhat.com>
58707         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58709 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
58711         POWER7 optimizations.
58712         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58713         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58715 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
58717         * version.h: Update for 2.13 development version.
58719 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
58721         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58722         exceptions.  Return 0.
58724 2010-05-07  Roland McGrath  <roland@redhat.com>
58726         * elf/ldconfig.c (main): Add a const.
58728 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
58730         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58731         (args_options): Add no-idn option.
58732         (ahosts_keys_int): Add idn_flags to ai_flags.
58733         (parse_option): Handle 'i' option to clear idn_flags.
58735         * malloc/malloc.c (_int_free): Possible race in the most recently
58736         added check.  Only act on the data if no current modification
58737         happened.
58739 See ChangeLog.17 for earlier changes.